Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Intel ICH4 sound not working (Thinkpad T41) [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
ath0s
n00b
n00b


Joined: 17 May 2009
Posts: 6
Location: Boston, Ma

PostPosted: Sun May 17, 2009 2:42 am    Post subject: Intel ICH4 sound not working (Thinkpad T41) [solved] Reply with quote

I have recently decided to have my laptop run linux. I have been using Gentoo for years on my desktop and have been successful with everything operating correctly. However, on my laptop I can not get my sound to work (Intel ICH4 - snd-intel8x0). I have compiled alsa as a module in the kernel and setup my sound driver (snd-intel8x0) using alsaconf. All indicators point to the sound card being installed properly, except if I go to System -> Preferences -> Sound, it does not show my sound card (screen shot is here: http://img42.imageshack.us/img42/2718/soundpref.png ). Also, originally the volume applet was not working, but this was fixed with gst-plugins-alsa. Any ideas?

lspci -v :

Code:

00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
   Subsystem: IBM ThinkPad T41
   Flags: bus master, medium devsel, latency 0, IRQ 11
   I/O ports at 1c00 [size=256]
   I/O ports at 18c0 [size=64]
   Memory at c0000c00 (32-bit, non-prefetchable) [size=512]
   Memory at c0000800 (32-bit, non-prefetchable) [size=256]
   Capabilities: [50] Power Management version 2
   Kernel driver in use: Intel ICH
   Kernel modules: snd-intel8x0

00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01) (prog-if 00 [Generic])
   Subsystem: IBM ThinkPad T41
   Flags: bus master, medium devsel, latency 0, IRQ 11
   I/O ports at 2400 [size=256]
   I/O ports at 2000 [size=128]
   Capabilities: [50] Power Management version 2
   Kernel driver in use: Intel ICH Modem
   Kernel modules: snd-intel8x0m


aplay -l
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 0: Intel ICH [Intel 82801DB-ICH4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 4: Intel ICH - IEC958 [Intel 82801DB-ICH4 - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Modem [Intel 82801DB-ICH4 Modem], device 0: Intel ICH - Modem [Intel 82801DB-ICH4 Modem - Modem]
  Subdevices: 1/1
  Subdevice #0: subdevice #0



ath0s


Last edited by ath0s on Mon May 18, 2009 3:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2367
Location: Omnipresent

PostPosted: Sun May 17, 2009 4:38 am    Post subject: Reply with quote

try passing option "model=thinkpad" to the module.

More info here:

http://forums.gentoo.org/viewtopic-t-763424-highlight-.html
_________________
If you don't have backups, you deserve to lose your data -- read about my simple backup scheme.
Back to top
View user's profile Send private message
ath0s
n00b
n00b


Joined: 17 May 2009
Posts: 6
Location: Boston, Ma

PostPosted: Sun May 17, 2009 2:44 pm    Post subject: Reply with quote

I tried to add model=thinkpad, but this made the driver unloadable.

dmesg:
Code:
[  621.169085] Intel ICH 0000:00:1f.5: PCI INT B disabled
[  621.193403] Intel ICH Modem 0000:00:1f.6: PCI INT B disabled
[  621.729960] snd_intel8x0: Unknown parameter `model'
[  621.810397] snd_intel8x0: Unknown parameter `model'
[  621.922055] snd_intel8x0: Unknown parameter `model'
[  622.013353] snd_intel8x0: Unknown parameter `model'
[  622.277156] snd_intel8x0: Unknown parameter `model'
[  622.345055] snd_intel8x0: Unknown parameter `model'


ath0s
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2367
Location: Omnipresent

PostPosted: Sun May 17, 2009 3:28 pm    Post subject: Reply with quote

Ach, I'm very sorry -- my tip is applicable to the newer Intel HDA audio served by the snd-hda-intel driver, not the older one served by the snd-intel8x0 driver.

More advice here for your sound chip:

http://www.thinkwiki.org/wiki/AD1981B

To find out what parameters your module does take, run "modinfo snd-intel8x0".

Good luck.
_________________
If you don't have backups, you deserve to lose your data -- read about my simple backup scheme.
Back to top
View user's profile Send private message
ath0s
n00b
n00b


Joined: 17 May 2009
Posts: 6
Location: Boston, Ma

PostPosted: Sun May 17, 2009 6:54 pm    Post subject: Reply with quote

Thanks for the site, unfortunately it has not helped with the sound issue (but does have other useful info). I am starting to think it is an IRQ issue. My sound card deals with IRQ 11, when from what I can tell the x86 architecture generally have sound card on IRQ 5. Any idea how to tell my system to look elsewhere?


ath0s
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2367
Location: Omnipresent

PostPosted: Mon May 18, 2009 3:29 am    Post subject: Reply with quote

I'm no expert in this area, but IRQ collisions shouldn't be a problem for PCI devices.

In any event, unless the driver module has this parameter, I wouldn't know how to set it.

I presume that sound comes out of neither the speakers nor any headphones? If it comes through one but not the other, the ThinkWiki page has a tip about this ...
_________________
If you don't have backups, you deserve to lose your data -- read about my simple backup scheme.
Back to top
View user's profile Send private message
ath0s
n00b
n00b


Joined: 17 May 2009
Posts: 6
Location: Boston, Ma

PostPosted: Mon May 18, 2009 3:32 am    Post subject: Reply with quote

The sound does not come out of either. There seems to be other thinkpad users at a loss with dealing with sound on linux. I am not quite sure where to go from here. I have tried setting many of the various options offered by snd-intel8x0, but to no avail. But thanks for helping!


ath0s
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2367
Location: Omnipresent

PostPosted: Mon May 18, 2009 3:48 am    Post subject: Reply with quote

A few random ideas:

1. What does dmesg say? Anything unusual?

2. Trying fiddling with the Thinkpad special keys for sound, i.e, mute, volume up/down (one thread)

3. Try muting/unmuting a bunch of different settings in alsamixer (make sure to display all the various switches, not just the defaults)
_________________
If you don't have backups, you deserve to lose your data -- read about my simple backup scheme.
Back to top
View user's profile Send private message
huckabuck
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2007
Posts: 110
Location: Bronx, NY

PostPosted: Mon May 18, 2009 5:20 am    Post subject: Reply with quote

Hi,
i'm running with same audio card on my T43, and this is how i have my audio drivers set in the kernel gentoo-sources-2.6.28-r5...

Code:
  --- Advanced Linux Sound Architecture                             
  │ │    <M>   Sequencer support                                         
  │ │    < >     Sequencer dummy client                                   
  │ │    <M>   OSS Mixer API                                               
  │ │    <M>   OSS PCM (digital audio) API                                 
  │ │    [*]     OSS PCM (digital audio) API - Include plugin system     
  │ │    [*]   OSS Sequencer API                                         
  │ │    [ ]   Dynamic device file minor numbers                           
  │ │    [ ]   Support old ALSA API                                       
  │ │    [ ]   Verbose procfs contents                                     
  │ │    [ ]   Verbose printk                                               
  │ │    [ ]   Debug                                                       
  │ │    [ ]   Generic sound devices  --->                                 
  │ │    [ ]   ISA sound devices  --->                                     
  │ │    [*]   PCI sound devices  --->                                     
  │ │    [ ]   USB sound devices  --->                                     
  │ │    [ ]   PCMCIA sound devices  --->                                   
  │ │    < >   ALSA for SoC audio support  --->                           
 


Code:
  <M>   Intel/SiS/nVidia/AMD/ALi AC97 Controller


I remember seeing a module when i made this kernel that enables a system beep and warns that if you set this driver that it may load before your actual soundcard driver and give sound issues, like no sound and it is located in Input device support section, near the bottom in miscellaneous devices > i believe its called PC speaker support

Code:
--- Miscellaneous devices                                       
  │ │    < >   PC Speaker support (NEW)                                   
  │ │    < >   Fujitsu Lifebook Application Panel buttons (NEW)           
  │ │    < >   x86 Wistron laptop button interface (NEW)                   
  │ │    < >   x86 Atlas button interface (NEW)                             
  │ │    < >   ATI / X10 USB RF remote control (NEW)                     
  │ │    < >   ATI / Philips USB RF remote control (NEW)                   
  │ │    < >   Keyspan DMR USB remote control (EXPERIMENTAL) (NEW)         
  │ │    < >   Griffin PowerMate and Contour Jog support (NEW)           
  │ │    < >   Yealink usb-p1k voip phone (NEW)                           
  │ │    < >   C-Media CM109 USB I/O Controller (NEW)                     
  │ │    < >   User level driver support (NEW)                         


Hopefully if you disable that, you will get sound on the system. I ran the alsa-tools and use the default set up in the hand book and get sound in my system with audacious, and have sound with opera browser. Everything is default set up and works like a charm.

I hope that might help.

Edit:
Also, the hardware buttons on the keyboard do work also. Make sure you unmute and crank the volume up on the one button, one button raises the sound and the other one lowers it . The 3rd button is the mute button.
Back to top
View user's profile Send private message
ath0s
n00b
n00b


Joined: 17 May 2009
Posts: 6
Location: Boston, Ma

PostPosted: Mon May 18, 2009 3:08 pm    Post subject: Reply with quote

Wow, I feel like an idiot... I just needed to press the volume up button on the actual laptop! So many wasted hours, oh well, we learn as we go. Thanks for all your help!!!

ath0s
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2367
Location: Omnipresent

PostPosted: Mon May 18, 2009 3:11 pm    Post subject: Reply with quote

Please add "[solved]" to the thread title!
_________________
If you don't have backups, you deserve to lose your data -- read about my simple backup scheme.
Back to top
View user's profile Send private message
flangemonkey
n00b
n00b


Joined: 26 Jul 2010
Posts: 25

PostPosted: Thu Dec 29, 2011 5:32 pm    Post subject: Reply with quote

ath0s wrote:
Wow, I feel like an idiot... I just needed to press the volume up button on the actual laptop! So many wasted hours, oh well, we learn as we go. Thanks for all your help!!!

ath0s


ah ffs; me too!! never had a laptop with a volume dial so I didn't look for it :S

nevermind, all's well now, thanks for the admission, if you hadn't admitted that, I'd still be faffing lol
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum