usb powersaving mode?

usb powersaving mode?

Postby matt_max » Thu Mar 07, 2024 7:37 pm

Hi guys,
After completing the last update (18.3) my NAS got some odd behavior. The front USB port switches off after a while. If I reboot NAS port works for a while. There is nothing in dmesg:
Code: Select all
[   23.906168] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   24.107197] usb 1-1: New USB device found, idVendor=0e8d, idProduct=201c
[   24.116546] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   24.123665] usb 1-1: Product: Retroid Pocket 4 Pro
[   24.144170] usb 1-1: Manufacturer: Moorechip
[   24.156201] usb 1-1: SerialNumber: JY202401020401307
[  359.181722] usb 1-1: USB disconnect, device number 2

I used it mainly to charge devices like phone on retroconsole. Now it is impossible.
echo "-1" > /sys/module/usbcore/parameters/autosuspend - do nothing
echo "on" > /sys/bus/usb/devices/usb1/power/control - nothing
Some kind of autosuspend? :thinking
matt_max
Donator VIP
Donator VIP
 
Posts: 124
Joined: Fri Apr 03, 2015 9:56 am
Location: Warsaw, Poland

Re: usb powersaving mode?

Postby fvdw » Thu Mar 07, 2024 9:49 pm

I need to check but if I remember well no changes were made in the kernel wrt suspend usb power. I will double check
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: usb powersaving mode?

Postby fvdw » Thu Mar 07, 2024 10:03 pm

checked kernel config but nothing changed on suspend kernel parameters. I will try if I can reproduce your issue.
After how many minutes does the power turns off ?
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: usb powersaving mode?

Postby fvdw » Thu Mar 07, 2024 10:52 pm

I could not reproduce your behavior. From what I read suspend may be initiated by the usb device itself ?? (not sure about that)
I connected a mobile phone to the port to charge it and still charging after half hour aloso power remained on when the hard disk entered standby mode :dontknow
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: usb powersaving mode?

Postby Jocko » Fri Mar 08, 2024 9:04 am

Hi

18.3 uses a new kernel image so I think it is worth to try to check if you still have the same behavior with the previous kernel version.

Then do
Code: Select all
plugout download-fw 5966
check if you have the same md5sum (2f791aece45389418973c103a88e64fb)
Code: Select all
md5sum /tmp/UIMAGE-414133-KIRKWOOD-1


And only if it is same value, overwrite the new kernel image on sda6
Code: Select all
dd if=/tmp/UIMAGE-414133-KIRKWOOD-1 of=/dev/sda6

Reboot only if you have no error with dd command.
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France


Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 2 guests