LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-30-2010, 03:56 PM   #1
thenewguy24
LQ Newbie
 
Registered: Jan 2010
Posts: 8

Rep: Reputation: 0
No audio, HDA intel sound card on a toshiba netbook running slackware 13


I have a toshiba netbook, and I'm running linux slackware 13. The sound card is an HDA intel. So far I've ran alsaconf and configured the above mentioned sound card. I've also gone into the alsamixer and unmuted everything and turn the volume up. I get absolutely no audio. Any help would be greatly appreciated.
 
Old 01-30-2010, 04:06 PM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Code:
bash-3.1# cat /etc/modprobe.d/sound.conf

alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd_hda_intel msi=1 model=6stack-dig


bash-3.1#
Assuming your snd-hda-intel driver is built as a module (not statically into the kernel), You may benefit from creating a file similar to the above, only change the "model=" designator to a different one, one that specifically applies to the sound card in your machine.
For whatever reason, the identical soundcard in a laptop is operated differently than one in a desktop machine.
My computer is a desktop, and the above is what I use (though my device is now actually detected by the kernel, since a patch was applied, so this for me is not needed now) but there are a whack of other "model" options you might try, that may help.
Normally I wouldn't offer this as a first step, but you have already tried the usual first step, that being alsamixer and alsaconf.

Search google for possible "model" options; or read the documentation inside the kernel source's /Documentation folder, or read the kernel source-code in /snd/pci/hda/patch-realtek.c for the options in your particular kernel release.

Best of luck! Oh, and when you change the "model" in the file above (if you create such a file) you will; need to reboot for it to work.

Sasha

Last edited by GrapefruiTgirl; 01-30-2010 at 04:07 PM.
 
Old 01-30-2010, 06:00 PM   #3
thenewguy24
LQ Newbie
 
Registered: Jan 2010
Posts: 8

Original Poster
Rep: Reputation: 0
I'm having trouble finding the different options you mentioned. I found what I think is the right Documentation directory and I've read some of the txt files, but I'm not seeing anything on the options. Also do I need to include all the aliases that were in your file or just the final options line.
 
Old 01-30-2010, 06:23 PM   #4
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Let me give a better, more accurate location of the documentation file

<your-kernel-source>/Documentation/sound/alsa/HD-Audio-Models.txt
<your-kernel-source>/Documentation/sound/alsa/HD-Audio.txt # definitely read this one

And no, you don't absolutely need to put the other options in my file. I'm not sure if they are always identical for every machine using that driver, so I suggest trying without those options first, and focus mainly on the "model" option.

If you get nowhere with the model= option, we'll revisit the other options.


PS - I also thought your post read "notebook" rather than "netbook", and since it's a netbook, 100% support may not yet be in the kernel if the netbook is very very new; however, a model= option will hopefully still get you reasonably close, if not perfect, audio working.

If you get nowhere, we can dig some more info out of your computer, and have a look right into the driver sourcecode (I'll do that if you like) and see if there's any code for your device.

Sasha

Last edited by GrapefruiTgirl; 01-30-2010 at 06:34 PM. Reason: added another file to read. Also, my typing sucks lately :/
 
Old 01-30-2010, 06:28 PM   #5
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
This is probably of no use to you, but I found that unmuting in alsamixer didn't work for me, however, unmuting through kmixer did. That was on my first slack13 installation. I can't explain it.

Specifically I have to select "configure channels"; select PCM; then unmute it.

Last edited by damgar; 01-30-2010 at 06:34 PM.
 
Old 01-30-2010, 06:31 PM   #6
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
@ damgar -- yes, good point; also I have read of situations where if the headphone was NOT muted, the speakers didn't work.
Moral: fiddle with alsamixer a lot before giving up on it
 
Old 01-30-2010, 06:42 PM   #7
thenewguy24
LQ Newbie
 
Registered: Jan 2010
Posts: 8

Original Poster
Rep: Reputation: 0
my sound card shows up as an HDA intel (ALC272) and there are no options listed for ALC272, am I missing something.
 
Old 01-30-2010, 06:42 PM   #8
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Hi newguy24, Welcome to LQ. If you know what card you actually have, the model options are a lot easier to sort out. HDA Intel covers a lot of different chips. Please post the output from the following so we can see what we're working with.

Quote:
cat /proc/asound/card0/codec#* | grep Codec
Once we know which card you actually have it'll be easier to sort this.
Good Luck. ;-)
 
Old 01-30-2010, 06:48 PM   #9
thenewguy24
LQ Newbie
 
Registered: Jan 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Ok the output of
cat /proc/asound/card0/codec#* | grep Codec
is Codec: Realtek ALC272
 
Old 01-30-2010, 06:54 PM   #10
thenewguy24
LQ Newbie
 
Registered: Jan 2010
Posts: 8

Original Poster
Rep: Reputation: 0
thank you to everyone who has been helping so far and damgar how do you access kmixer
 
Old 01-30-2010, 07:01 PM   #11
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
In KDE session:

1. right click speaker icon in tray
2. show mixer window
3. settings
4. configure channels
5. select appropriate channels.

For me and many others PCM is the magic channel. There will probably be 2 selections for PCM. I'd select them both.

6. Ok or apply or whatever
7. in mixer window unmute PCM (one or the other, maybe both. I always unmute everything.


That's for my desktop systems. There maybe a different channel or something that will be obvious to you when you are looking, so I'd maybe choose everything in step 5.
 
Old 01-30-2010, 07:17 PM   #12
thenewguy24
LQ Newbie
 
Registered: Jan 2010
Posts: 8

Original Poster
Rep: Reputation: 0
damgar I did that already I didn't know that was the kmix, but I don't have a PCM channel in kmix, I only have one in alsa(which I already unmuted)
 
Old 01-30-2010, 07:19 PM   #13
thenewguy24
LQ Newbie
 
Registered: Jan 2010
Posts: 8

Original Poster
Rep: Reputation: 0
sasha, should I try options from the ALC262 to see if any will work for me (ALC272) or is that a waste of time
 
Old 01-30-2010, 07:24 PM   #14
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
The options you want are for the ALC662/663/272 group, however, I think Slack13 shipped with alsa drivers 1.0.18. So the ALC272 quirks may not be recognized by that version. You may need to upgrade your alsa driver modules. Here are the quirks, you can give them a whirl if you like.

Code:
ALC662/663/272
==============
  3stack-dig	3-stack (2-channel) with SPDIF
  3stack-6ch	 3-stack (6-channel)
  3stack-6ch-dig 3-stack (6-channel) with SPDIF
  6stack-dig	 6-stack with SPDIF
  lenovo-101e	 Lenovo laptop
  eeepc-p701	ASUS Eeepc P701
  eeepc-ep20	ASUS Eeepc EP20
  ecs		ECS/Foxconn mobo
  m51va		ASUS M51VA
  g71v		ASUS G71V
  h13		ASUS H13
  g50v		ASUS G50V
  asus-mode1	ASUS
  asus-mode2	ASUS
  asus-mode3	ASUS
  asus-mode4	ASUS
  asus-mode5	ASUS
  asus-mode6	ASUS
  dell		Dell with ALC272
  dell-zm1	Dell ZM1 with ALC272
  samsung-nc10	Samsung NC10 mini notebook
  auto		auto-config reading BIOS (default)
Good luck. ;-)

Last edited by Peacedog; 01-30-2010 at 07:24 PM. Reason: Clarity
 
Old 02-01-2010, 10:31 AM   #15
thenewguy24
LQ Newbie
 
Registered: Jan 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, I tried several of the options, but when I try them and reboot it tells me I've removed my sound card and there isn't one active. Is there a way to update alsa and get new drivers for my sound card.

Thanks for all the advice so far.
Zach
 
  


Reply

Tags
audio


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
HDA intel Sound Card Sounds problems with intel sound card on Ubuntu zengingok Linux - Hardware 9 08-17-2007 11:52 AM
Intel HDA Audio - No sound: With a Twist! person132 Linux - Hardware 2 04-21-2007 09:40 AM
integrated hda audio modem bluetooth , (intel hda audio does not work) reggae linux Linux - Laptop and Netbook 1 07-05-2006 11:13 PM
integrated hda audio modem bluetooth , (intel hda audio does not work) reggae linux Linux - Laptop and Netbook 2 07-05-2006 04:38 PM


All times are GMT -5. The time now is 04:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration