![]() |
[QUOTE=M344587487;520990]powertop is worth a shot if it works, on my laptop it can disable controllers for USB, ethernet, SATA and other PCI devices.[/QUOTE]
I'm afraid powertop is Intel-only (not even AMD as far as I understand). |
[QUOTE=ldesnogu;520991]I'm afraid powertop is Intel-only (not even AMD as far as I understand).[/QUOTE]
It started as an intel thing but that's the beauty of open source: [quote][B]PowerTOP[/B] is a software [URL="https://en.wikipedia.org/wiki/Utility_software"]utility[/URL] designed to measure, explain and minimise a computer's [URL="https://en.wikipedia.org/wiki/Electric_power"]electrical power[/URL] consumption. It was released by [URL="https://en.wikipedia.org/wiki/Intel"]Intel[/URL] in 2007 under the [URL="https://en.wikipedia.org/wiki/GNU_General_Public_License"]GPLv[/URL]2 license. It works for [URL="https://en.wikipedia.org/wiki/Intel"]Intel[/URL], [URL="https://en.wikipedia.org/wiki/Advanced_Micro_Devices"]AMD[/URL], [URL="https://en.wikipedia.org/wiki/ARM_architecture"]ARM[/URL] and [URL="https://en.wikipedia.org/wiki/UltraSPARC"]UltraSPARC[/URL] [URL="https://en.wikipedia.org/wiki/Processors"]processors[/URL][/quote] |
Okay I assumed wrong earlier, that it's x86 and CPU only... Well, it happens to be available on that Gentoo 64-bit image, but unfortunately none of the Tunables make any difference to the current consumption.
|
If you don't mind feeling around in the dark you could try a modified version of a suggestion from here: [URL]https://stackoverflow.com/questions/23487728/ethernet-disabling-in-raspberry-pi[/URL]
Namely: [quote]Disabling an ethernet interface actually doesn't power down the hardware. You have to disable the chip via bus power. But I'm afraid, that the same chip which contains the ethernet driver also contains the USB driver. See this question on [URL="https://raspberrypi.stackexchange.com/questions/8498/disable-lan9512"]raspberrypi.stackexchange.com[/URL]. There is different chip (LAN9512) discussed, but disabling it should be same. I just wonder why you have different chip, maybe different Raspberry Pi's revision? So to power down the chip, just write 0 to the file /sys/devices/platform/bcm2708_usb/buspower:[/quote]If this even applies the pi4 will have different chips (and I assume they no longer have a unified USB/ethernet chip), so list the contents of /sys/devices/platform, figure out which are for ethernet, USB and whatever else is unnecessary and see if they can be disabled. |
[QUOTE=M344587487;520997]
If this even applies the pi4 will have different chips (and I assume they no longer have a unified USB/ethernet chip), so list the contents of /sys/devices/platform, figure out which are for ethernet, USB and whatever else is unnecessary and see if they can be disabled.[/QUOTE] Yeah the Pi4 has Ethernet on the SoC now, and USB (and only USB) is handled by the external VL805 chip, that just got the firmware update. But anyway, poking around, I only found [C]/sys/devices/platform/soc/fe980000.usb/buspower[/C] that I could write to, and writing a zero to it didn't have any effect on current consumption. So probably that isn't the VL805 but something else, then. There's supposed to be USB 2.0 functionality on the SoC so maybe that's it. Some other power controls only suspend 5V power to the USB ports if they're not in use. But again, maybe some things are not yet accessible in the kernel version that the Gentoo build is using. Let's see on the Raspbian side. There's certainly extra stuff visible on Raspbian, under [C]/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0[/C] but I think none of that applies either for disabling the whole module... |
| All times are UTC. The time now is 04:26. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.