Re: Is it time for remove (crap) ALSA from kernel tree ?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Wakko Warner
Date: Tuesday, June 26, 2007 - 9:25 am

Adrian Bunk wrote:

I have a motherboard with an intel chipset and onboard audio.  I have a
problem with alsa.  There's no pcm* files in /proc/asound/card0.

I tried quake on it which didn't work.  I remembered the problem with oss
use on alsa and tried to do the echo "..." as stated in the kernel docs only
to find out the path doesn't exist.  Here's what I see:

[wakko@gohan:/proc/asound/card0] ls -l
total 0
dr-xr-xr-x  2 root root 0 Jun 26 12:26 codec97#0/
-r--r--r--  1 root root 0 Jun 26 12:26 id
-r--r--r--  1 root root 0 Jun 26 12:26 intel8x0
-rw-r--r--  1 root root 0 Jun 26 12:26 oss_mixer
[wakko@gohan:/proc/asound/card0] lspci -vns 1f.5
0000:00:1f.5 0401: 8086:24c5 (rev 02)
        Subsystem: 414c:4730
        Flags: bus master, medium devsel, latency 0, IRQ 5
        I/O ports at e000 [size=256]
        I/O ports at e400 [size=64]
        Memory at e0581000 (32-bit, non-prefetchable) [size=512]
        Memory at e0582000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <available only to root>

[wakko@gohan:/proc/asound/card0] dmesg|tail -4
[  313.942182] ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [LNKB] -> GSI 5
(level, low) -> IRQ 5
[  313.942229] PCI: Setting latency timer of device 0000:00:1f.5 to 64
[  314.293944] intel8x0_measure_ac97_clock: measured 52586 usecs
[  314.294097] intel8x0: clocking to 48000
[wakko@gohan:/proc/asound/card0] uname -a
Linux gohan 2.6.21 #1 PREEMPT Sat Jun 23 23:36:48 EDT 2007 i686 GNU/Linux
[wakko@gohan:/proc/asound/card0] 

This is a BCM IN845GV board.

What is interesting is the same driver (kernel 2.6.20) and the same pciid
(except for subsystem) works fine on another machine.
[wakko@vegeta:/proc/asound/card0] ls -l
total 0
dr-xr-xr-x 2 root root 0 Jun 26 12:29 codec97#0/
-r--r--r-- 1 root root 0 Jun 26 12:29 id
-r--r--r-- 1 root root 0 Jun 26 12:29 intel8x0
-rw-r--r-- 1 root root 0 Jun 26 12:29 oss_mixer
dr-xr-xr-x 3 root root 0 Jun 26 12:29 pcm0c/
dr-xr-xr-x 3 root root 0 Jun 26 12:29 pcm0p/
dr-xr-xr-x 3 root root 0 Jun 26 12:29 pcm1c/
dr-xr-xr-x 3 root root 0 Jun 26 12:29 pcm2c/
dr-xr-xr-x 3 root root 0 Jun 26 12:29 pcm3c/
dr-xr-xr-x 3 root root 0 Jun 26 12:29 pcm4p/
[wakko@vegeta:/proc/asound/card0] lspci -vns 1f.5
00:1f.5 0401: 8086:24c5 (rev 02)
        Subsystem: 15d9:4080
        Flags: bus master, medium devsel, latency 0, IRQ 24
        I/O ports at 2000 [size=256]
        I/O ports at 2400 [size=64]
        Memory at b0000c00 (32-bit, non-prefetchable) [size=512]
        Memory at b0000800 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>

[wakko@vegeta:/proc/asound/card0] 

Dmsg for this driver:
[  110.504446] ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 24
[  110.504636] PCI: Setting latency timer of device 0000:00:1f.5 to 64
[  110.818894] intel8x0_measure_ac97_clock: measured 52791 usecs
[  110.818949] intel8x0: clocking to 48000

This is a Supermicro X5DA8 board (This one works fine!).

I don't know what to do with the BCM board other than just use OSS drivers
which work just fine on this board.

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals
 Got Gas???
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Sun Jun 24, 10:51 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Sun Jun 24, 12:24 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Jan Engelhardt, (Sun Jun 24, 12:27 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Olivier Galibert, (Sun Jun 24, 3:43 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Carlo Florendo, (Sun Jun 24, 11:22 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Carlo Florendo, (Sun Jun 24, 11:24 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Mon Jun 25, 2:51 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Mon Jun 25, 3:06 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Jan Engelhardt, (Mon Jun 25, 3:46 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Mon Jun 25, 4:36 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Mon Jun 25, 4:50 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Jan Engelhardt, (Mon Jun 25, 5:40 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Olivier Galibert, (Mon Jun 25, 5:44 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Olivier Galibert, (Mon Jun 25, 5:47 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Bartlomiej Zolnierki ..., (Mon Jun 25, 6:04 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Olivier Galibert, (Mon Jun 25, 6:20 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Renato S. Yamane, (Mon Jun 25, 6:21 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Mon Jun 25, 6:41 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Mon Jun 25, 7:02 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Lennart Sorensen, (Mon Jun 25, 7:44 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Mon Jun 25, 8:48 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Mon Jun 25, 10:00 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Lennart Sorensen, (Mon Jun 25, 10:13 am)
Handling xruns in OSS (was re:whatever), Hannu Savolainen, (Mon Jun 25, 1:09 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Hannu Savolainen, (Mon Jun 25, 1:32 pm)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Hannu Savolainen, (Mon Jun 25, 2:18 pm)
Re: Handling xruns in OSS (was re:whatever), Takashi Iwai, (Tue Jun 26, 2:18 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Wakko Warner, (Tue Jun 26, 9:25 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Florian Schmidt, (Fri Jun 29, 4:52 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Miklos Szeredi, (Fri Jun 29, 7:56 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Miklos Szeredi, (Fri Jun 29, 8:55 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Miklos Szeredi, (Fri Jun 29, 9:14 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Pavel Machek, (Fri Jun 29, 11:39 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Florian Schmidt, (Sun Jul 1, 4:46 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Miklos Szeredi, (Sun Jul 1, 5:17 am)
Re: Is it time for remove (crap) ALSA from kernel tree ?, Tomasz Kłoczko, (Thu Jul 5, 5:59 am)