Closed pmd5700 closed 4 years ago
Hi @pmd5700,
Sorry you're having problems. In order to help you, are you able to complete the following steps and post your output?
bash
so none of the services are started$ docker run --rm -it --device /dev/bus/usb:/dev/bus/usb --entrypoint bash mikenye/readsb
root@5e2ef605eca8:/#
rtl_eeprom
, which will should display information about the RTL-SDR radios it can see:root@5e2ef605eca8:/# rtl_eeprom
Found 1 device(s):
0: Generic RTL2832U
Using device 0: Generic RTL2832U
Found Rafael Micro R820T tuner
Current configuration:
__________________________________________
Vendor ID: 0x0bda
Product ID: 0x2832
Manufacturer: Realtek
Product: RTL2832U
Serial number: 00001000
Serial number enabled: yes
IR endpoint enabled: no
Remote wakeup enabled: no
__________________________________________
You can then log out of the container (it will automatically be deleted due to the --rm
argument), and restart your services using your RTL-SDRs.
Thanks.
pi@raspberrypi:/opt/adsb $ sudo docker run --rm -it --device /dev/bus/usb:/dev/bus/usb --entrypoint bash mikenye/readsb
root@6b3293249466:/# rtl_eeprom
Found 2 device(s):
0: Generic RTL2832U OEM
1: Generic RTL2832U
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Current configuration:
__________________________________________
Vendor ID: 0x0bda
Product ID: 0x2838
Manufacturer: Realtek
Product: RTL2838UHIDIR
Serial number: 00000978
Serial number enabled: yes
IR endpoint enabled: yes
Remote wakeup enabled: no
__________________________________________
root@6b3293249466:/#
FYI - the device 0 being used right now is the 2nd dongle that I plugged in. I normally use other device for ADSB.
Can you repeat the above, but replace the rtl_eeprom
command with rtl_eeprom -d 1
please?
Thanks.
pi@raspberrypi:/opt/adsb $ sudo docker run --rm -it --device /dev/bus/usb:/dev/bus/usb --entrypoint bash mikenye/readsb
root@3aef2346b41c:/# rtl_eeprom -d 1
Found 2 device(s):
0: Generic RTL2832U OEM
1: Generic RTL2832U
Using device 1: Generic RTL2832U
Found Rafael Micro R820T tuner
Current configuration:
__________________________________________
Vendor ID: 0x0bda
Product ID: 0x2832
Manufacturer: Realtek
Product: RTL2832U
Serial number: 00001090
Serial number enabled: yes
IR endpoint enabled: no
Remote wakeup enabled: no
__________________________________________
root@3aef2346b41c:/#
Thanks. Can you post the section of your docker-compose.yml
that defines your readsb
container?
readsb:
image: mikenye/readsb:latest
tty: true
container_name: readsb
restart: always
devices:
- /dev/bus/usb/001/005:/dev/bus/usb/001/005
ports:
- 8080:8080
- 30005:30005
networks:
- adsbnet
environment:
- TZ=America/New_York
- PULLMLAT=adsbx:30105,piaware:30105
command:
- --dcfilter
- --device-type=rtlsdr
- --json-location-accuracy=2
- --lat=XX
- --lon=YY
- --modeac
- --ppm=0
- --net
- --stats-every=3600
- --quiet
- --write-json=/run/readsb
- --device=00001090
to the command:
section.- /dev/bus/usb/001/005:/dev/bus/usb/001/005
to - /dev/bus/usb:/dev/bus/usb
in the device sectiondocker-compose up -d
to recreate the containerThat should hopefully solve your problem.
That worked!
If I have 2 dongles plugged into my device and start readsb, I get the following error:
If I remove the 2nd dongle, I get