Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm having problems reading GPS information from my GPS receiver, a Holux GR-213 Sirf Star III chipset. I'm currently running Arch with the 2.6.18-ARCH Kernel. First I'll start with all the information my system gives me about the device.
ohci_hcd 0000:00:03.1: wakeup
usb 3-3: new full speed USB device using ohci_hcd and address 5
usb 3-3: configuration #1 chosen from 1 choice
pl2303 3-3:1.0: pl2303 converter detected
usb 3-3: pl2303 converter now attached to ttyUSB0
Note that I am running udev so it is actually being mounted at /dev/tts/USB0
output of lsusb
Code:
Bus 003 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
What I've tried so far is running various different flags through gpsd and trying to get it to read the gps information.
As far as what these commands have done, so far I have gotten little to no result. GpsDrive still tells me that no GPS is used, I am unable to cat output from /dev/tts/USB0, and telnet localhost 2947 yields no output either. My ultimate goal is to get the GPS working with GpsDrive and Kismet.
Fixed it. For whatever reason GPSD wouldn't read the usb device as a normal user so I had to run it as root. I feel like an idiot now, but I guess that's part of the learning experience. =\
Code:
sudo gpsd -p /dev/tts/USB0
telnet localhost 2947
R=1 #to read gps info in real time
$GPGGA,042656.000,3119.5509,N,08920.7786,W,1,08,1.3,48.7,M,-26.5,M,1118.8,0000*41
$GPGSA,A,3,29,07,26,22,10,06,21,18,,,,,1.9,1.3,1.4*38
$GPGSV,3,1,11,26,65,075,17,06,57,224,35,29,54,055,33,21,44,320,32*77
$GPGSV,3,2,11,18,39,272,23,07,29,306,34,10,16,055,24,09,11,149,25*71
$GPGSV,3,3,11,22,07,255,33,02,02,115,13,30,00,207,*4D
$GPRMC,042656.000,A,3119.5509,N,08920.7786,W,0.00,11.02,061106,,,A*43
$GPVTG,11.02,T,,M,0.00,N,0.0,K,A*3F
$GPGGA,042657.000,3119.5509,N,08920.7787,W,1,08,1.3,48.7,M,-26.5,M,1118.8,0000*41
I'm having problems reading GPS information from my GPS receiver, a Holux GR-213 Sirf Star III chipset. I'm currently running Arch with the 2.6.18-ARCH Kernel. First I'll start with all the information my system gives me about the device.
ohci_hcd 0000:00:03.1: wakeup
usb 3-3: new full speed USB device using ohci_hcd and address 5
usb 3-3: configuration #1 chosen from 1 choice
pl2303 3-3:1.0: pl2303 converter detected
usb 3-3: pl2303 converter now attached to ttyUSB0
Note that I am running udev so it is actually being mounted at /dev/tts/USB0
output of lsusb
Code:
Bus 003 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
What I've tried so far is running various different flags through gpsd and trying to get it to read the gps information.
As far as what these commands have done, so far I have gotten little to no result. GpsDrive still tells me that no GPS is used, I am unable to cat output from /dev/tts/USB0, and telnet localhost 2947 yields no output either. My ultimate goal is to get the GPS working with GpsDrive and Kismet.
:Peng/dev/ttyUSB0y:
The dmesg listing indicates that the mount point of the device is /dev/ttyUSB0
do a ls -l on /dev/ttyUSB0 after the device is attached
Fixed it. For whatever reason GPSD wouldn't read the usb device as a normal user so I had to run it as root. I feel like an idiot now, but I guess that's part of the learning experience. =\
I got it fixed. Also if you notice, I'm running udev so although dmesg says its mounting it as /dev/ttyUSB0 udev is taking over and mounting it as /dev/tts/USB0
Quote:
Originally Posted by skmassey
Note that I am running udev so it is actually being mounted at /dev/tts/USB0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.