ik1xpv / ExtIO_sddc

ExtIO_sddc.dll - BreadBoard RF103 / HDSDR
Other
69 stars 26 forks source link

RX888 Not working on Linux #201

Open Aang23 opened 3 years ago

Aang23 commented 3 years ago

Hello!

I have been attempting to get my RX888 working on Linux using libsddc. Everything built fine, I setup udev rules and downloaded the firmware from Github CI, ran ./libsddc/sddc_vhf_stream_test SDDC_FX3.img 3200000 10000 test.i16 The firmware was flashed successfully, but no samples were never actually pulled from the device.

frame_size = 138240, iso_packets_per_frame = 135
started streaming .. for 10000 ms ..

I then carried on to try https://github.com/ik1xpv/ExtIO_sddc/pull/196, which either segfaults or returns the following :

normal FW binary executable image with checksum
FX3 bootloader version: 0x000000A9
writing image...
transfer execution to Program Entry at 0x40012a7c
ERROR - USB error LIBUSB_ERROR_ACCESS in find_usb_device at /home/alan/Downloads/rx888/ExtIO_sddc/Core/arch/linux/usb_device.c:462
ERROR - sddc_open() failed

Is this me doing something wrong? Both product IDs are set to be as chmod 666, and running as root does not help in any way. (And yes, this device works perfectly fine on HDSDR / Windows).

Otherwise, thanks for your work on this project!

Edit : I did try the firmware provided on Github, building it myself and extracting from the ExtIO. Same results in all cases.

ik1xpv commented 3 years ago

Hi Aang23, thanks for feedback. Linux code is still tentative, we started in Windows and my personal Linux knowledge is low... With the help of the community I hope a steady Linux solution will evolve!!

vladisslav2011 commented 2 years ago

Hello. I've made it work with help of gr-osmosdr: https://github.com/vladisslav2011/ExtIO_sddc/tree/linux_fixes https://www.youtube.com/watch?v=yfSmJrJiyfU https://www.youtube.com/watch?v=SJImowu-A3E https://www.youtube.com/watch?v=k-exfw5Q9tw Gr-osmosdr branch (includes some libmirisdr fixes too): https://github.com/vladisslav2011/gr-osmosdr/tree/ngrx Only GNU Radio 3.7 so far...

ik1xpv commented 2 years ago

Bravo! Congratulations. I am happy that this SDR architecture can be employed in the Linux world. Videos are impressive.

Ciao, Oscar

Aang23 commented 2 years ago

@vladisslav2011 for information, I can confirm your branch works on Linux!

vladisslav2011 commented 2 years ago

I've opened a PR with my fixes: https://github.com/ik1xpv/ExtIO_sddc/pull/223