Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2005 20:57:56 -0600
From:      John-Paul Andrusky <jpandrusky@gmail.com>
To:        freebsd-usb@freebsd.org
Subject:   Re: Problems with uhid device.
Message-ID:  <d849f17e05082319572602a00@mail.gmail.com>
In-Reply-To: <200508231931.09780.hselasky@c2i.net>
References:  <d849f17e05082307553f67f0ce@mail.gmail.com> <200508231931.09780.hselasky@c2i.net>

index | next in thread | previous in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d849f17e05082319572602a00>