Here's an ebuild for the garmin-gps usb driver for kernel-2.6. The driver is for Garmin GPS units (ie. Garmin Etrex Vista C) (Hopefully a garminusb2nmea ebuild to follow shortly that is used in conjunction with this driver.) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 48615 [details] garmin-gps-0.22.ebuild
Created attachment 48617 [details, diff] gentoo.patch for patching compile.sh for gentoo compatability gentoo.patch for patching compile.sh for gentoo compatability (omitts the script's make modules_install option or else we run into access violations).
for kernel ebuild look at the linux-mod eclass.
Created attachment 48847 [details] garmin-gps-0.22.ebuild Updated to use linux-mod eclass as much as possible, even though this package does not have a makefile and only uses a "compile.sh" script to compile & install.
Created attachment 48848 [details] Changelog
Created attachment 48853 [details] garmin-gps-0.22.ebuild Removed some misc scraps & comments from creating the ebuild.
Created attachment 48854 [details] garmin-gps-0.22.ebuild bah. More minor syntax errors.
Got a bug in my module/driver ebuilds where the modules are being installed into: /lib/modules/kernel/ instead of: /lib/modules/${KV_full}/kernel/ ${KV_full} is being read as an empty string (no version is being pushed into this variable. I am working on this issue now.
Created attachment 52089 [details] garmin-gps-0.22.ebuild Corrected SRC_URI
*** Bug 78553 has been marked as a duplicate of this bug. ***
Ok. From this package maintainer's website, this driver is now included in the kernel since 2005-01-20. Also, just researched man gpsd and if I'm not mistaken, sci-geosciences/gpsd now includes code to accept USB to NMEA protocol. (Marking as fixed.)