LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-28-2011, 09:16 PM   #1
npdawson
LQ Newbie
 
Registered: Mar 2011
Posts: 8

Rep: Reputation: 0
sound card order on lenovo x120e, HDMI vs sound card


I've just received my new x120e and I can't get sound working in flash and a few other things. Amarok and system sounds work fine, but because the graphics card comes before the sound card, the HDMI audio is put before the actual sound card. I'm looking for some way to reorder the sound cards so that the actual card is the default.

Since both cards use snd-hda-intel, according to the alsa wiki it's impossible to tell alsa which one to put at index 0 and the wiki suggests that a udev rule be used. I have no idea how to go about this however. I'm also willing to disable the HDMI one way or another for now if that will fix the issue, but I saw nothing in the BIOS settings to accomplish this and so I'm not sure it's possible unless there's a way to tell alsa it's not a sound card.

I'm running the latest 13.37 RC 3.1415etc
 
Old 03-28-2011, 09:28 PM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,223

Rep: Reputation: 187Reputation: 187
see this post
http://www.linuxquestions.org/questi...device-713793/

You can also blacklist the HDMI sound module if you don't plan on using it.

Last edited by Daedra; 03-28-2011 at 09:29 PM.
 
Old 03-28-2011, 09:33 PM   #3
npdawson
LQ Newbie
 
Registered: Mar 2011
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Daedra View Post
see this post
http://www.linuxquestions.org/questi...device-713793/

You can also blacklist the HDMI sound module if you don't plan on using it.
As I said in the original post, they are, unfortunately, both using the same module: snd-hda-intel
 
Old 03-28-2011, 09:38 PM   #4
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,223

Rep: Reputation: 187Reputation: 187
yes they both use snd-hda-intel, but check lsmod. the HDMI uses a more specific module that you can just blacklist. post the output of your lsmod if you need more help.

Last edited by Daedra; 03-28-2011 at 10:11 PM.
 
Old 03-28-2011, 10:20 PM   #5
npdawson
LQ Newbie
 
Registered: Mar 2011
Posts: 8

Original Poster
Rep: Reputation: 0
Oh, I didn't notice that. Thanks for pointing it out.

I assume the modules I need are snd_hda_codec_hdmi and snd_hda_codec_conexant, but according to modinfo they don't have the index parameter.

I also tried blacklisting the hdmi. While the hdmi no longer shows up under aplay -l, the sound card is still card 1 and not 0 and flash still has no sound.

Here's my lsmod:

Code:
Module                  Size  Used by
snd_seq_dummy           1479  0 
snd_seq_oss            30116  0 
snd_seq_midi_event      5708  1 snd_seq_oss
snd_seq                52486  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          5473  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            40089  0 
snd_mixer_oss          17282  1 snd_pcm_oss
ipv6                  275315  16 
cpufreq_ondemand        9164  2 
powernow_k8            12956  0 
freq_table              2435  2 cpufreq_ondemand,powernow_k8
mperf                   1195  1 powernow_k8
lp                      9781  0 
ppdev                   6021  0 
parport_pc             21214  0 
parport                30087  3 lp,ppdev,parport_pc
fuse                   66651  1 
snd_hda_codec_conexant    42870  1 
snd_hda_codec_hdmi     22985  1 
uvcvideo               62632  0 
snd_hda_intel          21915  6 
lib80211_crypt_tkip     8459  0 
joydev                 10279  0 
snd_hda_codec          71748  3 snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
videodev               65968  1 uvcvideo
fglrx                2655577  185 
snd_hwdep               6254  1 snd_hda_codec
v4l1_compat            15658  2 uvcvideo,videodev
wl                   2526774  0 
usbhid                 36859  0 
rtc_cmos                9374  0 
snd_pcm                73762  5 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
i2c_piix4               8176  0 
v4l2_compat_ioctl32    11199  1 videodev                                        
hid                    77723  1 usbhid                                          
processor              25982  3 powernow_k8                                     
snd_timer              19671  3 snd_seq,snd_pcm                                 
agpgart                28874  1 fglrx                                           
r8169                  37529  0                                                 
video                  11949  0                                                 
thermal                 8082  0                                                 
i2c_core               19769  2 videodev,i2c_piix4                              
rtc_core               14471  1 rtc_cmos                                        
battery                10535  0                                                 
rtc_lib                 1978  1 rtc_core                                        
button                  5013  0                                                 
ac                      3249  0                                                 
output                  2020  1 video                                           
thermal_sys            13862  3 video,processor,thermal                         
psmouse                47222  0                                                 
evdev                   9813  21                                                
serio_raw               4534  0                                                 
mii                     3906  1 r8169                                           
snd                    58334  22 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer                                                 
soundcore               5681  1 snd                                             
snd_page_alloc          7297  2 snd_hda_intel,snd_pcm                           
k10temp                 2835  0                                                 
sg                     26495  0                                                 
hwmon                   1473  2 thermal_sys,k10temp                             
lib80211                4078  2 lib80211_crypt_tkip,wl
 
Old 03-29-2011, 12:41 AM   #6
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,223

Rep: Reputation: 187Reputation: 187
Hhmmm, getting closer, After you've blacklisted the HDMI modules maybe try rerunning alsaconf again to see if alsa will automatically set your soundcard back to index=0. After that you may need to reboot. I may be wrong about that though.
 
Old 03-29-2011, 01:14 AM   #7
npdawson
LQ Newbie
 
Registered: Mar 2011
Posts: 8

Original Poster
Rep: Reputation: 0
I ran alsaconf, but no change, even after a reboot.
 
Old 03-29-2011, 01:54 AM   #8
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,223

Rep: Reputation: 187Reputation: 187
Ok, If you've blacklisted the HDMI module and your actual soundcard is still index=1 what is taking up your index=0? Also if your running a user account have you added that user to your audio group?
 
Old 03-29-2011, 03:28 AM   #9
npdawson
LQ Newbie
 
Registered: Mar 2011
Posts: 8

Original Poster
Rep: Reputation: 0
I am in the audio group. I'm not sure what's at index 0, but the conexant card is still card1 and flash has no sound. Though just a few minutes ago a youtube video had sound, then I just tried again without changing anything and it's reverted.
 
Old 03-29-2011, 04:16 AM   #10
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,223

Rep: Reputation: 187Reputation: 187
in a terminal type "alsamixer" and it will tell you what the default card is. If your in X take a screenshot and post it for us. That might help narrow this down. You can also try IRC slackware channel ##slackware. A lot of the gurus hangout there.
 
Old 03-29-2011, 02:30 PM   #11
npdawson
LQ Newbie
 
Registered: Mar 2011
Posts: 8

Original Poster
Rep: Reputation: 0
In alsamixer the HDMI shows up, but without any controls. "Card: HD-Audio Generic" "Chip: ATI ID aa01"

Before the blacklist, this had one control, a toggle: IEC958
 
Old 03-29-2011, 03:29 PM   #12
npdawson
LQ Newbie
 
Registered: Mar 2011
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, apparently it works now. I upgraded the kernel to 2.6.38.2 and in sound.conf set model=thinkpad. Thanks a lot for your help.

[Edit] And I can even remove the blacklist on the hdmi, but I don't get sound through it. But I can live with no sound thru hdmi.

Last edited by npdawson; 03-29-2011 at 04:07 PM.
 
Old 04-02-2011, 02:48 AM   #13
escaflown
Member
 
Registered: May 2009
Location: Canada
Distribution: Slackware
Posts: 237

Rep: Reputation: 30
@npdawson: How did you manage to get X working properly? I received the same laptop today and installed slackware current but whenever I try to start an X environment (either kde or xfce), it fails with a black screen. lspci reports a cryptic ATI graphic. Checking the Xorg log reports Segmentation fault fatal error.
 
Old 04-03-2011, 02:41 PM   #14
npdawson
LQ Newbie
 
Registered: Mar 2011
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by escaflown View Post
@npdawson: How did you manage to get X working properly? I received the same laptop today and installed slackware current but whenever I try to start an X environment (either kde or xfce), it fails with a black screen. lspci reports a cryptic ATI graphic. Checking the Xorg log reports Segmentation fault fatal error.
I installed the fglrx 11.3 driver from amd's website.
 
Old 04-03-2011, 03:24 PM   #15
escaflown
Member
 
Registered: May 2009
Location: Canada
Distribution: Slackware
Posts: 237

Rep: Reputation: 30
Quote:
Originally Posted by npdawson View Post
I installed the fglrx 11.3 driver from amd's website.
Thanks. Finally got it to work by installing the same thing from amd's website.
 
  


Reply


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
HD ATI HDMI interfering with default sound card setting CA0106 RichardT Ubuntu 2 01-06-2010 08:21 AM
sound card does not work in Fedora 8 for lenovo 3000 G410 Model ashvin_smile Linux - Newbie 5 03-30-2009 11:09 AM
No sound over HDMI Video Card with GeForce 9500GT jpacooper Linux - Hardware 2 02-03-2009 06:07 PM
laptop LENOVO 3000C200 sound card detection problem. coolloo LinuxQuestions.org Member Intro 1 12-28-2008 06:12 PM
Diabling onboard sound card and enabling pci slot sound card abhatia Linux - Hardware 4 01-12-2004 03:10 AM


All times are GMT -5. The time now is 07:40 AM.

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