![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Registered Member
Join Date: Feb 2003
Posts: 23
|
More Problems: GPSD
Alright now I'm having problems with GPSD. I compiled it and just copied is into /sbin. Then I run:
#gpsd -p /dev/ttyS0 -t 4800 I checked with ps -ax and the daemon was running. Next I typed #telnet localhost 2947 and I don't see any GPS data, in fact nothing really shows up other then telnet connecting to the daemon. So I have two problems here really. 1) I'm not sure if i'm starting and testing the GPSD properly. Am I using telnet correctly? 2) My second problem is a bit harder. I'm not sure what port linux will recognize my serial port as. According to this website(Thinkpad 760el, http://tuxmobile.org/ir_misc.html) ttyS0 and ttylS3 are my infrared ports, but I can't find any information about what the serial port is recognized as. I've alread tried the above with ttyS0 through ttyS5. 6-20 is going to take one long time to figure out. Is there a quicker way to scan for my GPS serial port? |
|
|
|
|
|
#3 (permalink) |
|
Registered Member
Join Date: Feb 2003
Posts: 23
|
Mine is a Deluo Serial GPS. It worked fine with Netstumbler on COM1 but I had my IR devices disabled. My main problem is I can't figure out which ttyS is my serial port. Since ttyS0 and ttys3 are my IR ports and ttyS0-ttys6 produce no results for GPSD.
|
|
|
|
|
|
#4 (permalink) |
|
Ward River
Join Date: Aug 2002
Location: Santa Monix
Posts: 679
|
Once you telnet to port 2947, you have to enter commands... hitting 'r' should make it spit out data until you hit 'r' again.
__________________
No, officer, YOU are under arrest! http://eyecannon.com/wardrive.html |
|
|
|
|
|
#7 (permalink) | |
|
Ward River
Join Date: Aug 2002
Location: Santa Monix
Posts: 679
|
Quote:
__________________
No, officer, YOU are under arrest! http://eyecannon.com/wardrive.html |
|
|
|
|
|
|
#8 (permalink) |
|
Registered Member
Join Date: Feb 2003
Posts: 23
|
Well after doing cat /dev/ttyS0 - cat /dev/ttyS30, /dev/ttyS0 is the only one that gave didn't give me an I/O error, but it didn't produce any GPS results.
One thing I noticed when starting up my machine: Serial Driver Version 5.05c RQ SERIAL_PCI enabled ttyS00 at 0x03f8 ( irq = 4 ) is a 16550A ttys01 at 0x02f8 ( irq = 3 ) is a 16550A Ok, I don't see any ttyS00 or ttyS01 in /dev. They also don't do CAT. What else could I possible try? |
|
|
|
|
|
#9 (permalink) | |
|
Macaca
Join Date: Sep 2002
Location: S. Florida
Posts: 1,056
|
Quote:
My Thinkpad required me to enable the serial port from the DOS setup utility (on a bootable floppy) before it would talk. Windows can enable it directly, but if you want to do that under Linux you need to get tpctl . |
|
|
|
|
|
|
#10 (permalink) |
|
Registered Member
Join Date: Feb 2003
Posts: 23
|
I installed the Thinkpad drivers and tpctl but when I try "tpctl rs1=enabled" or "tpctl rs1=on" it just says "module for that command not loaded." I tried loading the superio module "insmod superio" and it just gives me an inknown error 1025. As far as I can tell from the troubleshooting file is that the superio module isn't compaditble with my Thinkpad...
|
|
|
|
|
|
#11 (permalink) |
|
Registered Member
Join Date: Feb 2003
Posts: 23
|
After unsuccesfully getting tpctl to work, I went to the IBM website and downloaded the DOS utility disk. I then got a DOS 6.22 boot disk from bootdisks.com and started up my computer in DOS. I manually (using PS2.exe) disabled both my IR and Serial port. Then I changed the IRQ and address of my IR device to COM2 and changed my Serial port to IRQ and address of COM1. I restarted my computer, booted back into DOS and used the PS2.exe utility to enable the serial port then issued the power on command.
After restarting my computer into linux, "cat /dev/ttyS0" produced no GPD results, but if I start gpsd and then Kismet, Kismet is getting a GPS fix, so things appear to be working. Thanks to everyone who helped. |
|
|
|