Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
snd-intel8x0, ALSA and no dice
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
phdfreddied
n00b
n00b


Joined: 27 Jun 2004
Posts: 15

PostPosted: Sun Jan 30, 2005 2:48 pm    Post subject: snd-intel8x0, ALSA and no dice Reply with quote

I have used ALSA quite a fair amount before, and after a little kicking, it almost always works. However, after a recent incident (college life, nuff said). My computer was shut down manually... that is to say the power lead was removed from the surge protector. (Retribution was exacted). After retrieving the lead and beating the offender with it, several times, I went to work restoring the system. Damage was more than I expected, but it's my fault for using xfs (and no, I won't change it). Most damage was fixed with xfs_repair, but I still had to recompile the kernel, and now ALSA doesn't work. Not even a smidge. I know that the speakers are plugged in, because when I mute and unmute I get a ''thud'' from the speakers. I believe that alsa is correctly set up, because
Code:
alsamixer -c 0
brings up my primary sound card. However, on attempted playback: no dice. So, can anyone help me? Kick me in the right direction? I am thoroughly unconvinced that the sound card could have been damaged with a single poweroff, but you never know.

Freddie
Back to top
View user's profile Send private message
Arainach
l33t
l33t


Joined: 08 Jul 2004
Posts: 609

PostPosted: Sun Jan 30, 2005 3:29 pm    Post subject: Reply with quote

Do you have ALSA compiled sa a module or into your kernel? What do your /etc/asound.conf and .asoundrc files look like?

Also, emerge alsamixergui or gnome-alsa-mixer and make sure your main volume and PCM aren't muted or anything if you haven't already.
_________________
Gentoo: Stage3 w/ NPTL & udev, gcc 3.4.4 full rebuild
Kernel: 2.6.15-gentoo-r1 w/ 1G-Lowmem Patch
System: Athlon XP 2.2Ghz/1GB Corsair Value/160GB, 250GB WD IDE/128MB GeForce 6800/Sony 17" Trinitron G200 @ 1280x1024x75Hz
Back to top
View user's profile Send private message
phdfreddied
n00b
n00b


Joined: 27 Jun 2004
Posts: 15

PostPosted: Tue Feb 01, 2005 4:24 pm    Post subject: alsa Reply with quote

It's compiled as a module, my .asoundrc is attached at the bottom. I have alsamixer installed, and I consider myself adept with its limited functions. Still tinkering though, and I appreciate any suggestions.

Code:

pcm.ossmix {
    type dmix
    ipc_key 1021          # must be unique!
    slave {
        pcm "hw:0,0"
        period_time 0
        period_size 1024  # must be power of 2
        buffer_size 8192  # dito. It
        #format "S32_LE"
        #periods 128      # dito.
        rate 48000
    }

# bindings are cool. This says, that only the first
# two channels are to be used by dmix, which is enough for
# (most) oss apps and also lets multichannel chios work
# much faster:

    bindings {
        0 0   # from 0 => to 0
        1 1   # from 1 => to 1
    }
}

# Redirect to ossmix
pcm.!default {
    type plug
    slave.pcm "ossmix"     # use our new PCM here
}

# Redirect to ossmix
pcm.dsp0 {
    type plug
    slave.pcm "ossmix"     # use our new PCM here
}

# mixer0 like above
ctl.mixer0 {
    type hw
    card 0
}
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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