18.03.2016, 18:33
Hast du meinen Link mal probiert?
Für dein Display gibt es auf Google massenhaft Anleitungen, hast du davon mal eine getestet?
Für dein Display gibt es auf Google massenhaft Anleitungen, hast du davon mal eine getestet?
hdmi_cvt=1024 600 60 3 0 0 0hdmi_cvt=1024 600 60 30 3 0 0 0Traceback (most recent call last):
File "./touch.py", line 7, in <module>
import uinput
ImportError: No module named 'uinput'apt-get install python{,3}-pip
pip install python-uinput
und:
apt-get install python-pip
pip install python-uinput(13.07.2015, 10:27)hansdampf schrieb: [ -> ]So ich hab die GPS-Maus nun endlich zum laufen bekommen.
Ich schreib hier jetzt nochmal meine Schritte auf, falls jemand anderes dasselbe Problem hat.
1:Wie in "Christian's Blog" beschrieben
-tail -f /var/log/messages
Dann USB-Maus anschließen
Bei GPSD steht dann der Name/Pfad (z.b. /dev/ttyUSB0)
-nano /home/pi/startup/StartCarPC
Einstellungen anpassen:
z.B.:
# Start gpsd
sudo killall gpsd
#gpsd /dev/ttyAMA0
#gpsd /dev/ttyACM0
gpsd /dev/ttyUSB0
2.
In the file /lib/udev/gpsd.hotplug
add "chmod a+rw $DEVNAME" before "gpsdctl $ACTION $DEVNAME" near the end of the file.
Also:
-sudo nano /lib/udev/gpsd.hotplug
über der Zeile gpsdctl $ACTION $DEVNAME
die Zeile:
chmod a+rw $DEVNAME
einfügen.
3. GPSD aktualiesieren:
-sudo apt-get install gpsd gpsd-clients python-gps
4. Neustart
-sudo reboot
5. Überprüfe
-cgps -s
Dieser Befehl sollte einen Output ähnlich diesem erzeugen:
┌───────────────────────────────────────────┐┌─────────────────────────────────┐
│ Time: 2012-06-18T15:05:10.0Z ││PRN: Elev: Azim: SNR: Used: │
│ Latitude: 51.231848 N ││ 14 43 249 40 Y │
│ Longitude: 0.514014 E ││ 25 75 283 37 Y │
│ Altitude: 132.3 m ││ 2 26 085 31 Y │
│ Speed: 0.0 kph ││ 12 56 070 18 Y │
│ Heading: 0.0 deg (true) ││ 9 19 133 22 Y │
│ Climb: 0.0 m/min ││ 27 09 133 17 Y │
│ Status: 3D FIX (1 secs) ││ 4 17 045 31 Y │
│ GPS Type: ││ 32 05 321 20 Y │
│ Longitude Err: +/- 8 m ││ 29 41 192 18 Y │
│ Latitude Err: +/- 9 m ││ 31 28 304 42 Y │
│ Altitude Err: +/- 27 m ││ │
│ Course Err: n/a ││ │
│ Speed Err: +/- 68 kph ││ │
└───────────────────────────────────────────┘└─────────────────────────────────┘
Dann noch Karte wechseln, wie in "Christian's Blog" beschrieben und fertig
Grüße
EDIT: Sry für die schlechte Formatierung in der Mitte alles nach dem Doppelstrich || muss in den rechten Kasten
(22.03.2016, 19:29)smiley schrieb: [ -> ]sudo nano /home/pi/startup/StartCarPC
bzw. sudo nano /opt/carpc/startup/StartCarPC
hast du da bei dir das so:
#gpsd /dev/ttyAMA0
gpsd /dev/ttyACM0
#gpsd /dev/ttyUSB0
??
<advancedsettings>
<splash>false</splash>
</advancedsettings>