From owner-freebsd-questions Fri Sep 13 0: 5:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9942537B400 for ; Fri, 13 Sep 2002 00:05:48 -0700 (PDT) Received: from mail.senets.com (ns2.biltmorecomm.com [216.91.87.249]) by mx1.FreeBSD.org (Postfix) with SMTP id E284C43E65 for ; Fri, 13 Sep 2002 00:05:47 -0700 (PDT) (envelope-from tomoki@makainet.net) Received: (qmail 18127 invoked from network); 13 Sep 2002 07:05:32 -0000 Received: from unknown (HELO mail.makainet.net) ([64.243.10.27]) (envelope-sender ) by ns2.biltmorecomm.com (qmail-ldap-1.03) with SMTP for ; 13 Sep 2002 07:05:32 -0000 Received: from rogue (adsl-156-33-121.asm.bellsouth.net [66.156.33.121]) (AUTH: LOGIN tomoki, ) by mail.makainet.net with esmtp; Fri, 13 Sep 2002 03:08:47 -0400 From: Tomoki Taniguchi To: Warren Block Subject: Re: usb Date: Fri, 13 Sep 2002 03:05:13 -0400 X-Mailer: KMail [version 1.4] References: In-Reply-To: Cc: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <200209130305.13833.tomoki@makainet.net> X-Mime-Autoconverted: from 8bit to 7bit by courier 0.39 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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