Re: USB Scanner?
Bob Paddock <[email protected]> Sat, 19 Oct 2002 07:56:47 -0400
| Newsgroups | gmane.linux.gentoo.newbies |
|---|---|
| Organization | The Designer-III Company http://www.designer-iii.com/ |
| Message-ID | <[email protected]> |
> usb.c: registered new driver usbscanner
> devfs_register(scanner0): could not append to parent, err: -17
>
> > I still think there is some thing I need to do to devs.
> >
> > How does /dev/usb/scanner0 get created?
I found the reason for these messages.
When I installed my HPOJ 710C color printer/scanner/fax I did not configure it
with the --no-usb directive. That created a /dev/usb/scanner0 because the
attributes of device nodes in /lib/dev-state are copied into /dev directly
before devfsd is started. The RESTORE directory in devsd.conf saves stuff in
/lib/dev-state.
If there is a device file in /lib/dev-state it is created in /dev even before
the driver is loaded. When the driver is loaded it tries again to create the
node and the message appears.
So if any init script ends up putting some thing in /lib/dev-state you get
the -17 error. Printer, network, scanner etc...
See these for more:
http://lists.insecure.org/linux-kernel/2001/Dec/0426.html
http://lists.insecure.org/linux-kernel/2001/Dec/0439.html
http://lists.insecure.org/linux-kernel/2001/Dec/0444.html
--
http://www.unusualresearch.com/ http://www.bpaddock.com/