Ok. I`ve solved the problem.
I have reinstalled sane-backends and libs required.
If someone will be interested in..
Greetings.
I need help.
I have wl500gp with 1.9.2.7-d-r1825 firmware. Also I have HP PhotoSmart c5283. And I should use it as scanner too (it works perfectly as printer).
I have installed sane-backends with all libs needed and hplip 3.9.2. Shorter I have exactly followed the HOW-TO. But it doesn`t work.
Input:
Output:Code:sane-find-scanner
Input:Code:Segmentation fault
Output:Code:scanimage -L
Code:Segmentation fault
I have installed XSane on WinXP as described too.
When I run Xsane there is a message in /opt/var/log/xinetd.log:
10/10/3@14:43:53: START: saned pid=3559 from=192.168.1.5
Else,
Input:
Output:Code:xinetd -d
Code:10/10/3@14:49:30: DEBUG: 3587 {handle_includedir} Reading included configuration file: /opt/etc/xinetd.d/saned [file=/opt/etc/xinetd.conf] [line=16] 10/10/3@14:49:30: DEBUG: 3587 {handle_includedir} Reading included configuration file: /opt/etc/xinetd.d/swat [file=/opt/etc/xinetd.d/swat] [line=12] Service defaults Instances = 60 CPS = max conn:25 wait:30 Bind = All addresses. Only from: localhost(HOST) 10.0.0.0/255.0.0.0(NET) 172.16.0.0/255.240.0.0(NET) 192.168.1.0/255.255.0.0(NET) No access: No blocked sites Logging to file: /opt/var/log/xinetd.log (no limits) Log_on_success flags = HOST PID Log_on_failure flags = HOST Service configuration: saned id = saned flags = IPv4 socket_type = stream Protocol (name,number) = (tcp,6) port = 6566 wait = no user = 0 group = 0 Groups = no PER_SOURCE = -1 Bind = All addresses. Server = /opt/sbin/saned Server argv = saned Only from: localhost(HOST) 10.0.0.0/255.0.0.0(NET) 172.16.0.0/255.240.0.0(NET) 192.168.1.0/255.255.0.0(NET) No access: No blocked sites Logging to common log file Log_on_success flags = HOST PID Log_on_failure flags = HOST Service configuration: swat id = swat flags = IPv4 socket_type = stream Protocol (name,number) = (tcp,6) port = 901 wait = no user = 0 Groups = no PER_SOURCE = -1 Bind = All addresses. Server = /opt/sbin/swat Server argv = swat Only from: localhost(HOST) 192.168.1.0/255.255.255.0(NET) No access: No blocked sites Logging to common log file Log_on_success flags = HOST PID Log_on_failure flags = HOST USERID 10/10/3@14:49:30: ERROR: 3587 {activate_normal} bind failed (Address already in use (errno = 125)). service = saned 10/10/3@14:49:30: ERROR: 3587 {cnf_start_services} Service saned failed to start and is deactivated. 10/10/3@14:49:30: ERROR: 3587 {activate_normal} bind failed (Address already in use (errno = 125)). service = swat 10/10/3@14:49:30: ERROR: 3587 {cnf_start_services} Service swat failed to start and is deactivated. 10/10/3@14:49:30: DEBUG: 3587 {cnf_start_services} mask_max = 0, services_started = 0 10/10/3@14:49:30: CRITICAL: 3587 {init_services} no services. Exiting...
Contents of
/opt/etc/xinetd.conf,
/opt/etc/xinetd.d/saned,
/opt/etc/sane.d/saned.conf,
C:\sane\etc\sane.d\net.conf
are below (in attachments).
Ok. I`ve solved the problem.
I have reinstalled sane-backends and libs required.
If someone will be interested in..
Oliver,
Thanks for this How-To.
I'm use now HP7400C with wl500gP and can scan on desktop Win7(32) and netbook WinXP(32) with XSane.
Hi.
I have another problem.
After sane-backends and libs reinstalling result was:
sane-find-scanner:
scanimage -L:Code:# sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer. # No SCSI scanners found. If you expected something different, make sure that # you have loaded a kernel SCSI driver for your SCSI adapter. # Also you need support for SCSI Generic (sg) in your operating system. # If using Linux, try "modprobe sg". found USB scanner (vendor=0x03f0 [HP], product=0x5d11 [Photosmart C5200 series]) at libusb:003:004 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Not checking for parallel port scanners. # Most Scanners connected to the parallel port or other proprietary ports # can't be detected by this program.
Then I have installed python, cups and dbus (it wasn`t installed before). The result:Code:No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages).
scanimage -L:
But when I try scanimage --format=tiff >/tmp/mnt/hdd_ext/test.tiff I get:Code:device `hpaio:/usb/Photosmart_C5200_series?serial=MY87EG22GZ0559' is a Hewlett-Packard Photosmart_C5200_series all-in-one
Anybody help.Code:process 1169: arguments to dbus_connection_send() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3141. This is normally a bug in some application using the D-Bus library. D-Bus not compiled with backtrace support so unable to print a backtrace Aborted
Thanks
Victory!
I can scan by HP PhotoSmart c5283 now.
I intently viewed the forum and solution was found:
http://wl500g.info/showpost.php?p=189850&postcount=108
I had the same symptoms as described in http://wl500g.info/showthread.php?t=20098.
I changed dbus from 1.2.16-1 to 1.1.1-3.
Thus I came to current working condition through installing the following packages:
libusb - 0.1.12-2
libtiff - 3.9.4-1
libjpeg - 6b-3
libieee1284 - 0.2.11-1
sane-backends - 1.0.21-1
cups - 1.4.4-1
dbus - 1.1.1-3 (from http://wl500g.info/showpost.php?p=202794&postcount=12)
hplip - 3.9.2-1 (from http://wl500g.info/showpost.php?p=199955&postcount=119)
Else.
I had to add one line into post-boot script.
During the router starting /opt/etc/init.d/S20dbus do not examine whether daemon has already started or not.Code:rm /opt/var/run/dbus/*
If there is PID file in /opt/var/run/dbus/ S20dbus suppose daemon has already started. To be sure it actually starts we need to remove PID file before S20dbus is execute.
(Idea was peeped here)
Many thanks to Oliver for the How-To (and for XSane too)!
Last edited by electropanda; 23-11-2010 at 14:54.
Hi - I'm using an Asus WL-500gp V2 running Tomato.
I'm new to this whole Tomato / Sane thing.
I've installed sane-backends 1.0.21-1 using optware / ipkg. However, I would like to get this working with a Samsung 4623 scanner, which is only supported in the development (git) version of sane-backends. Is there any way I can install the development version of sane-backends? Does anyone have the development version compiled so that I can install it with ipkg? Thank you.
Regards / Grüße,
Oliver
[How-To] Sane Scanner-Server mit XSane Frontend "german"
[How-To] Sane Scanner-Server with XSane Frontend "english"
Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
Speicher: Trekstor DataStation maxi 1 Tb
Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver
Hi,
thanks for the information!Oliver,
Thanks for this How-To.
I'm use now HP7400C with wl500gP and can scan on desktop Win7(32) and netbook WinXP(32) with XSane.
Beitrag bearbeiten/löschen
Regards / Grüße,
Oliver
[How-To] Sane Scanner-Server mit XSane Frontend "german"
[How-To] Sane Scanner-Server with XSane Frontend "english"
Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
Speicher: Trekstor DataStation maxi 1 Tb
Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver
Hi!
Deleted.
Last edited by Avinar; 02-01-2011 at 16:25.
Does anyone know if there is a solution for my Brother DCP-7010 Multi Printer/Scanner?
sane-find-scanner returns the device but scanimage -L show up the default error/no device found message.
For sane-backends/i386 the brother2 shoud work external, but I do not understand how they mean that.. see
http://www.sane-project.org/lists/sa...tml#S-BROTHER2
Maybe I can use the Linux drivers from:
http://welcome.solutions.brother.com.../en/index.html ?
I would be very happy if somebody know a solution...
Regards
FordPerfect
Hi all.
I have a problem with DIR-320 (Oleg's FW), Sane and MP540.
My English is bad and i can's tell you long story about usb-hub, flash-card formatting and other =)
So, after night of linux-adventures, i have:
sane-find-scanner : found USB scanner... (bla-bla-bla, all ok).
scanimage -L : device (bla-bla-bla) is a PIXMA MP540 multi-functional... (all good too).
But when i try:
scanimage -T
or
scanimage --format=tiff > /opt/backup/test.tiff
My scanner do nothing. He write "Scanning in process" on the display, but it's not work. In terminal i have:
And nothing write when just scanimage --format=tiff > /opt/backup/test.tiff.Code:[admin@(none) root]$ scanimage -T scanimage: scanning image of size 638x877 pixels at 24 bits/pixel scanimage: acquiring RGB frame, 8 bits/sample scanimage: reading one scanline, 1914 bytes...
It is necessary to tell, that test.tiff is creating in folder, but have 0Kb size.
Somebody solve this problem?
Hi, All!
I've read this and follow recommendations. And it works now!
Router - Asus RT-N16
Firmware - 1.9.2.7-rtn-r2274
Scanner - HP psc 1350 all-in-one series (detected as "found USB scanner (vendor=0x03f0 [hp], product=0x3b11 [psc 1300 series]) at libusb:001:004" by sane-find-scanner utility and as "device `hpaio:/usb/psc_1300_series?serial=XXXXXXXXXXXX' is a Hewlett-Packard psc_1300_series all-in-one" by scanimage -L)
Backends - XSane on Ubutu 10.10 and the same on Win XP.
The main clues was in using old version of dbus. Some additional problem was in downgrading:Also a little trouble was with username in config /opt/etc/xinetd.d/saned We have to use the same name that used to login to router (or any else that exist in /etc/passwd). Some people use their own usernames and alot of them use root instead of default admin user.Code:ipkg install -force-downgrade <downloaded package with old dbus version>
I look at the webpage with printers and see:
PIXMA MP540
USB 0x04a9/0x1730
Complete
All resolutions supported (up to 2400DPI)
pixma (0.16.1)
sane-pixma
What does it mean? That i must download and compile sane-pixma? Or what?
***
Somebody has setup SANE with Canon MP540? And, maybe, somebody know forum, where i can take help?
Hi
My scanner HP PSC 1402 (and before that PSC 2110) has been working flawless for a while, until I recently upgraded a couple of packages. Now it stalls when initiating the scanning process.
The scanner is recognized by saned
Running "dmesg" after the scanner stalls puts out these additional lines:Code:$ scanimage -L device `hpaio:/usb/PSC_1400_series?serial=CN62SDD28D04DZ' is a Hewlett-Packard PSC_1400_series all-in-one
I’m still using the old version of dbus. As for the other applications here is the versions:Code:$dmesg ... printer.c: usblp0: removed usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x87 len 6 ret -79 usb_control/bulk_msg: timeout
I would appreciate any suggestions what could be wrong.Code:$ipkg list_installed |grep 'libusb\|libjpeg\|libtiff\|hplip\|dbus\|sane' dbus - 1.1.1-3 - dbus-glib - 0.82-1 - D-Bus Glib bindings hplip - 3.9.2-1 - libjpeg - 6b-3 - collection of jpeg tools libtiff - 3.9.4-1 - Tag Image File Format Libraries libusb - 0.1.12-2 - Library for interfacing to the USB subsystem. sane-backends - 1.0.21-1 - SANE is a universal scanner interface
Last edited by larmoe01; 02-02-2011 at 10:43.