Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 2009 17:46:10 +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:  <49CE3832.5060203@lissyara.su>
In-Reply-To: <200903240846.35938.hselasky@c2i.net>
References:  <49C7FE13.90808@lissyara.su> <200903240846.35938.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@HP.lissyara.su:/usr/obj/usr/src/sys/GENERIC  amd64
>> HP$
>> _______________________________________________
>> freebsd-current@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 
> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49CE3832.5060203>