klemm Posted February 18, 2003 Report Share Posted February 18, 2003 Hi I just bought the epson 1260 photo scanner (usb) and got into trouble. I have downloaded and isntalled the iscan from Epson also. somebody sayd that is doing miracles. Error I get: "coul not send command to scanner". Like if my scanner is not recognized at all. Just thougt that some outputs should help, but I really have now knowledge to undestand them. Can anybody point me to the right direction !!! [root@...]# sane-find-scanner # No SCSI scanners found. If you expected something different, make sure that # you have loaded a SCSI driver for your SCSI adapter. # No USB scanners found. If you expected something different, make sure that # you have loaded a driver for your USB host controller and have installed a # kernel scanner module. # Scanners connected to the parallel port or other proprietary ports can't be # detected by this program. [root@...]# cat /proc/bus/usb/devicesT: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=e000 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms Kristjan Quote Link to comment Share on other sites More sharing options...
Guest anon Posted February 18, 2003 Report Share Posted February 18, 2003 It should work OK what version of mdk are you using ? Quote Link to comment Share on other sites More sharing options...
MottS Posted February 18, 2003 Report Share Posted February 18, 2003 Your scanner isn't even listed by 'cat /proc/bus/usb/devices'. You should at least see it with something saying 'Driver=scanner' if the kernel decided to use it or 'Driver=(none)' if it doesn't know how to use it. So make sure the connection is ok between your computer and your scanner. Make sure it is turned on and reboot.. just to make sure. Once rebooted, put the output of 'lsmod' and 'cat /proc/bus/usb/devices' here. MOttS Quote Link to comment Share on other sites More sharing options...
klemm Posted February 19, 2003 Author Report Share Posted February 19, 2003 Ill be at home in 3 hurs but have one question meanwhile. How do I make sure my usb card works (it is listed in the device list of 'harddrake'? but does it actually function ?) Also how do I make sure that the kernel scanner modules are loaded ? The power is ON and rebooted also. all cables are in place. The result above is made after reboot. But I'll give another try when I'm home again. Quote Link to comment Share on other sites More sharing options...
MottS Posted February 19, 2003 Report Share Posted February 19, 2003 How do I make sure my usb card works (it is listed in the device list of 'harddrake'? but does it actually function ?) If it is listed then the kernel see it. This is the first step. The second step is to load the proper driver so that the kernel knows how to use it. I don't know the name of that driver though. You can list all the drivers loaded by typing 'lsmod'. On my system (built in usb in the mobo), I have to 'modprobe usb-ohci' so that I see my usb devices. .Then I have to 'modprobe scanner' to use my usb scanner and 'modprobe printer' to use my usb printer (in that case cups loads it by itself). Also how do I make sure that the kernel scanner modules are loaded ? by typing 'lsmod' as root you should see a module name 'scanner'. If not then try to modprobe it 'modprobe scanner'. But before to do that you should at least see the device in 'cat /proc/bus/usb/devices' !!! If the device is not listed then this is useless to load the driver since the kernel does not even know that a scanner is plugged to the usb port. Hope this is clear MOttS Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 19, 2003 Report Share Posted February 19, 2003 What's the output of rpm -qa | grep sane (as root)? Does your /etc/sane.d/dll.conf have epson listed? It may need epson_usb Quote Link to comment Share on other sites More sharing options...
klemm Posted February 19, 2003 Author Report Share Posted February 19, 2003 OK it took me longer thant 3 hours, but at least I see some hope now In my USB setting I changed from usb-uhci to -> usb-ohci after that I already see my scanner. [root@...]# cat /proc/bus/usb/devices T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB OHCI Root Hub S: SerialNumber=ccd33000 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=ff MxPS= 8 #Cfgs= 1 P: Vendor=04b8 ProdID=011d Rev= 1.00 S: Manufacturer=EPSON S: Product=EPSON Scanner C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none) E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=16ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms file:/etc/sane.d/epson.conf usb /dev/usb/scanner0 file:/etc/sane.d/dll.conf # enable the next line if you want to allow access through the network: net epson rpm -qa | grep sane -> [root@...]# rpm -qa | grep sane xsane-gimp-0.90-1.1mdk libsane1-1.0.9-3.1mdk xsane-0.90-1.1mdk sane-backends-1.0.9-3.1mdk sane-frontends-1.0.9-1.1mdk After I tried to set the proper scanner by issuing modprobe scanner vendor=04b8 product=011d got the following error: /lib/modules/2.4.19-16mdk/kernel/drivers/usb/scanner.o.gz: invalid argument syntax for vendor: 'b' modprobe: insmod /lib/modules/2.4.19-16mdk/kernel/drivers/usb/scanner.o.gz failed modprobe: insmod scanner failed I still need your help !!! xsane & iscan & whatever app still say that unable to send any bit to scanner. So whats left, wrong sane ? or is the epson driver not correctly installed (epson offers correct drivers together with iscan) In the iscan package there was a file : usr/lib/sane/libsane-epsonkw.so.1.0.6 should I somewhere point to that one ??? No Idea howto go on. Quote Link to comment Share on other sites More sharing options...
MottS Posted February 19, 2003 Report Share Posted February 19, 2003 [root@...]# cat /proc/bus/usb/devices 1) T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 2) B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 3) D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 4) P: Vendor=0000 ProdID=0000 Rev= 0.00 5) S: Product=USB OHCI Root Hub 6) S: SerialNumber=ccd33000 7) C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA 8) I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub 9) E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms 10) T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 11) D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=ff MxPS= 8 #Cfgs= 1 12) P: Vendor=04b8 ProdID=011d Rev= 1.00 13) S: Manufacturer=EPSON 14) S: Product=EPSON Scanner 15) C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA 16) I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none) 17) E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=16ms 18) E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms 19) E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms Ok so by modprobing 'usb-ohci' instead of 'usb-uhci' you have been able to see you scanner. Good good. But as I said above, the problem is now Driver = (none) in line 16. You have to 'modprobe scanner' and see if the kernel decided to use it by typing 'cat /proc/bus/usb/devices'. If the kernel decided to use it you should see 'Driver=scanner'. Don't put anything else than 'modprobe scanner' ! Try to run the sane backend also.. this will _maybe_ load the scanner module by itself. Good luck MOttS Quote Link to comment Share on other sites More sharing options...
klemm Posted February 19, 2003 Author Report Share Posted February 19, 2003 Ok So I did 'modprobe scanner' (did rmmod scanner before that, just in any case to unload the previous.) but nothing happens. result of the 'cat /proc/bus/usb/devices' remains the same where driver=(none) Any application just say that no device available. what you mean under sane-backends (like xsane So the driver is not loaded. ... hmm what makes it load, what is stopping it ? Should I see also any activity under /dev/usb/ ? like /dev/usb/scanner0 (at least I dont) the sane version 1.0.9... my scanner 'Epson 1260 Photo' is not listed in the MCC scanner list. does it have anything to do here ? sane 1.0.11 states that this scanner works and is stable, but I haven't found suitable rpms for MDK9.0 jet (rebuilding from Cookers src ended with error) I'm going to sleep now (its 11 here in Estonia) You have been alrady big help. I hope we can sort it out somehow. Kristjan Quote Link to comment Share on other sites More sharing options...
MottS Posted February 19, 2003 Report Share Posted February 19, 2003 If your scanner isn't listed in the MCC I would not count on it. Download Sane backend (sane) and frontend (xsane) from their website (I think it's http://www.mostang.com/sane/ ) and compile it from source. This is what I had to do for my usb scanner to work on MDK 9. Do you have hotplug running ? .. that would certainly help. Check by doing 'ls -l /etc/rc5.d/'. If you see SXXhotplug where XX is a random number then hotplug is started. If not then do 'chkconfig hotplug on' and reboot. Now do a 'lsmod' to see if 'scanner' is loaded. If not try to load it with 'modprobe scanner'. If you still see Driver=(none) then you'll definitively have to compile Sane yourself (if they say they support your scanner of course !). If you decide to compile it then remove the sane rpm from your computer before doing 'make install' with 'rpmdrake-remove'. You're close... MOttS Quote Link to comment Share on other sites More sharing options...
MottS Posted February 19, 2003 Report Share Posted February 19, 2003 According to http://www.buzzard.org.uk/jonathan/scanners-usb.html your scanner is supported with the latest Sane release. There is some other link. Check http://www.epkowa.co.jp/english/linux_e/linux.html http://www.gjaeger.de/scanner/plustek.html MOttS Quote Link to comment Share on other sites More sharing options...
klemm Posted February 20, 2003 Author Report Share Posted February 20, 2003 I'm on half way on 'making' the backends now. looks right that I need to do so. What about all those dependances. I have a lot of those where it claims braking the depandances when removing the sane packages? Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 20, 2003 Report Share Posted February 20, 2003 For my scanner, I could not update the frontends because of all those dependency issues, but I downloaded the *.tar.gz of sane-backends and untarred it and did ./configure make and make install and it put it in /usr/local instead of /usr. You can check out details of what I did in the Tips & Tricks forum to cheat my way around it. The topic is 'How I got my Mustek scanner to work'. Quote Link to comment Share on other sites More sharing options...
klemm Posted February 20, 2003 Author Report Share Posted February 20, 2003 I had already a feeling of being very close. I took the src.rpm from coocer and rebuilt them ans instaled. Now if I issue 'sane-find-scanner' I get a better result found USB scanner (vendor=0x04b8 [EPSON], product=0x011d [EPSON Scanner]) at libusb:001:002 also scanimage -L device `plustek:libusb:001:002' is a Epson Perfection 1260/Photo USB flatbed scanner I have scanner listed in the lsmod results I dont have any drivers listed in result of cat /proc/bus/usb/devices and any app says that "No Device available". and not able to scan anything still. I tried with plustek and epson in the dll.conf. and also made the changes in the xxx.conf files as were suggested. Quote Link to comment Share on other sites More sharing options...
MottS Posted February 20, 2003 Report Share Posted February 20, 2003 I guess you get 'scanner [unused]' when you type 'lsmod'. This is due to the fact that the scanner driver wasn't made to talk with your scanner. I guess you'll have to look for another driver man... In order word, the scanner driver does not recognize the scanner. All the backends you tried so far just look at /proc/bus/usb/devices and if they see Driver=XYZ then then go to /dev/usb/path/to/device. In fact, like with 'cat /proc/bus/usb/devices', the backends report that they see the device but they can't talk we it.. This is sad but I can't help you more than that MOttS Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.