Passiamo al problema..
Volevo collegare il mio gps , un garmin Map60csx, al netbook per usarlo come navigatore, il problema e' che gpsd non riceve dati dal disposito, vi scrivo tutti i miei passaggi in modo da essere il piu preciso possibile, innanzitutto la mia distro e' la 10.04.
So' che i driver usb del garmin sono sotto blacklist quindi, non volendo toglierli dalla black list parto con:
Codice: Seleziona tutto
mayer78@Mayer78:~$ sudo modprobe garmin_gps
Quindi controllo che la periferica sia riconosciuta con dmesg e ricevo :
Codice: Seleziona tutto
[ 943.472711] usbcore: registered new interface driver usbserial
[ 943.474452] USB Serial support registered for generic
[ 943.475716] usbcore: registered new interface driver usbserial_generic
[ 943.475731] usbserial: USB Serial Driver core
[ 943.540936] USB Serial support registered for Garmin GPS usb/tty
[ 943.541947] usbcore: registered new interface driver garmin_gps
[ 943.541961] garmin_gps: v0.33:garmin gps driver
[ 1192.664119] usb 2-1: new full speed USB device using uhci_hcd and address 2
[ 1192.811485] usb 2-1: configuration #1 chosen from 1 choice
[ 1192.814317] garmin_gps 2-1:1.0: Garmin GPS usb/tty converter detected
[ 1192.814575] usb 2-1: Garmin GPS usb/tty converter now attached to ttyUSB0
Codice: Seleziona tutto
mayer78@Mayer78:~$ gpsd -N /dev/ttyUSB0
gpsd: Can't bind to port gpsd
gpsd: Maybe gpsd is already running!
gpsd: Can't bind to port gpsd
gpsd: Maybe gpsd is already running!
Cmq ammettendo che parta in automatico, provo a interrogarlo con :
Codice: Seleziona tutto
mayer78@Mayer78:~$ telnet localhost 2947
Trying ::1...
Connected to localhost.
Escape character is '^]'.
{"class":"VERSION","release":"2.92","rev":"svn","proto_major":3,"proto_minor":1}
Connection closed by foreign host.
mayer78@Mayer78:~$
Avete idea di come uscirne??????