Line 3: |
Line 3: |
| ==Information== | | ==Information== |
| SANE stands for "Scanner Access Now Easy" and is an application programming interface (API) that provides standardized access to any raster image scanner hardware (flatbed scanner, hand-held scanner, video- and still-cameras, frame-grabbers, etc.) | | SANE stands for "Scanner Access Now Easy" and is an application programming interface (API) that provides standardized access to any raster image scanner hardware (flatbed scanner, hand-held scanner, video- and still-cameras, frame-grabbers, etc.) |
− | | + | {{#smeversion:smeserver-sane}} |
| For more information on SANE have a look at the [http://www.sane-project.org/ SANE project website] | | For more information on SANE have a look at the [http://www.sane-project.org/ SANE project website] |
| | | |
| ===Supported scanners=== | | ===Supported scanners=== |
| For a list of supported scanners have a look at [http://www.sane-project.org/sane-supported-devices.html this page]. | | For a list of supported scanners have a look at [http://www.sane-project.org/sane-supported-devices.html this page]. |
− | Note the SME rpm uses [http://www.sane-project.org/sane-backends-1.0.17.html this page]. | + | |
| + | Note the SME 8 rpm uses [http://www.sane-project.org/sane-backends-1.0.18.html this page] |
| + | |
| + | Note the SME 9 rpm uses [http://www.sane-project.org/sane-backends-1.0.21.html this page] |
| | | |
| ==Server== | | ==Server== |
Line 14: |
Line 17: |
| | | |
| ===Installation=== | | ===Installation=== |
| + | ==== SME 8.X, 9.X==== |
| + | |
| Install SANE and required packages | | Install SANE and required packages |
| + | |
| + | yum --enablerepo=smecontribs install smeserver-sane |
| + | |
| + | ==== Finish the installation ==== |
| + | |
| + | then |
| + | expand-template /etc/xinetd.conf |
| + | expand-template /etc/services |
| + | expand-template /etc/hosts.allow |
| + | expand-template /etc/sane.d/saned.conf |
| | | |
− | (for now download sane-backends and smeserver-sane from the locations shown in Talk)
| + | service xinetd restart |
| | | |
− | yum localinstall sane-backends smeserver-sane | + | or if you prefer to restart your server |
| + | |
| + | signal-event post-upgrade; signal-event reboot |
| | | |
| ====Testing the installation==== | | ====Testing the installation==== |
Line 63: |
Line 80: |
| === Uninstall === | | === Uninstall === |
| You can remove SANE from your SME Server with the following command | | You can remove SANE from your SME Server with the following command |
− | rpm -e sane-backends smeserver-sane libieee1284 xinetd | + | rpm -e sane-backends sane-backends-libs smeserver-sane |
− | | |
| | | |
| ==Client== | | ==Client== |
Line 72: |
Line 88: |
| http://sanetwain.ozuzo.net/ | | http://sanetwain.ozuzo.net/ |
| | | |
− | In download section, take the ZIP file (sanetwain127.zip or Windowsinstaller (setup127.exe) | + | In download section, take the ZIP file (sanetwain127.zip and Windowsinstaller (setup127.exe) |
| | | |
| ====Configuration==== | | ====Configuration==== |
Line 122: |
Line 138: |
| or | | or |
| config setprop saned status disabled | | config setprop saned status disabled |
− | signal-event remoteaccess-update | + | /sbin/e-smith/expand-template /etc/xinetd.conf |
| + | /etc/init.d/xinetd restart |
| | | |
| Start a terminal on your server. | | Start a terminal on your server. |
Line 130: |
Line 147: |
| # saned -d128 | | # saned -d128 |
| [saned] main: starting debug mode (level 128) | | [saned] main: starting debug mode (level 128) |
− | [saned] main: trying to get port for service `sane-port' (getaddrinfo) | + | [saned] main: trying to get port for service `sane-port' (getaddrinfo) |
− | [saned] main: "sane-port" service unknown on your host; you should add
| |
− | [saned] main: sane-port 6566/tcp saned # SANE network scanner daemon
| |
− | [saned] main: to your /etc/services file (or equivalent). Proceeding anyway.
| |
| [saned] main: [0] socket () using IPv4 | | [saned] main: [0] socket () using IPv4 |
| [saned] main: [0] setsockopt () | | [saned] main: [0] setsockopt () |
Line 164: |
Line 178: |
| or | | or |
| config setprop saned status enabled | | config setprop saned status enabled |
− | signal-event remoteaccess-update | + | /sbin/e-smith/expand-template /etc/xinetd.conf |
| /etc/init.d/xinetd restart | | /etc/init.d/xinetd restart |
− | | + | === Bugs === |
| + | Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-sane component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-sane|title=this link}}. |
| + | {{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-sane |noresultsmessage="No open bugs found."}} |
| ---- | | ---- |
| [[Category:Contrib]] | | [[Category:Contrib]] |
| + | [[Category:Administration]] |