Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound not working with aoa driver but was before
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
jaspal kallar
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 194
Location: Sweden

PostPosted: Thu Apr 17, 2008 12:35 pm    Post subject: Sound not working with aoa driver but was before Reply with quote

I managed to make modules to get the sound working on my powermac G5 with the aoa driver but since about 2 months. perhaps more, the sound suddendly stopped working. At that time I was using the linux-2.6.22-gentoo-r5 kernel. Today I upgraded to the gentoo-sources-2.6.24-r3 kernel but I still get the same problem

I loaded the modules (via /etc/modules.autoload.d/kernel-2.6)
Code:
snd-aoa-fabric-layout
snd-aoa-i2sbus


instead of compiling into the kernel to get sound working and I don't start any alsa scripts on booting.

Doing lsmod gives:
Code:
Module                  Size  Used by
radeon                157816  2
nf_conntrack_ipv4      27864  17
xt_state                4256  17
nf_conntrack           91608  2 nf_conntrack_ipv4,xt_state
xt_limit                5468  1
xt_tcpudp               5288  12
ipt_LOG                 8908  10
iptable_filter          5792  1
ip_tables              28448  1 iptable_filter
x_tables               29472  5 xt_state,xt_limit,xt_tcpudp,ipt_LOG,ip_tables
snd_aoa_codec_tas      21488  0
snd_aoa_i2sbus         33756  0
snd_pcm               123284  1 snd_aoa_i2sbus
snd_page_alloc         15944  1 snd_pcm
snd_timer              37064  1 snd_pcm
snd_aoa_fabric_layout    19208  0
snd_aoa                28132  2 snd_aoa_codec_tas,snd_aoa_fabric_layout
snd_aoa_soundbus       11036  2 snd_aoa_i2sbus,snd_aoa_fabric_layout
snd                    95712  6 snd_aoa_codec_tas,snd_aoa_i2sbus,snd_pcm,snd_timer,snd_aoa_fabric_layout,snd_aoa
soundcore              12400  1 snd


Doing dmesg | grep aoa gives:
Code:

dmesg | grep snd
snd-aoa-fabric-layout: found bus with layout 36
snd-aoa-fabric-layout: Using PMF GPIOs
snd-aoa-codec-tas: found 'deq' node
snd-aoa-fabric-layout: can use this codec
snd-aoa-codec-tas: tas failed to initialise
snd-aoa: codec tas didn't init



Code:
 alsamixer
No mixer elems found


Looking at the Alsa guide then the following may help taken from 'menuconfig'
Code:
 
<M> Apple Onboard Audio driver                                                           
<M>   layout-id fabric                                                                   
<M>   support Onyx chip                                                                 
<M>   support TAS chips                                                                 
<M>   support Toonie chip                                                               
-M- Apple Soundbus support                                                               
-M-   I2S bus support


and
Code:

< > PowerMac (AWACS, DACA, Burgundy, Tumbler, Keywest)     



Code:

emerge --info
Portage 2.1.4.4 (default-linux/ppc/ppc64/2007.0/32bit-userland/970/pmac, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 ppc64)
=================================================================
System uname: 2.6.24-gentoo-r3 ppc64 PPC970, altivec supported
Timestamp of tree: Mon, 14 Apr 2008 17:33:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.3.5-r3, 2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O3 -mcpu=G5 -mabi=altivec -maltivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -mcpu=G5 -mabi=altivec -maltivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl alsa altivec berkdb cdparanoia cli cracklib crypt cups dri flac footmaticdb fortran gcc64 gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses network nls nptl nptlonly opengl openmp pam pcre perl ppc ppds pppd python readline reflection session spl ssl tcpd unicode usb xorg xv zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Ok let me know what other information you need? Like I say everything was working then it stopped.
Back to top
View user's profile Send private message
jaspal kallar
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 194
Location: Sweden

PostPosted: Wed Apr 23, 2008 4:48 pm    Post subject: Reply with quote

Hi again

Does anybody have any ideas?


Thanks

jaspal.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Apr 23, 2008 7:58 pm    Post subject: Reply with quote

No ideas, but it's failing on TAS insert. I'd report it as a kernel bug to Johannes or in the ALSA bugzilla.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Thu Apr 24, 2008 10:01 am    Post subject: Reply with quote

Quote:
I loaded the modules (via /etc/modules.autoload.d/kernel-2.6)


no need, udev will detect & load them for you.

Quote:
No ideas, but it's failing on TAS insert. I'd report it as a kernel bug to Johannes or in the ALSA bugzilla.


just in case it helps, i had similar problems and my workaround was compiling it in the kernel, that apparently did the trick ( which also solved my "alsa script hanging problem" since i switched to aoa ).

cheers
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
jaspal kallar
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 194
Location: Sweden

PostPosted: Fri Apr 25, 2008 6:02 pm    Post subject: Reply with quote

gringo wrote:
Quote:
I loaded the modules (via /etc/modules.autoload.d/kernel-2.6)


no need, udev will detect & load them for you.

Quote:
No ideas, but it's failing on TAS insert. I'd report it as a kernel bug to Johannes or in the ALSA bugzilla.


just in case it helps, i had similar problems and my workaround was compiling it in the kernel, that apparently did the trick ( which also solved my "alsa script hanging problem" since i switched to aoa ).

cheers


Problem solved, the sound back again. I compiled it in the kernel. Many thanks Gringo :)

jaspal
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum