From owner-freebsd-current@FreeBSD.ORG Wed Sep 2 14:28:50 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B89D61065670 for ; Wed, 2 Sep 2009 14:28:50 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D59588FC1A for ; Wed, 2 Sep 2009 14:28:49 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA07119; Wed, 02 Sep 2009 17:28:47 +0300 (EEST) (envelope-from avg@freebsd.org) Message-ID: <4A9E811E.7040107@freebsd.org> Date: Wed, 02 Sep 2009 17:28:46 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.22 (X11/20090724) MIME-Version: 1.0 To: Hans Petter Selasky References: <20090826080554.GA2664@beastie.smeiknet> <200908271913.13206.hselasky@c2i.net> <4A9BC919.1070305@freebsd.org> <200908311526.26074.hselasky@c2i.net> In-Reply-To: <200908311526.26074.hselasky@c2i.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Problems with mouse X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 14:28:50 -0000 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