Has anyone used the OBDPro USB on ubuntu 9.0.4?
It has ftdi_sio v1.4.3 but this doesn't work. From /var/log/messages
dmesg shows a few errors not seen in /var/log/messagesCode:Jun 5 18:08:49 jaunty kernel: [91688.496122] usb 1-1: USB disconnect, address 11 Jun 5 18:08:49 jaunty kernel: [91688.501568] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1 Jun 5 18:08:49 jaunty kernel: [91688.501634] ftdi_sio 1-1:1.0: device disconnected Jun 5 18:10:12 jaunty kernel: [91771.732072] usb 1-1: new full speed USB device using uhci_hcd and address 12 Jun 5 18:10:13 jaunty kernel: [91771.942520] usb 1-1: configuration #1 chosen from 1 choice Jun 5 18:10:13 jaunty kernel: [91771.945771] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected Jun 5 18:10:13 jaunty kernel: [91771.945870] usb 1-1: Detected FT232RL Jun 5 18:10:13 jaunty kernel: [91771.946079] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB
I'm hitting problems compiling v1.5 from ftdichip.com right now. First I had to change include/linux/modversions.h to include/config/modversions.h in Rules.make. Then it couldn't find various files under asm, so I had to make symlinks for them from /usr/src/linux-headers-2.6.28-11/arch/x86/include/asm to /lib/modules/2.6.28-11-generic/build/include/asm but now I am down to this errorCode:[85796.271651] [90177.127396] ftdi_sio ttyUSB0: ftdi_set_termios FAILED to set databits/stopbits/parity [90177.127423] ftdi_sio ttyUSB0: ftdi_set_termios urb failed to set baudrate [90177.127437] ftdi_sio ttyUSB0: urb failed to clear flow control
And just FYI, if I don't have gpsd running, I get a segfault when killing obdgpslogger with ctrl-CCode:gcc -Wall -D__KERNEL__ -DMODULE -I/lib/modules/2.6.28-11-generic/build/include -D__SMP__ -DSMP -DMODVERSIONS -include /lib/modules/2.6.28-11-generic/build/include/config/modversions.h -I/usr/src/linux-2.6.28-11-generic/drivers/usb/serial/ -O -c -o ftdi_sio.o ftdi_sio.c In file included from /lib/modules/2.6.28-11-generic/build/include/asm/bitops.h:13, from /lib/modules/2.6.28-11-generic/build/include/linux/bitops.h:17, from /lib/modules/2.6.28-11-generic/build/include/linux/kernel.h:15, from ftdi_sio.c:251: /lib/modules/2.6.28-11-generic/build/include/asm/alternative.h:180: error: expected declaration specifiers or '...' before 'size_t'
Code:obdgpslogger[5420]: segfault at 2768 ip b7eafe27 sp bfc1e8b0 error 4 in libgps.so.17.0.0[b7ea5000+2e000]



LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks