From owner-freebsd-current Mon Feb 11 19:47:50 2002 Delivered-To: freebsd-current@freebsd.org Received: from newman2.bestweb.net (newman2.bestweb.net [209.94.102.67]) by hub.freebsd.org (Postfix) with ESMTP id 2048237B642 for ; Mon, 11 Feb 2002 18:19:00 -0800 (PST) Received: from okeeffe.bestweb.net (okeefe.bestweb.net [209.94.100.110]) by newman2.bestweb.net (Postfix) with ESMTP id 217C2232C7; Mon, 11 Feb 2002 21:17:58 -0500 (EST) Received: by okeeffe.bestweb.net (Postfix, from userid 0) id 9160B9F3AA; Mon, 11 Feb 2002 21:12:39 -0500 (EST) Subject: Re: usdb missing detaches ??? From: "Vladimir B. " Grebenschikov To: Paul van der Zwan Cc: current@freebsd.org Date: 10 Feb 2002 23:42:26 +0300 Message-Id: <20020212021239.9160B9F3AA@okeeffe.bestweb.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 2002-02-10 at 23:29, Paul van der Zwan wrote: > > On Sun, 2002-02-03 at 15:08, Paul van der Zwan wrote: > > >=20 > > > I'm experimenting with my Sony DSC S70 and USB. > > > I can get -current to mount the stick in the camera but it won't umou= nt=20 > > > the filesystem on detach.=20 > >=20 > > Just found that on lates -CURRENT my notebook keyboard not returned whe= n > > I have detach USB keyboard - It was working well before.=20 > >=20 > > Somebody have broke usb detaching ? >=20 > The only usb device I have connected is my camera so I have no experience= s=20 > with mice or keyboards, but yours it the first response at all at my=20 > message, so I still have no idea if the behaviour i see is the way it=20 > should be or a bug... So, I have done some invistigations: 'usbd -d -v -v' output here with comments: *** Attaching USB hub with mouse and combo keyboard: usbd: processing event queue on /dev/usb usbd: device-attach event at 1013373305.235405000, UT-USB41 hub, Texas Instruments: vndr=3D0x0451 prdct=3D0x1446 rlse=3D0x0110 clss=3D0x0009 subclss=3D0x0000 prtcl=3D0x0000 device names: uhub1 usbd: Found action 'USB device' for UT-USB41 hub, Texas Instruments at uhub1 usbd: action 0: USB device usbd: Setting DEVNAME=3D'uhub1' usbd: processing event queue on /dev/usb usbd: device-attach event at 1013373305.813311000, Microsoft IntelliMouse=AE Explorer, Microsoft: vndr=3D0x045e prdct=3D0x001e rlse=3D0x0114 clss=3D0x0000 subclss=3D0x0000 prtcl=3D0x0000 device names: ums0 usbd: ums0 matches ums[0-9]+ usbd: Found action 'Mouse' for Microsoft IntelliMouse=AE Explorer, Microsoft at ums0 usbd: action 0: Mouse devname: ums[0-9]+ attach=3D'/usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid -m 6=3D4 -m 7=3D5' detach=3D'kill /var/run/moused.${DEVNAME}.pid' usbd: Setting DEVNAME=3D'ums0' usbd: Executing '/usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid -m 6=3D4 -m 7=3D5' usbd: '/usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid -m 6=3D4 -m 7=3D5' is ok usbd: processing event queue on /dev/usb usbd: device-attach event at 1013373306.424875000, Keyboard with mouse port, Behavior Tech. Computer: vndr=3D0x046e prdct=3D0x6782 rlse=3D0x0100 clss=3D0x0000 subclss=3D0x0000 prtcl=3D0x0000 device names: ukbd0,ums1 usbd: Found action 'Keyboard with Mouse' for Keyboard with mouse port, Behavior Tech. Computer usbd: action 0: Keyboard with Mouse vndr=3D0x046e prdct=3D0x6782 rlse=3D0x0100 attach=3D'/usr/sbin/kbdcontrol -k /dev/kbd1 -r fast < /dev/ttyv0' detach=3D'/usr/sbin/kbdcontrol -k /dev/kbd0 -r fast < /dev/ttyv0' usbd: Executing '/usr/sbin/kbdcontrol -k /dev/kbd1 -r fast < /dev/ttyv0' kbd1 ukbd0, type:generic (0) usbd: '/usr/sbin/kbdcontrol -k /dev/kbd1 -r fast < /dev/ttyv0' is ok *** all seems Ok, moused stared, keyboard activated usbd: doing timeout discovery on /dev/usb0 usbd: processing event queue due to timeout on /dev/usb *** nothing plugged/unpluget on USB bus but got this message usbd: processing event queue on /dev/usb usbd: driver-detach event cookie=3D3217028628 devname=3Duhub1 USB_EVENT_DRIVER_DETACH *** this happens after detach - usbd see some detaching but not execute=20 *** detach scripts :( on dmesg: hub1: Texas Instruments UT-USB41 hub, class 9/0, rev 1.10/1.10, addr 2 uhub1: 4 ports with 4 removable, bus powered ums0: Microsoft Microsoft IntelliMouse=AE Explorer, rev 1.10/1.14, addr 3, iclass 3/1 ums0: 5 buttons and Z dir. uhub1: device problem, disabling port 2 uhub1: at uhub0 port 1 (addr 2) disconnected ums0: detached uhub1: detached p.s.: may be it is time to send PR ? =20 > Paul --=20 SW Soft, Moscow Vladimir B. Grebenschikov, vova@sw.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message