Installation/Linux/udev
Revision as of 09:17, 14 June 2012 by P0rc0 r0ss0 (talk | contribs)
This page describes common paparazzi port device convention.
Paparazzi device list
/dev/paparazzi/xbee - interface that is used for telemetry connections. (transperent, airborne) /dev/paparazzi/jtag - interface used for jtag debugging. /dev/paparazzi/sereial - interface that is used for local board connections.
.wine/dosdevices/com4 - interface for X-CTU (see xbee configuration page).
To have you linux making automatic symlinks to right devices, your udev file should look like:
ACTION!="add|change", GOTO="paparazzi_rules_end" # other bare FT232R FTDI chip without EEPROM SUBSYSTEM=="tty", ATTRS{product}=="FT232R USB UART", SYMLINK+="paparazzi/serial", GROUP="plugdev" # MaxStream xbee pro box SUBSYSTEM=="tty", ATTRS{product}=="MaxStream PKG-U", SYMLINK+="paparazzi/xbee", GROUP="plugdev" # MaxStream FLOSS JTAG ATTRS{interface}=="FLOSS-JTAG", ATTRS{bInterfaceNumber}=="00", SYMLINK+="paparazzi/jtag", GROUP="plugdev" ATTRS{interface}=="FLOSS-JTAG", ATTRS{bInterfaceNumber}=="01", SYMLINK+="paparazzi/serial", GROUP="plugdev" LABEL="tty_FTDI232_end" SUBSYSTEM!="usb", GOTO="paparazzi_rules_end" ENV{DEVTYPE}!="usb_device", GOTO="paparazzi_rules_end" ATTR{manufacturer}=="Transition Robotics Inc.", ATTR{product}=="Lisa/M (Upgrade)*", GROUP="plugdev" #SUBSYSTEMS=="usb", ATTRS{serial}=="*_fbw", NAME="test_fbw", SYMLINK+="paparazzi/%s{serial}", MODE="0666" # FTDI 2232 parallel converter / Amontec JTAG-Tiny (access through libftdi) ATTRS{idVendor}=="0403", ATTRS{idProduct}=="cff8", GROUP="plugdev" # FTDI 2232 based jtag for Lisa/L and usb upload ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="0666", GROUP="plugdev" # all (fake VID 0x7070) LPCUSB devices (access through libusb) ATTRS{idVendor}=="7070", GROUP="plugdev" # make joysticks/gamepads readable on event interface (writeable for force feedback), see input_event.sh KERNEL=="event*", IMPORT{program}="input_event.sh %p", NAME="input/%k", GROUP="plugdev", MODE="0640" ENV{FF_DEVICE}=="1", MODE="0660" # FTDI with uBlox direct on USB ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a5", KERNEL=="ttyACM*", SYMLINK+="paparazzi/acm", GROUP="plugdev" LABEL="paparazzi_rules_end"