[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
problem with hotplug usb epson 1250 U photo
From: Thomas Sechet ####@####.#### Date: 13 May 2004 08:15:23 +0100 Message-Id: <20040513091344.61fe7b4a@ocean> Hi, I try to configure my scanner "Epson 1250 U Photo" with sane-plustek driver but it doesn't work. I have test the scanner with Windows and it works well. I have take a lot of time to try this configuration, with the help of other users on irc freenode sane, but I don't understand what is wrong in my configuration. I report you parameters of my configuration. I hope that it will give you information of this problem. If you have some time to examine my report, it is a pleasure for me to collect these informations. Regards Thomas SECHET ####@####.#### **************************** Begining of reporting : thomas@ocean:~$ uname -r 2.6.5-ideq200n ***************************** Debian sid i386 ******************************* sane: 1.0.12-2 ****************************** libsane: 1.0.14-1 ****************************** hotplug: 0.0.20040329-8 ***************************** libusb-0.1-4: 1:0.1.8-10 ***************************** /etc/sane.d/dll.conf plustek ******************************** /etc/sane.d/plustek.conf # Plustek-SANE Backend configuration file # For use with LM9831/2/3 based USB scanners [usb] 0x04b8 0x010f ... device libusb:003:002 ******************************** ocean:/etc/hotplug/usb# /etc/init.d/hotplug restart Restarting hotplug subsystem: input net pci usb input evdev: already loaded evdev: already loaded net pci ohci1394: already loaded ignore pci display device on 02:00.0 usb libusbscanner: loaded sucessfully libusbscanner: loaded sucessfully . ********************************** the result of lsusb command : Bus 003 Device 002: ID 04b8:010f Seiko Epson Corp. Perfection 1250 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 *********************************** less /proc/bus/usb/device T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3 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.5-ideq200n ohci_hcd S: Product=nVidia Corporation nForce2 USB Controller (#2) S: SerialNumber=0000:00:02.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.10 Cls=ff(vend.) Sub=00 Prot=ff MxPS= 8 #Cfgs= 1 P: Vendor=04b8 ProdID=010f Rev= 1.00 S: Manufacturer=EPSON S: Product=EPSON Scanner 010F 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 ************************************ ocean:/etc/hotplug/usb# sane-find-scanner -v -v searching for SCSI scanners: checking /dev/scanner... failed to open (Invalid argument) checking /dev/sg0... failed to open (Invalid argument) checking /dev/sg1... failed to open (Invalid argument) checking /dev/sg2... failed to open (Invalid argument) checking /dev/sg3... failed to open (Invalid argument) checking /dev/sg4... failed to open (Invalid argument) checking /dev/sg5... failed to open (Invalid argument) checking /dev/sg6... failed to open (Invalid argument) checking /dev/sg7... failed to open (Invalid argument) checking /dev/sg8... failed to open (Invalid argument) checking /dev/sg9... failed to open (Invalid argument) checking /dev/sga... failed to open (Invalid argument) checking /dev/sgb... failed to open (Invalid argument) checking /dev/sgc... failed to open (Invalid argument) checking /dev/sgd... failed to open (Invalid argument) checking /dev/sge... failed to open (Invalid argument) checking /dev/sgf... failed to open (Invalid argument) checking /dev/sgg... failed to open (Invalid argument) checking /dev/sgh... failed to open (Invalid argument) checking /dev/sgi... failed to open (Invalid argument) checking /dev/sgj... failed to open (Invalid argument) checking /dev/sgk... failed to open (Invalid argument) checking /dev/sgl... failed to open (Invalid argument) checking /dev/sgm... failed to open (Invalid argument) checking /dev/sgn... failed to open (Invalid argument) checking /dev/sgo... failed to open (Invalid argument) checking /dev/sgp... failed to open (Invalid argument) checking /dev/sgq... failed to open (Invalid argument) checking /dev/sgr... failed to open (Invalid argument) checking /dev/sgs... failed to open (Invalid argument) checking /dev/sgt... failed to open (Invalid argument) checking /dev/sgu... failed to open (Invalid argument) checking /dev/sgv... failed to open (Invalid argument) checking /dev/sgw... failed to open (Invalid argument) checking /dev/sgx... failed to open (Invalid argument) checking /dev/sgy... failed to open (Invalid argument) checking /dev/sgz... failed to open (Invalid argument) # No SCSI scanners found. If you expected something different, make sure that # you have loaded a SCSI driver for your SCSI adapter. searching for USB scanners: checking /dev/usb/scanner... failed to open (Invalid argument) checking /dev/usb/scanner0... failed to open (Invalid argument) checking /dev/usb/scanner1... failed to open (Invalid argument) checking /dev/usb/scanner2... failed to open (Invalid argument) checking /dev/usb/scanner3... failed to open (Invalid argument) checking /dev/usb/scanner4... failed to open (Invalid argument) checking /dev/usb/scanner5... failed to open (Invalid argument) checking /dev/usb/scanner5... failed to open (Invalid argument) checking /dev/usb/scanner7... failed to open (Invalid argument) checking /dev/usb/scanner8... failed to open (Invalid argument) checking /dev/usb/scanner9... failed to open (Invalid argument) checking /dev/usb/scanner10... failed to open (Invalid argument) checking /dev/usb/scanner11... failed to open (Invalid argument) checking /dev/usb/scanner12... failed to open (Invalid argument) checking /dev/usb/scanner13... failed to open (Invalid argument) checking /dev/usb/scanner14... failed to open (Invalid argument) checking /dev/usb/scanner15... failed to open (Invalid argument) checking /dev/usbscanner... failed to open (Invalid argument) checking /dev/usbscanner0... failed to open (Invalid argument) checking /dev/usbscanner1... failed to open (Invalid argument) checking /dev/usbscanner2... failed to open (Invalid argument) checking /dev/usbscanner3... failed to open (Invalid argument) checking /dev/usbscanner4... failed to open (Invalid argument) checking /dev/usbscanner5... failed to open (Invalid argument) checking /dev/usbscanner6... failed to open (Invalid argument) checking /dev/usbscanner7... failed to open (Invalid argument) checking /dev/usbscanner8... failed to open (Invalid argument) checking /dev/usbscanner9... failed to open (Invalid argument) checking /dev/usbscanner10... failed to open (Invalid argument) checking /dev/usbscanner11... failed to open (Invalid argument) checking /dev/usbscanner12... failed to open (Invalid argument) checking /dev/usbscanner13... failed to open (Invalid argument) checking /dev/usbscanner14... failed to open (Invalid argument) checking /dev/usbscanner15... failed to open (Invalid argument) trying libusb: <device descriptor of 0x04b8/0x010f at 003:002 (EPSON EPSON Scanner 010F)> bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 255 bDeviceSubClass 0 bDeviceProtocol 255 bMaxPacketSize0 8 idVendor 0x04B8 idProduct 0x010F bcdDevice 1.00 iManufacturer 1 (EPSON) iProduct 2 (EPSON Scanner 010F) iSerialNumber 0 () bNumConfigurations 1 <configuration 0> bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 192 (Self-powered) MaxPower 2 mA <interface 0> <altsetting 0> bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 255 bInterfaceSubClass 0 bInterfaceProtocol 255 iInterface 0 () <endpoint 0> bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 3 (interrupt) wMaxPacketSize 1 bInterval 16 ms bRefresh 0 bSynchAddress 0 <endpoint 1> bLength 7 bDescriptorType 5 bEndpointAddress 0x82 (in 0x02) bmAttributes 2 (bulk) wMaxPacketSize 64 bInterval 0 ms bRefresh 0 bSynchAddress 0 <endpoint 2> bLength 7 bDescriptorType 5 bEndpointAddress 0x03 (out 0x03) bmAttributes 2 (bulk) wMaxPacketSize 64 bInterval 0 ms bRefresh 0 bSynchAddress 0 <trying to find out which USB chip is used> checking for GT-6801 ... this is not a GT-6801 (bDeviceSubClass = 0x0) checking for GT-6816 ... this is not a GT-6816 (bDeviceClass = 255, bInterfaceClass = 255) checking for MA-1017 ... this is not a MA-1017 (bDeviceClass = 255, bInterfaceClass = 255) checking for MA-1015 ... this is not a MA-1015 (bcdUSB = 0x110) checking for MA-1509 ... this is not a MA-1509 (bDeviceSubClass = 0x0) checking for LM983[1,2,3] ... my comment : sane-find-scanner -v -v break the process on this last line ? **************************************** The command "scanimage -L" is not responding End of my investigation ************************************* | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: problem with hotplug usb epson 1250 U photo
From: Gerhard Jaeger ####@####.#### Date: 14 May 2004 08:15:26 +0100 Message-Id: <200405140914.58282.gerhard@gjaeger.de> On Thursday 13 May 2004 09:13, Thomas Sechet wrote: > Hi, > > I try to configure my scanner "Epson 1250 U Photo" with sane-plustek driver > but it doesn't work. I have test the scanner with Windows and it works > well. I have take > a lot of time to try this configuration, with the help of other users on > irc freenode sane, but I don't understand what is wrong in my > configuration. I report you parameters of my configuration. I hope that it > will give you information of this problem. If you have some time to examine > my report, it is a pleasure for me to collect these informations. > Hi, please enabled the backends debug facility and provide the output, all other stuff seems to be fine, except probably the access rights of the scanner device, if this is the problem, you should check scanimage -L as root user. Try in each case: export SANE_DEBUG_PLUSTEK=20 ; scanimage -L Ciao, Gerhard | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: problem with hotplug usb epson 1250 U photo
From: ####@####.#### Date: 14 May 2004 16:04:45 +0100 Message-Id: <1084547082.40a4e00add538@imp5-q.free.fr> Selon Gerhard Jaeger ####@####.#### > On Thursday 13 May 2004 09:13, Thomas Sechet wrote: > > Hi, > > > > I try to configure my scanner "Epson 1250 U Photo" with sane-plustek > driver > > but it doesn't work. I have test the scanner with Windows and it works > > well. I have take > > a lot of time to try this configuration, with the help of other users on > > irc freenode sane, but I don't understand what is wrong in my > > configuration. I report you parameters of my configuration. I hope that it > > will give you information of this problem. If you have some time to > examine > > my report, it is a pleasure for me to collect these informations. > > > Hi, > > please enabled the backends debug facility and provide the output, all > other stuff seems to be fine, except probably the access rights of the > scanner device, if this is the problem, you should check scanimage -L > as root user. > Try in each case: > export SANE_DEBUG_PLUSTEK=20 ; scanimage -L > > Ciao, > Gerhard Hi, Thank you for your answer and for your help. Thomas ************************************* Here is the output of scanimage -L as root [sanei_debug] Setting debug level of plustek to 20. [plustek] Plustek backend V0.47-11, part of sane-backends 1.0.14 [plustek] ># Plustek-SANE Backend configuration file< [plustek] ># For use with LM9831/2/3 based USB scanners< [plustek] >#< [plustek] >< [plustek] ># each device needs at least two lines:< [plustek] ># - [usb] vendor-ID and product-ID< [plustek] ># - device devicename< [plustek] ># i.e. for Plustek (0x07B3) UT12/16/24 (0x0017)< [plustek] ># [usb] 0x07B3 0x0017< [plustek] ># device /dev/usbscanner< [plustek] ># or< [plustek] ># device libusb:bbb:ddd< [plustek] ># where bbb is the busnumber and ddd the device number< [plustek] ># make sure that your user has access to /proc/bus/usb/bbb/ddd< [plustek] >#< [plustek] ># additionally you can specify some options< [plustek] ># warmup, lOffOnEnd, lampOff< [plustek] >#< [plustek] ># For autodetection use< [plustek] ># [usb]< [plustek] ># device /dev/usbscanner< [plustek] >#< [plustek] ># or simply< [plustek] ># [usb]< [plustek] >#< [plustek] ># or if you want a specific device but you have no idea about the< [plustek] ># device node or you use libusb, simply set vendor- and product-ID< [plustek] ># [usb] 0x07B3 0x0017< [plustek] ># device auto< [plustek] >#< [plustek] ># NOTE: autodetection is safe, as it uses the info it got< [plustek] ># from the USB subsystem. If you're not using the< [plustek] ># autodetection, you MUST have attached that device< [plustek] ># at your USB-port, that you have specified...< [plustek] >#< [plustek] >< [plustek] >#[usb] 0x04b8 0x010f< [plustek] >[usb] 04b8 010f< [plustek] next device is a USB device (0x0004-0x0008) [plustek] ... next device [plustek] >< [plustek] >#< [plustek] ># options for the previous USB entry< [plustek] >#< [plustek] ># switch lamp off after xxx secs, 0 disables the feature< [plustek] >option lampOff 300< [plustek] Decoding option >lampOff< [plustek] >< [plustek] ># warmup period in seconds, 0 means no warmup< [plustek] >option warmup 15< [plustek] Decoding option >warmup< [plustek] >< [plustek] ># 0 means leave lamp-status untouched, not 0 means switch off< [plustek] ># on sane_close< [plustek] >option lOffOnEnd 1< [plustek] Decoding option >lOffOnEnd< [plustek] >< [plustek] >#< [plustek] ># options to tweak the image start-position< [plustek] ># (WARNING: there's no internal range check!!!)< [plustek] >#< [plustek] ># for the normal scan area< [plustek] >#< [plustek] >option posOffX 0< [plustek] Decoding option >posOffX< [plustek] >option posOffY 0< [plustek] Decoding option >posOffY< [plustek] >< [plustek] ># for transparencies< [plustek] >option tpaOffX 0< [plustek] Decoding option >tpaOffX< [plustek] >option tpaOffY 0< [plustek] Decoding option >tpaOffY< [plustek] >< [plustek] ># for negatives< [plustek] >option negOffX 0< [plustek] Decoding option >negOffX< [plustek] >option negOffY 0< [plustek] Decoding option >negOffY< [plustek] >< [plustek] >#< [plustek] ># for setting the calibration strip position< [plustek] ># (WARNING: there's no internal range check!!!)< [plustek] ># -1 means use built in< [plustek] >#< [plustek] >option posShadingY -1< [plustek] Decoding option >posShadingY< [plustek] >option tpaShadingY -1< [plustek] Decoding option >tpaShadingY< [plustek] >option negShadingY -1< [plustek] Decoding option >negShadingY< [plustek] >< [plustek] >#< [plustek] ># to invert the negatives, 0 disables the feature< [plustek] >#< [plustek] >option invertNegatives 0< [plustek] Decoding option >invertNegatives< [plustek] >< [plustek] >#< [plustek] ># to save/restore coarse calibration data< [plustek] >#< [plustek] >option cacheCalData 0< [plustek] Decoding option >cacheCalData< [plustek] >< [plustek] >#< [plustek] ># use alternate calibration routines< [plustek] >#< [plustek] >option altCalibration 0< [plustek] Decoding option >altCalibration< [plustek] >< [plustek] >#< [plustek] ># for skipping whole calibration step< [plustek] >#< [plustek] >option skipCalibration 0< [plustek] Decoding option >skipCalibration< [plustek] >< [plustek] >#< [plustek] ># for skipping entire fine calibration step< [plustek] ># coarse calibration is done< [plustek] >#< [plustek] >option skipFine 0< [plustek] Decoding option >skipFine< [plustek] >< [plustek] >#< [plustek] ># discard the result of the fine white calibration< [plustek] >#< [plustek] >option skipFineWhite 0< [plustek] Decoding option >skipFineWhite< [plustek] >< [plustek] ># for replacing the gain values found during< [plustek] ># calibration< [plustek] >option red_gain -1< [plustek] Decoding option >red_gain< [plustek] >option green_gain -1< [plustek] Decoding option >green_gain< [plustek] >option blue_gain -1< [plustek] Decoding option >blue_gain< [plustek] >< [plustek] >#< [plustek] >#< [plustek] >option red_lampoff -1< [plustek] Decoding option >red_lampoff< [plustek] >option green_lampoff -1< [plustek] Decoding option >green_lampoff< [plustek] >option blue_lampoff -1< [plustek] Decoding option >blue_lampoff< [plustek] >< [plustek] >#< [plustek] ># for adjusting the default gamma values< [plustek] >#< [plustek] >option redGamma 1.0< [plustek] Decoding option >redGamma< [plustek] >option greenGamma 1.0< [plustek] Decoding option >greenGamma< [plustek] >option blueGamma 1.0< [plustek] Decoding option >blueGamma< [plustek] >option grayGamma 1.0< [plustek] Decoding option >grayGamma< [plustek] >< [plustek] >#< [plustek] ># to enable TPA (non Plustek devices only)< [plustek] ># 0 means default behaviour as specified in the internal tables< [plustek] ># 1 means enable< [plustek] >#< [plustek] >option enableTPA 0< [plustek] Decoding option >enableTPA< [plustek] >< [plustek] >#< [plustek] ># model override functionality, currently only available for< [plustek] ># Mustek devices, using NSCs' vendor ID: 0x0400 and< [plustek] ># also their product ID: 0x1000 (LM9831) 0x1001 (LM9832)< [plustek] >#< [plustek] ># mov/PID | 0x1000 | 0x1001< [plustek] ># ---------------------------------------< [plustek] ># 0 (default)| BearPaw1200 | BearPaw 2400< [plustek] ># 1 | ignored | BearPaw 1200< [plustek] >#< [plustek] >option mov 0< [plustek] Decoding option >mov< [plustek] >< [plustek] >#< [plustek] ># and of course the device-name< [plustek] >#< [plustek] ># device /dev/usbscanner< [plustek] ># device auto< [plustek] >device libusb:003:002< [plustek] Decoding device name >libusb:003:002< [plustek] >#< [plustek] ># to define a new device, start with a new section:< [plustek] ># [usb]< [plustek] >#< [plustek] attach (libusb:003:002, 0xbfffcb10, (nil)) [plustek] Device configuration: [plustek] device name : >libusb:003:002< [plustek] USB-ID : >0x0004-0x0008< [plustek] model ovr. : 0 [plustek] warmup : 15s [plustek] lampOff : 300 [plustek] lampOffOnEnd : yes [plustek] cacheCalData : no [plustek] altCalibrate : no [plustek] skipCalibr. : no [plustek] skipFine : no [plustek] skipFineWhite: no [plustek] invertNegs. : no [plustek] pos_x : 0 [plustek] pos_y : 0 [plustek] pos_shading_y: -1 [plustek] neg_x : 0 [plustek] neg_y : 0 [plustek] neg_shading_y: -1 [plustek] tpa_x : 0 [plustek] tpa_y : 0 [plustek] tpa_shading_y: -1 [plustek] red gain : -1 [plustek] green gain : -1 [plustek] blue gain : -1 [plustek] red lampoff : -1 [plustek] green lampoff: -1 [plustek] blue lampoff : -1 [plustek] red Gamma : 1.00 [plustek] green Gamma : 1.00 [plustek] blue Gamma : 1.00 [plustek] gray Gamma : 1.00 [plustek] --------------------- [plustek] usbDev_open(libusb:003:002,0x0004-0x0008) comment : scanimage -L process break on this last line *********************************** | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: problem with hotplug usb epson 1250 U photo
From: Gerhard Jaeger ####@####.#### Date: 26 May 2004 14:47:15 +0100 Message-Id: <200405261546.47961.gerhard@gjaeger.de> Hi, On Friday 14 May 2004 17:04, ####@####.#### wrote: [SNIPSNAP] > [plustek] tpa_x : 0 > [plustek] tpa_y : 0 > [plustek] tpa_shading_y: -1 > [plustek] red gain : -1 > [plustek] green gain : -1 > [plustek] blue gain : -1 > [plustek] red lampoff : -1 > [plustek] green lampoff: -1 > [plustek] blue lampoff : -1 > [plustek] red Gamma : 1.00 > [plustek] green Gamma : 1.00 > [plustek] blue Gamma : 1.00 > [plustek] gray Gamma : 1.00 > [plustek] --------------------- > [plustek] usbDev_open(libusb:003:002,0x0004-0x0008) > > comment : scanimage -L process break on this last line > *********************************** this really looks bad. I've tested also on a kernel 2.6.6 machine, an had no problems. Do you get a segfault - or can you enable core dumps on that machine and try again? Ciao, Gerhard | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: problem with hotplug usb epson 1250 U photo
From: Gerhard Jaeger ####@####.#### Date: 24 Jun 2004 08:03:48 +0100 Message-Id: <200406240903.19370.gerhard@gjaeger.de> Hi Thomas, in the meantime, it turned out, that not the plustek backend is the problem. The epson backend which is probably also active could cause this problem. Please make sure, that only the plustek backend is active in your dll.conf file. Ciao, Gerhard On Thursday 13 May 2004 09:13, Thomas Sechet wrote: [SNIPSNAP] > thomas@ocean:~$ uname -r > 2.6.5-ideq200n > ***************************** > Debian sid i386 > ******************************* > sane: 1.0.12-2 > ****************************** > libsane: 1.0.14-1 > ****************************** > hotplug: 0.0.20040329-8 > ***************************** > libusb-0.1-4: 1:0.1.8-10 > ***************************** | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |