carsten_h wrote: 
> I didn't saw it defined anywhere and when I look at it in the shell I am
> getting an empty string.

$kernel is one of the temporary substitutions available when a udev rule
is triggered - they're defined here: https://linux.die.net/man/7/udev

By the way, there was a bug in my 'imaketherules.sh' script - both of
the udev rules were missing their closing double-quote character, so the
rules would not trigger.  Fixed in the earlier post now.

carsten_h wrote: 
> I also have to restore the ALSA-settings with:
> > 
Code:
--------------------
  >   > sudo /usr/local/sbin/alsactl restore
--------------------
> > 
> in my script.
> 
> Is this something that can be included in this. I don't know when this
> is normally called. When I start the Pi with powered on speakers, it
> is done. So maybe there is more that should be done when switching on
> things later.

Ah, that's new to me - maybe because my ALSA settings are at their
default.  Something to be investigated for sure.


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113661

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to