Conflito de dispositivos USB no Raspbian (RPi2)

1. Conflito de dispositivos USB no Raspbian (RPi2)

Everton Machado
evertonma

(usa Debian)

Enviado em 24/09/2015 - 22:15h

Olá pessoal. Tudo bem? Sou iniciante em linux, to tentando aprender essa bagaça, mas tem uma panezinha que tá me tirando do sério.

Tenho um Raspberry Pi2 rodando 2 sistemas de aviação. Um é para receber e decodificar sinais ADSB e o outro é para receber e fazer streaming da comunicação dos pilotos com os órgãos de controle (isso não é ilegal, antes que perguntem! rsrs).

Os dispositivos USB que uso são estes:
ModeS Beast (compatível FTDI), que recebe dados ADSB
Dongle com chipset RTL2832, que "ouve" o rádio dos pilotos.

Estes 2 dispositivos entram em conflito quando reinicio o RPi. Aí nenhum dos 2 funciona.

Pra vcs entenderem melhor o que acontece, aí vão 2 logs do dmesg:

Esse é quando inicio o RPi com ambos os dispositivos conectados via USB:
pi@rpieverton ~ $ dmesg | grep usb
[ 1.279674] usbcore: registered new interface driver usbfs
[ 1.285348] usbcore: registered new interface driver hub
[ 1.290817] usbcore: registered new device driver usb
[ 1.679639] usbcore: registered new interface driver smsc95xx
[ 2.179987] dwc_otg bcm2708_usb: DWC OTG Controller
[ 2.189789] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 2.201960] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 2.229579] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.241353] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.253532] usb usb1: Product: DWC OTG Controller
[ 2.263121] usb usb1: Manufacturer: Linux 3.18.11-v7+ dwc_otg_hcd
[ 2.274120] usb usb1: SerialNumber: bcm2708_usb
[ 2.302700] usbcore: registered new interface driver usb-storage
[ 2.446728] usbcore: registered new interface driver usbhid
[ 2.459141] usbhid: USB HID core driver
[ 2.687842] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.908286] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 2.920153] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.227977] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.338352] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.350372] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.432234] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:b4:6a:ad
[ 3.528048] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 3.670245] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=2838
[ 3.683288] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.697738] usb 1-1.2: Product: RTL2838UHIDIR
[ 3.708141] usb 1-1.2: Manufacturer: Realtek
[ 3.717881] usb 1-1.2: SerialNumber: 00000001
[ 3.828034] usb 1-1.4: new full-speed USB device number 5 using dwc_otg
[ 3.962037] usb 1-1.4: New USB device found, idVendor=0403, idProduct=6001
[ 3.974925] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.988402] usb 1-1.4: Product: Mode-S Beast
[ 3.998267] usb 1-1.4: Manufacturer: DL4MEA
[ 4.286931] usbcore: registered new interface driver usbserial
[ 4.313150] usbcore: registered new interface driver usbserial_generic
[ 4.356220] usbserial: USB Serial support registered for generic
[ 4.389645] usbcore: registered new interface driver ftdi_sio
[ 4.402993] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 4.478490] usb 1-1.4: Detected FT232RL
[ 4.499538] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB0


Esse aqui é quando inicio o RPi sem o RTL e plugo ele DEPOIS do boot, aí tudo funciona normalmente:
pi@rpieverton ~ $ dmesg | grep USB
[ 2.189851] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 2.229696] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.241475] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.284563] hub 1-0:1.0: USB hub found
[ 2.460204] usbhid: USB HID core driver
[ 2.687778] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.948126] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 2.959991] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.973123] hub 1-1:1.0: USB hub found
[ 3.267997] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.378434] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.391932] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.472116] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:b4:6a:ad
[ 3.567970] usb 1-1.4: new full-speed USB device number 4 using dwc_otg
[ 3.699663] usb 1-1.4: New USB device found, idVendor=0403, idProduct=6001
[ 3.711887] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.456301] usbserial: USB Serial support registered for generic
[ 4.552240] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 4.581692] ftdi_sio 1-1.4:1.0: FTDI USB Serial Device converter detected
[ 4.632654] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB0
[ 116.299283] ftdi_sio ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[ 116.299383] ftdi_sio ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[ 116.588030] usb 1-1.2: new high-speed USB device number 5 using dwc_otg
[ 116.699739] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=2838
[ 116.699756] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 116.708121] usb 1-1.4: USB disconnect, device number 4
[ 116.708418] ftdi_sio ttyUSB0: error from flowcontrol urb
[ 116.709178] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 116.948075] usb 1-1.4: new full-speed USB device number 6 using dwc_otg
[ 117.069757] usb 1-1.4: New USB device found, idVendor=0403, idProduct=6001
[ 117.069778] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 117.076686] ftdi_sio 1-1.4:1.0: FTDI USB Serial Device converter detected
[ 117.077698] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB0


Comando lsusb dos dispositivos instalados:
pi@rpieverton ~ $ lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 004: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC

Onde:
Bus 001 Device 004: dongle RTL
Bus 001 Device 005: ModeS Beast

Se puderem me ajudar, agradeço imensamente.

Um abraço,
Everton


  


2. Alguém?

Everton Machado
evertonma

(usa Debian)

Enviado em 26/09/2015 - 17:48h


Alguém??






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts