View Full Version : sound card powerbook 15 with FC6 and latest kernel
atomik
2006-11-28, 03:08 AM CST
Hi,
with last kernel update, i lost sound..
I found this on messages log:
Nov 28 10:53:01 moon kernel: snd-powermac no longer handles any machines with a layout-id property in the device-tree, use snd-aoa.
but if i change snd-powermac with snd-aoa sound still not present.
another log found on messages (pbbuttonsd):
Nov 28 10:53:06 moon pbbuttonsd: WARNING: Card 'default' has no 'PC Speaker' element.
atomik
2006-11-28, 09:20 AM CST
Anyone can tell me if the follow configuration file is the same as default configuration?
This is my udev-stw.modules :
[root@moon etc]# cat sysconfig/modules/udev-stw.modules
#!/bin/sh
for i in nvram floppy parport lp snd_powermac;do
modprobe $i >/dev/null 2>&1
done
And this is my modprobe.conf :
alias net-pf-10 off
alias ipv6 off
alias eth0 sungem
alias eth1 bcm43xx
alias snd-card-0 snd-powermac
options snd-card-0 index=0
options snd-powermac index=0
remove snd-powermac { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-powermac
ppesci
2006-11-30, 01:00 AM CST
I check in my powerbook the file contents:
udev-stw.modules is the same, but i did a trick for sound work:
I put a # for coment in this line:
#remove snd-powermac { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-powermac
and in my rc.local file i add 1 line:
modprobe snd-powermac
Thats all and worked for me.
HTH
Pietro Pesci Feltri
atomik
2006-11-30, 05:28 AM CST
Thanks for the reply, for me this trick doesn't work...
Your kernel version?
atomik
2006-11-30, 06:56 AM CST
With some change to your trick, now it work!
This is my configuration file:
[root@moon etc]# cat sysconfig/modules/udev-stw.modules
#!/bin/sh
for i in nvram floppy parport lp snd_aoa;do
modprobe $i >/dev/null 2>&1
done
Note the underscore in snd_aoa
And this is my modprobe.conf :
#To disable ipv6
alias net-pf-10 off
alias ipv6 off
#Network interface
alias eth0 sungem
alias eth1 bcm43xx
#Sound
alias snd-card-0 snd-aoa
options snd-card-0 index=0
options snd-aoa index=0
#Comment out this ( Thanks to ppesci for this trick )
#remove snd-powermac { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-powermac
Comment out this on /etc/modprobe.conf.local (i don't remeber if it default values):
#alias snd-powermac snd-aoa
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.