[sane-devel] Unable to access minor data

Henning Meier-Geinitz henning@meier-geinitz.de
Tue, 3 Dec 2002 22:08:01 +0100


On Tue, Dec 03, 2002 at 08:51:41PM +0000, Alexis wrote:
> Please find attached some (slightly edited) output.  I loaded the scanner 
> module with the vendor and product id as shown in latest Linux Format mag.

Did you do "rmmod scanner" before? Otherwise the modprobe does nothing.

> The scanner is present in /proc/bus/usb/devices but isn't associated with the 
> driver - perhaps there is something to modify in the kernel patch? 

Maybe, see below.

> bugsy:~# modprobe scanner vendor=0x0461 product=0x360

Looks ok.

The entries start with "T:" (topology):

> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  7 Spd=12  MxCh= 0
> D:  Ver= 1.00 Cls=ff(vend.) Sub=00 Prot=ff MxPS=64 #Cfgs=  1
> P:  Vendor=0461 ProdID=0360 Rev= 1.02

Same as above, so it's ok.

> S:  Manufacturer=PRIMAX
> S:  Product=Colorado USB 19200
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=100mA
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none)
> E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=   1 Ivl=  0ms
> E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms

Oh, well, this device has three bulk endpoints. two in and one out. I
have never seen this and I'm not sure, if the scanner driver can
handle this.

You should see error messages in syslog if it can't handle this device.