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:
> > > 
> > > 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 umount 
> > > the filesystem on detach. 
> > 
> > Just found that on lates -CURRENT my notebook keyboard not returned when
> > I have detach USB keyboard - It was working well before. 
> > 
> > Somebody have broke usb detaching ?
> 
> The only usb device I have connected is my camera so I have no experiences 
> with mice or keyboards, but yours it the first response at all at my 
> message, so I still have no idea if the behaviour i see is the way it 
> 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=0x0451 prdct=0x1446 rlse=0x0110 clss=0x0009 subclss=0x0000
prtcl=0x0000
  device names: uhub1
usbd: Found action 'USB device' for UT-USB41 hub, Texas Instruments at
uhub1
usbd: action 0: USB device
usbd: Setting DEVNAME='uhub1'
usbd: processing event queue on /dev/usb
usbd: device-attach event at 1013373305.813311000, Microsoft
IntelliMouse® Explorer, Microsoft:
  vndr=0x045e prdct=0x001e rlse=0x0114 clss=0x0000 subclss=0x0000
prtcl=0x0000
  device names: ums0
usbd: ums0 matches ums[0-9]+
usbd: Found action 'Mouse' for Microsoft IntelliMouse® Explorer,
Microsoft at ums0
usbd: action 0: Mouse
  devname: ums[0-9]+
  attach='/usr/sbin/moused -p /dev/${DEVNAME} -I
/var/run/moused.${DEVNAME}.pid -m 6=4 -m 7=5'
  detach='kill /var/run/moused.${DEVNAME}.pid'
usbd: Setting DEVNAME='ums0'
usbd: Executing '/usr/sbin/moused -p /dev/${DEVNAME} -I
/var/run/moused.${DEVNAME}.pid -m 6=4 -m 7=5'
usbd: '/usr/sbin/moused -p /dev/${DEVNAME} -I
/var/run/moused.${DEVNAME}.pid -m 6=4 -m 7=5' is ok
usbd: processing event queue on /dev/usb
usbd: device-attach event at 1013373306.424875000, Keyboard with mouse
port, Behavior Tech. Computer:
  vndr=0x046e prdct=0x6782 rlse=0x0100 clss=0x0000 subclss=0x0000
prtcl=0x0000
  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=0x046e prdct=0x6782 rlse=0x0100
  attach='/usr/sbin/kbdcontrol -k /dev/kbd1 -r fast < /dev/ttyv0'
  detach='/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=3217028628 devname=uhub1
USB_EVENT_DRIVER_DETACH

*** this happens after detach - usbd see some detaching but not execute 
*** 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® 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 ?
 
>       Paul

-- 
SW Soft, Moscow
Vladimir B. Grebenschikov, [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to