Re: New USB stack and USB floppy

From: Alex Keda <admin_at_lissyara.su>
Date: Sat, 28 Mar 2009 17:46:10 +0300
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!


> 
> --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"
> 
> 
> _______________________________________________
> 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 Sat Mar 28 2009 - 13:45:56 UTC

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