[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.
> Things are starting to work, but since this is my first major
> undertaking I'm looking for your comments. Ask early, ask often...
> At this point I expect playback to work to all possible outputs (there
> is some clipping on 16 bit formats). I have not been able to get recording
> output in a file, though it does seem to catch data.
> So I look for anything from coding style to design issues to spelling to
> 'it worked' to 'I get an error' to the-meaning-of-the-universe.
> Just keep the phasers on stun, please :)

I now compiled my own kernel (2.4.27) without versioned symbols and without 
included sound modules. Compiling worked now just fine, some warnings about 
some unused vars, only.
However, this means that debian package kernel-headers-2.4.27 for is totally 
broken for sparc32. I'll investigate this further and file a bug report about 
this (probably marked critical as this really sucks :-( ).

However, there is another problem with alsa: it wants some PCI stuff but my 
machine in SBUS-only:
cp snd-sun-amd7930.o snd-sun-dbri.o /lib/modules/2.4.27/kernel/sound/sparc
make[1]: Verlasse Verzeichnis »/usr/src/alsa-driver-1.0.7/sparc«
/sbin/depmod -a 2.4.27 -F /lib/modules/2.4.27/build/System.map
depmod: *** Unresolved symbols 
in /lib/modules/2.4.27/kernel/sound/acore/snd-page-alloc.o
dtkstation:/usr/src/alsa-driver-1.0.7# modprobe snd-sun-dbri
/lib/modules/2.4.27/kernel/sound/acore/snd-page-alloc.o: /lib/modules/2.4.27/kernel/sound/acore/snd-page-alloc.o: 
unresolved symbol pci_free_consistent
/lib/modules/2.4.27/kernel/sound/acore/snd-page-alloc.o: /lib/modules/2.4.27/kernel/sound/acore/snd-page-alloc.o: 
unresolved symbol pci_alloc_consistent
insmod /lib/modules/2.4.27/kernel/sound/acore/snd-page-alloc.o failed
/lib/modules/2.4.27/kernel/sound/acore/snd-page-alloc.o: insmod snd-sun-dbri 

I doubt that pci_alloc_* function will ever be in my kernel or any module that 
comes with it. So: alsa broken on non-PCI sparc systems?


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: