Go to advanced search

by barthawk
Tue Jun 21, 2016 7:15 am
Forum: Raspbian
Topic: /etc/inittab no longer present in Raspbian Jessie?
Replies: 37
Views: 90353

Re: /etc/inittab no longer present in Raspbian Jessie?

Thanks for the suggestion, I checked the config.txt file and enable_uart=1 was already in the file, but there is still no /dev/ttyAMA0 file when I boot. I'm, trying to write from a python script to the serial port. On my Pi Zero, the cmdline.txt doesn't refer to ttyAMA0, but serial0 which is linked ...
by barthawk
Tue Jun 21, 2016 6:34 am
Forum: Raspbian
Topic: /etc/inittab no longer present in Raspbian Jessie?
Replies: 37
Views: 90353

Re: /etc/inittab no longer present in Raspbian Jessie?

Is there a way to get /dev/ttyAMA0 back if we disable serial consoles in raspi-config?
by barthawk
Fri Jan 29, 2016 6:58 pm
Forum: Advanced users
Topic: Turn off Raspberry Pi Zero USB/Wifi
Replies: 11
Views: 6616

Re: Turn off Raspberry Pi Zero USB/Wifi

Thanks Mikerr. My experience, which sounds similar to yours, is that when trying to troubleshoot problems is that an LED indicator can save a lot of time. So, I think I will pay the 2 ma penalty ;)
by barthawk
Fri Jan 29, 2016 6:18 pm
Forum: Advanced users
Topic: Turn off Raspberry Pi Zero USB/Wifi
Replies: 11
Views: 6616

Re: Turn off Raspberry Pi Zero USB/Wifi

I think the suggestion from mikerr is good enough for my needs. It appears that is has the same effect on the current draw as unplugging the wifi module from USB. From what I gather it puts the USB to sleep in a very low power state. Do you think there would be additional power savings by cutting th...
by barthawk
Fri Jan 29, 2016 1:02 am
Forum: Advanced users
Topic: Turn off Raspberry Pi Zero USB/Wifi
Replies: 11
Views: 6616

Re: Turn off Raspberry Pi Zero USB/Wifi

The following will completely turn off usb for 10 seconds, then turn it back on again: echo 0 | sudo tee /sys/devices/platform/soc/20980000.usb/buspower >/dev/null sleep 10 echo 1 | sudo tee /sys/devices/platform/soc/20980000.usb/buspower >/dev/null (Run it in a script as you'll lock yourself out o...
by barthawk
Thu Jan 28, 2016 11:57 pm
Forum: Advanced users
Topic: Turn off Raspberry Pi Zero USB/Wifi
Replies: 11
Views: 6616

Re: Turn off Raspberry Pi Zero USB/Wifi

Code: Select all

iwconfig wlan0 txpower off
You can turn it back on with

Code: Select all

iwconfig wlan0 txpower auto
by barthawk
Thu Jan 28, 2016 7:28 pm
Forum: Advanced users
Topic: Turn off Raspberry Pi Zero USB/Wifi
Replies: 11
Views: 6616

Re: Turn off Raspberry Pi Zero USB/Wifi

rpdom wrote:Can you turn the interface tx power off using iwconfig? That should save a fair bit.
Thanks! That worked pretty well. Dropped the current from 0.19 A to .10 A at idle. That should be plenty.

Bart
by barthawk
Thu Jan 28, 2016 6:31 pm
Forum: Advanced users
Topic: Turn off Raspberry Pi Zero USB/Wifi
Replies: 11
Views: 6616

Turn off Raspberry Pi Zero USB/Wifi

I'm using a Raspberry PI Zero in an underwater container with a BerryIMU to log acceleration data. The system will come up topside every couple of hours and I want to upload the data wirelessly to avoid having to open up the container. However, if I leave the wireless on all the time, the battery I ...

Go to advanced search