Bernd, thanks for the quick fix. Unfortunately I may have missed
something earlier from not knowing the system well (or perhaps it
changed due to lucid updates since yesterday?).

If I add the rule to /etc/udev/rules.d/launchpad-bug-518213.rules then
when I plug the device I can see two entries in /dev (ls /dev | grep
gps) and even if I add both to the DEVICES line xgps doesn't get any
data.

Now that you have pointed me to udev I see these lines in
/lib/udev/rules.d/40-gpsd.rules:

# PS-360 OEM (Microsoft GPS sold with Street and Trips 2005)
SYSFS{idVendor}=="067b", SYSFS{idProduct}=="aaa0", SYMLINK="gps%n", 
RUN+="/lib/udev/gpsd.hotplug.wrapper"

The Pharos GPS-500 also came with a version of Streets & Trips but is a
newer version of the hardware (I also have the older GPS-360 which
doesn't even work on Vista with the current Microsoft drivers, or else
the unit is bad now). I see the USB vendor/product is unchanged between
the two units (I confirmed both have same IDs - bad Microsoft /
Pharos!). BTW, both Microsoft devices have Pharos on the tag on the
back.

So I think the change should be a comment in 40-gpsd.rules rather than a
new rule altogether.

To verify I commented out the  launchpad-bug-518213.rulesI had created
and now I can see a single /dev/gps* device appear when the device is
plugged and see the dev go away when it is unplugged. But I am back to
what I think should be auto detection not working as follows:

If I set the DEVICES line to the /dev/gps0, 1, 2, etc. - it moves
around) via dpkg-reconfigure gpsd then xgps will pick up the signal
right away. If I add several devices (e.g. "/dev/gps0 /dev/gps1
/dev/gps2" to DEVICES trying to cover all bases then xgps doesn't get
the signal at all (same as if I leave DEVICES blank to auto detect). And
I have never seen xgps get the signal when DEVICES is blank (which I
understand from the comments should be auto detect which is on per the
default package install).

 I'm very sorry if I missed the /dev/gps* device on plug before filing
the bug, I had been looking for it (since this is what I would hard-wire
on Januty) and didn't see it yesterday and was setting DEVICES to the
tty device I could see show up after plugging the GPS instead.

Either way it seems there should be some combination that allows xgps
(and I guess gpsd) to start listening to any single device that gets
plugged and runs the gpsd.hotplug.wrapper.

I would be more than happy to try some other stuff evenings after work
next week. Thanks again for your help!

-- 
gpsd not autodetecting Pharos GPS-500
https://bugs.launchpad.net/bugs/518213
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to