Re: New USB stack and USB floppy

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Tue, 24 Mar 2009 08:46:35 +0100
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.

--HPS

> Mar 24 00:11:27 HP kernel: umass0:2:0:-1: Attached to scbus2
> Mar 24 00:11:27 HP kernel: xptioctl: pass driver is not in the kernel
> Mar 24 00:11:27 HP kernel: xptioctl: put "device pass" in your kernel
> config file
>
>
> but,
>
> HP$ grep "pass" /usr/src/sys/amd64/conf/GENERIC
> device          pass     # Passthrough device (direct SCSI access)
> device          aacp     # SCSI passthrough for aac (requires CAM)
> HP$
>
> If I unplug and plug it to the same port:
>
> Mar 24 00:19:12 HP kernel: usb2_alloc_device:1516: getting device
> descriptor at addr 3 failed!
> Mar 24 00:19:12 HP kernel: usb2_req_re_enumerate:1434: getting device
> descriptor at addr 3 failed!
> Mar 24 00:19:14 HP kernel: usb2_req_re_enumerate:1434: getting device
> descriptor at addr 3 failed!
> Mar 24 00:19:14 HP kernel: ugen0.3: <> at usbus0 (disconnected)
> Mar 24 00:19:14 HP kernel: uhub_reattach_port:413: could not allocate
> new device!
>
> If I plug it to another port - it detect, but need "pass" driver =)
>
> ============
> I have USB mouse. If I plug it first time - all OK. If second - to the
> some port:
> Mar 24 00:21:45 HP kernel: ugen0.3: <Logitech> at usbus0
> Mar 24 00:21:45 HP kernel: ums0: <Logitech Optical USB Mouse, class 0/0,
> rev 2.00/3.40, addr 3> on usbus0
> Mar 24 00:21:45 HP kernel: ums0: error reading report description
> Mar 24 00:21:45 HP kernel: device_attach: ums0 attach returned 12
>
> ========
> HP$ uname -a
> FreeBSD HP.lissyara.su 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Mar 23
> 22:45:17 MSK 2009
> lissyara_at_HP.lissyara.su:/usr/obj/usr/src/sys/GENERIC  amd64
> HP$
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Tue Mar 24 2009 - 06:44:06 UTC

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