[sane-devel] re epson perfection 1200 problems libusb kernel 2.6.1-rc1
Klaus Dittrich
kladit at t-online.de
Sat Jan 17 11:33:05 GMT 2004
On Sat, Jan 17, 2004 at 01:52:18AM +0000, Jim Quigley wrote:
> Hi I have installed the kernel 2.6.1-rc1 over Suse 9 and have as far as
> I know installed most usb drivers as modules except the scanner.o module
> since it is obsolete and I wanted to use libusb. I have an epson
> perfection 1200 photo scanner but I can not get it to work properly. It
> initialises but then crashes and then scanimage -L does not recognise
> it. Xsane also does the same. Below are some of the programs I use and
> some config files including sane, xsane, fstab, dmesg etc. Appreciate
> some help. Thanks
>
>
> rpm -q sane
> sane-1.0.10-243
>
> rpm -q xsane
> xsane-0.91-135
>
> rpm -q hotplug
> hotplug-2002_08_26-85
>
> cat /etc/fstab
> /dev/hdc1 / ext2
> defaults 1 1
> /dev/hdc2 /home ext2
> defaults 1 2
> /dev/hdc3 swap swap
> pri=42 0 0
> devpts /dev/pts devpts
> mode=0620,gid=5 0 0
> proc /proc proc
> defaults 0 0
>
> none /proc/bus/usb usbfs defaults 0 0
> /dev/cdrom /media/cdrom auto
> ro,noauto,user,exec 0 0
> /dev/dvd /media/dvd auto
> ro,noauto,user,exec 0 0
> /dev/fd0 /media/floppy auto
> noauto,user,sync 0 0
> /dev/sr0 /media/sr0 auto ro,noauto,user,exec 0 0
> /dev/sda1 /media/sda1 auto sync,noauto,user,exec 0 0
>
> cat /proc/bus/usb/devices
>
> T: Bus=04 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= 2.06
> S: Manufacturer=Linux 2.6.1-rc1 uhci_hcd
> S: Product=UHCI Host Controller
> S: SerialNumber=0000:00:10.2
> 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=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
> D: Ver= 1.00 Cls=07(print) Sub=01 Prot=02 MxPS=64 #Cfgs= 1
> P: Vendor=04b8 ProdID=0001 Rev= 1.00
> S: Manufacturer=EPSON
> S: Product=USB Printer
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA
> I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
> E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
>
> T: Bus=03 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= 2.06
> S: Manufacturer=Linux 2.6.1-rc1 uhci_hcd
> S: Product=UHCI Host Controller
> S: SerialNumber=0000:00:10.1
> 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=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
> D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1
> P: Vendor=04b8 ProdID=0104 Rev= 1.03
> S: Manufacturer=EPSON
> S: Product=Perfection1200
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA
> I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
> E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
>
> T: Bus=02 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= 2.06
> S: Manufacturer=Linux 2.6.1-rc1 uhci_hcd
> S: Product=UHCI Host Controller
> S: SerialNumber=0000:00:10.0
> 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=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6
> B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
> D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
> P: Vendor=0000 ProdID=0000 Rev= 2.06
> S: Manufacturer=Linux 2.6.1-rc1 ehci_hcd
> S: Product=EHCI Host Controller
> S: SerialNumber=0000:00:10.3
> 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=256ms
>
> T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
> D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
> P: Vendor=0d49 ProdID=3005 Rev= 1.00
> S: Manufacturer=Maxtor
> S: Product=3000LS v01.00.00
> S: SerialNumber=DEF10647FBB9
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
> E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>
>
> 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.
>
> found USB scanner (vendor=0x04b8, product=0x0104) at libusb:003:002
> # Your USB scanner was (probably) detected. It may or may not be
> supported by
> # SANE. Try scanimage -L and read the backend's manpage.
>
> # Scanners connected to the parallel port or other proprietary ports
> can't be
> # detected by this program.
>
> # You may want to run this program as root to find all devices. Once you
> # found the scanner devices, be sure to adjust access permissions as
> # necessary.
>
>
> scanimage -L
> device `epson:libusb:003:002' is a Epson Perfection1200 flatbed scanner
>
> LmCogs
Same here.
Is your machine smp ?
Do you have preemptive syscalls enabeld ?
Do you use linuxthreads or nptl ?
If you need a quick fix use the kernel scanner-driver of linux-2.6,
_not_ libusb, and install backends-1.0.12.
I tested backends-1.0.12 with libusb and it may damage the mechanics of your epson-scanner.
--
Klaus
More information about the sane-devel
mailing list