paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Error (dev/paparazzi/xbee)


From: Chris Gough
Subject: Re: [Paparazzi-devel] Error (dev/paparazzi/xbee)
Date: Wed, 8 Jun 2011 14:15:10 +1000

Hi Pedro,

> However, when tell me for to change the command line, for the data link to
> -d /dev/ttyUSB0 instead of -d /dev/paparazzi/xbee, where should I change ?

The easiest way is to execute the session in the paparazzi center,
change the line on the screen, then save the session. The other (also
easy) way is to edit the session definition in the XML (while its not
running).

Chris Gough

On Wed, Jun 8, 2011 at 12:24 PM, Pedro Andrade <address@hidden> wrote:
> Hi Felix,
> Firstly, I have the serial number.
> I shoud to insert the serial number in "10-paparazzi.rules"?
> However, when tell me for to change the command line, for the data link to
> -d /dev/ttyUSB0 instead of -d /dev/paparazzi/xbee, where should I change ?
> Cheers.
>> Date: Wed, 8 Jun 2011 00:33:48 +0200
>> From: address@hidden
>> To: address@hidden
>> Subject: Re: [Paparazzi-devel] Error (dev/paparazzi/xbee)
>>
>> Hi Pedro,
>>
>> you have to find out the usb serial number of your modem, uncomment
>> the prepared rule for this and add your serial number there.
>> You can use udevadm to find the usb attributes of your modem.
>>
>> It's probably easier for you to just change the command line for the
>> data link to -d /dev/ttyUSB0 instead of -d /dev/paparazzi/xbee and
>> save the session.
>> Although then your modem might be mapped to ttyUSB1 if you already
>> have something else on ttyUSB0....
>>
>> Cheers, Felix
>>
>> On Tue, Jun 7, 2011 at 11:08 PM, Pedro Andrade <address@hidden>
>> wrote:
>> > Hi Felix,
>> > I'm using Xbee API mode and the baud rate is correct.
>> > I not using PKG-U I use two modems Xbee Pro how this "
>> >
>> > https://store.ppzuav.com/osc/product_info.php?products_id=76&osCsid=mrfm2ob5sm01uan9cmlqqevqp2
>> > "
>> > How add the serial number to the rules?
>> > Thank you very much.
>> >> Date: Tue, 7 Jun 2011 21:07:53 +0200
>> >> From: address@hidden
>> >> To: address@hidden
>> >> Subject: Re: [Paparazzi-devel] Error (dev/paparazzi/xbee)
>> >>
>> >> Hi Pedro,
>> >>
>> >> the modem is only mapped to /dev/paparazzi/xbee if it is a MaxStream
>> >> PKG-U, or you expicitly added your modem (with serial number) to the
>> >> udev rules.
>> >> So you can either add your serial to the rules, or just change the
>> >> line to use /dev/ttyUSB0 instead.
>> >> Also are you really using the xbee API mode? If not you should use the
>> >> USB serial session (and adjust the baud rate if you have a different
>> >> one set).
>> >>
>> >> Cheers, Felix
>> >>
>> >> On Tue, Jun 7, 2011 at 6:23 PM, Pedro Andrade
>> >> <address@hidden>
>> >> wrote:
>> >> > Hey Chris,
>> >> > I did set up USB when I did copy "10-paparazzi.rules" for
>> >> > "/etc/udev/rules.d/", right?
>> >> > This are the last lines of dmesg's output.
>> >> > [  176.145360] ata2.00: ACPI cmd 00/00:00:00:00:00:b0 (NOP) rejected
>> >> > by
>> >> > device (Stat=0x51 Err=0x04)
>> >> > [  176.145431] ata2.00: configured for UDMA/100
>> >> > [  176.145858] ata2: EH complete
>> >> > [  247.087787] EXT4-fs (loop0): re-mounted. Opts:
>> >> > errors=remount-ro,commit=0
>> >> > [  272.180066] lo: Disabled Privacy Extensions
>> >> > [ 1173.664188] usb 6-1: new full speed USB device using uhci_hcd and
>> >> > address
>> >> > 2
>> >> > [ 1173.979016] usbcore: registered new interface driver usbserial
>> >> > [ 1173.979064] USB Serial support registered for generic
>> >> > [ 1173.979354] usbcore: registered new interface driver
>> >> > usbserial_generic
>> >> > [ 1173.979357] usbserial: USB Serial Driver core
>> >> > [ 1174.012231] USB Serial support registered for FTDI USB Serial
>> >> > Device
>> >> > [ 1174.012686] ftdi_sio 6-1:1.0: FTDI USB Serial Device converter
>> >> > detected
>> >> > [ 1174.012758] usb 6-1: Detected FT232RL
>> >> > [ 1174.012761] usb 6-1: Number of endpoints 2
>> >> > [ 1174.012763] usb 6-1: Endpoint 1 MaxPacketSize 64
>> >> > [ 1174.012766] usb 6-1: Endpoint 2 MaxPacketSize 64
>> >> > [ 1174.012768] usb 6-1: Setting MaxPacketSize 64
>> >> > [ 1174.014160] usb 6-1: FTDI USB Serial Device converter now attached
>> >> > to
>> >> > ttyUSB0
>> >> > [ 1174.014180] usbcore: registered new interface driver ftdi_sio
>> >> > [ 1174.014182] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
>> >> >
>> >> > Cheers.
>> >> >> Date: Tue, 7 Jun 2011 14:41:24 +1000
>> >> >> From: address@hidden
>> >> >> To: address@hidden
>> >> >> Subject: Re: [Paparazzi-devel] Error (dev/paparazzi/xbee)
>> >> >>
>> >> >> Hi Pedro,
>> >> >>
>> >> >> did you set up USB access?
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> http://paparazzi.enac.fr/wiki/Installation#Setting_access_rights_for_USB_download
>> >> >>
>> >> >> unplug tour modem from the USB port on your computer, plug it in
>> >> >> again
>> >> >> and type "dmesg". What are the last 10 lines of dmesg's output?
>> >> >>
>> >> >> Chris Gough
>> >> >>
>> >> >> On Tue, Jun 7, 2011 at 2:20 PM, Pedro Andrade
>> >> >> <address@hidden>
>> >> >> wrote:
>> >> >> > Hy world,
>> >> >> > I'm with the problem at to run session "Flight address@hidden"
>> >> >> > sequinte
>> >> >> > the error occurs.
>> >> >> >  " Failure("Error opening modem serial device : fd < 0
>> >> >> > (/dev/paparazzi/xbee)") "
>> >> >> > Is attached hereto the print screen of the error.
>> >> >> > Cheers.
>> >> >> > _______________________________________________
>> >> >> > Paparazzi-devel mailing list
>> >> >> > address@hidden
>> >> >> > https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> .
>> >> >>
>> >> >> _______________________________________________
>> >> >> Paparazzi-devel mailing list
>> >> >> address@hidden
>> >> >> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>> >> >
>> >> > _______________________________________________
>> >> > Paparazzi-devel mailing list
>> >> > address@hidden
>> >> > https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>> >> >
>> >> >
>> >>
>> >> _______________________________________________
>> >> Paparazzi-devel mailing list
>> >> address@hidden
>> >> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>> >
>> > _______________________________________________
>> > Paparazzi-devel mailing list
>> > address@hidden
>> > https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>> >
>> >
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>



-- 
.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]