Our current SDR online list: https://sdr-list.xyz/

Urgent, need help for restoring Sardinia SDR

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

Previous topic - Next topic

hb3xdc

Im currently trying to restore SDR in Sardinia. Im Running on a HP EliteDesk PC 800 g2.
Ubuntu 22.04.5 LTS installed ans all Setups done.

Somehow when an RX888 is connected, and i reboot via sudo reboot, reboot takes forever, and then usb devices expecialy the rx888 is not shown in lsusb. If i make system powerless and restart ist "cold" rx888 is shown and workinng. I changed rx888 and dont see any change. If Monitor is connected, it remains either black oder frozen on HP Logo for some minutes after sudo reboot until its loading the os.

I tried to increase usb buffer in grub whinch made it even worse. Also atm some other SDRs are connected, aslo if I disconnect all of them, it wont make it better.

I have for now no clue how to solve this.

But maybe someone of you can help me, finding a solution, unfortunately im only few days here so i have to solve it quick if i want to have a permanent running sdr


What i tried:

/etc/udev/rules.d/99-usb-power.rules // add ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{power/control}="on"

in grub:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.usbfs_memory_mb=1024 usbcore.autosuspend=-1"

all no success

if I can provide logs, just let me know, ill send them

Thank you for your help :-)
73 HB3XDC Gianni



Gianni - HB3XDC
WebSDR Lucerne
Sardinia SDR

Phil - NY4Q

I do not update GRUB. I activate rc.local, then just run this code at boot.

#!/bin/bash
#
sh -c 'echo 1024 > /sys/module/usbcore/parameters/usbfs_memory_mb'
#

But I think you may have worse issues than just a GRUB problem.

hb3xdc

Got now a fresh install of Ubuntu and the same issue
Gianni - HB3XDC
WebSDR Lucerne
Sardinia SDR

Phil - NY4Q

Gianni,

Do you have a different OS to try the RX-888 on to see how it behaves?

hb3xdc

atm not, but I could install it, what do you use?


Btw, in syslog i found how it looks when i disconnect power and all works after:

Dec 28 22:30:20 sdr-srv01 kernel: [    1.054652] usb: port power management may be unreliable
Dec 28 22:30:20 sdr-srv01 kernel: [    1.308602] usb 1-3: new high-speed USB device number 2 using xhci_hcd
Dec 28 22:30:20 sdr-srv01 kernel: [    1.457847] usb 1-3: New USB device found, idVendor=04b4, idProduct=00f3, bcdDevice= 1.00
Dec 28 22:30:20 sdr-srv01 kernel: [    1.457862] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dec 28 22:30:20 sdr-srv01 kernel: [    1.457869] usb 1-3: Product: WestBridge
Dec 28 22:30:20 sdr-srv01 kernel: [    1.457874] usb 1-3: Manufacturer: Cypress
Dec 28 22:30:20 sdr-srv01 kernel: [    1.457879] usb 1-3: SerialNumber: 0000000004BE
Dec 28 22:30:20 sdr-srv01 kernel: [    1.584568] usb 1-13: new full-speed USB device number 3 using xhci_hcd
Dec 28 22:30:20 sdr-srv01 kernel: [    1.740560] usb 1-13: New USB device found, idVendor=8510, idProduct=13ab, bcdDevice= 1.00
Dec 28 22:30:20 sdr-srv01 kernel: [    1.740575] usb 1-13: New USB device strings: Mfr=1, Product=2, SerialNumber=3

and how it looks if I do sudo reboot and it wont boot / or wont show rx888

Dec 28 22:17:58 sdr-srv01 kernel: [    1.045542] usb: port power management may be unreliable
Dec 28 22:17:58 sdr-srv01 kernel: [    1.304621] usb 1-3: new high-speed USB device number 2 using xhci_hcd
Dec 28 22:17:59 sdr-srv01 kernel: [    6.588529] usb 1-3: device descriptor read/64, error -110
Dec 28 22:18:15 sdr-srv01 kernel: [   22.204810] usb 1-3: device descriptor read/64, error -110
Dec 28 22:18:15 sdr-srv01 kernel: [   22.440668] usb 1-3: new high-speed USB device number 3 using xhci_hcd
Dec 28 22:18:20 sdr-srv01 kernel: [   27.580844] usb 1-3: device descriptor read/64, error -110
Dec 28 22:18:36 sdr-srv01 kernel: [   43.196901] usb 1-3: device descriptor read/64, error -110
Dec 28 22:18:36 sdr-srv01 kernel: [   43.304987] usb usb1-port3: attempt power cycle
Dec 28 22:18:36 sdr-srv01 kernel: [   43.716777] usb 1-3: new high-speed USB device number 4 using xhci_hcd
Dec 28 22:18:47 sdr-srv01 kernel: [   54.540777] usb 1-3: device not accepting address 4, error -62
Dec 28 22:18:47 sdr-srv01 kernel: [   54.668775] usb 1-3: new high-speed USB device number 5 using xhci_hcd
Dec 28 22:18:57 sdr-srv01 systemd-udevd[281]: usb1: Worker [282] processing SEQNUM=3059 is taking a long time
Dec 28 22:18:58 sdr-srv01 kernel: [   65.292775] usb 1-3: device not accepting address 5, error -62
Dec 28 22:18:58 sdr-srv01 kernel: [   65.293006] usb usb1-port3: unable to enumerate USB device
Gianni - HB3XDC
WebSDR Lucerne
Sardinia SDR

Phil - NY4Q

I have a Win11 PC and an Ubuntu 22 PC here at home.

Do you have the latest firmware (BIOS) installed on the HP PC?

hb3xdc

Yes have latest BIOS installed, and also tried with older version, idk but maybe some bug in kernel? I have 6.5.0-35-generic
Gianni - HB3XDC
WebSDR Lucerne
Sardinia SDR

Phil - NY4Q

Also, I have a PCI USB3 card that I run the RX-888 on. Do you not have a different system (hardware) to try the RX-888 on?

hb3xdc

Unfortunately both PCs I have here, have identical setup :-(

It worked without any issue since September.
Issues for me started in early december when i updated the system, some days later it was booted multiple times due to power grid issues which we have in sardinia quite often when its stormy weather, after this it did not boot anymore, as I saw today, it hang in an kind of endless loop while booting cause of this usb issue, as soon as i unplugged rx888 the host starded up again
Gianni - HB3XDC
WebSDR Lucerne
Sardinia SDR

Phil - NY4Q

Not good. It sounds like the RX-888 has the issue.

hb3xdc

also at home in Switzerland I have my home setup and two other OMs who I know using same hp pc who don't have issue like this (although they have not installed newest updates)
I hoped to run well with this tiny pc, as I got a bunch of them at my workplace, but looks like now they're making troubles
Gianni - HB3XDC
WebSDR Lucerne
Sardinia SDR

Phil - NY4Q

Yeah, I can't help but think the USB3 system is misbehaving on the HP or the RX-888 has an issue. I am hoping for you it is the HP.

hb3xdc

Ig it must be the HP USB, as I now tried 3 different RX888 and all behave the same
Gianni - HB3XDC
WebSDR Lucerne
Sardinia SDR

Bas ON5HB

#13
I think you connected to an USB 2.0 port and not an USB 3.0 port.

Look in your dmesg, it talkes about Hi-Speed USB....

QuoteUSB 1.x: 1.5 Mbps (Low Speed) en 12 Mbps (Full Speed)
• USB 2.0: 480 Mbps (High Speed)
• USB 3.0/3.1/3.2: 5 Gbps, 10 Gbps, en 20 Gbps (SuperSpeed en SuperSpeed+)
• USB4: 40 Gbps

That means USB 2.0....it should talk about SuperSpeed(+)...

So when the RX888 is initialized the receiver goes to USB 3.0 mode and ofcourse an USB 2.0 port can't do anything with it.
As such it's gone.

Your HP PC has USB 2.0 AND USB 3.0 ports.

Ergo, you use the wrong port or your ports are not running as USB 3.0 port, the last can be an BIOS setting, limiting it to USB 2.

Look at the below picture....and check the labels on the ports:

You cannot view this attachment.
Best regards,

Bas ON5HB

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

hb3xdc

Hi Bas,

Thanks for your input, ofc its connected to usb 3.0 Port and those are active in BIOS.

I found out now some interesting behaviour:

Connect 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.

If I cut power and do an cold start its again in DFU mode and you should not reboot before starting PhantomSDR once.

Forutnately I have a remote switchable power plug and BIOS configured to do Boot to SSD after Power loss
Gianni - HB3XDC
WebSDR Lucerne
Sardinia SDR

Powered by EzPortal