LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-02-2007, 04:01 AM   #1
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Rep: Reputation: 16
Thinkpad z61M - no sound


I've just installed Debian on a new Z61M. During boot there are messages about ALSA being recognized but RealPlayer9 fails with the message:

"Cannot open the audio device. Another application may be using it."

There is no other application. I cannot see any /dev/audio file.

This is kernel 2.6.18-4 (Debian stock kernel).

The audio device, from lspci, is:
Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)

Google shows one source which says that this should work out of the box with ALSA snd-hda-intel. I do not know how to set this up; I've installed various Alsa pacakages but cannot see this item.

Any suggestions gratefully received.
 
Old 02-02-2007, 09:56 AM   #2
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
Try running "lsmod" in a terminal window. Look at the output and see if you see "snd-hda-intel" listed. If not, then you may need to load the module using modprobe.
 
Old 02-02-2007, 10:23 AM   #3
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Tino27
Try running "lsmod" in a terminal window. Look at the output and see if you see "snd-hda-intel" listed. If not, then you may need to load the module using modprobe.
I do have this module loaded. And alsaconf says that the device has been properly configured, but still it doesn't do anything.

Last edited by acampbell; 02-02-2007 at 10:25 AM.
 
Old 02-02-2007, 10:27 AM   #4
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
Well, there are two possibilities. Either the module you need has already been compiled into the kernel or it was built as a module. If it was built into the kernel, then you wouldn't need to do anything. In fact, if you tried to load it into the kernel using modprobe, you'd get an error. All of the above said, normally, most distributions come with kernels that don't have a lot of drivers built into the kernel (as it makes the kernel image bigger). So, I would try this at a prompt:

$modprobe snd-hda-intel

and see what happens. Do another 'lsmod' to check and make sure it did load the module. If the modprobe above gives you an error, post it here and maybe we can figure out the next step.

ETA: Small correction made.
 
Old 02-02-2007, 10:36 AM   #5
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Original Poster
Rep: Reputation: 16
I get:

snd_hda_intel 17332 0
snd_hda_codec 137856 1 snd_hda_intel

Does this look correct?

Last edited by acampbell; 02-02-2007 at 10:38 AM.
 
Old 02-02-2007, 12:51 PM   #6
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
Was that the output of lsmod after you explicitly did the modprobe or before? Either way, it's good, because it means the driver is loaded for your sound card. The only other thing you need to ensure is that all of the ALSA drivers are also loaded. They would be prefixed with "snd" as well. Unfortunately, I've built the drivers into my kernel (so they don't show up when I do lsmod), but you can basically figure out what should be loaded by visiting

http://alsa-project.org/

and locating your sound card. The instructions will tell you what ALSA modules you need. I will admit to this: I had major problems with the bundled ALSA modules with several different distributions. Those problems were solved when I removed all of the ALSA packages that came with my distro and downloaded the latest drivers from the ALSA website and built them myself. Your mileage may vary.
 
Old 02-02-2007, 01:02 PM   #7
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Original Poster
Rep: Reputation: 16
Something seems to be wrong. Following a suggestion elsewhere I tried speaker-test, which showed:
ithaca:~:$ ALSA lib confmisc.c:670snd_func_card_driver) cannot find card '0'
bash: syntax error near unexpected token `('
ithaca:~:$ ALSA lib conf.c:3500_snd_config_evaluate) function snd_func_card_driver returned error:
No such device
 
Old 02-03-2007, 10:56 AM   #8
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Original Poster
Rep: Reputation: 16
Well for anyone who's been following this thread (and thanks for all those who offered help), here is the end of the saga.

I tried Ubuntu and sound worked! As an added bonus, I could configure the wireless connection too. So Ubuntu it will have to be.
 
  


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
no sound on thinkpad a31 txrj Linux - Laptop and Netbook 16 12-09-2005 12:22 PM
Thinkpad sound and SuSE 10 spotslayer SUSE / openSUSE 0 10-19-2005 05:18 PM
no sound on thinkpad 600e qfesp2002 Linux - Laptop and Netbook 4 09-30-2005 11:22 AM
Sound on a Thinkpad 390 whaase Linux - Hardware 1 03-17-2005 08:06 AM
thinkpad 600 sound yessongs Mandriva 1 07-15-2004 07:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:38 PM.

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