View previous topic :: View next topic |
Author |
Message |
Kxtells n00b
Joined: 23 Feb 2007 Posts: 13 Location: somewhere in the galaxy
|
Posted: Fri Feb 23, 2007 6:49 pm Post subject: ALSA works and no sound from laptop |
|
|
I'm turning mad with the alsa-drivers. I've been looking throught forums and a lot of topics, and I tried lots of things. But, let's go and if someone can help i'll be extremely satisfied.
I've got a thinkpad R60 and all works well except the soundcard and the wireless-card (but this a different problem).
first the lspci output for the soundcard:
Code: | 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02) |
as you can see is the intel hda, so I first tried the snd_hda_intel module from 2.6.19-gentoo-r5 kernel.
My problem is quite strange, cause ALSA seems to work, and I can use alsamixer and other apps (like amarok) but there is no sound, I tried with the headphones too but it's all silent. I can see the musicplayer playing the files, but I can hear nothing. And before some talks about alsamixer and muted channels I can tell you that I've unmuted the master and PCM chanels. Later, I unmuted all of them.
then I tried to remove the kernel suport for alsa and merge all the interesting things to get my soundcard to work Code: | ACCEPT_KEYWORDS="~x86" emerge alsa-lib alsa-driver alsa-headers | . And I get the same result. Alsaconf works well, there is no problem, but there is no sound. But as I can see from dmesg, when I use the merged alsa-drivers (not the in-kernel ones) I get:
Code: | ALSA /var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2_p3234/work/alsa-driver-1.0.14rc2_p3234/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:556: hda_intel: azx_get_response timeout, switching to polling mode... |
here goes another interesting outputs
Code: | cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xee240000 irq 16
cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.14rc2.
Compiled on Feb 23 2007 for kernel 2.6.19-gentoo-r5 (SMP).
|
I remmeber that there was somehow to test if the speakers work, but I don't remmember how so I haven't done this comprovation.
Does anyone have an Idea of what is happening? |
|
Back to top |
|
|
Tbonius n00b
Joined: 05 Oct 2003 Posts: 28 Location: Olympia, Wa
|
Posted: Fri Feb 23, 2007 7:09 pm Post subject: |
|
|
Can you post the output of amixer? Also.. what applications are you using to access the sound card? Are they configured to use ALSA? Have you installed ALSA-OSS? What modules are loaded? Once we take a look at these I am sure we can get a good idea of what is going on |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Fri Feb 23, 2007 7:19 pm Post subject: |
|
|
Kxtells,
Lets do some basic tests on your kerel and sound installation.
What do you have in /dev/snd and /dev/sound ?
Post the output from ls -l for both dirs please.
Are you in the audio group ?
I suspect you are but please check. Run groups in an Xterm.
Mute all the controls you have with IEC or SPDI/F in their names. Those controls are related to digital sound I/O and most cards can do either digital or analogue but not both at the same time and digital nomally gets priority.
As you have a laptop, also mute mic and headphones. Often these functions share the audio jacks, so they need to be off.
Lastly some snd-intel-hda users report needing to load the module with a module parameter to make it work.
You will find it discussed on the forums but if you can post the output of Code: | modinfo snd-intel-hda | grep -i param | It may be enough to jog my memory.
The test you are thinking of is Code: | cat /dev/urandom/ > dev/dsp | Turn your speakers right down before you give the command, then turn them up slowly until you hear 'static'. You need /dev/sound/dsp for this to work. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Kxtells n00b
Joined: 23 Feb 2007 Posts: 13 Location: somewhere in the galaxy
|
Posted: Sat Feb 24, 2007 2:33 am Post subject: |
|
|
here goes the output of both /dev/snd and /dev/sound
Code: | ls -l /dev/snd
total 0
crw-rw---- 1 root audio 116, 0 Feb 23 00:23 controlC0
crw-rw---- 1 root audio 116, 24 Feb 23 00:23 pcmC0D0c
crw-rw---- 1 root audio 116, 16 Feb 23 00:23 pcmC0D0p
crw-rw---- 1 root audio 116, 17 Feb 23 00:23 pcmC0D1p
crw-rw---- 1 root audio 116, 1 Feb 23 00:23 seq
crw-rw---- 1 root audio 116, 33 Feb 23 00:23 timer
ls -l /dev/sound/
total 0
crw-rw---- 1 root audio 14, 12 Feb 23 00:23 adsp
crw-rw---- 1 root audio 14, 4 Feb 23 00:23 audio
crw-rw---- 1 root audio 14, 3 Feb 23 00:23 dsp
crw-rw---- 1 root audio 14, 1 Feb 23 00:23 sequencer
crw-rw---- 1 root audio 14, 8 Feb 23 00:23 sequencer2
|
I'm in the audio group. I've just checked it. I muted all the controls except master and PCM. And all the ebuilds that need alsa ara merged with support for it.
Code: | modinfo snd_hda_intel | grep -i param | doesn't creates any output, I'll add the modinfo of snd_hda_intel hoping that it is useful
Code: | modinfo snd_hda_intel
filename: /lib/modules/2.6.19-gentoo-r5/alsa-driver/pci/hda/snd-hda-intel.ko
license: GPL
description: Intel HDA driver
vermagic: 2.6.19-gentoo-r5 SMP mod_unload PENTIUMIII REGPARM
depends: snd-pcm,snd-page-alloc,snd,snd-hda-codec
alias: pci:v00008086d00002668sv*sd*bc*sc*i*
alias: pci:v00008086d000027D8sv*sd*bc*sc*i*
alias: pci:v00008086d0000269Asv*sd*bc*sc*i*
alias: pci:v00008086d0000284Bsv*sd*bc*sc*i*
alias: pci:v00008086d0000293Esv*sd*bc*sc*i*
alias: pci:v00008086d0000293Fsv*sd*bc*sc*i*
alias: pci:v00001002d0000437Bsv*sd*bc*sc*i*
alias: pci:v00001002d00004383sv*sd*bc*sc*i*
alias: pci:v00001002d0000793Bsv*sd*bc*sc*i*
alias: pci:v00001002d00007919sv*sd*bc*sc*i*
alias: pci:v00001106d00003288sv*sd*bc*sc*i*
alias: pci:v00001039d00007502sv*sd*bc*sc*i*
alias: pci:v000010B9d00005461sv*sd*bc*sc*i*
alias: pci:v000010DEd0000026Csv*sd*bc*sc*i*
alias: pci:v000010DEd00000371sv*sd*bc*sc*i*
alias: pci:v000010DEd000003E4sv*sd*bc*sc*i*
alias: pci:v000010DEd000003F0sv*sd*bc*sc*i*
alias: pci:v000010DEd0000044Asv*sd*bc*sc*i*
alias: pci:v000010DEd0000044Bsv*sd*bc*sc*i*
alias: pci:v000010DEd0000055Csv*sd*bc*sc*i*
alias: pci:v000010DEd0000055Dsv*sd*bc*sc*i*
parm: enable:bool
parm: enable_msi:Enable Message Signaled Interrupt (MSI) (int)
parm: single_cmd:Use single command to communicate with codecs (for debugging only). (bool)
parm: probe_mask:Bitmask to probe codecs (default = -1). (int)
parm: position_fix:Fix DMA pointer (0 = auto, 1 = none, 2 = POSBUF, 3 = FIFO size). (int)
parm: model:Use the given board model. (charp)
parm: id:ID string for Intel HD audio interface. (charp)
parm: index:Index value for Intel HD audio interface. (int)
|
and finally, the test Code: | cat /dev/urandom/ > /dev/dsp
bash: /dev/dsp: No such device
| this stranged me a little cause I was expecting the unpleasant 'static'.
Thanks A lot. I don't know if it matters but Actually I'm working with alsa-driver ebuild and not the in-kernel alsa support (just in case it matters somehow).
Thanks a lot! |
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1214 Location: Massachusetts USA
|
Posted: Sat Feb 24, 2007 5:07 am Post subject: |
|
|
Have you emerged alsa-oss alsa-plugins gst-plugins-alsa alsa-utils? Is the alsasound daemon running? Emerging alsa-oss and restarting the alsasound daemon ( /etc/init.d/alsasound restart ) should give you the /dev/dsp device. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Sat Feb 24, 2007 1:50 pm Post subject: |
|
|
Kxtells,
Your kernel looks good and you should have /dev/dsp too. It will be a symlink to /dev/sound/dsp. We can look at that later.
Try Code: | cat /dev/urandom > /dev/sound/dsp | so you don't need the link.
I posted param (too many ''a" 's) in place of parm - sorry about that. You may need Code: | parm: model:Use the given board model. (charp) | if snd-intel-hda is not detecting your sound chip properly. Thats the module parameter I was thinking of.
The alsa website is likely to help there _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
wynn Advocate
Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Sat Feb 24, 2007 5:12 pm Post subject: |
|
|
You can avoid the 'unpleasant static' by using /usr/bin/speaker-test, "man speaker-test" says it can produce a sine wave as well as pink noise. You can try Code: | speaker-test -t sine -f 440 -l 3 | for a nice soothing A.
If you run Code: | speaker-test -t sine -f 440 -l 3 -c 2 | instead, it will switch from left channel to right channel and back again so you can check your wiring.
If you emerge alsa-utils you also get Code: | /usr/share/sounds/alsa
/usr/share/sounds/alsa/Front_Center.wav
/usr/share/sounds/alsa/Front_Left.wav
/usr/share/sounds/alsa/Front_Right.wav
/usr/share/sounds/alsa/Noise.wav
/usr/share/sounds/alsa/Rear_Center.wav
/usr/share/sounds/alsa/Rear_Left.wav
/usr/share/sounds/alsa/Rear_Right.wav
/usr/share/sounds/alsa/Side_Left.wav
/usr/share/sounds/alsa/Side_Right.wav | and you can Code: | aplay /usr/share/sounds/alsa/Front_Left.wav |
_________________ The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details. |
|
Back to top |
|
|
Kxtells n00b
Joined: 23 Feb 2007 Posts: 13 Location: somewhere in the galaxy
|
Posted: Sun Feb 25, 2007 11:23 am Post subject: |
|
|
Hey Guys.
I've looked /dev/dsp and /dev/sound/dsp and both of them throws out the No such device message,
Code: | cat /dev/urandom > /dev/sound/dsp
bash: /dev/sound/dsp: No such device
|
Also I ran speaker-test, and obviously i got the same results (but I always have to try everything).
All /dev/dsp* throw "No such device" except /dev/dsp4 which doesn't say nothing but also doesn't sounds the 'static'
i've been looking for the module options in the alsa website, but there's anything below the module options title (that's quite strange).But assouming that I keep searching and finally find the module options for snd_hda_intel how I know the board model?, I've looked with
Code: | lspci -v | grep -A 9 -i audio
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
Subsystem: Lenovo Unknown device 2010
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ee240000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0
Capabilities: [100] Virtual Channel
Capabilities: [130] Unknown (5)
|
How can I know wich models are? and wich is mine? a Lenovo Unknown device 2010? or the ICH7 family?
thanks everybody for your help and your time!. |
|
Back to top |
|
|
Kxtells n00b
Joined: 23 Feb 2007 Posts: 13 Location: somewhere in the galaxy
|
Posted: Sun Feb 25, 2007 11:30 am Post subject: |
|
|
Ah, I almost forget answering jburns!.
gst-plugins-alsa are the pluguins for gstreamer, if I'm not wrong, gstreamer is some kind of sound support for gnome, I don't tink I'll need it as long as I'm not using gnome right? maybe I'm wrong.
Actually I merged it (I can't lose anything for try it) and noting changes so I unmerged it again. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Sun Feb 25, 2007 11:39 am Post subject: |
|
|
Kxtells,
You have changed something then because /dev/sound/dsp is shown all present and correct in your posted above. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Kxtells n00b
Joined: 23 Feb 2007 Posts: 13 Location: somewhere in the galaxy
|
Posted: Sun Feb 25, 2007 3:35 pm Post subject: |
|
|
Here is the mother of the question NeddySeagoon!
Code: | ls -l /dev/sound/
total 0
crw-rw---- 1 root audio 14, 12 Feb 23 00:23 adsp
crw-rw---- 1 root audio 14, 4 Feb 23 00:23 audio
crw-rw---- 1 root audio 14, 3 Feb 23 00:23 dsp
crw-rw---- 1 root audio 14, 1 Feb 23 00:23 sequencer
crw-rw---- 1 root audio 14, 8 Feb 23 00:23 sequencer2
cat /dev/urandom > /dev/sound/dsp
bash: /dev/sound/dsp: No such device
ls -l /dev/dsp
crw-rw---- 1 root audio 14, 3 Aug 3 2006 /dev/dsp
cat /dev/urandom > /dev/dsp
bash: /dev/dsp: No such device
|
I'm pretty confused at the moment.
I changed nothing since I posted this thread, except the gstreamer ebuild, but this doesn't matters at all. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Sun Feb 25, 2007 4:51 pm Post subject: |
|
|
Kxtells,
That /dev/sound was not created by udev, the timestamps should be within seconds, so maybe there are no real interfaces there.
Do the following
Code: | rm -rf /dev/snd
rm -rf /dev/sound
udevstart | That removes the snd and sound directories than kicks udev to recreate them.
Whats in them now ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Kxtells n00b
Joined: 23 Feb 2007 Posts: 13 Location: somewhere in the galaxy
|
Posted: Sun Feb 25, 2007 9:33 pm Post subject: |
|
|
NeddySeagon
I removed /dev/snd and all the things that hang down /dev/sound. Then rebooted udev.
udev only recreates /dev/snd directory, /dev/sound doesn't appear again.
Code: | ls -l /dev/snd
total 0
crw-rw---- 1 root audio 116, 0 Feb 25 22:22 controlC0
crw-rw---- 1 root audio 116, 24 Feb 25 22:22 pcmC0D0c
crw-rw---- 1 root audio 116, 16 Feb 25 22:22 pcmC0D0p
crw-rw---- 1 root audio 116, 17 Feb 25 22:22 pcmC0D1p
crw-rw---- 1 root audio 116, 33 Feb 25 22:22 timer
|
exactly the same that I had. And it all keeps silent as a graveyard. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Sun Feb 25, 2007 9:44 pm Post subject: |
|
|
Kxtells,
Good - thats progress. It shows that your /dev/sound was fake, there were no kernel modules behind it.
It follows that you don't have ALSAs OSS emulation either built or loaded (or both).
What does Code: | modprobe -l | grep oss | show?
If you get nothing, your oss support is missing.
If you get snd-oss-.... try modprobe snd-oss-... and check /dev/sound again.
Meanwhile, pure ALSA should work but you will have to set up your apps to use ALSA.
Also check your USE flags in /etc/make.conf. Is oss included ?
If not add it then do so support is added to those packages where its optional. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Kxtells n00b
Joined: 23 Feb 2007 Posts: 13 Location: somewhere in the galaxy
|
Posted: Sun Feb 25, 2007 10:28 pm Post subject: |
|
|
thanks NeddySeagon.
Code: | modprobe -l | grep oss | throws nothing, so my oss support is missing as you said. I merged alsa-oss and it's still the same output.
Do I have to enable it in the kernel? or is excluyent like the alsa support in the kernel or by ebuild?. |
|
Back to top |
|
|
ad_meis Tux's lil' helper
Joined: 17 Feb 2006 Posts: 120 Location: Tuscany, Italy
|
Posted: Sun Feb 25, 2007 10:44 pm Post subject: alsa works and no sound (WITH kernel module) |
|
|
Hi all,
I am having similar troubles as Kxtells https://forums.gentoo.org/viewtopic-t-542335.html
but I decided to stick to kernel modules so I thought to start a new post.
Basically, alsa seems to work but no sound is produced (I unmuted alsamixer).
I try to provide all - and not unnecessary - information
name -a
Quote: | Linux tux 2.6.18-gentoo-r6 #1 SMP Sun Feb 25 19:20:23 CET 2007 i686 Intel(R)
Pentium(R) M processor 1.86GHz GenuineIntel GNU/Linux |
lspci | grep -i audio
Quote: | 00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03) |
more /etc/make.conf
Quote: | # These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-O2 -mtune=i686 -pipe"
MAKEOPTS="-j 2"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.ngi.it ftp://ftp.unina.it/pub/
linux/distributions/gentoo http://mirror.gentoo.no/ "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="-gnome -kde -qt -nptl alsa oss midi mp3 dvd gtk gtk2 unicode cdr bitmap-fonts truetype-fonts \
nptl nptlonly type1-fonts win32codecs"
#modular X11
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="vesa i810"
# sunday 25 Feb 2007
# ALSA_CARDS=hda-intel
|
alsa related ebuilds
media-libs/alsa-lib version: 1.0.14_rc1
media-libs/alsa-oss version: 1.0.12
media-plugins/gst-plugins-alsa version: 0.10.11
media-sound/alsa-headers version: 1.0.14_rc1
media-sound/alsa-utils version: 1.0.14_rc1
modprobe -l | grep oss
Quote: | /lib/modules/2.6.18-gentoo-r6/kernel/sound/core/oss/snd-pcm-oss.ko
/lib/modules/2.6.18-gentoo-r6/kernel/sound/core/oss/snd-mixer-oss.ko |
ls -l /dev/snd
Quote: | total 0
crw-rw---- 1 root audio 116, 0 Feb 25 22:37 controlC0
crw-rw---- 1 root audio 116, 24 Feb 25 22:37 pcmC0D0c
crw-rw---- 1 root audio 116, 16 Feb 25 22:37 pcmC0D0p
crw-rw---- 1 root audio 116, 17 Feb 25 22:37 pcmC0D1p
crw-rw---- 1 root audio 116, 1 Feb 25 22:37 seq
crw-rw---- 1 root audio 116, 33 Feb 25 22:37 timer
ls -l /dev/sound
total 0
crw-rw---- 1 root audio 14, 12 Feb 25 22:37 adsp
crw-rw---- 1 root audio 14, 4 Feb 25 22:37 audio
crw-rw---- 1 root audio 14, 3 Feb 25 22:37 dsp
crw-rw---- 1 root audio 14, 0 Feb 25 22:37 mixer |
more /etc/modules.d/alsa
Quote: | # Alsa kernel modules' configuration file.
# ALSA portion
# OSS/Free portion
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run modules-update' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## alias snd-card-0 snd-interwave
## 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
## 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
#sunday 25 feb 2007
#alias snd-card-0 snd_hda_intel
#alias sound-slot-0 snd-card-0
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.
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.14rc1 ---
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. --- |
/etc/init.d/alsasound restart
Quote: | * WARNING: you are stopping a boot service.
* Storing ALSA Mixer Levels ... [ ok ]
* Unloading ALSA ... [ ok ]
* Unloading ALSA modules ... [ ok ]
* Loading ALSA modules ...
* Loading: snd-card-0 ... [ ok ]
* Loading: snd-pcm-oss ... [ ok ]
* Loading: snd-seq ... [ ok ]
* Restoring Mixer Levels ... [ ok ] |
Nonetheless no sound is produced
madplay -v musica/musi/Elis_Regina-Fascina
Quote: | MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
audio: esd_open_sound() failed |
Please, any help is more than welcome, I extensively searched on past threads and find no hints,
thanks in advance |
|
Back to top |
|
|
ad_meis Tux's lil' helper
Joined: 17 Feb 2006 Posts: 120 Location: Tuscany, Italy
|
Posted: Sun Feb 25, 2007 10:46 pm Post subject: ooppss |
|
|
sorry, my apologies.
I wanted to post a new topic, but I replied to the present post... |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Sun Feb 25, 2007 11:04 pm Post subject: |
|
|
Kxtells,
If you used Code: | emerge alsa-drivers | You had the oss USE flag missing.
Fix the oss use flag and do
If you use kernel ALSA, you have ALSAs OSS emulation missing. (Not real OSS support)
Fix your kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Sun Feb 25, 2007 11:09 pm Post subject: |
|
|
ad_meis,
Mute all the controls you have with IEC or SPDI/F in their names. Those controls are related to digital sound I/O and most cards can do either digital or analogue but not both at the same time and digital nomally gets priority.
If you have a laptop, also mute mic and headphones. Often these functions share the audio jacks, so they need to be off. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
ad_meis Tux's lil' helper
Joined: 17 Feb 2006 Posts: 120 Location: Tuscany, Italy
|
Posted: Sun Feb 25, 2007 11:37 pm Post subject: |
|
|
Thanks for the reply.
If you mean muting those controls from within 'alsamixer', that did not work |
|
Back to top |
|
|
rdvrey Tux's lil' helper
Joined: 03 Mar 2003 Posts: 92 Location: Netherlands, Amersfoort
|
Posted: Mon Feb 26, 2007 8:58 am Post subject: No sound in KDE |
|
|
Hi,
Could there be another problem?
I seem to have a similar issue: no sound in KDE
But:
checking /proc/asound shows a working ALSA and OSS emulation
ogg123 is playing perfectly and speaker test produces sounds.
I have emerged arts! The soundserver in KDE is starting up.
Even kmix is working when I crank the mic up in kmix i can make is oscillate on the speakers and turn it off again.
But KDE isn't making any sound?
Robert |
|
Back to top |
|
|
Kxtells n00b
Joined: 23 Feb 2007 Posts: 13 Location: somewhere in the galaxy
|
Posted: Mon Feb 26, 2007 2:17 pm Post subject: |
|
|
Ok, i made the update world. I've got some issues with it but later I'll run etc-update and fix it.
Now I've got the oss modules
Code: | modprobe -l | grep oss
/lib/modules/2.6.19-gentoo-r5/alsa-driver/acore/oss/snd-pcm-oss.ko
/lib/modules/2.6.19-gentoo-r5/alsa-driver/acore/oss/snd-mixer-oss.ko
/lib/modules/2.6.19-gentoo-r5/alsa-driver/acore/seq/oss/snd-seq-oss.ko
|
and 'modprobed' all the modules.
then ran alsaconf, and unmuted the channels with alsamixer.
now
Code: |
cat /dev/urandom > /dev/sound/dsp |
And it doesn't shows anymore the message "no such device". So the device is there, but the 'static' is not there, I can only hear my breath (and the neighbours playing music with their brand new PC .
extra question off-topic: there isn't another way to update the new config files "._cfg000_*" than etc-update? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Mon Feb 26, 2007 7:35 pm Post subject: |
|
|
Kxtells,
Don't unmute everything - remember what I said in my first port and more recently to ad_meis in this thread.
There are several other tools to update your configs that can replace etc-update. I predate them all, so I only use etc-update. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Kxtells n00b
Joined: 23 Feb 2007 Posts: 13 Location: somewhere in the galaxy
|
Posted: Mon Feb 26, 2007 11:12 pm Post subject: |
|
|
NeddySeagoon
I remmember your first post, but i used the wrong words, I wanted to say that I unmuted everything necessary.
But actually I'm starting to suspect about this card. I installed windowsXP in another partition (hard to do, because the installer doesn' wanted to start). And installed the card drivers and i've got the same problem.. it all works but no sound in the room. I guess I've got to get another thinkpad (guarantee).
Or maybe... the winXP drivers doesn't work well too XDXD
thanks everybody |
|
Back to top |
|
|
targeti n00b
Joined: 04 Aug 2005 Posts: 8
|
Posted: Sun Mar 18, 2007 4:29 pm Post subject: |
|
|
You should try to load the module snd-hda-intel with a parameter as NeddySaegoon said.
Add this line to your /etc/modules.d/alsa
Code: |
options snd-hda-intel position_fix=1
|
and then Code: | modules-update && /etc/init.d/alsasound restart |
|
|
Back to top |
|
|
|