If you notice spammers in the forum, please notify Bas ON5HB, so they can be removed and banned. Give a link in the chatbox or send a PM to me. Thanks.

Urgent, need help for restoring Sardinia SDR

Started by hb3xdc, Dec 28, 2024, 01:59 PM

Previous topic - Next topic

Emmanuel SV1BTL

Is it possible that USB is on autosuspend mode and switched off after a while?
Type cat /sys/module/usbcore/parameters/autosuspend
(if the result is 2, then autosuspend is enabled)

Then:
sudo nano /etc/default/grub

Change:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"
and save file

After this in terminal:
sudo update-grub

and sudo reboot system

After reboot
cat /sys/module/usbcore/parameters/autosuspend
(result should be -1)

9a7aof

#16
Hi,

I have a PhantomSDR+ on an old laptop with only one USB3 port, I typed alias usb3 and it shows this:

Quotewebsdr@Siemens:~$ alias | grep usb
alias usb3='lsusb -t | grep xhci'

websdr@Siemens:~$ usb3
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
websdr@Siemens:~$

A newer laptop shows this, it can be seen that the usb3 port is of better quality:

Quoteroot@probook:/home/websdr/PhantomSDR-Plus/frontend/src# usb3
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 480M
root@probook:/home/websdr/PhantomSDR-Plus/frontend/src#

73!
Darko,9a7aof

Bas ON5HB

Quote from: hb3xdc on Dec 30, 2024, 07:19 PMConnect RX888 after "cold" boot its shows up in DFU mode and as usb 2.0 in lsusb, if you start rx888_stream it switches to usb 3.0 and is shown as RX888mkII, so much so good.

Now if I do sudo reboot whent its still shown in DFU mode, systems start to act buggy as described above. As soon as I had run PhantomSDR once and its not anymore shown in dfu mode, I can reboot the system whitout any issue.

After reboot its still shown as RX888mkII and not in DFU mode.


That means that your USB port keeps being powered, e.g. for charging phones and such.
You can disable this in the BIOS so it recycles the power on the USB-port as well.

You may want to reset the BIOS to default values in total.
Then check the ports that keep being powered and the ports that turn off.

Typical the back-ports do cycle, some front do not.

Also, do not use a powered-hub.

Yes as I said, the RX888 starts in USB2 and after the firmware is uploaded (in ram) it runs as USB3 and only then it shows RX888.
Before th firmware it loads as the Cyrus (forgot the name) USB-chip.

You do want to have it reset after a reboot, else it probably can't reload the firmware.

I'm pretty sure there is something wrong in your BIOS, keeping the ports powered during reboot/power-down.
Best regards,

Bas ON5HB

Ps. the Community Edition can be found here: https://github.com/ny4qphil/PhantomSDR-Plus

Powered by EzPortal