Thankyou Martin, you are right, that's exactly what I was doing (wrong);
trying to use u-center on wine with the usb tunnel, as though it were a
FTDI chip/cable.
The Linux-only cli tool looks good, but I don't know how to get an
appropriate configuration file to use. Mine is a "GPS 1.3 with LEA-5H
GPS and GPS antenna" (direct quote from chebuzz's site, where I got it).
I think I need to reconfigure it for Australia (where there is no SBAS),
because as it is I'm getting good signal strength but position +/-
8000km (crazy; near Hawai no wait, Vladisvostoc, hang on make that
Bermuda...).
Should I just source a window's machine and experiment, or is this a
known problem (and is the appropriate configuration available somewhere).
Chris Gough
On Wed, Nov 25, 2009 at 7:19 PM, Martin Mueller <address@hidden
<mailto:address@hidden>> wrote:
Hi Chris,
seems you are using the usb-tunnel
(http://paparazzi.enac.fr/wiki/Compiling#USB_tunnel). This will
appear as /dev/ttyACM0. Not sure if wine/u-center support that. FTDI
chips will be at /dev/ttyUSB0.
You can use the Linux-only command line tool in conf/gps to
configure your GPS receiver. Set the serial port and file name in
ublox_conf.c, 'make' it and start it as './ublox_conf'.
Martin
----- original Nachricht --------
Betreff: Re: [Paparazzi-devel] difficulty installing u-center with wine
Gesendet: Mi, 25. Nov 2009
Von: Chris Gough
A bit more digging; I've learned that installing the "wvdial"
package (to set up a ppp connection with a GSM modem) probably
introduced a kernel module called cdc-acm.ko. I think this is being
used to mount my autopilot on /dev/ttyACM0 instead of /dev/ttyUSB0
or /dev/ttyS0.
According to comments in (linux
source)/documentation/usb/usb-serial.txt, it's the usb-serial module
that should be used to mount FTDI serial devices, cdc-acm is for
some modems. Is there some way to get my machine to use the
appropriate driver without removing the modem support (and losing my
access to the internet).
Chris Gough
On Wed, Nov 25, 2009 at 7:16 AM, Chris Gough
<address@hidden
<mailto:address@hidden>> wrote:
Thanks Mark,
yes I tried that, but it also doesn't work - there is no such thing
as /dev/ttyUSB0 on my machine. When I plug in the device I get a new
/dev/ttyACM0.
Chris Gough
On Wed, Nov 25, 2009 at 12:17 AM, <address@hidden
<mailto:address@hidden>> wrote:
Chris,According to the Wiki (http://paparazzi.enac.fr/wiki/GPS), you
have to "set up com1 as /dev/ttyUSB0 See Info on wine for
"dosdevices" setup."Did you do that?
From: paparazzi-devel-bounces+mark.griffin=itu.int
<http://itu.int>@nongnu.org <http://nongnu.org>
[mailto:paparazzi-devel-bounces+mark.griffin
<mailto:paparazzi-devel-bounces%2Bmark.griffin>=itu.int
<http://itu.int>@nongnu.org <http://nongnu.org>] On Behalf Of Chris
Gough
Sent: Tuesday, 24 November 2009 12:01 PM
To: address@hidden <mailto:address@hidden>
Subject: [Paparazzi-devel] difficulty installing u-center with wine
Hi, I need to reconfigure my GPS but I am unable to install u-center
(v5.08) on Linux (Debaan lenny) using Wine.
The error I get is during "Execute: DPInst.exe", after clicking
through the "Device Driver Installation Wizard" screen, I get
"Cannot complete device driver installation wizard; driver name:
u-blox AG (ubloxusb) Ports (09/12/2008 1.2.0.1); status: install
failed ". I've tried it with and without my TWOG+GPS plugged into
the USB (same result)
I think Wine might be OK because Motorcalc works fine under it.
I think I flashed my TWOG (+GPS :) with the tunnel OK, when I power
it up then plug it in /var/log/messages has something like this:
Nov 24 21:44:12 dev-support-lappy kernel: [275135.220098] usb 1-1:
new full speed USB device using uhci_hcd and address 8
Nov 24 21:44:12 dev-support-lappy kernel: [275135.387549] usb 1-1:
configuration #1 chosen from 1 choice
Nov 24 21:44:12 dev-support-lappy kernel: [275135.396113] cdc_acm
1-1:1.0: ttyACM0: USB ACM device
Nov 24 21:44:12 dev-support-lappy kernel: [275135.399467] usb 1-1:
New USB device found, idVendor=7070, idProduct=1235
Nov 24 21:44:12 dev-support-lappy kernel: [275135.399477] usb 1-1:
New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 24 21:44:12 dev-support-lappy kernel: [275135.399485] usb 1-1:
Product: USBSerial
Nov 24 21:44:12 dev-support-lappy kernel: [275135.399491] usb 1-1:
Manufacturer: LPCUSB
Nov 24 21:44:13 dev-support-lappy kernel: [275135.399498] usb 1-1:
SerialNumber: 12345678
When I:
dev-support-lappy:/home/daims# ls -l /dev/ttyACM0
crw-rw---- 1 root dialout 166, 0 2009-11-24 21:44 /dev/ttyACM0
and:
dev-support-lappy:/home/daims# groups daims
daims dialout cdrom floppy audio www-data video plugdev netdev powerdev
so that looks fine. if I "cat /dev/ttyACM0" I get characters on
stdout (non-assci). I don't know why it uses dialout group for that
device, might have something to do with me installing wvdial a
little while ago.
Oh yeah, I've also tried various combinations of linking com1 and
com2 to /dev/ttyS0 and /dev/ttyACM0 in ~/.wine/dosdevices.
What should I try next? please help.
Chris Gough
_______________________________________________
Paparazzi-devel mailing list
address@hidden <mailto:address@hidden>
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
--- original Nachricht Ende ----
_______________________________________________
Paparazzi-devel mailing list
address@hidden <mailto:address@hidden>
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
------------------------------------------------------------------------
_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel