[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ALSA Driver for Sparc DBRI chips



Am Sonntag, 21. November 2004 12:34 schrieb Martin Habets:
> I have been working on an ALSA driver for the DBRI/CS4215 chip
> combo found in Sparc machines. It is a port of the 2.5 OSS driver.

After setting the defines from pci_* to NULL and recompiling, it now loads:
audio0 at 0xfd01c000 (irq 57) is DBRI(e)+CS4215(18)

Some additional info:
/proc/asound/version:
Advanced Linux Sound Architecture Driver Version 1.0.7.
Compiled on Dec  4 2004 for kernel 2.4.27.
/proc/asound/timers:
G0: system timer : 10000.000us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P1-0-0: PCM playback 1-0-0 : SLAVE
P1-0-1: PCM capture 1-0-1 : SLAVE
/proc/asound/pcm:
00-00: sun_amd7930 : Sun AMD7930 : playback 1 : capture 1
01-00: sun_dbri : Sun DBRI : playback 1 : capture 1
/proc/asound/modules
0 snd-sun-amd7930
1 snd-sun-dbri
/proc/asound/devices
  0: [0- 0]: ctl
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
 33:       : timer
 32: [1- 0]: ctl
 48: [1- 0]: digital audio playback
 56: [1- 0]: digital audio capture
/proc/asound/cards
0 [AMD7930        ]: AMD7930 - Sun AMD7930
                     Sun AMD7930 at 0x00:0x71300000, irq 61
1 [DBRI           ]: DBRI - Sun DBRI
                     Sun DBRI at 0x00:0x40010000, irq 57

AMD7930 is on-board, DBRI is a SBUS card.
I try playback later and capture later, any suggestion for good console alsa 
applications? How do I toggle switches with alsamixer, same as muting?

I'll also try with another machine with on-board DBRI that the in-kernel dbri 
driver could not handle.

Note that no OSS compatibility layer is enabled but that was never available 
on Sparc anyway.

Looks promising so far, thanks a lot :)

HS

-- 
Mein GPG-Key ist auf meiner Homepage verfügbar: http://www.hendrik-sattler.de
        oder über pgp.net

PingoS - Linux-User helfen Schulen: http://www.pingos.org



Reply to: