USB scanner not attached when connected after system startup]
Harald Weis
hawei at nerim.net
Fri Dec 31 07:05:06 PST 2004
On Thu, Dec 30, 2004 at 09:33:32AM +0100, Marc Fonvieille wrote:
> On Wed, Dec 29, 2004 at 04:49:05PM +0100, Harald Weis wrote:
> >
> > My scanner (EPSON PERFECTION 1650) is working alright if it is connected before system startup.
> > But when connected to the running system it doesn't get attached by usbd. I can't find out from Handbook, manpages or mailing lists what could be the reason.
> >
>
> I assume you followed the Image Scanner section in the Handbook.
> Is usbd really running? Are you using the default usbd.conf?
In reply to both Marc and Roland, I confirm and say:
1. usbd is really running all the time (usbd_enable="YES" being in rc.conf)
2. using the default usbd.conf, which I studied only recently to find out what could be missing.
3. added the following lines to it for testing:
device "Perfection 1650 scanner"
devname "uscanner[0-9]+"
attach "sane-find-scanner -q"
detach "sane-find-scanner -q"
I still haven't got a clue of what other command could be useful here. I think Ialso understood that the proper attachment/detachment function of usbd has nothing to do with those commands. Right or wrong?
4. Killing usbd and running ``usbd -dvv'' confirms that usbd does not detect any event when I connect or disconnect the signal cable of the scanner (needless to say that the scanner is connected to power). No error message in the debugging output, just this:
algol{me} ~ # usbd -dvv
usbd: opened /dev/usb0
usbd: reading configuration file /etc/usbd.conf
usbd: action 1: ActiveWire board, firmware download
.
.
.
usbd: action 6: Perfection 1650 scanner
devname: uscanner[0-9]+
attach='sane-find-scanner -q'
detach='sane-find-scanner -q'
usbd: action 7: USB device
usbd: 7 actions
usbd: opened /dev/usb
usbd: doing timeout discovery on /dev/usb0
usbd: processing event queue due to timeout on /dev/usb
etc, etc ad infinitum
No event, no action. Normal.
Harald :-(
--
FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003
More information about the freebsd-stable
mailing list