Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Old April 15th, 2005   #1
Liam
Just Give Me the Beans!
 
Liam's Avatar
 
Join Date: Apr 2005
Beans: 45
ALi M5451 sound card prob

I don't have sound at all at the moment. On boot or when I try to restart alsa, here's what I get:

Code:
# /etc/init.d/alsa restart
 * Shutting down ALSA...
 * /etc/init.d/alsa: Warning: 'alsactl store' failed with error message 'alsactl: save_state:1194: No soundcards found...'.
Invalid card number.
It'll loop maybe a dozen times before quitting.

# lspci

Code:
0000:00:00.0 Host bridge: ALi Corporation M1621 (rev 01)
0000:00:01.0 PCI bridge: ALi Corporation PCI to AGP Controller (rev 01)
0000:00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
0000:00:03.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01)
0000:00:06.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
0000:00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
0000:00:08.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 01)
0000:00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c3)
0000:01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/i1 (rev 5d)
0000:02:00.0 Ethernet controller: Xircom Cardbus Ethernet 10/100 (rev 03)
0000:02:00.1 Serial controller: Xircom Cardbus Ethernet + 56k Modem (rev 03)
# lsmod | grep snd

Code:
snd_ali5451            21828  0
snd_ac97_codec         64608  1 snd_ali5451
snd_pcm_oss            47652  0
snd_mixer_oss          16768  1 snd_pcm_oss
snd_pcm                84872  3 snd_ali5451,snd_ac97_codec,snd_pcm_oss
snd_timer              23300  1 snd_pcm
snd                    50276  6 snd_ali5451,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               9824  1 snd
snd_page_alloc          9604  1 snd_pcm
# grep ali /etc/modprobe.d/alsa-base

install snd-ali5451 modprobe --ignore-install snd-ali5451 && /lib/alsa/modprobe-post-install snd-ali5451

I've got a feeling that my problem is with that last bit, but I've got no idea what options I need to be passing to the driver.

Any ideas?

Thanks.
Liam is offline  
Old August 14th, 2005   #2
sunfisher
First Cup of Ubuntu
 
Join Date: May 2005
Location: El Paso
Beans: 7
Send a message via ICQ to sunfisher Send a message via Skype™ to sunfisher
Re: ALi M5451 sound card prob

Did you ever get resolution on your audio problem? I have almost exactly the same indications and results. It seems clear there is no driver loaded for the ALi M5451 chipset. Thus far I haven't had any success on compiling and loading the ALSA driver set. My compile of the driver won't proceed because:
"The file /usr/src/linux/include/linux/version.h does not exist."
although I've downloaded the Linux source for linux-2.6.10.
sunfisher is offline  
Old November 1st, 2005   #3
Liam
Just Give Me the Beans!
 
Liam's Avatar
 
Join Date: Apr 2005
Beans: 45
Re: ALi M5451 sound card prob

Sheesh, I completely forgot about this, and it took me two and a half months to notice sunfisher's PM. I'll post my solution here, for the benefit of everybody else and google.

After a lot of digging on the ubuntu boards and elsewhere, I FINALLY got around to fixing this a couple of days ago.

Here's the steps I took:
  1. Upgraded to breezy via dist-upgrade; I couldn't get it to install from the CD
  2. Upgraded to latest 686 kernel in the repos - I can't remember which at the moment, the notebook is at home
  3. Appended
    Code:
    acpi_irq_isa=10 apm=off
    to the line beginning with "# kopts" in /boot/grub/menu.lst. acpi_irq_isa should be your sound cards IRQ; mine's 10
  4. Ran update-grub
  5. Rebooted

This gets me sound in XMMS, mplayer, and the xfce volume control; I haven't tried it with audacity or anything.

This is on a KDS Valiant 6480, BTW. YMMV.
Liam is offline  
Old January 27th, 2006   #4
Rollerbob
5 Cups of Ubuntu
 
Join Date: Apr 2005
Beans: 15
Re: ALi M5451 sound card prob

Quote:
Originally Posted by Liam
Here's the steps I took:
I'm having exactly the same problems on a Toshiba Portege 4010 with a soundcard which has the Ali M5451 chipset. I'd like to try this solution, but can you tell me how I get the IRQ of my sound card?

Last edited by Rollerbob; January 27th, 2006 at 08:27 PM..
Rollerbob is offline  
Old October 7th, 2006   #5
tritium3
5 Cups of Ubuntu
 
Join Date: Mar 2006
Beans: 21
Re: ALi M5451 sound card prob

Quote:
Originally Posted by Rollerbob View Post
I'm having exactly the same problems on a Toshiba Portege 4010 with a soundcard which has the Ali M5451 chipset. I'd like to try this solution, but can you tell me how I get the IRQ of my sound card?
You can get the IRQ of all devices with "cat /proc/interrupts"
tritium3 is offline  
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:01 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry