Bug 265514 - FreeBSD 12 UBLOX M9 Explorer patch for uftdi
Summary: FreeBSD 12 UBLOX M9 Explorer patch for uftdi
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: 12.3-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: Hans Petter Selasky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-30 05:08 UTC by john
Modified: 2022-08-29 12:10 UTC (History)
1 user (show)

See Also:


Attachments
Patch for issue (891 bytes, text/plain)
2022-07-30 05:08 UTC, john
no flags Details
dmesg after patching (15.02 KB, text/plain)
2022-08-01 03:33 UTC, john
no flags Details
usbconfig after patching (1.62 KB, text/plain)
2022-08-01 03:34 UTC, john
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description john 2022-07-30 05:08:08 UTC
Created attachment 235555 [details]
Patch for issue

FreeBSD doesn't recognize the USB to serial bridge on this GPS.  With the attached patch it does and I'm able to use the U-Blox M9 GNSS Explorer Kit on Freebsd 12.3 with gpsd 3.24.
Comment 1 Hans Petter Selasky freebsd_committer freebsd_triage 2022-07-31 16:07:48 UTC
Do you have any dmesg you can share?
Comment 2 john 2022-08-01 03:33:50 UTC
Created attachment 235599 [details]
dmesg after patching
Comment 3 john 2022-08-01 03:34:21 UTC
Created attachment 235600 [details]
usbconfig after patching
Comment 4 john 2022-08-01 03:41:24 UTC
I don't have the original dmesg output from before applying the patch ... however it wasn't recognized as a device for the uftdi driver to attach to until I added the entry to the driver.
Comment 5 john 2022-08-01 03:58:34 UTC
Some additional comments regarding the M9 Explorer using FTDI are in the brief threads in U-Blox's forum:

  Usability of XPLR-M9 under Linux
  https://portal.u-blox.com/s/question/0D52p00009vgnvwCAA/usability-of-xplrm9-under-linux

  Changing XPLR-M9 FTDI interface descriptor
  https://portal.u-blox.com/s/question/0D52p00009UDZxeCAH/changing-xplrm9-ftdi-interface-descriptor
Comment 6 commit-hook freebsd_committer freebsd_triage 2022-08-01 11:29:12 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=9f35dbfdc6c8faafdbb2cfd8a507e0442247a88c

commit 9f35dbfdc6c8faafdbb2cfd8a507e0442247a88c
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2022-08-01 11:25:49 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-08-01 11:26:58 +0000

    uftdi(4): Add new USB ID.

    PR:             265514
    MFC after:      1 week
    Sponsored by:   NVIDIA Networking

 sys/dev/usb/serial/uftdi.c | 1 +
 sys/dev/usb/usbdevs        | 3 +++
 2 files changed, 4 insertions(+)
Comment 7 Hans Petter Selasky freebsd_committer freebsd_triage 2022-08-01 11:30:04 UTC
Thanks for your patch and device information!
Comment 8 commit-hook freebsd_committer freebsd_triage 2022-08-29 12:09:35 UTC
A commit in branch stable/12 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=23a769ff983a8a53a21713d6de5dec6a34694e92

commit 23a769ff983a8a53a21713d6de5dec6a34694e92
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2022-08-01 11:25:49 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-08-29 12:06:23 +0000

    uftdi(4): Add new USB ID.

    PR:             265514
    Sponsored by:   NVIDIA Networking

    (cherry picked from commit 9f35dbfdc6c8faafdbb2cfd8a507e0442247a88c)

 sys/dev/usb/serial/uftdi.c | 1 +
 sys/dev/usb/usbdevs        | 3 +++
 2 files changed, 4 insertions(+)
Comment 9 commit-hook freebsd_committer freebsd_triage 2022-08-29 12:10:36 UTC
A commit in branch stable/13 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=d02aaf5325860919497b1997023b7fd3db5dc9ae

commit d02aaf5325860919497b1997023b7fd3db5dc9ae
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2022-08-01 11:25:49 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-08-29 12:03:49 +0000

    uftdi(4): Add new USB ID.

    PR:             265514
    Sponsored by:   NVIDIA Networking

    (cherry picked from commit 9f35dbfdc6c8faafdbb2cfd8a507e0442247a88c)

 sys/dev/usb/serial/uftdi.c | 1 +
 sys/dev/usb/usbdevs        | 3 +++
 2 files changed, 4 insertions(+)