Tiny Core Base > piCore Test Releases

piCore 6.0 rc1

<< < (4/9) > >>

jgrulich:
Hi Gerrelt,


--- Quote from: Gerrelt on December 31, 2014, 02:39:32 PM ---One thing I noticed: If I change the volume through alsamixer, the setting isn't saved.
Do I have to add some config file to filetools.lst? I will investigate further.

--- End quote ---

The backup and restore of the ALSA state need to be done this way:

--- Code: (bash) ---sudo alsactl store

--- End code ---
This saves the complete setting of the ALSA module including the volumes of all the sound cards in the /var/lib/alsa directory.

Than add this line to the /opt/.filetool.lst

--- Code: (bash) ---var/lib/alsa

--- End code ---
This saves the ALSA state every shutdown.

Finaly need to be loaded the ALSA state during startup:

Add this line to the /opt/bootlocal.sh:

--- Code: (bash) ---alsa restore

--- End code ---

That's all.

Gerrelt:
Hi Fany,

 Yes! Thanks, that worked.  8)

There is a small typo in your instructions. The command that has to be added to bootlocal.sh is alsactl .
I've added this to bootlocal:

--- Code: ---alsactl restore
--- End code ---

Greetings,

   Gerrelt.

jgrulich:
I've tried to make the automatic store of the ALSA state during shutdown / reboot.
I have the link

--- Code: (bash) ---alsactl store

--- End code ---
at the beginning of the /opt/shutdown.sh file, but the ALSA state is not stored. Seems that this file is executed after the /opt/ /home/ directories backup and therefor the state file is not saved correctly. Is there some other way how to do so?

meo:
Hi bm!

I've tried the X version of piCore 6.0 rc1 with wifi and my Netgear wifi adapter works just as before. I had in mind to compile GO in piCore so I installed compile-essentials but I ran in to a problem. The compiler (gcc) can't be found. It seems that the path to it hasn't been set. I would really like some help here go get it working. Thanks for a good work!

Kind greetings,
meo

meo:
Hi again!

Sorry, my bad! I had it ondemand so no wonder it couldn't be found. However I ran into another problem. A dependency that is needed - linux/limits.h - so I still can use some help. I've compiled GO in the latest Raspbian and it went without problems. But in piCore I certainly can use some help since I haven't a clue what linux/limits.h is.

Kindest Greetings,
meo

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version