Re: audio on a Sparc
On Fri, Oct 08, 2004 at 05:57:06PM +0200, Hendrik Sattler wrote:
> I now have another sparc clone (DTKstation/Classic+) that has an AMD7930 and
> also a DBRI SBUS card.
> The dbri.o driver from 2.4.27 (kernel-image-2.4.27-1-sparc32) seems to work
> with that SBUS card:
> audio0 at 0xfd01c000 (irq 57) is DBRI(e)+CS4215(18)
> and the amd7930.o driver also found the other soundchip:
> amd7930 at fd01a000 irq 61
> However, even as root, mpg123 only says:
> audio: INVALID ARGUMENT
> A cat on /dev/sndstat only gives an error message but supporting sndstat is
> not mandatory, anyway.
- These drivers use /dev/audio and /dev/audioctl. If you don't have these
files, run 'MAKEDEV audio' in /dev.
- What is the output from the audioctl program?
> I guess that all necessary modules are loaded?:
> Module Size Used by Not tainted
> dbri 16352 0 (unused)
> sunlance 9896 1
> crc32 3248 0 [sunlance]
> amd7930 7788 0
> audio 23816 2 [dbri amd7930]
> sr_mod 16088 0 (unused)
> cdrom 27996 0 [sr_mod]
> ext3 85292 2 (autoclean)
> jbd 45860 2 (autoclean) [ext3]
> sd_mod 11868 6 (autoclean)
> esp 29200 3 (autoclean)
> scsi_mod 61228 3 (autoclean) [sr_mod sd_mod esp]
It could be that having both drivers loaded at the same time creates
a conflict between them. It may be worth trying to load only one of them.
> Is there a console program that will definitely work, maybe even for MP3
> playback (I want to see if they are fast enough for that).
> Or should I use alsa instead?
Dave Miller created an alsa driver for the amd7930 in 2.6. The dbri alsa
driver is still in the works :)