> > > I did not find where the product ID goes ... > > is that everything I have to consider? > > At the end of sys/dev/usb/usbdevs you'll find the product IDs. I tried and failed to get Verbatim Store N Go working. This included the following attempts 1) include the quirk UQ_MSC_NO_SYNC_CACHE 2) include the quirk UQ_MSC_NO_SYNC_CACHE and UQ_MSC_NO_TEST_UNIT_READY 3) I found http://randominfo.pyret.net/index.php?controller=post&action=view&id_post=10 where some Verbatim Store N Go worked with "quirks=0x2<NO_6_BYTE>" but there is no NO_6_BYTE quirk in dev/usb/quirk/usb_quirk.c instead I found a <NO_6_BYTE> quirk in cam/scsi/scsi_da.c so I changed scsi_da.c, as follows --- ./cam/scsi/scsi_da.c.orig 2015-03-28 21:33:12.001813000 +0100 +++ ./cam/scsi/scsi_da.c 2015-03-28 21:37:24.196604000 +0100 _at__at_ -413,6 +413,14 _at__at_ }, { /* + * Verbatim Verbatim STORE N GO + * dweber_at_htwsaar.de + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "Verbatim", "*", + "*"}, /*quirks*/ DA_Q_NO_6_BYTE + }, + { + /* * Sigmatel USB Flash MP3 Player * PR: kern/57046 */ so in that case, the scsi_da.c quirk and the usb_quirk.c-quirks were in place, resulting in "failed to attach to device" 4) I removed the usb_quirks from the picture, leaving only the scsi_da.c quirk (NO_6_BYTE) in place, the result being the output below ugen2.2: <Verbatim> at usbus2 umass0: <Verbatim STORE N GO, class 0/0, rev 2.10/1.00, addr 2> on usbus2 umass0: SCSI over Bulk-Only; quirks = 0x8100 umass0:4:0: Attached to scbus4 Trying to mount root from ufs:/dev/ada0p2 [rw]... (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 00 (probe0:umass-sim0:0:0:0): CAM status: Auto-Sense Retrieval Failed (probe0:umass-sim0:0:0:0): Error 5, Unretryable error (da0:umass-sim0:0:0:0): got CAM status 0x50 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device = = == anything I should try next? Below the patches I tried, the version 4) being active, version 3) commented out with a "#if 0 ... #endif" Best wishes Damian = = == kernel patches of system FreeBSD 11.0-CURRENT #4 r280370M as of Sun Mar 29 12:06:02 CEST 2015 --- ./cam/scsi/scsi_da.c.orig 2015-03-28 21:33:12.001813000 +0100 +++ ./cam/scsi/scsi_da.c 2015-03-28 21:37:24.196604000 +0100 _at__at_ -413,6 +413,14 _at__at_ }, { /* + * Verbatim Verbatim STORE N GO + * dweber_at_htwsaar.de + */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "Verbatim", "*", + "*"}, /*quirks*/ DA_Q_NO_6_BYTE + }, + { + /* * Sigmatel USB Flash MP3 Player * PR: kern/57046 */ --- ./dev/usb/quirk/usb_quirk.c.orig 2015-03-28 16:15:07.980503000 +0100 +++ ./dev/usb/quirk/usb_quirk.c 2015-03-29 10:42:14.931664000 +0200 _at__at_ -523,6 +523,9 _at__at_ USB_QUIRK(FEIYA, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY), USB_QUIRK(REALTEK, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY), USB_QUIRK(INITIO, DUMMY, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MATCH_VENDOR_ONLY), +#if 0 /* didn't work, we try patching ./cam/scsi/scsi_da.c */ + USB_QUIRK(VERBATIM, STORENGO, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE, UQ_MSC_NO_TEST_UNIT_READY, UQ_MATCH_VENDOR_ONLY), +#endif }; #undef USB_QUIRK_VP #undef USB_QUIRK --- ./dev/usb/usbdevs.orig 2015-03-28 15:55:34.870376000 +0100 +++ ./dev/usb/usbdevs 2015-03-28 16:27:37.709561000 +0100 _at__at_ -689,6 +689,7 _at__at_ vendor DISPLAYLINK 0x17e9 DisplayLink vendor LENOVO 0x17ef Lenovo vendor WAVESENSE 0x17f4 WaveSense +vendor VERBATIM 0x18a5 Verbatim vendor VAISALA 0x1843 Vaisala vendor AMIT 0x18c5 AMIT vendor GOOGLE 0x18d1 Google _at__at_ -4467,6 +4468,9 _at__at_ /* Vaisala products */ product VAISALA CABLE 0x0200 USB Interface cable +/* Verbatim products */ +product VERBATIM STORENGO 0x0243 Verbatim Store N Go + /* Vertex products */ product VERTEX VW110L 0x0100 Vertex VW110L modemReceived on Sun Mar 29 2015 - 08:07:38 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:56 UTC