How did you do the update?that I updated to 5.2.8.7.
What specific version of 5.2.8.7?
How did you do the update?that I updated to 5.2.8.7.
This is how I create the missing device nodes :rswain wrote:Hi,
I have 2x5.2.8.5 full hd installations that I updated to 5.2.8.7.
On both /dev/snd is not populated so alsamixer and aplay do not work giving segment errors for aplay and empty window for alsamixer.
I have checked the module is loaded OK on both machines and /proc entries are ok. The configuration appears to be successful but the udev section where the /dev/snd entries are created appears not to work.
I suspect a change to rules.d or a library change.
Anyone have any ideas.
Thanks
Code: Select all
###<KRG>
mkdir -p /dev/snd
D=`find /sys -type d -name "*sound*"`
POOL=''
for i in $D ; do
##echo $i ;
DEV=`find $i -type f -name "dev" -exec echo -n {}@ \; -exec cat {} \; | tr ':' '@' -exec echo \; ` ;
POOL="$POOL $DEV" ;
done
POOL=`echo $POOL | rev`
for i in $POOL ; do
NODE=`echo $i | cut -f 3 -d '@'`
NODE=`echo $NODE | rev`
NODE=`basename $(dirname $(echo $NODE) )`
MAJ=`echo $i | cut -f 2 -d '@'`
MAJ=`echo $MAJ | rev`
Min=`echo $i | cut -f 1 -d '@'`
Min=`echo $Min| rev`
echo "$NODE" "$MAJ" "$Min"
rm -f /dev/$NODE
mknod /dev/$NODE c $MAJ $Min
rm -f /dev/snd/$NODE
mknod /dev/snd/$NODE c $MAJ $Min
done
###</KRG>
if [ -f /etc/asound.state ] ; then
alsactl -f /etc/asound.state restore #from /etc/asound.state.
else
#try and set all levels workable...
#set_mixers #in functions4puppy4
amixer -s -q <<EOF