Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2002 03:05:13 -0400
From:      Tomoki Taniguchi <tomoki@makainet.net>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: usb
Message-ID:  <200209130305.13833.tomoki@makainet.net>
In-Reply-To: <Pine.BSF.4.21.0209112022360.44410-100000@wonkity.com>
References:  <Pine.BSF.4.21.0209112022360.44410-100000@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
ok, so I think my problem is usbd itself.  I think it's stuck
I killed usbd and restarted it with -dvvv option
this is what I see

usbd: opened /dev/usb0
usbd: reading configuration file /etc/usbd.conf
usbd: action 1: ActiveWire board, firmware download
  vndr=0x0854 prdct=0x0100 rlse=0x0000
  attach='/usr/local/bin/ezdownload -f 
/usr/local/share/usb/firmare/0854.0100.0_01.hex ${DEVNAME}'
usbd: action 2 : Entrega Serial with UART
  vndr=0x1645 prdct=0x8001 rlse=0x0101
  attach='/us/sbin/ezdownload -v -f /usr/share/usb/firmware/1645.8001.0101 
/dev/${DEVNAME}'
usbd: action 3: USB ethernet
  devname: [ack]ue[0-9]+
  attach='dhclient ${DEVNAME}'
  detach='killall dhclient'
usbd: action 4: Mouse
  devname: ums[0-9]+
  attach='/usr/sbin/moused -p /dev/${DEVNAME} -I 
/var/run/moused.${DEVNAME}.pid'
usbd: action 5: USB device
usbd: 5 actions
usbd: opened /dev/usb
usbd: doing timeout discovery on /dev/usb0
usbd: processing event queue due to timeout on /dev/usb

the last 2 lines repeats indefinately
and never returns to the prompt...

It seems like it is getting stuck ...
probably why it never detects any newly attached devices...



On Wednesday 11 September 2002 10:26 pm, you wrote:
> On Wed, 11 Sep 2002, Tomoki Taniguchi wrote:
> > ok gotten it to work... sort of
> > the usb device has to be plugged in when the box powers up...
> > if I plug it in afterwards then I get a device not configured error...
> >
> > anyway to attach usb devices while the machine is running?
>
> That's how it works on my notebook and desktop computers: attach a USB
> device or just turn it on, and the system shows a message on the
> console:
>
> uscanner0: EPSON Perfection1640, rev 1.10/1.03, addr 4
>
> Turn it off, and there's another message:
>
> uscanner0: at uhub3 port 4 (addr 4) disconnected
> uscanner0: detached
>
> That only happens if usbd is running, of course.  Other than that, I
> don't know what to suggest.
>
> -Warren Block * Rapid City, South Dakota USA


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209130305.13833.tomoki>