mutability / dump1090

Dump1090 is a simple Mode S decoder for RTLSDR devices
528 stars 137 forks source link

Gibberish shown when permission denied on opening USB device #106

Closed BenjiWiebe closed 8 years ago

BenjiWiebe commented 8 years ago

Currently I get gibberish for SN when trying to start dump1090 when I don't have permissions to read the USB device. I would think the error message should be shown before trying to read the SN, no?

Mon Mar 21 16:11:17 2016 CDT  dump1090-mutability  starting up.
Using sample converter: UC8, integer/table path
Found 1 device(s):
0: �, , SN: �ּ����)Cd� (currently selected)
usb_open error -3
Please fix the device permissions, e.g. by installing the udev rules file rtl-sdr.rules
Error opening the RTLSDR device: Permission denied
mutability commented 8 years ago

Yeah, this is a longstanding inherited bug that I never got round to looking at.