USB JetFlash
Michal Mertl
michal.mertl at i.cz
Thu Mar 31 12:07:14 PST 2005
Mikhail Godovitcin wrote:
> Hello!
>
> Thursday, March 31, 2005, 16:48, you wrote:
> > I believe I should be able to help you. I've got smaller JetFlash which
> > works. Yours might need a quirk entry in umass.c.
> > Can you send us the output of 'usbdevs -v'?
>
> Yes, sure. Here it is.
>
> > # usbdevs -v
> > Controller /dev/usb0:
> > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
> > port 1 addr 2: full speed, power 100 mA, config 1, Flash Disk(0x2168), USB(0x0ea0), rev 2.00
> > port 2 powered
>
> > # camcontrol inquiry da0
> > pass0: <JetFlash TS1GJF2B 2.00> Removable Direct Access SCSI-2 device
> > pass0: Serial Number
> > pass0: 1.000MB/s transfers
Thank you.
I'm afraid I can't easily help you because your device is different than
mine.
You can try attached patch anyways. Apply with 'cd /sys/dev/usb;patch <
jmtek.diff;cd /sys/modules/umass;make -DUSB_DEBUG=1;make unload;make
load'.
I won't be surprised if it didn't fix your disk though. You might try to
change UMASS_ADD_DELAY in
{ USB_VENDOR_OTI, USB_PRODUCT_OTI_JETFLASH2, RID_WILDCARD,
UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
UMASS_ADD_DELAY
},
to 'IGNORE_RESIDUE | NO_GETMAXLUN | RS_NO_CLEAR_UA'. Maybe
FORCE_SHORT_INQUIRY instead/in addition to these.
After modifying umass.c you need to rebuild and unload&load the kld. If
you have umass (or whole usb) in your kernel ('device umass') you should
comment it out, reinstall kernel and reboot. Then you'll be able to try
different quirk values.
HTH
Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jmtek.diff
Type: text/x-patch
Size: 3057 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050331/b5b6b9e6/jmtek.bin
More information about the freebsd-stable
mailing list