This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
gobi2000 [2025/03/06 18:03] – created 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 10: | Line 16: | ||
<note warning> | <note warning> | ||
- | Do not install '' | + | Do not install '' |
</ | </ | ||
Line 26: | Line 32: | ||
</ | </ | ||
- | These are the generic ones, refer to [[https:// | + | This copies |
Now you can reboot. If successful, the ID in '' | Now you can reboot. If successful, the ID in '' | ||
Line 41: | Line 47: | ||
<code udev / | <code udev / | ||
- | KERNEL=="ttyUSB2", ATTRS{idVendor}==" | + | SUBSYSTEM=="tty", ATTRS{idVendor}==" |
+ | GOTO=" | ||
+ | |||
+ | LABEL=" | ||
+ | ATTRS{bInterfaceNumber}==" | ||
+ | ATTRS{bInterfaceNumber}==" | ||
+ | |||
+ | LABEL=" | ||
</ | </ | ||
Line 48: | 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 | ||
+ | </ |