Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
07-31-2009, 01:38 AM
#1
LQ Newbie
Registered: May 2009
Location: Seattle
Distribution: Mandrake
Posts: 13
Rep:
[SOLVED] No Sound Mandriva 2009
Hi all,
I am having a lot of fun with my Mandriva distrib installed on a THinkpad T40 Laptop.
I recently lost the sound (not sure how).
I followed the Mandrake suggestions for debugging and here are the results :
Code:
- "lspcidrake -v | fgrep -i AUDIO" will tell you which driver your card uses by default
snd_intel8x0 : Intel Corporation|82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller [MULTIMEDIA_AUDIO] (vendor:8086 device:24c5 subv:1014 subd:0537)
- "grep sound-slot /etc/modprobe.conf" will tell you what driver it currently uses
alias sound-slot-0 snd_intel8x0
- "/sbin/lsmod" will enable you to check if its module (driver) is loaded or not
Module Size Used by
...
snd_intel8x0 29112 0
pcmcia 35468 0
snd_intel8x0m 13480 0
snd_ac97_codec 102592 2 snd_intel8x0,snd_intel8x0m
ac97_bus 1532 1 snd_ac97_codec
snd_seq_dummy 2464 0
snd_seq_oss 29504 0
snd_seq_midi_event 6812 1 snd_seq_oss
snd_seq 48912 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6728 3 snd_seq_dummy,snd_seq_oss,snd_seq
thinkpad_acpi 59968 0
snd_pcm_oss 37504 0
ipw2100 70352 0
rfkill 10448 1 thinkpad_acpi
snd_pcm 74496 4 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss
snd_timer 20932 2 snd_seq,snd_pcm
libipw 27872 1 ipw2100
yenta_socket 41704 2
video 16620 0
led_class 3872 1 thinkpad_acpi
e1000 118368 0
snd_mixer_oss 14428 1 snd_pcm_oss
rsrc_nonstatic 10812 1 yenta_socket
snd 56516 10 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
nsc_ircc 16304 0
rng_core 4064 0
soundcore 6976 1 snd
...
- "/sbin/chkconfig --list sound" and "/sbin/chkconfig --list alsa" will tell you if sound and alsa services are configured to be run on initlevel 3
sound 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off
alsa 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off
- "aumix -q" will tell you if the sound volume is muted or not
--> command not found
- "/sbin/fuser -v /dev/dsp" will tell which program uses the sound card.
But as a newbie I have a hard time interpreting it and even more to correct anything wrong...
Has anyone time to explain how to read this and maybe get my sound back?
(I tried volume settings with alsamixer of course, but didn't change anything).
Thank you.
Last edited by linea; 08-08-2009 at 12:46 AM .
08-01-2009, 08:14 PM
#2
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Hi, Looks like alsa is not set to start when sound does.
try as root, service alsa start
Quote:
- "/sbin/chkconfig --list sound" and "/sbin/chkconfig --list alsa" will tell you if sound and alsa services are configured to be run on initlevel 3
sound 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off
alsa 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off
you need to have these two lines the same.
you'll need root access to configure the settings....
this should do it for every boot with sound....type
Code:
sudo /sbin/chkconfig alsa --level 2345 on
edited, GW
sudo /sbin/chkconfig --help
This link may help.
http://spiralbound.net/2006/11/15/co...with-chkconfig
regards Glenn
Last edited by GlennsPref; 08-01-2009 at 08:23 PM .
Reason: /sbin/chkconfig alsa on (as root)
08-03-2009, 11:03 PM
#3
LQ Newbie
Registered: May 2009
Location: Seattle
Distribution: Mandrake
Posts: 13
Original Poster
Rep:
Thank you GlennsPerf for the help.
I have one good news and one bad news.
Here is the good news :
Code:
[root@localhost ~]# /sbin/chkconfig --list alsa
alsa 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off
[root@localhost ~]# /sbin/chkconfig --list sound
sound 0:off 1:off 2:on 3:on 4:on 5:on 6:off 7:off
Even after reboot.
The bad news is that I still don't have any sound.
The two last lines give me aumix doesn't exist and no program using sound card.
What should I check next ?
08-04-2009, 12:16 AM
#4
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Hi, you will need to be more specific about your distribution version, kernel and desktop manager
commands for knowing which linux is running
distribution version....
type....any of these that gives a coherent response.
kernel....
Code:
uname -a
or
cat /etc/issue
Desktop....
Just check the help tab on any window.
Presumably it will be one of, icewm xfce/4 kde3/4 and gnome
Check in the Configure Your Computer, go to hardware,
wait while it gathers the data....
Then select your audio device.
At the bottom there may be a button you can click to change driver module options.
Select the one that allows selection of pulse. Un-tick (clear) the box.
you may need to restart x to hear any changes....
if you have kde4.2.x "Configure Your Desktop"(the spanner and screwdriver icon)
then try to change the sound settings for Multimedia,
you can test sounds easily with knotify,
but also on a tab there you can set the backend of the kde soundserver (Phonon)
as xine or gstreamer, click gstreamer and move it to the top,
or which-ever one works for you
try each, if they are not listed install them with
urpmi phonon-gstreamer phonon-xine,
go back and try the last step again....
to configure gstreamer, at a command line type in...
gstreamer-properties
and to test your equipment.
Make sure your hardware and alsa are selected.
restart x to see (to hear, I hope) the results
a good reference page....
http://wiki.linuxaudio.org/wiki/start
and the alsa wiki has a test script too.
see how you go.
Regards, Glenn
ps. sorry for all the edits.
Last edited by GlennsPref; 08-04-2009 at 12:33 AM .
Reason: clarity
08-04-2009, 12:41 AM
#5
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Install aumix with the urpmi command above if you need it.
/sbin/fuser -v /dev/dsp, Gives no responce on my system either. Even with a movie clip running.
cheers Glenn
08-05-2009, 01:02 PM
#6
LQ Newbie
Registered: May 2009
Location: Seattle
Distribution: Mandrake
Posts: 13
Original Poster
Rep:
My configuration si a Mandriva 2009 :
Code:
[root@localhost ~]# cat /etc/mandriva-release
Mandriva Linux release 2009.1 (Official) for i586
Kernel 2.6.29 :
Code:
[root@localhost ~]# uname -a
Linux localhost 2.6.29.6-desktop-1mnb #1 SMP Sun Jul 5 19:57:54 EDT 2009 i686 Intel(R) Pentium(R) M processor 1500MHz GNU/Linux
The Graphic server is KDE3.5, but the sound disapeared when I was using enlightment. I switched back to KDE3.5 to try to undo what I did wrong during enlightment install.
I will need more time to "play around" with the advices you gave. I did a few of them already but should check all your advices.
Will post the result a bit later.
Thanks again for the help.
08-05-2009, 07:08 PM
#7
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
OK.
Thanks for the info.
kde3.x uses arts instead of phonon,
Make sure you have arts installed.
urpmi arts
arts may also need starting, in the kde3 system,
try...
service arts start
I'm using kde4, so it is hard to compare, but most of the advice above is applied to kde4.
something else you can try, to see if all the required packages are installed....
Code:
rpm -Va | grep miss
to find missing packages in your system database.
You may need to re-do your question with "kde3 sound" in the heading. You'll get a better response,
also don't forget to search LQ, it has over 3 million posts to search from.
regards Glenn
Last edited by GlennsPref; 08-05-2009 at 07:13 PM .
08-06-2009, 11:46 PM
#8
LQ Newbie
Registered: May 2009
Location: Seattle
Distribution: Mandrake
Posts: 13
Original Poster
Rep:
Hello Again.
Arts is installed correctly and no sound.
When I try the "service arts restart" I am told : "Cannot find arts service". IS it a problem ? should I modify that and if yes how ?
As you suggested a little above, i tried the
ALSA script to check what could be wrong. Here it is :
Code:
[root@localhost Programming]# ./aadebug
ALSA Audio Debug v0.1.0 - Fri Aug 7 21:35:19 PDT 2009
http://alsa.opensrc.org/aadebug
http://www.gnu.org/licenses/gpl.txt
Kernel ----------------------------------------------------
Linux localhost 2.6.29.6-desktop-1mnb #1 SMP Sun Jul 5 19:57:54 EDT 2009 i686 Intel(R) Pentium(R) M processor 1500MHz GNU/Linux
Loaded Modules --------------------------------------------
snd_intel8x0 29112 0
snd_intel8x0m 13480 0
snd_ac97_codec 102592 2 snd_intel8x0,snd_intel8x0m
snd_seq_dummy 2464 0
snd_seq_oss 29504 0
snd_seq_midi_event 6812 1 snd_seq_oss
snd_seq 48912 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6728 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 37504 0
snd_pcm 74496 4 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss
snd_timer 20932 2 snd_seq,snd_pcm
snd_mixer_oss 14428 1 snd_pcm_oss
snd 56516 10 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
snd_page_alloc 8708 3 snd_intel8x0,snd_intel8x0m,snd_pcm
Proc Config -----------------------------------------------
CONFIG_SOUND=m
CONFIG_SOUND_OSS_CORE=y
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_JACK=y
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_HRTIMER=m
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_OPL4_LIB=m
CONFIG_SND_VX_LIB=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_DRIVERS=y
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
CONFIG_SND_MTS64=m
CONFIG_SND_BT_SCO=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m
CONFIG_SND_PORTMAN2X4=m
CONFIG_SND_AC97_POWER_SAVE=y
CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0
CONFIG_SND_WSS_LIB=m
CONFIG_SND_SB_COMMON=m
CONFIG_SND_SB8_DSP=m
CONFIG_SND_SB16_DSP=m
CONFIG_SND_ISA=y
CONFIG_SND_ADLIB=m
CONFIG_SND_AD1816A=m
CONFIG_SND_AD1848=m
CONFIG_SND_ALS100=m
CONFIG_SND_AZT2320=m
CONFIG_SND_CMI8330=m
CONFIG_SND_CS4231=m
CONFIG_SND_CS4232=m
CONFIG_SND_CS4236=m
CONFIG_SND_DT019X=m
CONFIG_SND_ES968=m
CONFIG_SND_ES1688=m
CONFIG_SND_ES18XX=m
CONFIG_SND_SC6000=m
CONFIG_SND_GUSCLASSIC=m
CONFIG_SND_GUSEXTREME=m
CONFIG_SND_GUSMAX=m
CONFIG_SND_INTERWAVE=m
CONFIG_SND_INTERWAVE_STB=m
CONFIG_SND_OPL3SA2=m
CONFIG_SND_OPTI92X_AD1848=m
CONFIG_SND_OPTI92X_CS4231=m
CONFIG_SND_OPTI93X=m
CONFIG_SND_MIRO=m
CONFIG_SND_SB8=m
CONFIG_SND_SB16=m
CONFIG_SND_SBAWE=m
CONFIG_SND_SB16_CSP=y
CONFIG_SND_SGALAXY=m
CONFIG_SND_SSCAPE=m
CONFIG_SND_WAVEFRONT=m
CONFIG_SND_WAVEFRONT_FIRMWARE_IN_KERNEL=y
CONFIG_SND_PCI=y
CONFIG_SND_AD1889=m
CONFIG_SND_ALS300=m
CONFIG_SND_ALS4000=m
CONFIG_SND_ALI5451=m
CONFIG_SND_ATIIXP=m
CONFIG_SND_ATIIXP_MODEM=m
CONFIG_SND_AU8810=m
CONFIG_SND_AU8820=m
CONFIG_SND_AU8830=m
CONFIG_SND_AW2=m
CONFIG_SND_AZT3328=m
CONFIG_SND_BT87X=m
# CONFIG_SND_BT87X_OVERCLOCK is not set
CONFIG_SND_CA0106=m
CONFIG_SND_CMIPCI=m
CONFIG_SND_OXYGEN_LIB=m
CONFIG_SND_OXYGEN=m
CONFIG_SND_CS4281=m
CONFIG_SND_CS46XX=m
CONFIG_SND_CS46XX_NEW_DSP=y
CONFIG_SND_CS5530=m
CONFIG_SND_CS5535AUDIO=m
CONFIG_SND_DARLA20=m
CONFIG_SND_GINA20=m
CONFIG_SND_LAYLA20=m
CONFIG_SND_DARLA24=m
CONFIG_SND_GINA24=m
CONFIG_SND_LAYLA24=m
CONFIG_SND_MONA=m
CONFIG_SND_MIA=m
CONFIG_SND_ECHO3G=m
CONFIG_SND_INDIGO=m
CONFIG_SND_INDIGOIO=m
CONFIG_SND_INDIGODJ=m
CONFIG_SND_EMU10K1=m
CONFIG_SND_EMU10K1X=m
CONFIG_SND_ENS1370=m
CONFIG_SND_ENS1371=m
CONFIG_SND_ES1938=m
CONFIG_SND_ES1968=m
CONFIG_SND_FM801=m
CONFIG_SND_FM801_TEA575X_BOOL=y
CONFIG_SND_FM801_TEA575X=m
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_ATIHDMI=y
CONFIG_SND_HDA_CODEC_NVHDMI=y
CONFIG_SND_HDA_CODEC_INTELHDMI=y
CONFIG_SND_HDA_ELD=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_POWER_SAVE=y
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDSP=m
CONFIG_SND_HDSPM=m
CONFIG_SND_HIFIER=m
CONFIG_SND_ICE1712=m
CONFIG_SND_ICE1724=m
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
CONFIG_SND_KORG1212=m
CONFIG_SND_MAESTRO3=m
CONFIG_SND_MIXART=m
CONFIG_SND_NM256=m
CONFIG_SND_PCXHR=m
CONFIG_SND_RIPTIDE=m
CONFIG_SND_RME32=m
CONFIG_SND_RME96=m
CONFIG_SND_RME9652=m
CONFIG_SND_SIS7019=m
CONFIG_SND_SONICVIBES=m
CONFIG_SND_TRIDENT=m
CONFIG_SND_VIA82XX=m
CONFIG_SND_VIA82XX_MODEM=m
CONFIG_SND_VIRTUOSO=m
CONFIG_SND_VX222=m
CONFIG_SND_YMFPCI=m
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_USB_USX2Y=m
CONFIG_SND_USB_CAIAQ=m
# CONFIG_SND_USB_CAIAQ_INPUT is not set
CONFIG_SND_USB_US122L=m
CONFIG_SND_PCMCIA=y
CONFIG_SND_VXPOCKET=m
CONFIG_SND_PDAUDIOCF=m
# CONFIG_SND_SOC is not set
CONFIG_SOUND_PRIME=m
CONFIG_SOUND_MSNDCLAS=m
CONFIG_SOUND_MSNDPIN=m
CONFIG_SOUND_OSS=m
# CONFIG_SOUND_TRACEINIT is not set
# CONFIG_SOUND_DMAP is not set
CONFIG_SOUND_SSCAPE=m
CONFIG_SOUND_VMIDI=m
CONFIG_SOUND_TRIX=m
CONFIG_SOUND_MSS=m
CONFIG_SOUND_MPU401=m
CONFIG_SOUND_PAS=m
CONFIG_SOUND_PSS=m
CONFIG_SOUND_SB=m
# CONFIG_SOUND_YM3812 is not set
CONFIG_SOUND_UART6850=m
CONFIG_SOUND_AEDSP16=m
CONFIG_SOUND_KAHLUA=m
Modprobe Conf ---------------------------------------------
options snd-ac97-codec power_save=1
alias sound-slot-0 snd_intel8x0
remove snd_intel8x0 /sbin/modprobe --first-time -r --ignore-remove snd_intel8x0
install snd_intel8x0 /sbin/modprobe --first-time --ignore-install snd_intel8x0
Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.18a.
0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
Intel 82801DB-ICH4 with AD1981B at irq 11
1 [Modem ]: ICH-MODEM - Intel 82801DB-ICH4 Modem
Intel 82801DB-ICH4 Modem at irq 11
0: [ 0] : control
1: : sequencer
16: [ 0- 0]: digital audio playback
20: [ 0- 4]: digital audio playback
24: [ 0- 0]: digital audio capture
25: [ 0- 1]: digital audio capture
26: [ 0- 2]: digital audio capture
27: [ 0- 3]: digital audio capture
32: [ 1] : control
33: : timer
48: [ 1- 0]: digital audio playback
56: [ 1- 0]: digital audio capture
cat: /proc/asound/hwdep: No such file or directory
00-00: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 1
01-00: Intel ICH - Modem : Intel 82801DB-ICH4 Modem - Modem : playback 1 : capture 1
Client info
cur clients : 3
peak clients : 3
max clients : 192
Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Connecting To: 15:0
Client 14 : "Midi Through" [Kernel]
Port 0 : "Midi Through Port-0" (RWe-)
Client 15 : "OSS sequencer" [Kernel]
Port 0 : "Receiver" (-we-)
Connected From: 0:1
Dev Snd ---------------------------------------------------
controlC0 pcmC0D0c pcmC0D1c pcmC0D3c pcmC1D0c seq
controlC1 pcmC0D0p pcmC0D2c pcmC0D4p pcmC1D0p timer
CPU -------------------------------------------------------
model name : Intel(R) Pentium(R) M processor 1500MHz
cpu MHz : 1500.000
RAM -------------------------------------------------------
MemTotal: 513644 kB
SwapTotal: 4089920 kB
Hardware --------------------------------------------------
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
Well still don't really know how to read it.
I also need to mention I have this message at the start of KDE3.5 :
I believe solving it would be the key to my problem.
Is there an easy way to know it is kernel, alsa or other software problem ?
I know the hardware works because it beeps when I select in the wrong field or press unappropriate keys.
Last edited by linea; 08-06-2009 at 11:50 PM .
08-07-2009, 02:10 AM
#9
LQ Newbie
Registered: May 2009
Location: Seattle
Distribution: Mandrake
Posts: 13
Original Poster
Rep:
Well miracle :
3 steps :
1- install alsaconf
2- run it
3- restart with enlightment instead of KDE3.5
It works !
Still don't know the problem though...
Thank you for the help all along GlennsPref.
08-07-2009, 03:04 AM
#10
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
well, good for you!
I think, that is what you needed to do, but not what I was thinking of.
KDE3.5 probably has sound too with the alsa mixer (and any dependants) installed.
Did the output of "rpm -Va | grep miss" give you any tips? It takes a while to start printing to screen,
if there is nothing, it takes longer, it feels. (no news is good news)
Definitely a software problem, your kernel mods and hardware look fine (I'm no expert)
Any how, good luck, hope you enjoy GNU/Linux.
cheers Glenn
Last edited by GlennsPref; 08-07-2009 at 03:06 AM .
Reason: I'm no expert
08-08-2009, 12:44 AM
#11
LQ Newbie
Registered: May 2009
Location: Seattle
Distribution: Mandrake
Posts: 13
Original Poster
Rep:
GlennPref,
"rpm -Va | grep miss" gave me this :
“missing /var/run/ppp/resolv.conf”
but I don't know what ppp is.
I think it's "rpm -Va |grep alsa" which led me to the idea of installing everything that could help on ALSA and led me to find alsaconfig
Plenty of thanks for you help !
08-08-2009, 05:37 PM
#12
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Hi, let me explain what I know of piping output and sorting with grep.
rpm -Va looks at the rpm install database
which would normally give you a list of all packages installed, a very long list.
Try it, it won't hurt.
the Pipe "|" is a redirector for the output.
You can direct it to a file or another program, like grep
Grep will search through the database looking for "miss" (short for missing,) and
display only those lines containing miss.
resolv.conf is a dns list and lookup service that runs when you connect to the network.
mine looks like this.... /etc/resolv.conf
Code:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 203.2.193.67
nameserver 202.135.30.4
search vfinternet.au
If your system is working with no problems connecting to the internet, then resolv.conf
and resolv is ok the way it is.
My system also sees it as missing although it is not.
Hope that helps a bit more.
Cheers Glenn
<edit>the only obvious error I see in your alsa audio debug script is this line.
cat /proc/asound/hwdep
what does it give if you test it now, just that command.
Code:
glenn@GamesBox:~$ cat /proc/asound/hwdep
01-00: HDA Codec 0
cheers.
Last edited by GlennsPref; 08-08-2009 at 05:49 PM .
Reason: cat /proc/asound/hwdep
All times are GMT -5. The time now is 11:50 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News