Date: Sat, 28 Mar 2009 18:24:53 +0300 From: Alex Keda <admin@lissyara.su> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-current@freebsd.org Subject: Re: New USB stack and USB floppy Message-ID: <49CE4145.7020504@lissyara.su> In-Reply-To: <200903281622.08116.hselasky@c2i.net> References: <49C7FE13.90808@lissyara.su> <200903281604.38753.hselasky@c2i.net> <49CE3FAA.2020604@lissyara.su> <200903281622.08116.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hans Petter Selasky пишет: > On Saturday 28 March 2009, Alex Keda wrote: >> Hans Petter Selasky пишет: >>> On Saturday 28 March 2009, Alex Keda wrote: >>>> Hans Petter Selasky пишет: >>>>> On Monday 23 March 2009, Alex Keda wrote: >>>>>> I have USB floppy. >>>>>> >>>>>> Mar 24 00:11:25 HP kernel: usb2_alloc_device:1516: getting device >>>>>> descriptor at addr 3 failed! >>>>>> Mar 24 00:11:26 HP kernel: ugen0.3: <Mitsumi> at usbus0 >>>>>> Mar 24 00:11:26 HP kernel: umass0: <Mitsumi MITSUMI USB FDD 061M, >>>>>> class 0/0, rev 1.10/2.00, addr 3> on usbus0 >>>>>> Mar 24 00:11:26 HP kernel: umass0: SCSI over Bulk-Only; quirks = >>>>>> 0x0100 >>>>> >>>>> ^^^^ Edit /sys/dev/usb/storage/umass.c >>>>> >>>>> And remove the quirk entry for your device. Maybe it is not correct. >>>> I delete UMASS_PROTO_SCSI. >>>> But: >>>> Mar 28 17:44:01 HP kernel: usb2_alloc_device:1516: getting device >>>> descriptor at addr 3 failed! >>>> Mar 28 17:44:02 HP kernel: usb2_req_re_enumerate:1434: getting device >>>> descriptor at addr 3 failed! >>>> Mar 28 17:44:03 HP kernel: usb2_req_re_enumerate:1434: getting device >>>> descriptor at addr 3 failed! >>>> Mar 28 17:44:03 HP kernel: ugen0.3: <> at usbus0 (disconnected) >>>> Mar 28 17:44:03 HP kernel: uhub_reattach_port:413: could not allocate >>>> new device! >>> What happens if you use an external HUB to connect the device ? >> I do not have external hub =) >> I have two ports in laptop - that will be enough =) > > Before your device attached in one of the ports, and now after you removed > the quirk? Very strange. I swap mouse and floppy: Mar 28 18:22:24 HP kernel: ums0: at uhub1, port 1, addr 2 (disconnected) Mar 28 18:22:24 HP kernel: ugen1.2: <Logitech> at usbus1 (disconnected) Mar 28 18:22:33 HP kernel: ugen1.2: <MITSUMI> at usbus1 Mar 28 18:22:33 HP kernel: umass0: <MITSUMI MITSUMI USB FDD 061M, class 0/0, rev 1.10/2.00, addr 2> on usbus1 Mar 28 18:22:33 HP kernel: umass0: (unknown 0x00) over Bulk-Only; quirks = 0x0100 Mar 28 18:22:34 HP kernel: umass0:2:0:-1: Attached to scbus2 Mar 28 18:22:52 HP kernel: usb2_alloc_device:1516: getting device descriptor at addr 3 failed! Mar 28 18:22:53 HP kernel: ugen0.3: <Logitech> at usbus0 Mar 28 18:22:53 HP kernel: ums0: <Logitech Optical USB Mouse, class 0/0, rev 2.00/3.40, addr 3> on usbus0 Mar 28 18:22:53 HP kernel: ums0: error reading report description Mar 28 18:22:53 HP kernel: device_attach: ums0 attach returned 12 Mar 28 18:22:53 HP kernel: ums0: <Logitech Optical USB Mouse, class 0/0, rev 2.00/3.40, addr 3> on usbus0 Mar 28 18:22:53 HP kernel: ums0: 3 buttons and [XYZ] coordinates Then, swap again: Mar 28 18:23:34 HP kernel: ums0: at uhub0, port 1, addr 3 (disconnected) Mar 28 18:23:34 HP kernel: ugen0.3: <Logitech> at usbus0 (disconnected) Mar 28 18:23:36 HP kernel: umass0: at uhub1, port 1, addr 2 (disconnected) Mar 28 18:23:36 HP kernel: ugen1.2: <MITSUMI> at usbus1 (disconnected) Mar 28 18:23:39 HP kernel: ugen1.2: <Logitech> at usbus1 Mar 28 18:23:39 HP kernel: ums0: <Logitech Optical USB Mouse, class 0/0, rev 2.00/3.40, addr 2> on usbus1 Mar 28 18:23:39 HP kernel: ums0: 3 buttons and [XYZ] coordinates Mar 28 18:23:42 HP kernel: usb2_alloc_device:1516: getting device descriptor at addr 3 failed! Mar 28 18:23:44 HP kernel: usb2_req_re_enumerate:1434: getting device descriptor at addr 3 failed! Mar 28 18:23:45 HP kernel: usb2_req_re_enumerate:1434: getting device descriptor at addr 3 failed! Mar 28 18:23:45 HP kernel: usb2_alloc_device:1667: Failure selecting configuration index 0: USB_ERR_IOERROR, port 1, addr 3 (ignored) Mar 28 18:23:45 HP kernel: ugen0.3: <Mitsumi> at usbus0 Mar 28 18:23:45 HP kernel: pid 5873 (hald-probe-usb2-dev), uid 0: exited on signal 11 (core dumped) Mouse works well in first, and second port...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49CE4145.7020504>