GPSD problems w/ hotplug

This forum is for topics dealing with problems with software specifically in the ARMv6h repo.

GPSD problems w/ hotplug

Postby useradmn » Tue Oct 08, 2013 5:52 pm

Hi Everyone,

I'm having issues with gpsd running on my pi. Currently i've got gpsd 3.9-3 installed but there seems to be a problem with the hotplug. the 3.9-3 PKGBUILD assigns improper permissions "dialout" group to the /dev/tty* intead of "uucp" group to /dev/tty*.


I found this problem here, but for x86_64:
https://bugs.archlinux.org/task/35943


Any idea on how I can get this fixed for ARMv6h?

I've tried going in to change architecture from "armv6h" to "x86_64" so that pacman would install 3.9-4 (which has the fix). It installed fine, but when running gpsd, I get the error "cannot execute binary file".


Any ideas???


Thanks,

Danny
useradmn
 
Posts: 1
Joined: Tue Oct 08, 2013 5:44 pm

Re: GPSD problems w/ hotplug

Postby ciofeca » Fri Oct 18, 2013 5:30 pm

This is a problem for all versions of ARCH Linux (x86, ARMv7, and so on)

Brutal version:

- change the /lib/udev/gpsd.hotplug file: at its end, before the line gpsdctl $ACTION $DEVNAME add this line:

$this->bbcode_second_pass_code('', ' chmod 666 $DEVNAME')


Quick version: update packages ( pacman -Syu ) which selects gpsd version 3.9-4 that assigns gpsd_group to uucp (the above modification does not interfere, but allows any user to read/write access the GPS).
ciofeca
 
Posts: 13
Joined: Wed Feb 20, 2013 10:19 pm


Return to ARMv6h

Who is online

Users browsing this forum: No registered users and 8 guests