Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound on a powerbook
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
jsegel
n00b
n00b


Joined: 22 May 2004
Posts: 27
Location: Oakland, CA

PostPosted: Fri Jun 25, 2004 7:51 pm    Post subject: Reply with quote

i'm still having trouble. running kernel-2.6.7-r6 now, still same problems: alsamixer only allows adjustment of the master, pcspeaker and capture, but the only sound that will come out of xmms alsa hw:0,0 is through the headphone jack, and very quiet.
jack only starts with jackd, not with jackstart, and then give an endless stream of xruns. :cry:
_________________
flap...
9 days later: "#&@*!% chaos butterfly!"
Back to top
View user's profile Send private message
kmarple1@hotmail.com
n00b
n00b


Joined: 04 Jun 2004
Posts: 50

PostPosted: Mon Jun 28, 2004 6:11 am    Post subject: Reply with quote

/etc/modules.d/alsa:
Code:

# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.1 2003/08/05 21:07:55 johnm Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
 alias snd-card-0 snd-powermac
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
 alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1


lsmod:
Code:

bash-2.05b$ lsmod
Module                  Size  Used by
snd_pcm_oss            64584  0
sungem                 34788  0
sungem_phy              9856  1 sungem
i2c_dev                12512  0
snd_mixer_oss          22144  1 snd_pcm_oss
i2c_keywest            11396  0
snd_powermac           42800  0
snd_pcm               117272  2 snd_pcm_oss,snd_powermac
snd_page_alloc         12840  1 snd_pcm
snd_timer              28164  1 snd_pcm
snd                    69592  5 snd_pcm_oss,snd_mixer_oss,snd_powermac,snd_pcm,snd_timer
soundcore              11428  1 snd
Back to top
View user's profile Send private message
Immortal Q
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 241
Location: Silicone Valley

PostPosted: Mon Jun 28, 2004 6:56 am    Post subject: Reply with quote

jsegel wrote:
i'm still having trouble. running kernel-2.6.7-r6 now, still same problems: alsamixer only allows adjustment of the master, pcspeaker and capture, but the only sound that will come out of xmms alsa hw:0,0 is through the headphone jack, and very quiet.
jack only starts with jackd, not with jackstart, and then give an endless stream of xruns. :cry:


I'm in the same boat with ALSA - haven't tried jack because it wouldn't emerge, so I'll fiddle with that later. On my machine, I have a "Headphone Detection" channel/thing that shows up in alsamixer and amixer but seems to want to stay muted. Another interesting note - sound coming out of my headphone jack is always at max - no alsamixer levels seem to make any difference. Almost like it's circumventing the mixer completely. Are you running udev like I am?
_________________
Osmos.org
Now with 20% fewer rabid primates.
Back to top
View user's profile Send private message
jsegel
n00b
n00b


Joined: 22 May 2004
Posts: 27
Location: Oakland, CA

PostPosted: Mon Jun 28, 2004 7:11 am    Post subject: Reply with quote

not udev, running devfs.
which meant actually downloading alsa sources to get the snddevices script to run. p i t a.
_________________
flap...
9 days later: "#&@*!% chaos butterfly!"
Back to top
View user's profile Send private message
Immortal Q
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 241
Location: Silicone Valley

PostPosted: Mon Jun 28, 2004 7:54 am    Post subject: Reply with quote

Well - I don't have that bk6 patch applied to my kernel, and that AWACS/snapper sound device patch looks like it applies to me, as I have a brand new Aluminum PB and it's sound chip identifies (to alsa, anyway) as an AWACS. I'll try applying the patch - does anyone know when it'll make it into the gentoo-sources? I might just wait for that, as my last attempt at one of these big kernel patches didn't go well, to say the least ("It's fine if 10 hunks failed... right?")
_________________
Osmos.org
Now with 20% fewer rabid primates.
Back to top
View user's profile Send private message
jaspal kallar
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 194
Location: Sweden

PostPosted: Mon Jun 28, 2004 1:07 pm    Post subject: Reply with quote

kmarple1@hotmail.com, you wrote (thanks for the info!):

Code:
lsmod:
Code:

bash-2.05b$ lsmod
Module                  Size  Used by
snd_pcm_oss            64584  0
sungem                 34788  0
sungem_phy              9856  1 sungem
i2c_dev                12512  0
snd_mixer_oss          22144  1 snd_pcm_oss
i2c_keywest            11396  0
snd_powermac           42800  0
snd_pcm               117272  2 snd_pcm_oss,snd_powermac
snd_page_alloc         12840  1 snd_pcm
snd_timer              28164  1 snd_pcm
snd                    69592  5 snd_pcm_oss,snd_mixer_oss,snd_powermac,snd_pcm,snd_timer
soundcore              11428  1 snd



My question: do you load certain modules before others (eg, snd-powermac before i2c_keywest) to get sound to work ? If so which one's and in what order? I remember reading somewhere that loading the modules in a certain order was important, hence my question.
Back to top
View user's profile Send private message
kmarple1@hotmail.com
n00b
n00b


Joined: 04 Jun 2004
Posts: 50

PostPosted: Mon Jun 28, 2004 2:07 pm    Post subject: Reply with quote

I can check, but I honestly don't know. I just know that it works, and I'm SO happy that it works. Where do I find the modules order again?
Back to top
View user's profile Send private message
jaspal kallar
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 194
Location: Sweden

PostPosted: Mon Jun 28, 2004 4:13 pm    Post subject: Reply with quote

I suppose if it just works then you didn't do anything special with regards to module loading. My guess is too look in
Code:
less /etc/modules.autoload.d/kernel-2.6


to see if you put anything there (I'm assume you use 2.6 kernel and not kernel 2.4)

I suppose to have started alsa at boot time (?) via the command you gave as
Code:
rc-update add alsasound boot


You can check this by doing
Code:
rc-update show| grep alsa


Thanks so far for posting your information!
Back to top
View user's profile Send private message
kmarple1@hotmail.com
n00b
n00b


Joined: 04 Jun 2004
Posts: 50

PostPosted: Tue Jun 29, 2004 9:31 pm    Post subject: Reply with quote

rc-update show| grep alsa:

Code:
alsasound | boot



less /etc/modules.autoload.d/kernel-2.6

Code:
sungem
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
Goto page Previous  1, 2
Page 2 of 2

 
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