Disabling wifi, bt, hdmi, etc on a Cubietruck

Cubietruck related support

Disabling wifi, bt, hdmi, etc on a Cubietruck

Postby Gregorius » 14 Jan 2017, 22:51

Good evening,

since a couple of weeks im using RuneAudio (0.3-beta) on my Cubietruck, to listen to music. Its connected via S/PDIF toslink to a Schiit Modi Uber > Schiit Vali 2 > headphone. My music library is on a NAS with an NFS share via LAN.

In an attempt to reduce the noise from the powersource (5V switching ac/dc powersupply) i started using a lithium polymer battery (from Olimex https://www.olimex.com/Products/Power/BATTERY-LIPO6600mAh/) to power the cubietruck. This works quite well, after modifying the fex file to the 6600mAh of the battery.

What im wondering is, which modules in the fex file are safe to disable to not affect audio playback (via s/pdif)?
My goal is to disable as many unused functions to save battery time and maybe reduce noise added to the audio signal by these unused chips. Rune keeps functioning if i disable [wifi_para], [bt_para], [ir_para], [sata_para], [hdmi_para], [tvout_para] and [mali_para]. I'm not an advanced (Arch)Linux user, so i dont know what the effects are on the OS. I noticed a little longer boot time when i disabled [hdmi_para], [tvout_para] and [mali_para].

Thanks in advance, any tips / knowledge is welcome.

Greetings, Gregorius
Gregorius
 
Posts: 2
Joined: 14 Jan 2017, 20:45
Location: Netherlands

Re: Disabling wifi, bt, hdmi, etc on a Cubietruck

Postby hondagx35 » 14 Jan 2017, 23:34

Hi Gregorius,

What im wondering is, which modules in the fex file are safe to disable to not affect audio playback (via s/pdif)?

All your modifications should not effect audio.

I noticed a little longer boot time when i disabled [hdmi_para], [tvout_para] and [mali_para].

I think the longer boot time comes from disabling wifi.
Please try:
- ssh to your device
- execute
Code: Select all
systemctl disable netctl-auto@wlan0


Frank
User avatar
hondagx35
Moderator
 
Posts: 2411
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Disabling wifi, bt, hdmi, etc on a Cubietruck

Postby Gregorius » 16 Jan 2017, 23:11

Hi,

The mod you proposed is working, startup time is shorter now, thanks Frank.

For reference, i disabled the following modules in the script.bin file:

Graphics chip:
Code: Select all
[mali_para]
mali_used = 0


Displays:
Code: Select all
[disp_init]
disp_init_enable = 0

[lcd0_para]
lcd_used = 0

[tv_out_dac_para]
dac_used = 0

[hdmi_para]
hdmi_used = 0

[tvout_para]
tvout_used = 0

Sata:
Code: Select all
[sata_para]
sata_used = 0

Wifi:
Code: Select all
[wifi_para]
wifi_used = 0


Bluetooth:
Code: Select all
[bt_para]
bt_used = 0


Infrared sensor:
Code: Select all
[ir_para]
ir_used =  0


No problems playing music, Runeaudio is as fast and resposive as before. Testing battery-life improvements atm.

Gregorius
Gregorius
 
Posts: 2
Joined: 14 Jan 2017, 20:45
Location: Netherlands

support RuneAudio Donate with PayPal


Return to Cubietruck

Who is online

Users browsing this forum: No registered users and 0 guests