This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gobi2000 [2025/03/06 20:01] – Yuki | gobi2000 [2025/03/07 17:15] (current) – Yuki | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Install a Qualcomm Gobi 2000 on a Thinkpad on Linux ====== | ====== Install a Qualcomm Gobi 2000 on a Thinkpad on Linux ====== | ||
+ | |||
+ | A 3G modem with GPS support built into some IBM/Lenovo ThinkPad laptops. | ||
+ | |||
+ | <note important> | ||
+ | Most carriers turned 3G off already or are going to do so in 2025, so the modem part is going to be useless unless you somehow managed to make your own 3G transmitter. The GPS part should still work, so these instructions should still apply for the foreseeable future, as long as the GPS satellites are still in orbit. | ||
+ | </ | ||
See also [[https:// | See also [[https:// | ||
- | You can verify the ID with '' | + | You can verify the ID with '' |
===== Install software and firmware ===== | ===== Install software and firmware ===== | ||
Line 29: | Line 35: | ||
Now you can reboot. If successful, the ID in '' | Now you can reboot. If successful, the ID in '' | ||
- | |||
- | <note important> | ||
- | Most carriers turned 3G off already or are going to do so in 2025, so the modem part is going to be useless unless you somehow managed to make your own 3G transmitter, | ||
- | </ | ||
===== Make the GPS work ===== | ===== Make the GPS work ===== | ||
Line 45: | Line 47: | ||
<code udev / | <code udev / | ||
- | KERNEL=="ttyUSB2", ATTRS{idVendor}==" | + | SUBSYSTEM=="tty", ATTRS{idVendor}==" |
- | </ | + | GOTO=" |
- | FIXME //ttyUSB2 can change if udev detects another USB serial port device at boot, use a symlink to ensure correct operation// | + | LABEL=" |
+ | ATTRS{bInterfaceNumber}==" | ||
+ | ATTRS{bInterfaceNumber}==" | ||
+ | |||
+ | LABEL=" | ||
+ | </code> | ||
<code bash> | <code bash> | ||
Line 54: | Line 61: | ||
</ | </ | ||
- | You should now be able to use gpsd, using ''/ | + | You should now be able to see NMEA data out of ''/ |
+ | |||
+ | ===== Location ===== | ||
+ | |||
+ | <code bash / | ||
+ | GPSD_OPTIONS=" | ||
+ | DEVICES="/ | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | sudo systemctl enable gpsd | ||
+ | sudo systemctl start gpsd | ||
+ | cgps -s | ||
+ | </ | ||
+ | |||
+ | FIXME //use geoclue to get google maps working?// | ||
+ | |||
+ | ===== Time ===== | ||
+ | |||
+ | <note important> | ||
+ | If you're trying to sync time with ntp or chrony, be aware this GPS does not support PPS signals, so while it can be roughly accurate to within a second, it's definitely not going to be more accurate as using NTP servers on the Internet. | ||
+ | </ | ||
+ | |||
+ | Start gpsd, then add something like this to your chrony.conf: | ||
+ | |||
+ | <code - / | ||
+ | refclock SHM 0 delay 0.0 refid NMEA | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | sudo systemctl enable chronyd | ||
+ | sudo systemctl start chronyd | ||
+ | watch -n1 chronyc sources | ||
+ | </ |