LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-28-2009, 02:16 AM   #1
nsathiya28
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Rep: Reputation: 0
Question All audio/video are playing but no sound in Slackware 12.1.


Hi friends,

I've P5KPL-CM mother board with VIA VT1708B 8 -Channel High-Definition Audio CODEC.

I've installed slackware successfully in my machine after facing some problem with LILO and went with GRUB by digging in the linuxquestions.org.

Finally I got Linux working fine but when I wanted hear songs while doing other stuff I's facing problem.

Everything looks normal in KDE and Kmixer also.
It's showing only one sound card as HD audio as mentioned in motherboard details. Kmix shows only Headphone, PCM and Digital( which in default is getting value as zero). I've kept as high as 27 for these.
Kmix shows only capture and Digital in INPUT tab.

Same thing is repeated in Alsamixer.

After I searched in our forum and googled I tried to stop artsd daemon / using some other user graphical interface( XFCE and Fluxbox) but every where I'm seeing It's playing music /video with no sound in the speakers.

Please help me out of this problem.

Thanks in Advance.

Sathiya
 
Old 03-28-2009, 04:48 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
It may be helpful if you post the output of '/sbin/lspci -vv' or just the relevant audio part of it.

Also post the output of 'lsmod | grep snd' or just 'lsmod'.

You're sure everything is unmuted in alsamixer, press 'm' to unmute channels.
 
Old 04-01-2009, 03:51 AM   #3
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
I was tearing my hair out over this one when I went from 12.1 to 12.2 (I always do a clean install...Never an 'upgrade'. For me, it's just neater. I have all my "special" programs pre-packaged on a seperate dvd).

Finally, after several hours, and making sure the user was in the 'audio' group, and still not getting sound, I remembered that I never ran 'alsaconf'. I went ahead and did it, and no issues since.

Last edited by cwwilson721; 04-01-2009 at 03:52 AM.
 
Old 04-01-2009, 05:28 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I always run alsaconf even before trying to use alsamixer.
 
Old 04-01-2009, 06:03 AM   #5
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
I was just letting everybody know that sometimes we all do silly things...

I even forgot to install my Nvidia driver once(Yep. Even with my post about dri...lol), and couldn't figure out why dri wasn't enabled...

Last edited by cwwilson721; 04-01-2009 at 06:05 AM.
 
Old 04-02-2009, 02:37 AM   #6
nsathiya28
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for replies.
After running alsaconf, Kmix and alsamixer with changing the volume levels and mute/unmute then only I posted my problem.

Here is my lsmod output.

Module Size Used by
snd_seq_dummy 6660 0
snd_seq_oss 32896 0
snd_seq_midi_event 10112 1 snd_seq_oss
snd_seq 50256 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 10380 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 40352 0
snd_mixer_oss 17920 1 snd_pcm_oss
ipv6 234724 12
pcmcia 35884 0
pcmcia_core 35988 1 pcmcia
lp 13348 0
fuse 45588 9
intel_agp 25236 1
snd_hda_intel 289052 0
snd_pcm 72068 2 snd_pcm_oss,snd_hda_intel
snd_timer 22532 2 snd_seq,snd_pcm
snd_page_alloc 11528 2 snd_hda_intel,snd_pcm
snd_hwdep 10756 1 snd_hda_intel
psmouse 40336 0
serio_raw 9092 0
evdev 12672 3
thermal 16540 0
button 10000 0
i2c_i801 11792 0
iTCO_wdt 13988 0
iTCO_vendor_support 7044 1 iTCO_wdt
agpgart 30664 1 intel_agp
rtc_cmos 11040 0
rtc_core 18696 1 rtc_cmos
rtc_lib 6528 1 rtc_core
snd 47716 9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer,snd_hwd ep
soundcore 9824 1 snd
processor 32680 1 thermal
parport_pc 27556 1
parport 34632 2 lp,parport_pc
sg 30224 0


Then my Audio part of lspci output,

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
Subsystem: ASUSTeK Computer Inc. Unknown device 82ea
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at fea78000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
ExtTag- RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
ClockPM- Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel


Even dmidecode output shows all the audio sockets for my motherboard.


After taking these logs I just thought of cheking in my motherboard CD and found some Linuxdriver directory. I found drivers for LAN and VIA-Audio. For my unfortunate time, Without going through the INSTALL script just I ran it and got an error as follows,

make[1]: Entering directory `/usr/src/linux-headers-2.6.24-smp/scripts/Makefile.build:46: *** CFLAGS was changed in
"/root/LinuxDrivers/VIA_Audio/via-linux-audiopackV1.5.1/acore/Makefile". Fix it to use EXTRA_CFLAGS. Stop.


Then I read the install script and came to know that all the modules got removed. I's trying yesterday whole night till 3am to make it compiled But It's in vain.

When I rebooted the machine Kmix gave an error like unable locate /dev/dsp. Alsaconf also showed no drivers are there to be used (neither normal drivers nor legacy drivers). Then I got really frustrated and ran once again the lsmod to find any changes. lsmod showed only one line for sound as like as follows,

soundcore 9824 0

lspci output was not changed.


Please advise me what I should do now my friends. Now I'm really in fix. Since I'm not having internet in my machine it's taking time to reply you. Here My frieds are telling to reinstall the slackware freshly. I don't know what to do.

Please help me to get rid of this problem
 
Old 04-02-2009, 02:39 AM   #7
nsathiya28
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Original Poster
Rep: Reputation: 0
For the refrence My motherboard model is P5KPL-CM mother board with VIA VT1708B 8 -Channel High-Definition Audio CODEC.
 
Old 04-02-2009, 10:33 AM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Everything looked fine before the modules disappeared like you said.

I would try to re-install the modules. If you're running the smp kernel check 'uname -r' then 'installpkg' the 'kernel-modules-smp-2.6.24.5_smp-i686-2.tgz' package, if the regular kernel then use the 'kernel-modules-2.6.24.5-i486-2.tgz' package. If you can login to the box then just get these off the Slackware DVD. If you cannot boot to a command line then put in the Slackware DVD, boot up, then 'chroot' to your root partition (mount it if necessary) and 'installpkg' the packages from the DVD. This is so that the packages are installed to your system.
 
Old 04-03-2009, 03:21 AM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
A possible solution, mostly for asus laptop, but it might work here too:
http://www.linuxquestions.org/questi...2/#post3496597

If not, then try looking up more options for the driver.
 
Old 04-06-2009, 01:39 AM   #10
nsathiya28
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you for the replys..
I'll try out that link.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing Audio/Video in Ubuntu umwai Linux - Newbie 6 06-10-2008 12:28 PM
what will i do when playing an audio and video files? travis1205 Linux - Software 4 09-24-2007 08:30 AM
Playing audio and video in Konqueror dannyboy2k Linux - Desktop 5 01-24-2007 07:01 PM
Playing Audio CD's and Video DVD's evilmonkey Linux - Software 4 10-24-2005 10:54 AM
playing audio and video cd's amadigoc Linux - General 1 06-28-2004 08:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration