Re: Problems with mouse

From: Andriy Gapon <avg_at_freebsd.org>
Date: Wed, 02 Sep 2009 17:28:46 +0300
on 31/08/2009 16:26 Hans Petter Selasky said the following:
> On Monday 31 August 2009 14:59:05 Andriy Gapon wrote:
[snip]
>>
>> It's cf=255 that is different from all other hubs.
> 
> Then:
> 
> usbconfig -u 0 -a 1 set_config 0

OK, did this, the hub re-initialized and tried to attach the mouse, but failed again.

BTW, I obtained some logs with hw.usb.debug=1.
This is what I get when I plug the mouse and it doesn't get attached:

Sep  2 11:51:57 trant kernel: usb_alloc_device:1449:
parent_dev=0xffffff0004e64900, bus=0xffffff80002c4320,
parent_hub=0xffffff00040d5800, depth=1, port_index=1, port_no=2, speed=1, usb_mode=0
Sep  2 11:51:57 trant kernel: usb_set_device_state:2444: udev 0xffffff00464fb800
state DETACHED -> POWERED
Sep  2 11:51:57 trant kernel: usbd_do_request_callback:95: st=0
Sep  2 11:51:57 trant kernel: usbd_transfer_submit:1397: xfer=0xffffff800882e148,
endpoint=0xffffff00464fb8d8, nframes=1, dir=write
Sep  2 11:51:57 trant kernel: usb_dump_endpoint: endpoint=0xffffff00464fb8d8
edesc=0xffffff00464fbde4 isoc_next=0 toggle_next=0 bEndpointAddress=0x00
Sep  2 11:51:57 trant kernel: usb_dump_queue: endpoint=0xffffff00464fb8d8 xfer:
Sep  2 11:51:57 trant kernel: usbd_transfer_submit:1416: open
Sep  2 11:51:57 trant kernel: usbd_pipe_enter:1584: enter
Sep  2 11:51:57 trant kernel: usbd_pipe_start:2416: start
Sep  2 11:51:58 trant kernel: usbd_do_request_flags:327: Handle Request function
is set
Sep  2 11:51:58 trant last message repeated 11 times
Sep  2 11:51:58 trant kernel: usbd_transfer_done:2185: err=USB_ERR_TIMEOUT
Sep  2 11:51:58 trant kernel: usbd_transfer_done:2185: err=USB_ERR_NORMAL_COMPLETION
Sep  2 11:51:58 trant kernel: usbd_callback_wrapper_sub:2550:
xfer=0xffffff800882e148 endpoint=0xffffff00464fb8d8 sts=20 alen=0, slen=8, afrm=0,
nfrm=1
Sep  2 11:51:58 trant kernel: usbd_do_request_callback:95: st=2
Sep  2 11:51:58 trant kernel: usbd_transfer_stop:1691: close
Sep  2 11:51:58 trant kernel: usbd_transfer_done:2185: err=USB_ERR_CANCELLED
Sep  2 11:51:58 trant kernel: usbd_transfer_done:2192: not transferring
Sep  2 11:51:58 trant kernel: usb_alloc_device:1586: set address 2 failed
(USB_ERR_TIMEOUT, ignored)
Sep  2 11:51:58 trant kernel: usb_set_device_state:2444: udev 0xffffff00464fb800
state POWERED -> ADDRESSED
Sep  2 11:51:58 trant kernel: usbd_do_request_callback:95: st=0
Sep  2 11:51:58 trant kernel: usbd_transfer_submit:1397: xfer=0xffffff800882e148,
endpoint=0xffffff00464fb8d8, nframes=2, dir=write
Sep  2 11:51:58 trant kernel: usb_dump_endpoint: endpoint=0xffffff00464fb8d8
edesc=0xffffff00464fbde4 isoc_next=0 toggle_next=1 bEndpointAddress=0x00
Sep  2 11:51:58 trant kernel: usb_dump_queue: endpoint=0xffffff00464fb8d8 xfer:
Sep  2 11:51:58 trant kernel: usbd_transfer_submit:1416: open
Sep  2 11:51:58 trant kernel: usbd_pipe_enter:1584: enter
Sep  2 11:51:58 trant kernel: usbd_pipe_start:2416: start
Sep  2 11:51:59 trant kernel: usbd_do_reuqusebsdt__dfol_argesq:uest_flag3s2:7:
Handl3e2 7R:e qHuaensdtl ef uRnecqtuieosn ti sf usnetction is set
Sep  2 11:51:59 trant kernel: usbd_do_request_flags:327: Handle Request function
is set
Sep  2 11:51:59 trant last message repeated 7 times
Sep  2 11:51:59 trant kernel:
Sep  2 11:51:59 trant kernel: usbd_do_request_flags:327: Handle Request function
is set
Sep  2 11:51:59 trant kernel: usbd_transfer_done:2185: err=USB_ERR_TIMEOUT
Sep  2 11:51:59 trant kernel: usbd_transfer_done:2185: err=USB_ERR_NORMAL_COMPLETION
Sep  2 11:51:59 trant kernel: usbd_callback_wrapper_sub:2550:
xfer=0xffffff800882e148 endpoint=0xffffff00464fb8d8 sts=20 alen=0, slen=16,
afrm=0, nfrm=2
Sep  2 11:51:59 trant kernel: usbd_do_request_callback:95: st=2
Sep  2 11:51:59 trant kernel: usbd_transfer_stop:1691: close
Sep  2 11:51:59 trant kernel: usbd_transfer_done:2185: err=USB_ERR_CANCELLED
Sep  2 11:51:59 trant kernel: usbd_transfer_done:2192: not transferring
Sep  2 11:51:59 trant kernel: usb_alloc_device:1624: getting device descriptor at
addr 2 failed, USB_ERR_TIMEOUT!
Sep  2 11:51:59 trant kernel: usbd_do_request_flags:327: Handle Request function
is set
Sep  2 11:51:59 trant last message repeated 2 times
Sep  2 11:51:59 trant kernel: usbd_do_request_callback:95: st=0
Sep  2 11:51:59 trant kernel: usbd_transfer_submit:1397: xfer=0xffffff800882e148,
endpoint=0xffffff00464fb8d8, nframes=1, dir=write
Sep  2 11:51:59 trant kernel: usb_dump_endpoint: endpoint=0xffffff00464fb8d8
edesc=0xffffff00464fbde4 isoc_next=0 toggle_next=1 bEndpointAddress=0x00
Sep  2 11:51:59 trant kernel: usb_dump_queue: endpoint=0xffffff00464fb8d8 xfer:
Sep  2 11:51:59 trant kernel: usbd_transfer_submit:1416: open
Sep  2 11:51:59 trant kernel: usbd_pipe_enter:1584: enter
Sep  2 11:51:59 trant kernel: usbd_pipe_start:2416: start
Sep  2 11:52:00 trant kernel: usbd_transfer_done:2185: err=USB_ERR_TIMEOUT
Sep  2 11:52:00 trant kernel: usbd_transfer_done:2185: err=USB_ERR_NORMAL_COMPLETION
Sep  2 11:52:00 trant kernel: usbd_callback_wrapper_sub:2550:
xfer=0xffffff800882e148 endpoint=0xffffff00464fb8d8 sts=20 alen=0, slen=8, afrm=0,
nfrm=1
Sep  2 11:52:00 trant kernel: usbd_do_request_callback:95: st=2
Sep  2 11:52:00 trant kernel: usbd_transfer_stop:1691: close
Sep  2 11:52:00 trant kernel: usbd_transfer_done:2185: err=USB_ERR_CANCELLED
Sep  2 11:52:00 trant kernel: usbd_transfer_done:2192: not transferring
Sep  2 11:52:00 trant kernel: usbd_req_re_enumerate:1539: addr=2, set address
failed! (USB_ERR_TIMEOUT, ignored)
Sep  2 11:52:00 trant kernel: usbd_do_request_callback:95: st=0
Sep  2 11:52:00 trant kernel: usbd_transfer_submit:1397: xfer=0xffffff800882e148,
endpoint=0xffffff00464fb8d8, nframes=2, dir=write
Sep  2 11:52:00 trant kernel: usb_dump_endpoint: endpoint=0xffffff00464fb8d8
edesc=0xffffff00464fbde4 isoc_next=0 toggle_next=1 bEndpointAddress=0x00
Sep  2 11:52:00 trant kernel: usb_dump_queue: endpoint=0xffffff00464fb8d8 xfer:
Sep  2 11:52:00 trant kernel: usbd_transfer_submit:1416: open
Sep  2 11:52:00 trant kernel: usbd_pipe_enter:1584: enter
Sep  2 11:52:00 trant kernel: usbd_pipe_start:2416: start
Sep  2 11:52:01 trant kernel: usbd_transfer_done:2185: err=USB_ERR_TIMEOUT
Sep  2 11:52:01 trant kernel: usbd_transfer_done:2185: err=USB_ERR_NORMAL_COMPLETION
Sep  2 11:52:01 trant kernel: usbd_callback_wrapper_sub:2550:
xfer=0xffffff800882e148 endpoint=0xffffff00464fb8d8 sts=20 alen=0, slen=16,
afrm=0, nfrm=2
Sep  2 11:52:01 trant kernel: usbd_do_request_callback:95: st=2
Sep  2 11:52:01 trant kernel: usbd_transfer_stop:1691: close
Sep  2 11:52:01 trant kernel: usbd_transfer_done:2185: err=USB_ERR_CANCELLED
Sep  2 11:52:01 trant kernel: usbd_transfer_done:2192: not transferring
Sep  2 11:52:01 trant kernel: usbd_req_re_enumerate:1553: getting device
descriptor at addr 2 failed, USB_ERR_TIMEOUT!
Sep  2 11:52:02 trant kernel: usbd_do_request_flags:327: Handle Request function
is set
Sep  2 11:52:02 trant last message repeated 9 times
Sep  2 11:52:02 trant kernel:
Sep  2 11:52:02 trant kernel: usbd_do_request_flags:327: Handle Request function
is set
Sep  2 11:52:02 trant last message repeated 4 times
Sep  2 11:52:02 trant kernel: usbd_do_request_callback:95: st=0
Sep  2 11:52:02 trant kernel: usbd_transfer_submit:1397: xfer=0xffffff800882e148,
endpoint=0xffffff00464fb8d8, nframes=1, dir=write
Sep  2 11:52:02 trant kernel: usb_dump_endpoint: endpoint=0xffffff00464fb8d8
edesc=0xffffff00464fbde4 isoc_next=0 toggle_next=1 bEndpointAddress=0x00
Sep  2 11:52:02 trant kernel: usb_dump_queue: endpoint=0xffffff00464fb8d8 xfer:
Sep  2 11:52:02 trant kernel: usbd_transfer_submit:1416: open
Sep  2 11:52:02 trant kernel: usbd_pipe_enter:1584: enter
Sep  2 11:52:02 trant kernel: usbd_pipe_start:2416: start
Sep  2 11:52:03 trant kernel: usbd_do_request_flags:327: Handle Request
fuunscbtdi_odno _irse qsueetst_flags:327: Handle Request function is set
Sep  2 11:52:03 trant kernel: usbd_do_request_flags:327: Handle Request function
is set
Sep  2 11:52:03 trant last message repeated 7 times
Sep  2 11:52:03 trant kernel:
Sep  2 11:52:03 trant kernel: usbd_do_request_flags:327: Handle Request function
is set
Sep  2 11:52:03 trant kernel: usbd_transfer_done:2185: err=USB_ERR_TIMEOUT
Sep  2 11:52:03 trant kernel: usbd_transfer_done:2185: err=USB_ERR_NORMAL_COMPLETION
Sep  2 11:52:03 trant kernel: usbd_callback_wrapper_sub:2550:
xfer=0xffffff800882e148 endpoint=0xffffff00464fb8d8 sts=20 alen=0, slen=8, afrm=0,
nfrm=1
Sep  2 11:52:03 trant kernel: usbd_do_request_callback:95: st=2
Sep  2 11:52:03 trant kernel: usbd_transfer_stop:1691: close
Sep  2 11:52:03 trant kernel: usbd_transfer_done:2185: err=USB_ERR_CANCELLED
Sep  2 11:52:03 trant kernel: usbd_transfer_done:2192: not transferring
Sep  2 11:52:03 trant kernel: usbd_req_re_enumerate:1539: addr=2, set address
failed! (USB_ERR_TIMEOUT, ignored)
Sep  2 11:52:03 trant kernel: usbd_do_request_callback:95: st=0
Sep  2 11:52:03 trant kernel: usbd_transfer_submit:1397: xfer=0xffffff800882e148,
endpoint=0xffffff00464fb8d8, nframes=2, dir=write
Sep  2 11:52:03 trant kernel: usb_dump_endpoint: endpoint=0xffffff00464fb8d8
edesc=0xffffff00464fbde4 isoc_next=0 toggle_next=1 bEndpointAddress=0x00
Sep  2 11:52:03 trant kernel: usb_dump_queue: endpoint=0xffffff00464fb8d8 xfer:
Sep  2 11:52:03 trant kernel: usbd_transfer_submit:1416: open
Sep  2 11:52:03 trant kernel: usbd_pipe_enter:1584: enter
Sep  2 11:52:03 trant kernel: usbd_pipe_start:2416: start
Sep  2 11:52:04 trant kernel: usbd_transfer_done:2185: err=USB_ERR_TIMEOUT
Sep  2 11:52:04 trant kernel: usbd_transfer_done:2185: err=USB_ERR_NORMAL_COMPLETION
Sep  2 11:52:04 trant kernel: usbd_callback_wrapper_sub:2550:
xfer=0xffffff800882e148 endpoint=0xffffff00464fb8d8 sts=20 alen=0, slen=16,
afrm=0, nfrm=2
Sep  2 11:52:04 trant kernel: usbd_do_request_callback:95: st=2
Sep  2 11:52:04 trant kernel: usbd_transfer_stop:1691: close
Sep  2 11:52:04 trant kernel: usbd_transfer_done:2185: err=USB_ERR_CANCELLED
Sep  2 11:52:04 trant kernel: usbd_transfer_done:2192: not transferring
Sep  2 11:52:04 trant kernel: usbd_req_re_enumerate:1553: getting device
descriptor at addr 2 failed, USB_ERR_TIMEOUT!
Sep  2 11:52:04 trant kernel: usb_set_device_state:2444: udev 0xffffff00464fb800
state ADDRESSED -> DETACHED
Sep  2 11:52:04 trant kernel: ugen0.2: <(null)> at usbus0 (disconnected)
Sep  2 11:52:04 trant kernel: uhub_reattach_port:435: could not allocate new device!
Sep  2 11:52:04 trant kernel: usbd_do_request_flags:327: Handle Request function
is set
Sep  2 11:52:06 trant last message repeated 19 times


-- 
Andriy Gapon
Received on Wed Sep 02 2009 - 12:28:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC