On Thu, Apr 20, 2000, Glenn Ramsey <[EMAIL PROTECTED]> wrote:
> 
> I have a MicroTek Scanmaker 3600 that I would like to get going
> under Linux but there is a problem with the number of endpoints.
> 
> As far as I can tell the drivers/usb/scanner.c code requires 2 or
> 3 endpoints for 'bulk in', 'bulk out' and optionally an interrupt,
> however this scanner has only one endpoint as can be seen in the
> /proc/bus/usb/devices output shown below.
> 
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc= 17/900 us ( 2%), #Int=  1, #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
> 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
> T:  Bus=01 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=05da ProdID=40b3 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
> 
> I know next to nothing about how USB works but I'm willing to
> write and test code if that is what needs to be done. Do I need to
> get familiar with the USB spec or is there a easier/quicker way to
> get whatever info I'll need?

There is no scanner class specification, so usb/scanner.c is written for
a couple of scanners which happen to work similarly.

In this case, I don't think using usb/scanner.c will work for you :)

I bet you all of the commands are sent via the control pipe, and then
you just read from the bulk pipe for the data.

The tricky part will be finding out the format of commands to send it.

JE


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to