With a little side of applesauce...

Sunday, January 28, 2007

Ubuntu - Acer 5102, ALSA, and Realtek ALC883 (HDA ATI SB) FIXED!

I did a fresh install of Ubuntu Edgy, and sound worked right out of the box, but once I rebooted I completely lost sound. Here is my information:

user@mylaptop:~$ cat /proc/asound/cards
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xc0000000 irq 58

user@mylaptop:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0

user@mylaptop:~$ lspci
00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 10)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:04.0 PCI bridge: ATI Technologies Inc Unknown device 5a36
00:05.0 PCI bridge: ATI Technologies Inc Unknown device 5a37
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80)
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 83)
00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller ATI (rev 80)
00:14.2 Audio device: ATI Technologies Inc Unknown device 437b (rev 01)
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS482 [Radeon Xpress 200M]
06:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
06:02.0 Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01)
06:04.0 CardBus bridge: ENE Technology Inc CB-712/4 Cardbus Controller (rev 10)
06:04.1 FLASH memory: ENE Technology Inc ENE PCI Memory Stick Card Reader Controller (rev 01)
06:04.2 Class 0805: ENE Technology Inc ENE PCI Secure Digital Card Reader Controller (rev 01)
06:04.3 FLASH memory: ENE Technology Inc FLASH memory: ENE Technology Inc: (rev 01)
06:04.4 FLASH memory: ENE Technology Inc Unknown device 0551 (rev 01)

After reading:

http://www.ubuntuforums.org/showthread.php?t=202555&page=5

http://www.linuxquestions.org/questions/showthread.php?t=468859

http://ubuntuforums.org/showthread.php?t=205449

I, finally found:

http://dev-board.com/?p=16

Which I modified to get working on my edgy installation:

1. There is no need to patch ALSA >= 1.0.13

2. I didn’t need to modify any files, nor run alsaconf, (which the Ubuntu developers feel is of limited usefulness anyways).

Therefore, you will need to download “Driver”, “Library”, and “Utilities” from the ALSA Project page:

http://www.alsa-project.org/

I ran the following for loops to untar them:

for i in $(ls alsa*.bz2); do bunzip2 -d $i ; done
for i in $(ls alsa*.tar); do tar xvf $i ; done

Then followed the author’s steps:

$ ./configure –with-oss=yes –with-cards=hda-intel
$ make
$ make install
$ cd ../alsa-lib-1.0.13
$ ./configure
$ make
$ sudo make install
$ cd ../alsa-utils-1.0.13
$ ./configure
$ make
$ sudo make install

If the alsa-utils package configure fails when looking for a curses library:

checking for initscr in -lncurses… no

Then simply install the libncurses5-dev package:

sudo apt-get install libncurses5-dev

I rebooted and was greeted with the bongos when GDM started :)

Now, to get sound on the left ear/speaker… :P

No comments: