Find the answer to your Linux question:
Results 1 to 6 of 6
Hello. Long time reader, first time poster. My plans are to load an open distro onto a box that is currently running WindRiver 3.0. I'm successful with all hardware except ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2014
    Posts
    3

    U-Blox GPS cdc_acm USB Device not 'Talking'


    Hello. Long time reader, first time poster.

    My plans are to load an open distro onto a box that is currently running WindRiver 3.0. I'm successful with all hardware except I've run into a brick wall with a U-Blox GPS device. It shows up in dmesg as connected; heck, I even get a /dev/gps0 link to /dev/ttyACM0. But, upon 'cat'ing I get zero output (it does stay open as if it is working waiting for an EOF). I've tried every step the manufacturer suggests in the chip's troubleshooting. (www(dot)u-blox(dot)com/images/downloads/Product_Docs/USB_with_LINUX(GPS.G4-CS-07059).pdf Check Section 3.2) I even tried blacklisting 'cdc_acm' driver to force the 'usbserial' to load without any luck.

    The device works fine running the copy of WindRiver, but no matter which distro (various kernels between 2.6 and 3.13 attempted. All the same results.) I try I keep coming up blank. Searching for any help with this sucker.

    Attached is the lsusb output. (same on all distros)

    Thanks ahead for any help!
    Attached Files Attached Files

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,593
    Have you contacted the manufacturer of the device (U-Blox) about Linux drivers? Or instructions on how to integrate with Linux?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Engineer
    Join Date
    Dec 2013
    Posts
    1,305
    Quote Originally Posted by MatthewCordaro View Post
    Hello. Long time reader, first time poster.

    My plans are to load an open distro onto a box that is currently running WindRiver 3.0. I'm successful with all hardware except I've run into a brick wall with a U-Blox GPS device. It shows up in dmesg as connected; heck, I even get a /dev/gps0 link to /dev/ttyACM0. But, upon 'cat'ing I get zero output (it does stay open as if it is working waiting for an EOF). I've tried every step the manufacturer suggests in the chip's troubleshooting. (www(dot)u-blox(dot)com/images/downloads/Product_Docs/USB_with_LINUX(GPS.G4-CS-07059).pdf Check Section 3.2) I even tried blacklisting 'cdc_acm' driver to force the 'usbserial' to load without any luck.

    The device works fine running the copy of WindRiver, but no matter which distro (various kernels between 2.6 and 3.13 attempted. All the same results.) I try I keep coming up blank. Searching for any help with this sucker.

    Attached is the lsusb output. (same on all distros)

    Thanks ahead for any help!
    Try :

    Code:
    stty -F /dev/ttyACM0 4800
    cat /dev/ttyACM0
    Substitute your baud rate for 4800.


    [code]

  4. #4
    Just Joined!
    Join Date
    Jul 2014
    Posts
    3
    Quote Originally Posted by Rubberman View Post
    Have you contacted the manufacturer of the device (U-Blox) about Linux drivers? Or instructions on how to integrate with Linux?
    As per my post there is a link to their linux setup documentation. But, since I am a "new member" I can't create the URL; it was typed out, replacing the '.' with "(dot)" Again here: www(dot)u-blox(dot)com/images/downloads/Product_Docs/USB_with_LINUX(GPS.G4-CS-07059).pdf


    Quote Originally Posted by gregm View Post
    Try :

    Code:
    stty -F /dev/ttyACM0 4800
    cat /dev/ttyACM0
    Substitute your baud rate for 4800.
    I attempted all baud rates found on manufacturers spec page found here (page 3): www(dot)u-blox(dot)com/images/downloads/Product_Docs/u-blox5_Protocol_Specifications(GPS.G5-X-07036).pdf without success.


    Is there a command to extract the usb/tty settings/configurations from the working WindRiver version? I know for a fact it (WindRiver) is a fork of Red Hat/Fedora circa 2004, if that helps.

  5. #5
    Linux Engineer
    Join Date
    Dec 2013
    Posts
    1,305
    Have you grepped dmesg or your kernel logs to see if there's anything there? When you used usbserial did you use /dev/ttyUSB0?

  6. #6
    Just Joined!
    Join Date
    Jul 2014
    Posts
    3
    Quote Originally Posted by gregm View Post
    Have you grepped dmesg or your kernel logs to see if there's anything there? When you used usbserial did you use /dev/ttyUSB0?
    Yes on both accounts 'cat'ing USB0 came up the same: no output whatsoever & logs look fine.

    I'm going to attach my logs from an Ubuntu 2.6 kern here. Maybe they can be of some help. Note: Any gpsd errors in logs are attributed to the fact that no data is coming through on /dev/X.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •