Re: [sane-devel] No scanner found with Scanimage -L
here is the log https://dl.dropboxusercontent.com/u/58850968/syslog3.log -- View this message in context: http://sane.10972.n7.nabble.com/weird-No-scanner-found-with-Scanimage-L-tp19894p19926.html Sent from the SANE - Dev mailing list archive at Nabble.com. -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] No scanner found with Scanimage -L
Am 12.07.2015 um 17:23 schrieb ylafont: I added -7 for log and as soon as that was done i lost the net backend upon reboot. here are the logs NEt backend working (no -7) https://www.dropbox.com/s/vnvvblkd9ue7sb2/syslog-net.log?dl=0 net backend missing. (with -7) https://www.dropbox.com/s/e9ibafveiiumdzx/syslog-nonet.log?dl=0 Well I don't see any issues here in both cases. Please do the following test: 1) start scanbd so that the scanner is found 2) remove scanner 3) scanimage -L should be empty 4) insert scanner 5) scanimage -L should find the scanner again -- Wilhelm -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] No scanner found with Scanimage -L
I added -7 for log and as soon as that was done i lost the net backend upon reboot. here are the logs NEt backend working (no -7) https://www.dropbox.com/s/vnvvblkd9ue7sb2/syslog-net.log?dl=0 net backend missing. (with -7) https://www.dropbox.com/s/e9ibafveiiumdzx/syslog-nonet.log?dl=0 -- View this message in context: http://sane.10972.n7.nabble.com/weird-No-scanner-found-with-Scanimage-L-tp19894p19921.html Sent from the SANE - Dev mailing list archive at Nabble.com. -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] No scanner found with Scanimage -L
i have so time to play with this today, also Scandb has always started with both configuration with the init script and in /etc/rc.local the issue was that the NEt interface would disappear when starting with the init script. Do you want to send you both logs? one starting with the init method and starting in he /etc/rc.loca method? just want to confirm. thanks. -- View this message in context: http://sane.10972.n7.nabble.com/weird-No-scanner-found-with-Scanimage-L-tp19894p19918.html Sent from the SANE - Dev mailing list archive at Nabble.com. -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] No scanner found with Scanimage -L
Am 11.07.2015 um 13:43 schrieb ylafont: i have so time to play with this today, also Scandb has always started with both configuration with the init script and in /etc/rc.local the issue was that the NEt interface would disappear when starting with the init script. Do you want to send you both logs? one starting with the init method and starting in he /etc/rc.loca method? just want to confirm. thanks. One starting when it finds the net-device and one when the net-device isn't found. -- Wilhelm -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] No scanner found with Scanimage -L
Here is the current config. let me know if i missed a file. I believe it is scanbd 1.4.2 */etc/sane.d/sane.conf* #scan-client.somedomain.firm #192.168.0.1 #192.168.0.1/29 #[2001:7a8:185e::42:12] #[2001:7a8:185e::42:12]/64 192.168.1.0/24 */etc/sane.d/net.config* # This is the net backend config file. ## net backend options # Timeout for the initial connection to saned. This will prevent the backend # from blocking for several minutes trying to connect to an unresponsive # saned host (network outage, host down, ...). Value in seconds. # connect_timeout = 60 connect_timeout = 3 ## saned hosts # Each line names a host to attach to. # If you list localhost then your backends can be accessed either # directly or through the net backend. Going through the net backend # may be necessary to access devices that need special privileges. #localhost localhost */etc/sane.d/dll.conf* net /etc/default/saned # Defaults for the saned initscript, from sane-utils # Set to yes to start saned RUN=no # Set to the user saned should run as RUN_AS_USER=saned */etc/xinetd.d/sane-port* service saned { port = 6566 socket_type = stream #server = /usr/sbin/saned #server = /usr/local/sbin/scanbm -c /usr/local/etc/scanbd/scanbd.conf server = /usr/local/sbin/scanbm server_args = scanbm -c /usr/local/etc/scanbd/scanbd.conf protocol = tcp user = saned group = scanner wait = no disable = no } */usr/local/etc/sane.d/dll.conf* Fujitsu */usr/local/etc/sane.d/net.conf* File is empty -- View this message in context: http://sane.10972.n7.nabble.com/weird-No-scanner-found-with-Scanimage-L-tp19894p19905.html Sent from the SANE - Dev mailing list archive at Nabble.com. -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] No scanner found with Scanimage -L
The configuration looks good. Please send me 1) the log file (with scanbd debug level=7) if started at a service at boot 2) the log file (with scanbd debug level=7) if started later I assume that for some reason the scanner isn't present at boot time and the appropriate event when it is later found isn't send or captured. Please do the following test: 1) start scanbd so that the scanner is found 2) remove scanner 3) scanimage -L should be empty 4) insert scanner 5) scanimage -L should find the scanner again Am 07.07.2015 um 23:07 schrieb ylafont: Here is the current config. let me know if i missed a file. I believe it is scanbd 1.4.2 */etc/sane.d/sane.conf* #scan-client.somedomain.firm #192.168.0.1 #192.168.0.1/29 #[2001:7a8:185e::42:12] #[2001:7a8:185e::42:12]/64 192.168.1.0/24 */etc/sane.d/net.config* # This is the net backend config file. ## net backend options # Timeout for the initial connection to saned. This will prevent the backend # from blocking for several minutes trying to connect to an unresponsive # saned host (network outage, host down, ...). Value in seconds. # connect_timeout = 60 connect_timeout = 3 ## saned hosts # Each line names a host to attach to. # If you list localhost then your backends can be accessed either # directly or through the net backend. Going through the net backend # may be necessary to access devices that need special privileges. #localhost localhost */etc/sane.d/dll.conf* net /etc/default/saned # Defaults for the saned initscript, from sane-utils # Set to yes to start saned RUN=no # Set to the user saned should run as RUN_AS_USER=saned */etc/xinetd.d/sane-port* service saned { port = 6566 socket_type = stream #server = /usr/sbin/saned #server = /usr/local/sbin/scanbm -c /usr/local/etc/scanbd/scanbd.conf server = /usr/local/sbin/scanbm server_args = scanbm -c /usr/local/etc/scanbd/scanbd.conf protocol = tcp user = saned group = scanner wait = no disable = no } */usr/local/etc/sane.d/dll.conf* Fujitsu */usr/local/etc/sane.d/net.conf* File is empty -- View this message in context: http://sane.10972.n7.nabble.com/weird-No-scanner-found-with-Scanimage-L-tp19894p19905.html Sent from the SANE - Dev mailing list archive at Nabble.com. -- Wilhelm -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] No scanner found with Scanimage -L
I will have to spend more time with this I disabled the init.d script *sudo service scanbd stop sudo update-rc.d. scanbd remove* rebooted started the service manually *sudo service scanbd start * and the NET backend remained. again, when scanbd starts automatically via the init.d the NET backend for some reasons disappears. for now i placed sudo service scanbd start in /etc/rc.local and solved my problem. Will try the upstart jobs when i am able. -- View this message in context: http://sane.10972.n7.nabble.com/weird-No-scanner-found-with-Scanimage-L-tp19894p19903.html Sent from the SANE - Dev mailing list archive at Nabble.com. -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] No scanner found with Scanimage -L
Am 07.07.2015 um 01:41 schrieb ylafont: I will have to spend more time with this I disabled the init.d script *sudo service scanbd stop sudo update-rc.d. scanbd remove* rebooted started the service manually *sudo service scanbd start * and the NET backend remained. It would be helpfull if you post your configuration (sane and scanbd) as well as the version and the system you are using. again, when scanbd starts automatically via the init.d the NET backend for some reasons disappears. for now i placed sudo service scanbd start in /etc/rc.local and solved my problem. Will try the upstart jobs when i am able. -- View this message in context: http://sane.10972.n7.nabble.com/weird-No-scanner-found-with-Scanimage-L-tp19894p19903.html Sent from the SANE - Dev mailing list archive at Nabble.com. -- Wilhelm -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] No scanner found with Scanimage -L
Am 05.07.2015 um 03:32 schrieb ylafont: I have a weird problem, weird to me at least. I have sane and scandb installed and setup with one issue. when I enable scandb with sudo update-rc.d scanbd enable and reboot scanbd startd properly and my scripts work without any issues. for some reason, i loose the net device that was available when scanbd was not auto starting. pi@PiScanner ~ $ scanimage -L device `net:localhost:fujitsu:fi-4220C2dj:100742' is a FUJITSU fi-4220C2dj scanner Did i miss or mis-configured something? Looks like a misconfiguration. Since scanbd acts like a proxy, no devices should be available if scanbd isn't running. -- Wilhelm -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] No scanner found with Scanimage -L
scanbd grabs all devices it finds. all user-level programms (e.g. scanimage) should use only the net-backend with the host configured the scanbd is running on (in most cases localhost but can be remote). scanbd should use a configuration to reach the real scanners (local connected or reachable over net). Am 05.07.2015 um 14:34 schrieb ylafont: understood, but what can be reason for the NET device not to be found when the scandb is running? thanks Wilhelm. -- View this message in context: http://sane.10972.n7.nabble.com/weird-No-scanner-found-with-Scanimage-L-tp19894p19896.html Sent from the SANE - Dev mailing list archive at Nabble.com. -- Wilhelm -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] No scanner found with Scanimage -L
what can be reason for the NET device not to be found Probably it does not yet exist when scandb starts. Even when startup scripts are initiated in the proper order, the actual dependency may be that a network script finishes (or something started by a network script finishes) before scanbd starts. If scanbd cannot find a device it needs, perhaps it should wait a bit and try again. Maybe an argument that explicitly requests this behavior. -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] No scanner found with Scanimage -L
understood, but what can be reason for the NET device not to be found when the scandb is running? thanks Wilhelm. -- View this message in context: http://sane.10972.n7.nabble.com/weird-No-scanner-found-with-Scanimage-L-tp19894p19896.html Sent from the SANE - Dev mailing list archive at Nabble.com. -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org
[sane-devel] No scanner found with Scanimage -L
I have a weird problem, weird to me at least. I have sane and scandb installed and setup with one issue. when I enable scandb with sudo update-rc.d scanbd enable and reboot scanbd startd properly and my scripts work without any issues. for some reason, i loose the net device that was available when scanbd was not auto starting. pi@PiScanner ~ $ scanimage -L device `net:localhost:fujitsu:fi-4220C2dj:100742' is a FUJITSU fi-4220C2dj scanner Did i miss or mis-configured something? -- View this message in context: http://sane.10972.n7.nabble.com/No-scanner-found-with-Scanimage-L-tp19894.html Sent from the SANE - Dev mailing list archive at Nabble.com. -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org