I am running Gentoo GNU/Linux with a 2.6.20 kernel and cypress_m8 driver (v 1.09) built as a module.
I couldn't get my Earthmate USB GPS LT-20 to work (dmesg showed the module load and then fail with: "drivers/usb/serial/cypress_m8.c: cypress_serial_control - failed to retrieve serial line settings - -110") I searched around and found that a couple of months ago Bill Marr (I cc'd you, let me know if you'd like me to remove you from further replies) had the exact same problem on the linux-usb-devel list and he commented out one line to fix it: > 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 commented out the line and recompiled the module and rebooted, and now the LED on the GPS eventually turns solid green (it stayed red forever before commenting out the line) however "cat /dev/ttyUSB0" and "gpsd -w /dev/ttyUSB0" never give any output (but both of these commands make the LED flash green instead of remain solid green). I am stuck and any further help or insight would be greatly appreciated. Thanks very much for reading -chris pick ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users