[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] Using ublox GPS receiver with USB
From: |
Martin Mueller |
Subject: |
[Paparazzi-devel] Using ublox GPS receiver with USB |
Date: |
Wed, 09 Nov 2005 23:39:53 +0100 |
User-agent: |
Debian Thunderbird 1.0 (X11/20050116) |
Hi,
the u-blox Antaris "4" GPS receivers (i.e. LEA-4A) do have an USB
interface. They implement an USB Communication Device Class (CDC) which
makes them easy to use.
For a recent Linux kernel, start the cdc-acm kernel module (if not done
automatically) and use /dev/ttyACM0 as if it was a "normal" serial port.
Windows needs some special treatment. For XP get the 'usbser.sys' from
'c:\windows\driver cache\i386\drivers.cab' (by double clicking). Copy it
to the same directory as the attached text (which should be saved in a
file named antrser.inf). Attach the ublox receiver and feed Windows with
the antrser.inf. You should now have an additional virtual serial port
(i.e. COM23).
Some more explanation (and the original .inf file) can be found at
'linux-2.6.xx/Documentation/usb/gadget_serial.txt'.
Use ucenter (download from http://www.ublox.com - registration required)
to configure the rx and display data with Windows. For Linux there is a
simple config tool in cvs at 'paparazzi3/conf/gps'. See source code for
details. That folder contains the gps configuration files for Paparazzi.
Martin
---snip---
[Version]
Signature="$Windows NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%LINUX%
DriverVer=08/17/2004,0.0.2.0
; Copyright (C) 2004 Al Borchers (address@hidden)
; released under GNU General Public License
[Manufacturer]
%LINUX%=GSerialDeviceList
[GSerialDeviceList]
%GSERIAL%=GSerialInstall, USB\VID_1546&PID_01A4
[DestinationDirs]
DefaultDestDir=10,System32\Drivers
[GSerialInstall]
CopyFiles=GSerialCopyFiles
AddReg=GSerialAddReg
[GSerialCopyFiles]
usbser.sys
[GSerialAddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[GSerialInstall.Services]
AddService = usbser,0x0002,GSerialService
[GSerialService]
DisplayName = %GSERIAL_DISPLAY_NAME%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\usbser.sys
LoadOrderGroup = Base
[Strings]
LINUX = "Linux"
GSERIAL = "GPS RX Serial"
GSERIAL_DISPLAY_NAME = "USB GPS RX Serial Driver"
---snip---
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Paparazzi-devel] Using ublox GPS receiver with USB,
Martin Mueller <=