[sane-devel] no device files

Henning Meier-Geinitz henning@meier-geinitz.de
Mon, 27 Jan 2003 14:26:34 +0100


On Mon, Jan 27, 2003 at 06:01:48PM -0800, Zeus wrote:
> I just realize that, in my /etc/usb there are no device files?

That's correct. Device files are usually in /dev/.

> How that can't be?

Possible reasons for device files in /dev/usb/

- you are using devfs and
  * no USB device is connected 
  * a USB device is conncetd but not detected for some reason
- you are not using devfs and haven't created the device nodes yet.
  cd /dev/ ; MAKEDEV usb ; in this case.
> I have a scanner, it's a non Sane scanner,

Which scanner exactly? I would like to add its ids to the kernel
scanner driver.

What do you mean by "non Sane"? Not supported by SANE?

> T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=06dc ProdID=0014 Rev= 1.00
> S:  Manufacturer=F.I.T.
> S:  Product=USB Scanner
> S:  SerialNumber=RTS8801C2-006
> C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none)
> E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=   8 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=250ms

0x06dc/0x0014 doesn't seem to be known by the kernel scanner driver,
therefore the "Driver=(none)" in the I: line.

F.I.T = "Foxlink Image Technology Co., Ltd.". Never heard about this

Run "rmmod scanner; modprobe scanner vendor=0x06dc product=0x0014". If
you use devfs, the file /dev/usb/scanner should exist now.