Following Garmin GPS will only be available if listed in the /boot/loader.conf: # Garmin Instinct Solar hw.usb.quirk.0="0x091e 0x0d8a 0x0000 0xffff UQ_MSC_NO_INQUIRY" # Dakota 20 hw.usb.quirk.1="0x091e 0x23c0 0x0000 0xffff UQ_MSC_NO_INQUIRY" # Edge Touring+ hw.usb.quirk.2="0x091e 0x26c8 0x0000 0xffff UQ_MSC_NO_INQUIRY" Will it be possible to have the models numbers added to head/sys/dev/usb/usbdevs and the quirks added to the head/sys/dev/usb/quirk/usb_quirk.c ? See also solution in bug report 210544 Brgds. Harry MJ
Yes, that's possible. Can you make a patch for that? --HPS
Yes, I will give it a try to create a patch file. -- Brgds. Harry MJ
Created attachment 223715 [details] The usb_quirk.c patch file The usb_quirk.c patch file, if wrong format, please state the correct method for diff
Created attachment 223716 [details] The usbdevs patch The usbdevs patch file, if wrong format, please state the correct method for diff
Patches look good. --HPS
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=28af0c4814f5fb8ce047d4ac0bbf26997ac5cc8f commit 28af0c4814f5fb8ce047d4ac0bbf26997ac5cc8f Author: Hans Petter Selasky <hselasky@FreeBSD.org> AuthorDate: 2021-04-22 10:31:33 +0000 Commit: Hans Petter Selasky <hselasky@FreeBSD.org> CommitDate: 2021-04-22 10:35:07 +0000 Add more USB quirks for Garmin devices. Sort the Garmin products while at it. PR: 254664 MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking sys/dev/usb/quirk/usb_quirk.c | 2 ++ sys/dev/usb/usbdevs | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=a122a5ebdee28f7bbd50d21558a7328bf730c195 commit a122a5ebdee28f7bbd50d21558a7328bf730c195 Author: Hans Petter Selasky <hselasky@FreeBSD.org> AuthorDate: 2021-04-22 10:31:33 +0000 Commit: Hans Petter Selasky <hselasky@FreeBSD.org> CommitDate: 2021-05-10 14:11:19 +0000 Add more USB quirks for Garmin devices. Sort the Garmin products while at it. PR: 254664 Sponsored by: Mellanox Technologies // NVIDIA Networking (cherry picked from commit 28af0c4814f5fb8ce047d4ac0bbf26997ac5cc8f) sys/dev/usb/quirk/usb_quirk.c | 2 ++ sys/dev/usb/usbdevs | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-)