LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-08-2007, 07:00 AM   #1
dannyk1
Member
 
Registered: Aug 2004
Location: Geelong, Vic Australia
Distribution: Gentoo, Ubuntu,and sometimes something from billy gates (when Im desperate)
Posts: 188

Rep: Reputation: 31
no sound on compaq m700 laptop with ubuntu 6.06


Ive been trying to get sound working for about a week now in this computer with no luck
Ive tried different distros, FC4 and FC6 and now i am onto Ubuntu 6.06 and none of these will pickup the sound card.

It definitely works. It worked in windows and DSL 3.0.1 installs the maestro driver and works fine.

I have been following the guide at http://doc.gwos.org/index.php/Compre...olutions_Guide

with no luck

aplay -l

gives:

aplay: device_list:221: no soundcards found...

lcpci -v

gives:

0000:00:08.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
Subsystem: Compaq Computer Corporation Armada M700/E500
Flags: medium devsel, IRQ 11
I/O ports at 3000 [size=256]
Capabilities: <available only to root>

I have tried using two different drivers
snd-es1968
and
snd-maestro3 (since DSL uses this)
and none of them seem to work

alsamixer

alsamixer: function snd_ctl_open failed for default: No such device


I am starting to run out of ideas..

If I dont get a solution to this problem soon, my wife will make me put windows back on this laptop heaven forbid!!
 
Old 04-09-2007, 12:59 AM   #2
i_joh
Member
 
Registered: Apr 2005
Distribution: Debian
Posts: 82

Rep: Reputation: 5
Have you tried running 'alsaconf'? It's the console based configuration utility for alsa. Then run 'alsamixer' to unmute everything, and finally 'alsactl store' to store the new mixer settings. Make sure you unmute the output jack if it shows up in alsamixer. Highlight the control and press M to mute/unmute. Really, if it works in DSL it should work in any Linux distro.

Hope that helps.
 
Old 04-09-2007, 06:32 AM   #3
dannyk1
Member
 
Registered: Aug 2004
Location: Geelong, Vic Australia
Distribution: Gentoo, Ubuntu,and sometimes something from billy gates (when Im desperate)
Posts: 188

Original Poster
Rep: Reputation: 31
Thanks for the reply.

A lot of people in other posts say to use this step but there is no alsaconf in ubuntu.

apparently alsactl can do the same thing but I cant figure out how to make it work...

If anyone knows how to configure the sound card with alsactl or any other ideas, they would be appricated
 
Old 04-09-2007, 12:29 PM   #4
i_joh
Member
 
Registered: Apr 2005
Distribution: Debian
Posts: 82

Rep: Reputation: 5
I see that's an ESS-1968. I had an ESS-1869 years ago, and it was an ISA card. Assuming yours is ISA too that may explain why the setup isn't done automatically by Ubuntu. I still think Ubuntu should have the standard console utilities though.

Anyway, here's a link to the official ALSA setup for that card:
http://www.alsa-project.org/alsa-doc...&module=es1968

Update: Sorry! This is the setup for the maestro driver that dsl sets up for you:
http://www.alsa-project.org/alsa-doc...odule=maestro3

Those instructions are quite generic though, and to me they often seem generated. If running an official release of Ubuntu I would think that you could safely skip the part about compiling the alsa libraries/utilities/drivers. Just pay attention to the part about modprobe.conf.

A note (from me) about modprobe.conf though.. /etc/modprobe.conf has been deprecated, so you may need to create a file like /etc/modprobe.d/sound instead. If /etc/modprobe.conf fails, try /etc/modprobe.d/sound. If the directory /etc/modprobe.d doesn't exist then Ubuntu may be doing things differently. The file /etc/modules.conf is used for Linux 2.4 based systems, so that will probably not apply to any Ubuntu system.

Anyway, I'm using Slackware Linux which is a totally different distro. I've been helping Ubuntu users before, and I wish Ubuntu would include some basic utilities that could be useful when all the automatic voodoo fails. I'll just hope this helps.

Regards

Last edited by i_joh; 04-09-2007 at 12:35 PM.
 
Old 04-14-2007, 02:05 AM   #5
dannyk1
Member
 
Registered: Aug 2004
Location: Geelong, Vic Australia
Distribution: Gentoo, Ubuntu,and sometimes something from billy gates (when Im desperate)
Posts: 188

Original Poster
Rep: Reputation: 31
Thanks guys for the replys.

What a headache this has been.

I cant get the alsadriver to compile as ubuntu doesnt come with a compiler installed.
After installing gcc and make it still wont compile as it needs the kernel source.

I tried downloading alsaconf and running that.

Using alsaconf I have tried all the different drivers starting with ESS.
Alsaconf will try and install what ever driver I choose, but it is still returning an error

Quote:
Loading driver:
./alsaconf: line 880: start: command not found
Setting the PCM volume to 100% and the Master output volume to 50%
amixer: Mixer attach default error: No such device
Could not initialize the mixer, the card was probably
not detected correctly.
I just cant understand why DSL will setup the soundcard no problems but other top class distros
like fedora and ubuntu dont want to know about it.

Any other ideas would be great.
 
Old 04-15-2007, 09:30 PM   #6
i_joh
Member
 
Registered: Apr 2005
Distribution: Debian
Posts: 82

Rep: Reputation: 5
From this howto:
http://www.martin-bock.de/pc/pc-0310.html

Quote:
3.8.2 ALSA

The module snd_es1968 needs the following lines in /etc/modprobe.conf:

alias char-major-116 snd
alias char-major-14 soundcore

alias snd-card-0 snd-es1968
alias sound-slot-0 snd-card-0

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 /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

options snd cards_limit=1
That's a PCI card. your lspci output should have told me that, sorry. It seems the module snd_es1968 worked for the writer of the above howto on the Compaq Armada M700.

alsaconf is part of the package alsa-utils. You could even try looking for that package in Ubuntu's software collection. A friend of mine uses that system, so I know there is a huge collection of software. Just downloading the script alsaconf by itself will likely not work because it will be missing some dependencies.

Quote:
I cant get the alsadriver to compile as ubuntu doesnt come with a compiler installed.
After installing gcc and make it still wont compile as it needs the kernel source.
That's right. In order to compile drivers you need the kernel source tree that was used to compile your kernel. Ubuntu should distribute that package, and its name will likely be kernel-source-something. Ubuntu is based on Debian, right? In that case I remember having tried to find a matching kernel source tree for Debian with no luck. It then requires some work to make the kernel source match the running kernel. I never found out how to do that before switching back to Slackware.

As a last resort try reinstalling your system so you know that your changes aren't affecting anything, and if the alsa-utils package exists for Ubuntu try to install that first. Then run alsaconf. You may not have to compile anything to make it work.

Last edited by i_joh; 04-15-2007 at 09:45 PM.
 
Old 05-19-2007, 01:57 AM   #7
dannyk1
Member
 
Registered: Aug 2004
Location: Geelong, Vic Australia
Distribution: Gentoo, Ubuntu,and sometimes something from billy gates (when Im desperate)
Posts: 188

Original Poster
Rep: Reputation: 31
Still no further ahead with this problem.

I tried compiling a custom kernel and that still didn't make any difference.
Would it have anything to do with the fact that DSL linux runs a 2.4 kernel as
apposed to ubuntu and Fedora which run 2.6 ?
Maybe the 2.6 kernel has a problem with the maestro or es drivers
 
Old 08-04-2007, 02:00 AM   #8
dannyk1
Member
 
Registered: Aug 2004
Location: Geelong, Vic Australia
Distribution: Gentoo, Ubuntu,and sometimes something from billy gates (when Im desperate)
Posts: 188

Original Poster
Rep: Reputation: 31
bit of an update:

I have tried different distros (on live cd's)
Xubuntu, puppy, dsl, knoppix.

The only ones that my sound card will will work with is dsl and knoppix both running
2.4.X kernels. Anything running a 2.6.X kernel doesn't work.

Does anyone know why that would 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
Compaq-armada m700 Password :Kids laptop unuseable billywizzer Linux - Security 5 08-17-2006 11:08 AM
Best distro for Compaq Armada M700? Waerner Linux - Laptop and Netbook 5 10-03-2005 11:19 AM
SUSE 9.3 is slow on my Compaq M700 ntgooroo Linux - Hardware 2 08-21-2005 01:59 PM
Compaq Armada M700 3D accelleration falconx Linux - Laptop and Netbook 0 11-09-2004 09:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:17 AM.

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