r/voidlinux • u/weaklingoverlord • Jul 18 '26
Help with disabling USB autosuspend
- Kernel: 7.1.3_1
- Sway
- System up to date.
cat /proc/cmdline:
loglevel=4 rd.lvm=0 rd.dm=0 rd.md=0 rd.luks=0 delayacct nowatchdog quiet usbcore.autosuspend=-1 bgrt_disable consoleblank=59 init_on_free=1 init_on_alloc=1
cat /sys/bus/usb/devices/2-3/power/autosuspend:
-1
cat /sys/bus/usb/devices/2-3/power/autosuspend_delay_ms:
-1000
The kernel cmdline has no effect (USB HDD sleeps after ~3min).
1
Upvotes
1
u/weaklingoverlord Jul 18 '26
[hdparm -B] reports a 128 [Values from 1 to 127 permit spin-down, whereas values from 128 to 254 do not - cf. arch-wiki].
Does not seem to work for this USB HDD.
Maybe autosuspend is hardcoded in the firmware/hardware and totally ignores any kernel/software settings?
1
u/[deleted] Jul 18 '26
https://wiki.archlinux.org/title/Power_management#USB_autosuspend
Or you can set something like 10000s if it is OK for you.
1
u/Hark0nnen Jul 18 '26
This is most likely a disk behavior and not a kernel/USB one