ALSA configuration for Intel HD Audio

How to do things, solutions, recipes, tutorials
Message
Author
kaljo
Posts: 4
Joined: Sat 19 Jul 2008, 17:59

#31 Post by kaljo »

Hi there,

I've been fighting my soundproblem for about 24h now, getting tired of it.

Tried everything (and more), I was aware of this model issue because I used it before in my other Linux distro (PCLinuxOS) and it works like a charm in that distro.
But NOT in puppy 403 and 404.

When running the livecd Dmesg says model unknown for codec AC883 AND model unknown for codec AC268. When I change the modprobe.conf file model=laptop-eapd (same as I use in PCLinuxOS) and reboot dmesg says model unknown for codec AC268. In other words it recognizes the model for the AC883 codec. The speaker icon appears in the tray, but that's all.
Can't start alsamixer and still no sound!
When changing model to 3stack (for AC268) same story.

Why would it work in PCLinuxOS and not in puppy, I like puppy very much but it would be nicer with sound.

Any other ideas to get the sound working??

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

#32 Post by alienjeff »

@Kaljo

Have you used the official release of Puppy version 4.00, and if so, does sound work for you with that version?
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

kaljo
Posts: 4
Joined: Sat 19 Jul 2008, 17:59

#33 Post by kaljo »

I'm gonna give that a trie right now, btw just read something about ALSA broken/fix in the developers blog.

I'm gonna logout Vista (ughh) and trie 4.0 get back to you in a min

kaljo
Posts: 4
Joined: Sat 19 Jul 2008, 17:59

#34 Post by kaljo »

No difference
Attachments
pict.png
(69.64 KiB) Downloaded 1107 times

kaljo
Posts: 4
Joined: Sat 19 Jul 2008, 17:59

#35 Post by kaljo »

:D :D :lol: :lol:

I was to quick to give you an answer, I only looked at the output from dmesg and alsamixer.
When I tried playing a google/youtube video the sound was there!

Only lost my wireless, but using XP drivers with ndiswrapper solved the problem.

When upgrading from 400 to 404 the sound is still there with only one big difference: its half as loud (drop from 100% to 50%) as in 400.

Thanks for your superb idea on this one.

Offtopic: most distros have a button to go directly to the Desktop is this also possible in Puppy or should I open a new thread for this one?

dr_apokalypse
Posts: 2
Joined: Sun 30 Nov 2008, 06:46

Solved For IDT 92HD81B7X

#36 Post by dr_apokalypse »

I use an hp dv5. the strings returned by grep
were not listed by op, so I did some research
and this is what I turned up:

My Info:

Code: Select all

# cat /proc/asound/card0/codec#* | grep Codec
Codec: IDT 92HD71B7X
Found on a SuSE forum:

http://forums.opensuse.org/pre-release- ... sound.html
I was trying to help a user with this chipset some time back, and I did not know the solution then. Not long after that I was looking at purchasing a laptop, and the HP dv5 series was one laptop I was considering. Now I am very conservative, and I did not like the idea of purchasing a laptop whose sound is not supported, so I read in some places that it uses a IDT 92HD71B7X. So I had to search (again) for a solution for this codec, so I could make an informed decision if I should purchase this laptop ...

Researching, I discovered there was a bug report raised (on ubuntu) on this, and a work around solution found: https://bugs.launchpad.net/ubuntu/+bug/269586

So please, open your /etc/modprobe.d/sound file, and add this line as the last line:

options snd-hda-intel enable_msi=1

Then restart your alsa sound driver by typing the following into a gnome-terminal or kde konsole: su -c 'rcalsasound restart' and enter root password when prompted for a password. Then test your sound. A good sound test is to copy and paste the following into a gnome-terminal or kde konsole:

speaker-test -Dplug:front -c2 -l5 -twav
What to do:
use your favorite text editor to open /etc/modprobe.conf
add the following line to the end:

Code: Select all

 options snd-hda-intel enable_msi=1 
then run the ALSA setup wizard, or otherwise reset ALSA,
you should be good to go, though I only know for sure this
works on hp pavilion Dv5-1004nr. :D

oldbiker
Posts: 1
Joined: Wed 03 Dec 2008, 15:27

ALSA configuration for Intel HD Audio

#37 Post by oldbiker »

dr_apokalypse Thanks for your post. It gave me some hope for a while.
I followed up a bit on your SUSE forum lead and found out that the person posting the problem had eventually to add the line "options snd-hda-intel model=hp-m4" to the modprobe.conf file.
I also found out that when I added the options statements to modprobe.conf on my machine, and then ran the puppy alsa wizard, the wizard erased the options statements. I put the statements back in and was able to reboot to restart alsa and the options statements were still in modprobe.conf. Testing the result, however, did not provide any sound.
Also, as could be expected, the IDT company does not provide any LINUX drivers. Meanwhile, back to further searching.

User avatar
Botanic
Posts: 240
Joined: Wed 05 Sep 2007, 10:54
Location: Toulouse, France

#38 Post by Botanic »

I have an Acer computer with realtek soundcard, i tried the advices of 1st post, but it seems my card isn't detected at all
i don't have /proc/asound/card0, but /proc/asound/cards :
--- no soundcards ---
But, i have sound on other Linux distributions (and on Vi$ta)
Puppy 2.16 on HP Vectra VL400 - PIII 800 MHz - 320M RAM
Wary on Acer Aspire X3200 - Phenom X4 - 2.2GHz - 4G RAM

batteryfast
Posts: 2
Joined: Tue 30 Dec 2008, 04:36

battery with much more running time

#39 Post by batteryfast »

I have this typ of dell laptop. However My battery was demaged by my wife when she clear the house. I want to buy new from laptop battery. Is any other cheap online shop?

i386
Posts: 17
Joined: Sun 14 Dec 2008, 16:10

#40 Post by i386 »

Hello, I can confirm Solxyz suggestion that if you have a Realtek ALC268 you need to quote the model number as "acer". I now have sound!

Thanks
solxyz wrote:If you happen to be using a Realtek ALC268, you should use "acer" as your model.

rezpup
Posts: 1
Joined: Mon 09 Feb 2009, 17:22

Speaker still on when Headphones are plugged in.

#41 Post by rezpup »

I have an ACER Aspire One (120G version)
# cat /proc/asound/card0/codec#* | grep Codec
Codec: Realtek ALC268

I've added the following line to my /etc/modprobe.conf file

options snd-hda-intel model=acer

Sound works, but when I plug in my headphones, sound still comes out the speaker, is there a something I could do to fix this? - Thanks

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#42 Post by mikeb »

Sound works, but when I plug in my headphones, sound still comes out the speaker, is there a something I could do to fix this?
alsa 1.1.17+ may be the answer...it is for some other cards with the same problem and use the same driver module.....

mike

User avatar
paullecorde
Posts: 62
Joined: Fri 17 Jun 2005, 11:52
Location: Lexington, KY USA
Contact:

#43 Post by paullecorde »

I have a Compaq Presario C770US laptop. The on-board speakers work correctly. However, the headphones and microphone jacks do not work. When I open zmixer, the master and pcm bars work but the others (cd/line in/mic) do not.

The name of the sound card is a snd-hda-intel card, specifically "Conexant ID 5051 ". This card doesn't seem to have full support with the version of ALSA in Puppy 4.0 (v1.0.14).

I would be willing to give up the on-board speakers to get the headphones and microphone jacks working if there is a simple way to do that. Otherwise, does anyone have suggestions on how to get and install the the version of ALSA which will support all function of this sound card?

Thanks for any suggestions.
Paul

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#44 Post by rjbrewer »

Try this:

Menu>multimedia>alsamixer

left-right arrows select device....up-down arrows for volume
m-key for off-on...tab-key for capture etc.

alsa and sgmixer are linked

rjb

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

User avatar
paullecorde
Posts: 62
Joined: Fri 17 Jun 2005, 11:52
Location: Lexington, KY USA
Contact:

#45 Post by paullecorde »

Thanks rjb for the suggestion.

I have tried to adjust alsamixer and zmixer and sgmixer, but still the line and mic tabs don't work and I don't get sound from the jacks.

I have also tried adding options to the /etc/modprobe.conf file like was suggested by rezpup in early posts in this thread. That didn't work either.

Paul

User avatar
jeffjeff
Posts: 13
Joined: Sat 25 Nov 2006, 15:06
Location: Härnösand/Sweden/Europe
Contact:

FujitsuS7020 working. How get the keyb soundControl working?

#46 Post by jeffjeff »

I've been tearing my hair about the sound. On a slightly different model I got the sound going with TeenPup just using the Audio Wizard (though I had to try a couple variant).

On this model, S7020, I tried older and 2008 Teenpup without success. The master control in the mixer would be locked at the bottom.Tried 2.15 CE, Pup 3, pup 4 without getting it working. (Though I must admit I didn't check then to see if the headphone output may have been working in spite of no loudspeaker sound)

After read this thread, i checked the hardware: realtek ALC260 and then I added an option model=fujitsu and now it is working with Puppy 4.1.12. At first I just got sound on the headphones output. The mixers are a bit odd.

With sgmixer the control "phone out" actually controls the speaker. and pcm2 controls the headphones.

With the AlsaMixer one had to "scroll" to the right quite a ways before seeing "speaker". It is rather unusual that the headphone doesn't cut out the speakers, they can be modified independently.

Anyone know a way to get the Keyboard controls to influence the sound? Like [Fn]+[F9] = raise volume, etc.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#47 Post by mikeb »

Anyone know a way to get the Keyboard controls to influence the sound? Like [Fn]+[F9] = raise volume, etc.
xbindkeys works a treat...one binary and a config file and pretty simple to set up.(not worth using the gui). Then use it in conjunction with a little script or directly to set volumes via say setvol command.
setvolhttp://hocwp.free.fr/xbindkeys/xbindkeys.html
With the AlsaMixer one had to "scroll" to the right quite a ways before seeing "speaker". It is rather unusual that the headphone doesn't cut out the speakers, they can be modified independently.
when we eventually get an alsa update a card here does the same thing...odd ... could use xbindkeys for mute and restore speaker volume...there is probably a way of detecting headphones inserted via /proc/asound...... try cat /proc/asound... various files to test.

regards

mike

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#48 Post by rjbrewer »

Jeffjeff

A few mentions of fujitsu sound here:


http://tilos.csl.mech.ntua.gr/~apoikos/s7020.html

rjb

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#49 Post by tempestuous »

jeffjeff wrote:Anyone know a way to get the Keyboard controls to influence the sound? Like [Fn]+[F9] = raise volume, etc.
The current convention is to use the "acpid" daemon. This certainly works with the Asus Eee. See "Hotkeys on all ASUS Eee models"
http://www.murga-linux.com/puppy/viewto ... 744#237744
You will see that the situation with the Eee is similar to your Fujitsu -
Fn+F8: Decrease Volume Level
Fn+F9: Increase Volume Level
mikeb wrote:set volumes via say setvol command
The acpid people suggest using the standard ALSA utility; amixer.
First check that amixer works by trying this command to decrease volume -

Code: Select all

amixer set Master 10%-
and this command to increase volume -

Code: Select all

amixer set Master 10%+
If it works, then you can go ahead and install one of my "acpid-Eee-*" dotpets - all 3 are identical regarding the amixer commands.
Once the dotpet is installed, start the acpid daemon -

Code: Select all

acpid
If the F8 and F9 keys don't work at this point, it may be necessary to also load the "fujitsu-laptop" module -

Code: Select all

modprobe fujitsu-laptop
I think this passes keycode events to a config file which can be read by acpid.
Now try the F8 and F9 keys again.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#50 Post by mikeb »

The current convention is to use the "acpid" daemon. This certainly works with the Asus Eee.
Well that's handy though xbindkeys is pretty useful for more general uses such as getting multimedia keys working.
I've been working on a HP2133 ...good machine but hardware control is more manual (plus I managed to wipe the suse install with puppy install but no hard feelings and they were using a 2.6.18 kernel)
The backlight keys still work but not sure how...

anyway drifting off topic

regards

mike

Post Reply