Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219152 - Delorme Earthmate LT-40 does not work with sys-kernel/gentoo-sources-2.6.24
Summary: Delorme Earthmate LT-40 does not work with sys-kernel/gentoo-sources-2.6.24
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: linux-2.6.26
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-04-24 15:42 UTC by Ryan May
Modified: 2008-07-17 13:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Cypress_m8 Patch 1: Feature Buffer Fixes (cypress_patch01_feature_buffer_hardcoded.diff,2.17 KB, patch)
2008-04-24 15:43 UTC, Ryan May
Details | Diff
Cypress_m8 Patch 2: Packet Format (cypress_patch02_pkt_fmt.diff,4.27 KB, patch)
2008-04-24 15:43 UTC, Ryan May
Details | Diff
Cypress_m8 Patch 3: Get Config Unsafe for LT-20 (cypress_patch03_get_config.diff,2.03 KB, patch)
2008-04-24 15:43 UTC, Ryan May
Details | Diff
Cypress_m8 Patch 4: Null Check (cypress_patch04_null_check.diff,753 bytes, patch)
2008-04-24 15:44 UTC, Ryan May
Details | Diff
http://marc.info/?l=linux-usb&m=120269692329730&w=2 (cypress_patch05_baud_limit.diff,4.53 KB, patch)
2008-04-24 15:44 UTC, Ryan May
Details | Diff
Cypress_m8 Patch 5: Limit Baud Rate to <= 4800 (cypress_patch05_baud_limit.diff,4.53 KB, text/plain)
2008-04-24 15:47 UTC, Ryan May
Details
5 patches combined from upstream commits (delorme-cypress-m8-fix.patch,20.96 KB, patch)
2008-04-28 13:52 UTC, Mike Pagano
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan May 2008-04-24 15:42:15 UTC
My newly purchased Delorme Earthmate LT-40 GPS does not work with the 2.6.24 Gentoo kernel. When I plug in the device, it is recognized, the /dev/ttyUSB0 device is created, but catting this device yields no output.  Apparently, this is due to a known deficiency in the cypress_m8 driver:

http://www.mail-archive.com/linux-usb-devel@lists.sourceforge.net/msg52237.html

This problem is resolved by the patch series starting here:

http://marc.info/?l=linux-usb&m=120269692129718&w=2

I'll attach the whole series of diffs here, which are slated to be merged into 2.6.26. (See http://marc.info/?l=linux-usb&m=120898150312590&w=2)

I was just hoping this patch series, which only touches the cypress_m8.c file, could be added to the gentoo-patches set so that I don't need to patch my kernel on my own for the next 3+ months until 2.6.26 is in the tree.

Reproducible: Always
Comment 1 Ryan May 2008-04-24 15:43:02 UTC
Created attachment 150829 [details, diff]
Cypress_m8 Patch 1: Feature Buffer Fixes
Comment 2 Ryan May 2008-04-24 15:43:28 UTC
Created attachment 150830 [details, diff]
Cypress_m8 Patch 2: Packet Format
Comment 3 Ryan May 2008-04-24 15:43:49 UTC
Created attachment 150831 [details, diff]
Cypress_m8 Patch 3: Get Config Unsafe for LT-20
Comment 4 Ryan May 2008-04-24 15:44:08 UTC
Created attachment 150833 [details, diff]
Cypress_m8 Patch 4: Null Check
Comment 6 Ryan May 2008-04-24 15:47:50 UTC
Created attachment 150836 [details]
Cypress_m8 Patch 5: Limit Baud Rate to <= 4800

Oops on description of last patch.  I should probably note that Patch #3 (and possibly #2) is what's truly critical for the driver to function.  Patch #3 as posted depends on the first two.  In addition to fixing my LT-40, these patches also fix certain versions of the LT-20.
Comment 7 Mike Pagano gentoo-dev 2008-04-24 20:19:26 UTC
Let's both keep an eye on these patches. We usually wait until patches hit the development git tree before we backport them to gentoo-sources.
Comment 8 Ryan May 2008-04-25 21:29:10 UTC
Looks like they've hit Linus's tree.
Comment 10 Mike Pagano gentoo-dev 2008-04-28 14:40:18 UTC
Ryan, are you interested in testing the combined patch on gentoo-sources-2.6.25-r1 ?
Comment 11 Ryan May 2008-04-28 15:29:17 UTC
I think I can manage that.  Is there a list of known (gentoo) issues for 2.6.25 anywhere that I can check before blindly booting this?
Comment 12 Mike Pagano gentoo-dev 2008-04-30 01:05:56 UTC
(In reply to comment #11)
> I think I can manage that.  Is there a list of known (gentoo) issues for 2.6.25
> anywhere that I can check before blindly booting this?
> 

Only on Bugzilla :)
Comment 13 Daniel Drake (RETIRED) gentoo-dev 2008-07-17 13:38:41 UTC
gentoo-sources-2.6.26 is now in portage, assuming this is fixed there