Greetings,

*** Please CC: me on replies -- I'm not subscribed.

A patch by Mike Isely that went into what became kernel 2.6.19 has modified 
'cypress_m8.c' in such a way that it makes the DeLorme Earthmate LT-20 USB 
GPS receiver stop working entirely.

After a little digging, I narrowed the problem down to a single line of code 
which, if disabled, restores the full functionality of the aforementioned 
LT-20 GPS.

The offending line is in the 'cypress_serial_control()' function:

   cypress_set_dead(port);

This occurs at line number 407 in the vanilla 2.6.20 kernel's code.

Basically, it's in this block of code (with my hack to disable the problematic 
line):

        if (retval != 5) {
                err("%s - failed to retrieve serial line settings - %d", 
__FUNCTION__, 
retval);
                // cypress_set_dead(port);
                return retval;
        } else {

I don't know what the "proper" fix is, since the 'Cypress' chipset served by 
this driver is undoubtedly used by devices other than my Earthmate LT-20 USB 
GPS receiver and I'm guessing that the patch that broke things for me solved 
a problem for someone else.

But clearly something needs to be changed if this LT-20 GPS device (which I've 
successfully used under older 2.6.x kernels for about 17 months now) is to be 
usable again.

Ideas? Comments? Anyone?  :^)

Also, it's not a huge issue, but when rather large changes go into a kernel 
module, shouldn't the module version be incremented?  The 'cypress_m8' module 
stayed at "v1.09" throughout these substantial (IMHO) changes.

Thanks in advance for any insight anyone might offer....

*** Please CC: me on replies -- I'm not subscribed.

Bill Marr

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to