From owner-freebsd-current@FreeBSD.ORG Fri Apr 16 08:30:06 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA40B16A4CE for ; Fri, 16 Apr 2004 08:30:05 -0700 (PDT) Received: from nwkea-mail-1.sun.com (nwkea-mail-1.sun.com [192.18.42.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4EFA43D5C for ; Fri, 16 Apr 2004 08:30:05 -0700 (PDT) (envelope-from Peter.Weiss@Sun.com) Received: from sun-gy.germany ([129.157.128.5]) by nwkea-mail-1.sun.com (8.12.10/8.12.9) with ESMTP id i3GFU46N001610 for ; Fri, 16 Apr 2004 08:30:04 -0700 (PDT) Received: from Winona.Germany.Sun.COM (winona [129.157.133.118]) i3GFU3Bg020490 for ; Fri, 16 Apr 2004 17:30:03 +0200 (MEST) Received: from Winona.Germany.Sun.COM (localhost [IPv6:::1]) i3GFU3CM014654 for ; Fri, 16 Apr 2004 17:30:03 +0200 (MEST) Received: (from pw105345@localhost)i3GFU3NZ014653; Fri, 16 Apr 2004 17:30:03 +0200 (MEST) X-Authentication-Warning: winona.Germany.Sun.COM: pw105345 set sender to Peter.Weiss@Sun.com using -f To: freebsd-current@freebsd.org From: Peter.Weiss@Sun.com (Peter Weiss, Sun Microsystems, Germany) Date: Fri, 16 Apr 2004 17:30:02 +0200 Message-ID: User-Agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.3 (sparc-sun-solaris2.9) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: usbd and mouse hotplugging problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 15:30:06 -0000 Hello, On my notebook running freebsd current it's not possible to hotplug the mouse on the usb port (sometimes I miss to plug it in before booting). When the mouse is connected at boot time the usbdevs looks like: ~:1> usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: low speed, power 100 mA, config 1, Optical USB Mouse(0xc016), Logitech(0x046d), rev 3.40 port 2 powered Running usbd -d -vvv reports: ~:2# usbd -vvv -d usbd: opened /dev/usb0 usbd: opened /dev/usb1 usbd: opened /dev/usb2 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/firmware/0854.0100.0_01.hex ${DEVNAME}' usbd: action 2: Entrega Serial with UART vndr=0x1645 prdct=0x8001 rlse=0x0101 attach='/usr/sbin/ezdownload -v -f /usr/share/usb/firmware/1645.8001.0101 /dev/${DEVNAME}' usbd: action 3: USB ethernet devname: [ackr]ue[0-9]+ attach='/etc/pccard_ether ${DEVNAME} start' detach='/etc/pccard_ether ${DEVNAME} stop' usbd: action 4: Handspring Visor vndr=0x082d prdct=0x0100 rlse=0x0100 devname: ugen[0-9]+ attach='/usr/local/bin/coldsync -md -p /dev/${DEVNAME} -t usb' usbd: action 5: Mouse devname: ums[0-9]+ attach='/usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid ; /usr/sbin/vidcontrol -m on' usbd: action 6: USB device usbd: 6 actions usbd: opened /dev/usb usbd: processing event queue on /dev/usb usbd: device-detach event at 1082128583.961499000, product 0xc016, Logitech: vndr=0x046d prdct=0xc016 rlse=0x0340 clss=0x0000 subclss=0x0000 prtcl=0x0000 usbd: Found action 'USB device' for product 0xc016, Logitech usbd: action 0: USB device usbd: doing timeout discovery on /dev/usb0 usbd: doing timeout discovery on /dev/usb1 usbd: doing timeout discovery on /dev/usb2 usbd: processing event queue due to timeout on /dev/usb usbd: doing timeout discovery on /dev/usb0 usbd: doing timeout discovery on /dev/usb1 usbd: doing timeout discovery on /dev/usb2 usbd: processing event queue due to timeout on /dev/usb usbd: doing timeout discovery on /dev/usb0 usbd: doing timeout discovery on /dev/usb1 usbd: doing timeout discovery on /dev/usb2 usbd: processing event queue due to timeout on /dev/usb ^C The detach event is seen only once. No attach event or somethis like that usbdevs reports no devices. Any hints? TIA -- Peter -- Peter Weiss / Peter.Weiss@germany.sun.com Sun Microsystems GmbH / Sonnenallee 1, D-85551 Kirchheim-Heimstetten (+49 89) 46008 2947 / mobil 0177/ 60 40 121