From: Chien-Yu C. <to...@gm...> - 2006-06-29 16:47:02
|
Hi! I am trying to use sane for microtek 3600...when I do -------- kiosque jpeg # scanimage -T ---------- I get --------- scanimage: open of device sm3600:1/1 failed: Error during device I/O --------- I ran this as root, and still get the error... here are some info for the usb system. ---------- kiosque jpeg # ls -laR /proc/bus/usb/ /proc/bus/usb/: total 0 drwxr-xr-x 3 root root 0 Jun 26 02:52 . dr-xr-xr-x 5 root root 0 Jun 26 02:52 .. drwxrwxrwx 2 root root 0 Jun 28 16:20 001 -rwxrwxrwx 1 root root 0 Jun 29 10:53 devices /proc/bus/usb/001: total 0 drwxrwxrwx 2 root root 0 Jun 28 16:20 . drwxr-xr-x 3 root root 0 Jun 26 02:52 .. -rwxrwxrwx 1 root usb 43 Jun 28 16:20 001 -rwxrwxrwx 1 root usb 43 Jun 29 00:45 004 ------------- ------------ kiosque jpeg # 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=64 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.16-gentoo-r9 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:1f.2 C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=01 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 P: Vendor=05da ProdID=40ca Rev= 0.00 C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms -------------- thanks for any suggestion chen |
From: Marian E. <mar...@fr...> - 2006-07-11 09:27:03
|
On Thu, Jun 29, 2006 at 04:46:59PM +0000, Chien-Yu Chen wrote: > Hi! > > I am trying to use sane for microtek 3600...when I do > > -------- > kiosque jpeg # scanimage -T > ---------- > > I get > > --------- > scanimage: open of device sm3600:1/1 failed: Error during device I/O Chien-Yu, does the Scanner respond mechanically? Any activity? Obviously the backend detects it's device. Something other goes wrong. Please let me suggest, to set the Debug-Environment-Variable for the test to something other than 0, to get some useful information from the (otherwise silent as recommended) backend code. See "man sane-sm3600" for reference: SANE_DEBUG_SM3600 If the library was compiled with debug support enabled, this environment variable controls the debug level for this backend. E.g., a value of 128 requests all debug output to be printed. Smaller levels reduce verbosity. To see error messages on stderr set SANE_DEBUG_SM3600 to 1. E.g. just say: export SANE_DEBUG_SM3600=5 There is really really a number of possible reasons for returning SANE_STATUS_IO_ERROR, since this is AFAIK the correct and only way to report virtuately everything(!) that can go wrong during all kind of communication with the scanner. > --------- > > I ran this as root, and still get the error... > here are some info for the usb system. > > ---------- > kiosque jpeg # ls -laR /proc/bus/usb/ > /proc/bus/usb/: > total 0 > drwxr-xr-x 3 root root 0 Jun 26 02:52 . > dr-xr-xr-x 5 root root 0 Jun 26 02:52 .. > drwxrwxrwx 2 root root 0 Jun 28 16:20 001 > -rwxrwxrwx 1 root root 0 Jun 29 10:53 devices > > /proc/bus/usb/001: > total 0 > drwxrwxrwx 2 root root 0 Jun 28 16:20 . > drwxr-xr-x 3 root root 0 Jun 26 02:52 .. > -rwxrwxrwx 1 root usb 43 Jun 28 16:20 001 > -rwxrwxrwx 1 root usb 43 Jun 29 00:45 004 > ------------- > > ------------ > kiosque jpeg # 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=64 #Cfgs= 1 > P: Vendor=0000 ProdID=0000 Rev= 2.06 > S: Manufacturer=Linux 2.6.16-gentoo-r9 uhci_hcd > S: Product=UHCI Host Controller > S: SerialNumber=0000:00:1f.2 > C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=01 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 > D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 > P: Vendor=05da ProdID=40ca Rev= 0.00 > C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr=100mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > -------------- > > thanks for any suggestion > > chen > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > sm3600-devel mailing list > sm3...@li... > https://lists.sourceforge.net/lists/listinfo/sm3600-devel -- Mit freundlichen Gruessen / Yours sincerely Marian Eichholz Postmaster freenet.de AG Vorsitzender des Aufsichtsrates: Prof. Dr. Helmut Thoma Deelbögenkamp 4c Vorstand: Eckhard Spoerr (Vors.), Axel Krieger, Stephan Esch, Eric Berger 22297 Hamburg Amtsgericht Hamburg, HRB 74048 |
From: Marian E. <mar...@fr...> - 2006-07-28 18:49:11
|
On Tue, Jul 11, 2006 at 11:26:54AM +0200, Marian Eichholz wrote: > On Thu, Jun 29, 2006 at 04:46:59PM +0000, Chien-Yu Chen wrote: > > Hi! > > > > I am trying to use sane for microtek 3600...when I do > > > > -------- > > kiosque jpeg # scanimage -T > > ---------- > > > > I get > > > > --------- > > scanimage: open of device sm3600:1/1 failed: Error during device I/O Hey folks, did it read something like "set config 0 claimed by devfs ... device busy ..."? Obviously they broke something in kernel 2.6.17.27 (again!), at least with this kernel my scanner application(s) won't work any longer. My, 2.6.x is pure pain in the ***... Due to severe lack of time I cannot investigate right now, but it looks like a basical problem with libusb and usbfs interaction. > Chien-Yu, does the Scanner respond mechanically? Any activity? > > Obviously the backend detects it's device. Something other goes wrong. > > Please let me suggest, to set the > Debug-Environment-Variable for the test to something other > than 0, to get some useful information from the (otherwise > silent as recommended) backend code. > > See "man sane-sm3600" for reference: > > SANE_DEBUG_SM3600 > If the library was compiled with debug support > enabled, this environment variable controls the > debug level for this backend. E.g., a value of 128 > requests all debug output to be printed. Smaller > levels reduce verbosity. To see error messages on > stderr set SANE_DEBUG_SM3600 to 1. > > E.g. just say: > export SANE_DEBUG_SM3600=5 > > There is really really a number of possible reasons for > returning SANE_STATUS_IO_ERROR, since this is AFAIK the > correct and only way to report virtuately everything(!) that can go wrong > during all kind of communication with the scanner. > > > > --------- > > > > I ran this as root, and still get the error... > > here are some info for the usb system. > > > > ---------- > > kiosque jpeg # ls -laR /proc/bus/usb/ > > /proc/bus/usb/: > > total 0 > > drwxr-xr-x 3 root root 0 Jun 26 02:52 . > > dr-xr-xr-x 5 root root 0 Jun 26 02:52 .. > > drwxrwxrwx 2 root root 0 Jun 28 16:20 001 > > -rwxrwxrwx 1 root root 0 Jun 29 10:53 devices > > > > /proc/bus/usb/001: > > total 0 > > drwxrwxrwx 2 root root 0 Jun 28 16:20 . > > drwxr-xr-x 3 root root 0 Jun 26 02:52 .. > > -rwxrwxrwx 1 root usb 43 Jun 28 16:20 001 > > -rwxrwxrwx 1 root usb 43 Jun 29 00:45 004 > > ------------- > > > > ------------ > > kiosque jpeg # 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=64 #Cfgs= 1 > > P: Vendor=0000 ProdID=0000 Rev= 2.06 > > S: Manufacturer=Linux 2.6.16-gentoo-r9 uhci_hcd > > S: Product=UHCI Host Controller > > S: SerialNumber=0000:00:1f.2 > > C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=01 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 > > D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 > > P: Vendor=05da ProdID=40ca Rev= 0.00 > > C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr=100mA > > I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) > > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > -------------- > > > > thanks for any suggestion > > > > chen > > > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > sm3600-devel mailing list > > sm3...@li... > > https://lists.sourceforge.net/lists/listinfo/sm3600-devel > > -- > Mit freundlichen Gruessen / Yours sincerely > > Marian Eichholz > Postmaster > freenet.de AG Vorsitzender des Aufsichtsrates: Prof. Dr. Helmut Thoma > Deelbögenkamp 4c Vorstand: Eckhard Spoerr (Vors.), Axel Krieger, > Stephan Esch, Eric Berger > 22297 Hamburg Amtsgericht Hamburg, HRB 74048 > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > sm3600-devel mailing list > sm3...@li... > https://lists.sourceforge.net/lists/listinfo/sm3600-devel -- Mit freundlichen Gruessen / Yours sincerely Marian Eichholz Postmaster freenet.de AG Vorsitzender des Aufsichtsrates: Prof. Dr. Helmut Thoma Deelbögenkamp 4c Vorstand: Eckhard Spoerr (Vors.), Axel Krieger, Stephan Esch, Eric Berger 22297 Hamburg Amtsgericht Hamburg, HRB 74048 |
From: Chien-Yu C. <to...@gm...> - 2006-07-28 19:49:17
|
sorry, havn't have time to deal with this due to family emergency will test what you suggested once I get back to the States. On 7/26/06, Marian Eichholz <mar...@fr...> wrote: > On Tue, Jul 11, 2006 at 11:26:54AM +0200, Marian Eichholz wrote: > > On Thu, Jun 29, 2006 at 04:46:59PM +0000, Chien-Yu Chen wrote: > > > > Hi! > > > > > > I am trying to use sane for microtek 3600...when I do > > > > > > -------- > > > kiosque jpeg # scanimage -T > > > ---------- > > > > > > I get > > > > > > --------- > > > scanimage: open of device sm3600:1/1 failed: Error during device I/O > > Hey folks, did it read something like "set config 0 claimed by devfs ... = device busy ..."? > > Obviously they broke something in kernel 2.6.17.27 > (again!), at least with this kernel my scanner > application(s) won't work any longer. > > My, 2.6.x is pure pain in the ***... > > Due to severe lack of time I cannot investigate right now, > but it looks like a basical problem with libusb and usbfs > interaction. > > > Chien-Yu, does the Scanner respond mechanically? Any activity? > > > > Obviously the backend detects it's device. Something other goes wrong. > > > > Please let me suggest, to set the > > Debug-Environment-Variable for the test to something other > > than 0, to get some useful information from the (otherwise > > silent as recommended) backend code. > > > > See "man sane-sm3600" for reference: > > > > SANE_DEBUG_SM3600 > > If the library was compiled with debug support > > enabled, this environment variable controls the > > debug level for this backend. E.g., a value of 128 > > requests all debug output to be printed. Smaller > > levels reduce verbosity. To see error messages on > > stderr set SANE_DEBUG_SM3600 to 1. > > > > E.g. just say: > > export SANE_DEBUG_SM3600=3D5 > > > > There is really really a number of possible reasons for > > returning SANE_STATUS_IO_ERROR, since this is AFAIK the > > correct and only way to report virtuately everything(!) that can go wro= ng > > during all kind of communication with the scanner. > > > > > > > --------- > > > > > > I ran this as root, and still get the error... > > > here are some info for the usb system. > > > > > > ---------- > > > kiosque jpeg # ls -laR /proc/bus/usb/ > > > /proc/bus/usb/: > > > total 0 > > > drwxr-xr-x 3 root root 0 Jun 26 02:52 . > > > dr-xr-xr-x 5 root root 0 Jun 26 02:52 .. > > > drwxrwxrwx 2 root root 0 Jun 28 16:20 001 > > > -rwxrwxrwx 1 root root 0 Jun 29 10:53 devices > > > > > > /proc/bus/usb/001: > > > total 0 > > > drwxrwxrwx 2 root root 0 Jun 28 16:20 . > > > drwxr-xr-x 3 root root 0 Jun 26 02:52 .. > > > -rwxrwxrwx 1 root usb 43 Jun 28 16:20 001 > > > -rwxrwxrwx 1 root usb 43 Jun 29 00:45 004 > > > ------------- > > > > > > ------------ > > > kiosque jpeg # cat /proc/bus/usb/devices > > > > > > T: Bus=3D01 Lev=3D00 Prnt=3D00 Port=3D00 Cnt=3D00 Dev#=3D 1 Spd=3D1= 2 MxCh=3D 2 > > > B: Alloc=3D 0/900 us ( 0%), #Int=3D 0, #Iso=3D 0 > > > D: Ver=3D 1.10 Cls=3D09(hub ) Sub=3D00 Prot=3D00 MxPS=3D64 #Cfgs=3D= 1 > > > P: Vendor=3D0000 ProdID=3D0000 Rev=3D 2.06 > > > S: Manufacturer=3DLinux 2.6.16-gentoo-r9 uhci_hcd > > > S: Product=3DUHCI Host Controller > > > S: SerialNumber=3D0000:00:1f.2 > > > C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3Dc0 MxPwr=3D 0mA > > > I: If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=3D09(hub ) Sub=3D00 Prot=3D00 Dr= iver=3Dhub > > > E: Ad=3D81(I) Atr=3D03(Int.) MxPS=3D 2 Ivl=3D255ms > > > > > > T: Bus=3D01 Lev=3D01 Prnt=3D01 Port=3D01 Cnt=3D01 Dev#=3D 4 Spd=3D1= 2 MxCh=3D 0 > > > D: Ver=3D 1.00 Cls=3Dff(vend.) Sub=3Dff Prot=3Dff MxPS=3D64 #Cfgs=3D= 1 > > > P: Vendor=3D05da ProdID=3D40ca Rev=3D 0.00 > > > C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3D60 MxPwr=3D100mA > > > I: If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=3Dff(vend.) Sub=3Dff Prot=3Dff Dr= iver=3D(none) > > > E: Ad=3D82(I) Atr=3D02(Bulk) MxPS=3D 64 Ivl=3D0ms > > > -------------- > > > > > > thanks for any suggestion > > > > > > chen > > > > > > Using Tomcat but need to do more? Need to support web services, secur= ity? > > > Get stuff done quickly with pre-integrated technology to make your jo= b easier > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Ger= onimo > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&d= at=3D121642 > > > _______________________________________________ > > > sm3600-devel mailing list > > > sm3...@li... > > > https://lists.sourceforge.net/lists/listinfo/sm3600-devel > > > > -- > > Mit freundlichen Gruessen / Yours sincerely > > > > Marian Eichholz > > Postmaster > > freenet.de AG Vorsitzender des Aufsichtsrates: Prof. Dr. Helmu= t Thoma > > Deelb=F6genkamp 4c Vorstand: Eckhard Spoerr (Vors.), Axel Krieger= , > > Stephan Esch, Eric Berger > > 22297 Hamburg Amtsgericht Hamburg, HRB 74048 > > > > > > -----------------------------------------------------------------------= -- > > Using Tomcat but need to do more? Need to support web services, securit= y? > > Get stuff done quickly with pre-integrated technology to make your job = easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > > _______________________________________________ > > sm3600-devel mailing list > > sm3...@li... > > https://lists.sourceforge.net/lists/listinfo/sm3600-devel > > -- > Mit freundlichen Gruessen / Yours sincerely > > Marian Eichholz > Postmaster > freenet.de AG Vorsitzender des Aufsichtsrates: Prof. Dr. Helmut = Thoma > Deelb=F6genkamp 4c Vorstand: Eckhard Spoerr (Vors.), Axel Krieger, > Stephan Esch, Eric Berger > 22297 Hamburg Amtsgericht Hamburg, HRB 74048 > --=20 .--. |o_o | Freedom of Choice |:_/ | __ // \ \ / / __ __ __ __ __ __ __ (| | ) / /__ / / / \/ / / /_/ / \ \/ / /'\_ _/`\ /_____/ /_/ /_/\__/ /_____/ /_/\_\ \___)=3D(___/ |