Problems with uhid device.

John-Paul Andrusky jpandrusky at gmail.com
Wed Aug 24 02:57:57 GMT 2005


Here is the resulting `dmesg` from doing a `cat /dev/uhid1` (the
keyboard
became uhid0):

uhidopen: sc=0xc1aa5e00
usbd_open_pipe_intr: address=0x82 flags=0x4 len=6
usbd_open_pipe: iface=0xc1aa5d1c address=0x82 flags=0x1
usbd_setup_pipe: dev=0xc1aa5480 iface=0xc1aa5d1c ep=0xc1aad060
pipe=0xd543e96c
usbd_clear_endpoint_stall
usbd_alloc_xfer() = 0xc1efbc00
usbd_transfer: xfer=0xc1efbc00, flags=2, pipe=0xc1aa5500, running=0
usbd_dump_queue: pipe=0xc1aa5500
usb_insert_transfer: pipe=0xc1aa5500 running=0 timeout=5000
usb_schedsoftintr: polling=0
usb_transfer_complete: pipe=0xc1aa5500 xfer=0xc1efbc00 status=0
actlen=0
usb_transfer_complete: repeat=0 new head=0
usbd_start_next: pipe=0xc1aa5500, xfer=0
usbd_free_xfer: 0xc1efbc00
usbd_alloc_xfer() = 0xc1efbc00
usbd_transfer: xfer=0xc1efbc00, flags=4, pipe=0xc1edb180, running=0
usbd_dump_queue: pipe=0xc1edb180
usb_allocmem: use frag=0xc1a5dd40 size=6
usb_insert_transfer: pipe=0xc1edb180 running=0 timeout=0
uhidread
uhidread: sleep on 0xc1aa5e34

>>> did a ctrl-c here

usb_schedsoftintr: polling=0
usb_transfer_complete: pipe=0xc1edb180 xfer=0xc1efbc00 status=13
actlen=6
usb_transfer_complete: repeat=1 new head=0xc1efbc00
uhid_intr: status=13 cc=6
uhid_intr: data = 01 20 00 00 00 01
uhid_intr: status=13
uhidread: woke, error=4
uhidclose: sc=0xc1aa5e00
usbd_ar_pipe: pipe=0xc1edb180
usbd_dump_queue: pipe=0xc1edb180
  xfer=0xc1efbc00
usbd_ar_pipe: pipe=0xc1edb180 xfer=0xc1efbc00 (methods=0xc06daa50)
usb_schedsoftintr: polling=0
usb_transfer_complete: pipe=0xc1edb180 xfer=0xc1efbc00 status=6
actlen=6
usb_freemem: frag=0xc1a5dd40
usb_transfer_complete: repeat=0 new head=0
uhid_intr: status=6 cc=6
uhid_intr: data = 01 20 00 00 00 01

And now of course, nothing usb works (until reboot).

-- 
 Cheers,
   John-Paul Andrusky


More information about the freebsd-usb mailing list