Page MenuHomeFreeBSD

Introduce Genesys GL3224 quirks
ClosedPublic

Authored by mw_semihalf.com on May 25 2017, 3:12 PM.
Tags
Referenced Files
Unknown Object (File)
Wed, Apr 10, 11:28 PM
Unknown Object (File)
Mar 18 2024, 4:19 AM
Unknown Object (File)
Jan 31 2024, 9:49 AM
Unknown Object (File)
Dec 20 2023, 12:40 AM
Unknown Object (File)
Dec 11 2023, 12:42 AM
Unknown Object (File)
Nov 17 2023, 3:31 PM
Unknown Object (File)
Nov 14 2023, 12:12 AM
Unknown Object (File)
Nov 12 2023, 1:51 PM
Subscribers

Details

Summary

The Genesys chip is failing when issueing READ_CAP(16) command.
Force a quirk to disable it and use READ_CAP(10) instead.

Also, depending on used firmware, GL3224 can be recognized
either as 'storage device' or 'mass storage class' -
enable both variants in scsi_quirk_table.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I have no objections about the first part, I saw enough USB devices with broken implementation, but what exactly the second part is about? What problem It causes? From one side MSC specification indeed does not specify REPORT LUNS command, but does it create some problems here that require the quirk?

GL3224 is a dual LUN, but fails to report them properly - the outcome without quirks are errors and undetected devices, connected to it.

OK. I have no objections. Though may be we could workaround REPORT LUNS globally for all USB MSC devices somehow.

This revision is now accepted and ready to land.May 25 2017, 5:39 PM
This revision was automatically updated to reflect the committed changes.