On Sat, 2010-08-21 at 16:54 +0200, Hans Petter Selasky wrote:
> On Saturday 21 August 2010 16:52:28 Hans Petter Selasky wrote:
> > On Saturday 21 August 2010 16:54:32 indulekha wrote:
> > > On Sat, 2010-08-21 at 16:37 +0200, Hans Petter Selasky wrote:
> > > > There is a command to add quirks. Look at the source code:
> > > > 
> > > > grep UQ_ /sys/dev/usb/storage/umass.c
> > > > 
> > > > and look for UQ_
> > > 
> > > Thanks for the suggestion. Unfortunately the string "UQ_"
> > > (or even "UQ") does not appear in umass.c.
> > 
> > Then you typed something wrong:
> > 
> > grep UQ_ /sys/dev/usb/storage/umass.c
> >         if (usb_test_quirk(uaa, UQ_MSC_FORCE_WIRE_BBB)) {
> >         } else if (usb_test_quirk(uaa, UQ_MSC_FORCE_WIRE_CBI)) {
> >         } else if (usb_test_quirk(uaa, UQ_MSC_FORCE_WIRE_CBI_I)) {
> >         if (usb_test_quirk(uaa, UQ_MSC_FORCE_PROTO_SCSI)) {
> >         } else if (usb_test_quirk(uaa, UQ_MSC_FORCE_PROTO_ATAPI)) {
> >         } else if (usb_test_quirk(uaa, UQ_MSC_FORCE_PROTO_UFI)) {
> >         } else if (usb_test_quirk(uaa, UQ_MSC_FORCE_PROTO_RBC)) {
> >         if (usb_test_quirk(uaa, UQ_MSC_NO_TEST_UNIT_READY))
> >         if (usb_test_quirk(uaa, UQ_MSC_NO_RS_CLEAR_UA))
> >         if (usb_test_quirk(uaa, UQ_MSC_NO_START_STOP))
> >         if (usb_test_quirk(uaa, UQ_MSC_NO_GETMAXLUN))
> >         if (usb_test_quirk(uaa, UQ_MSC_NO_INQUIRY))
> >         if (usb_test_quirk(uaa, UQ_MSC_NO_INQUIRY_EVPD))
> >         if (usb_test_quirk(uaa, UQ_MSC_NO_SYNC_CACHE))
> >         if (usb_test_quirk(uaa, UQ_MSC_SHUTTLE_INIT))
> >         if (usb_test_quirk(uaa, UQ_MSC_ALT_IFACE_1))
> >         if (usb_test_quirk(uaa, UQ_MSC_FLOPPY_SPEED))
> >         if (usb_test_quirk(uaa, UQ_MSC_IGNORE_RESIDUE))
> >         if (usb_test_quirk(uaa, UQ_MSC_WRONG_CSWSIG))
> >         if (usb_test_quirk(uaa, UQ_MSC_RBC_PAD_TO_12))
> >         if (usb_test_quirk(uaa, UQ_MSC_READ_CAP_OFFBY1))
> >         if (usb_test_quirk(uaa, UQ_MSC_FORCE_SHORT_INQ))
> > 
> > --HPS
> 
> Hi,
> 
> Another suggestion:
> 
> Look in the dmesg and see if there are any errors.
> 
> --HPS

Yes, there is a dmesg error:

ugen4.5: <(null)> at usbus4 (disconnected)
uhub_reattach_port:435: could not allocate new device!

But then just a few lines later, dmesg says:

ugen4.5: <Seagate> at usbus4
umass1: <Seagate Portable, class 0/0, rev 2.00/1.30, addr 5> on usbus4
umass1:  SCSI over Bulk-Only; quirks = 0x0000
umass1:3:1:-1: Attached to scbus3
da1 at umass-sim1 bus 1 target 0 lun 0
da1: <Seagate Portable 0130> Fixed Direct Access SCSI-4 device 
da1: 40.000MB/s transfers
da1: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C)

I'm thinking there's some sort of power management scheme in the 
Seagate that umass has trouble accommodating.

-- 
caveat utilitor,
Indi
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to