Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 36665

Summary: gpsdrive patch to allow higher serial baud rate + new ebuilds 2.04-r1 and 2.05
Product: Gentoo Linux Reporter: Mina Naguib <mina>
Component: New packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: VERIFIED TEST-REQUEST    
Severity: enhancement Keywords: EBUILD
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patches gpsd.c to allow for higher serial baud rates
New 2.04-r1 ebuild that uses attached patch
New 2.05 ebuild that uses attached patch

Description Mina Naguib 2003-12-28 10:20:45 UTC
"gpsd" daemon in the gpsdrive program doesn't allow serial speeds higher than 38400.  I wrote a small patch to fix that (attached gpsd.higher_serial_speeds.patch) and e-mailed it to the gpsdrive author and he approved it into his CVS, so it will be in the upcoming release.

I'm a gentoo user though and like to run programs from portage instead of compiling it manually, so I created gpsdrive-2.04-r1.ebuild which utilizes my patch.

While I was creating that I noticed the latest stable is 2.05, so I also created gpsdrive-2.05.ebuild

Both gpsdrive-2.04-r1.ebuild and gpsdrive-2.05.ebuild use my patch and expect it to be in the "files" directory.  When Fritz releases the upcoming gpsdrive stable (2.06?) it will not require the patch since it will be part of his tree.

Reproducible: Always
Steps to Reproduce:
1. run `gpsd -p /dev/usb/tts/0 -s 115200 -K`
2. Configure your GPS device to run at baud rate 115200

Actual Results:  
gpsd can not communicate with the GPS device

Expected Results:  
Communicated with the GPS device, receive and show the NMAE date

The attached patch fixed the problem by fixing gpsd.c to accept higher baud rates

A new ebuild of the current port is made (2.04-r1) to use the patch.

A new ebuild of the newest stable (2.05( is made, also uses the patch.
Comment 1 Mina Naguib 2003-12-28 10:21:27 UTC
Created attachment 22752 [details, diff]
Patches gpsd.c to allow for higher serial baud rates
Comment 2 Mina Naguib 2003-12-28 10:22:16 UTC
Created attachment 22753 [details]
New 2.04-r1 ebuild that uses attached patch
Comment 3 Mina Naguib 2003-12-28 10:22:41 UTC
Created attachment 22754 [details]
New 2.05 ebuild that uses attached patch
Comment 4 Peter Johanson (RETIRED) gentoo-dev 2003-12-29 23:00:37 UTC
Okay, i've added in both of these with the patches. Thanks for the info. Marking test-request for now.
Comment 5 Henrik Brix Andersen 2004-12-29 06:15:18 UTC
Closing due to lack of feedback.