View previous topic :: View next topic |
Author |
Message |
Nicholas.Walker n00b
Joined: 31 Dec 2004 Posts: 16 Location: Canada
|
Posted: Fri Mar 11, 2005 6:18 am Post subject: |
|
|
Code: |
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 23 [74%] [on]
Front Right: Playback 23 [74%] [on]
Simple mixer control 'Master Mono',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 21 [68%] [off]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 23 [74%] [off]
Front Right: Playback 23 [74%] [off]
Simple mixer control '3D Control - Center',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 15
Mono: 11 [73%]
Simple mixer control '3D Control - Depth',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 15
Mono: 11 [73%]
Simple mixer control '3D Control - Switch',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [on]
Front Right: Playback 0 [0%] [on]
Simple mixer control 'PCM Out Path & Mute',0
Capabilities:
Mono:
Simple mixer control 'Line',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 23 [74%] [off] Capture [off]
Front Right: Playback 23 [74%] [off] Capture [off]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 23 [74%] [off] Capture [on]
Front Right: Playback 23 [74%] [off] Capture [on]
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [off]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Mic Boost (+20dB)',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Mic Select',0
Capabilities:
Mono:
Simple mixer control 'Video',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 23 [74%] [off] Capture [off]
Front Right: Playback 23 [74%] [off] Capture [off]
Simple mixer control 'Phone',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 23 [74%] [off]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Playback AC97-SPSA',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 3
Mono: 2 [67%]
Simple mixer control 'PC Speaker',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 15
Mono: Playback 11 [73%] [off]
Simple mixer control 'Aux',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [off] Capture [off]
Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Mono Output Select',0
Capabilities:
Mono:
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 0 [0%] [on]
Front Right: Capture 0 [0%] [on]
Simple mixer control 'Mix',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Mix Mono',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'External Amplifier',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on] |
This is the output when I type amixer in the shell.
I think this is what i'm looking for in dmesg:
Advanced Linux Sound Architecture Driver Version 1.0.6 (Sun Aug 15 07:17:53 2004 UTC).
ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 5 (level, low) -> IRQ 5
PCI: Setting latency timer of device 0000:00:1f.5 to 64
ieee1394: Host added: ID:BUS[0-00:1023] GUID[5b4fc0003fffffff]
intel8x0_measure_ac97_clock: measured 49461 usecs
intel8x0: clocking to 48000
ALSA device list:
#0: Intel 82801DB-ICH4 with STAC9750/51 at 0xf4fff800, irq 5
That means my ALSA driver got loaded right?
This is all that appears in the lsmod list:
Module Size Used by
nvidia 3461980 14
snd_seq_device 6796 0
snd_mixer_oss 17728 0
tg3 81860 0
I have no errors, but no sound.[/code] |
|
Back to top |
|
|
Sheepdogj15 Guru
Joined: 07 Jan 2005 Posts: 430 Location: Backyard
|
Posted: Fri Mar 11, 2005 6:42 am Post subject: |
|
|
yes, if it's reported in dmesg, and amixer reports something other than "device not found" (not exact words ), then the Alsa driver is loaded. Therefore, the problem is in your windows manager(s).
oh yeah. and run alsamixer in the command line. this will open a gui-like mixer which you can use to set your volume levels. make sure your Master, Master Mono, and PCM volumes are unmuted and are turned up. (just don't turn PCM up all the way, on some systems that causes distortion!)
if alsamixer results in a "command not found" error, this means you have to emerge alsa-utils. then use alsamixer (alternatively, you could use amixer, but i like the UI for alsamixer better)
beyond that,i can't help too much. i know off hand that with kdebase, arts is a separate package and thus you probably have to emerge that itself. anything else, check teh Gentoo documentation, the documentation for the WM, or ask here.
Edit: Nick, i reread the output from amixer and i see something wrong:
Code: | Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [on]
Front Right: Playback 0 [0%] [on] |
this should be turned up. about 30-50% is alright. so, like i said run alsamixer and turn up PCM, and let us know if that fixes your problem.
Last edited by Sheepdogj15 on Fri Mar 11, 2005 6:50 am; edited 2 times in total |
|
Back to top |
|
|
Sheepdogj15 Guru
Joined: 07 Jan 2005 Posts: 430 Location: Backyard
|
Posted: Fri Mar 11, 2005 6:47 am Post subject: |
|
|
BTW, this is a general comment which might help you guys out: if you are using the alsa-driver package from portage, it breaks every time you recompile your kernel. i don't know why, something to do with modules. anyhoo, to fix it you will have to rerun "emerge alsa-driver" after every time you compile your kernel. it's a bit annoying, but it will save you neck-aches later on. |
|
Back to top |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Fri Mar 11, 2005 7:44 am Post subject: |
|
|
Actually not every time you recompile your kernel. It's every time you switch kernel versions, even between releases of the same kernel, like from 2.6.11-r1 to 2.6.11-r2. The same thing happens with video card drivers. And at least with the ATI video card drivers it's pretty obvious, it says "failed to load module fglrx." _________________ Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.
The Stage 1 on 3 Install |
|
Back to top |
|
|
Morimando Guru
Joined: 14 Feb 2005 Posts: 339 Location: Germany
|
Posted: Fri Mar 11, 2005 3:24 pm Post subject: |
|
|
Actually it was I who proposed him to use ACCEPT_KEYWORDS, so to see if it has been a problem with xmms and also because xmms-alsa hadn't been marked stable till uhm yesterday i think.
So the keywords where merley to make sure a) xmms-alsa is pulled in and b) a compatible xmms is pulled in. I wonder why xmms-alsa is now marked stable but still gives an annoying error (doesn't stop because of that, but errors are annoying) as long as one doesn't use xmms-unstable.. well for me the unstable versions are all working, including xmms-alsa,xmms-vorbis and main xmms, so that's why i thought he should give it a try.
However the PCM should solve the problem as soon as Nicholas turns it on, i forgot to let him post the output of amixer in ICQ but well, it was late ^^
@WeirDave still got errors or solved it?
@rebuild of alsa-driver: Only if the kernel-version is different, but well then you also need nvidia and ati remerged _________________ That young girl is one of the least benightedly unintelligent organic life forms it has been my profound lack of pleasure not to be able to avoid meeting.
-- Marvin |
|
Back to top |
|
|
Sheepdogj15 Guru
Joined: 07 Jan 2005 Posts: 430 Location: Backyard
|
Posted: Fri Mar 11, 2005 6:29 pm Post subject: |
|
|
a ha. it's no biggie. the ~x86 was out of the ordinary so for a bit it was my prime suspect.
strange, i've needed to emerge alsa-driver every time i changed my kernel. maybe my setup is moobarred? ah well. |
|
Back to top |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Fri Mar 11, 2005 9:34 pm Post subject: |
|
|
Sheepdogj15 wrote: | strange, i've needed to emerge alsa-driver every time i changed my kernel. maybe my setup is moobarred? ah well. |
Eh, having to re-emerge drivers only when I switch versions is just the way it's been for me. Might also be different with the alsa-driver. _________________ Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.
The Stage 1 on 3 Install |
|
Back to top |
|
|
Nicholas.Walker n00b
Joined: 31 Dec 2004 Posts: 16 Location: Canada
|
Posted: Fri Mar 11, 2005 11:41 pm Post subject: |
|
|
Nice it works now.
Seems compiling the drivers from the make menuconfig options did the trick. Thank you for all your help.
Nicholas |
|
Back to top |
|
|
Morimando Guru
Joined: 14 Feb 2005 Posts: 339 Location: Germany
|
Posted: Fri Mar 11, 2005 11:46 pm Post subject: |
|
|
Sure it wasn't the PCM-thing?
One more thing i discovered lately: One has to emerge the complete unstable XMMS branch to get the (marked as stable now!) xmms-alsa working. Else aclocal will keep giving errors and interrupting the compiling..maybe it's fixed when the next xmms is marked stable. _________________ That young girl is one of the least benightedly unintelligent organic life forms it has been my profound lack of pleasure not to be able to avoid meeting.
-- Marvin |
|
Back to top |
|
|
WeirDave Apprentice
Joined: 27 Nov 2003 Posts: 194 Location: Tampabay Florida
|
Posted: Sat Mar 12, 2005 7:22 pm Post subject: |
|
|
Sheepdogj15 wrote: | WeirDave, When you are not in X (KDE), at the bash prompt, type "amixer". let us know if you get any output, as that will tell us if the kernel itself is loading the driver and detecting the hardware. also:
Quote: | ## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
## |
in the above, i'd uncomment the second line, the one that says, "alias sound-slot-0 snd-card-0". while not necessary, it is needed for OSS compatibility.
) |
This seemed to work along with adjusting the levels in the alsamixer. Thanks for all your help guys! _________________ \\eir]>ave
http://www.weirdave.com &
http://aatrade.weirdave.com
Home of The Library and The eXpanse |
|
Back to top |
|
|
Sheepdogj15 Guru
Joined: 07 Jan 2005 Posts: 430 Location: Backyard
|
Posted: Sun Mar 13, 2005 4:19 am Post subject: |
|
|
excellent! |
|
Back to top |
|
|
Nicholas.Walker n00b
Joined: 31 Dec 2004 Posts: 16 Location: Canada
|
Posted: Sun Mar 13, 2005 6:03 am Post subject: |
|
|
Yeah, the PCM did the trick as well.
Now sound works, but only in root. I can't use su -c "xine", says it can't open display 0.0
It complains on startup that it can't find "unlink" in GLOBAL
in my normal user account xmms still complains that it can't find the ALSA 1.2.0 driver and mpg123 won't run either.
When I reboot or shutdown it says error stopping xdm. |
|
Back to top |
|
|
Sheepdogj15 Guru
Joined: 07 Jan 2005 Posts: 430 Location: Backyard
|
Posted: Sun Mar 13, 2005 6:20 am Post subject: |
|
|
Nicholas.Walker wrote: | Yeah, the PCM did the trick as well.
Now sound works, but only in root. I can't use su -c "xine", says it can't open display 0.0 |
sounds like a permissions issue. is your user account in the "audio" group? if not, you will want to add it. IIRC, this will do the trick:
Code: | # usermod -G audio usernick |
obviously, replace "usernick" with your user name. alternatively, see if your WM has an app you can use to mess with users/groups, and set it there.
Quote: | It complains on startup that it can't find "unlink" in GLOBAL
in my normal user account xmms still complains that it can't find the ALSA 1.2.0 driver and mpg123 won't run either.
When I reboot or shutdown it says error stopping xdm. |
i'm not sure what to do in these cases. someone else have an idea?
[edit] BTW, apparently you can't be logged in as the user you are changing, so (gasp) you may have to log in as root to do the usermod.
for reference, this site comes handy for various linux commands:
http://www.computerhope.com/unix.htm
just in case you, like me, aren't very command-line savvy |
|
Back to top |
|
|
Morimando Guru
Joined: 14 Feb 2005 Posts: 339 Location: Germany
|
Posted: Sun Mar 13, 2005 8:59 am Post subject: |
|
|
That "cant find unlink in GLOBAL" makes something tickle...
say does this error come from PAM?
If yes then this would be my approach (yes i know, it's not a real mature approach but its the only i have and it works for me)
ACCEPT_KEYWORDS="~x86" emerge pam
If it ain't pam that's giving you the error forget everything i wrote here for it might make your system fuzzy. I write that without knowing if it IS pam because i won't be here the next 3 days, and that way you know at least how i got that thing "solved".
Cheers _________________ That young girl is one of the least benightedly unintelligent organic life forms it has been my profound lack of pleasure not to be able to avoid meeting.
-- Marvin |
|
Back to top |
|
|
blacknyx Tux's lil' helper
Joined: 27 Oct 2004 Posts: 117
|
Posted: Tue May 03, 2005 10:34 pm Post subject: |
|
|
Ok this thread is OLD but it's worth a try, rather than posting a new one.
I'm on 2005.0 with a 2.6.11 r6 Kernel
Im trying to load my Alsa Emu10k1 sound
I followed the wiki gentoo guide which said to DEactivate all alsa sound in my kernel
and then install all alsa lib, utils, etc.
Which gives me the same exact error the post starter had.
So should I unmerge all of the alsa utils, libs, etc, add them as M to my kernel, and then edit it out in my alsasound config file?
Is that, as i understand it, how it should be for it to work? |
|
Back to top |
|
|
WeirDave Apprentice
Joined: 27 Nov 2003 Posts: 194 Location: Tampabay Florida
|
Posted: Wed May 04, 2005 9:08 pm Post subject: |
|
|
blacknyx wrote: | Ok this thread is OLD but it's worth a try, rather than posting a new one.
I'm on 2005.0 with a 2.6.11 r6 Kernel
Im trying to load my Alsa Emu10k1 sound
I followed the wiki gentoo guide which said to DEactivate all alsa sound in my kernel
and then install all alsa lib, utils, etc.
Which gives me the same exact error the post starter had.
So should I unmerge all of the alsa utils, libs, etc, add them as M to my kernel, and then edit it out in my alsasound config file?
Is that, as i understand it, how it should be for it to work? |
I have my sound in my kernel as a M odule. See if that works for you. _________________ \\eir]>ave
http://www.weirdave.com &
http://aatrade.weirdave.com
Home of The Library and The eXpanse |
|
Back to top |
|
|
|
|
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
|
|