Cyrix 5530 Multimedia Audio Controller w/Puppy 2.12

Problems and successes with specific brands/models of computer audio hardware
Post Reply
Message
Author
fbender
Posts: 11
Joined: Sat 23 Dec 2006, 13:04
Location: Kiel, Northern Germany

Cyrix 5530 Multimedia Audio Controller w/Puppy 2.12

#1 Post by fbender »

Hi there,
I'm running Puppy 2.12 on a Geode GX1 platform with Cyrix CS5530 "Kahlua" chipset. The embedded graphics and Ethernet controller are working fine, just the sound won't work. Any ideas? Any resources for drivers? Google wasn't my friend at this one =(
If further information is needed, don't hesitate to ask.

Merry Christmas,
Florian

EDIT: Apparently, there is a kernel module for cs5530 (called kahlua.o). A quick test with Damnmsmall Linux was successful, so the hardware is working. Unfortunately, this module is 2.4 kernel only. I don't know whether there is a module for 2.6 or not. If there is a 2.6 module, I would be glad having it included into the Puppy kernel.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#2 Post by tempestuous »

I found a few links on the web which suggest the ALSA SoundBlaster16 module can be used for your Cyrix CS5530.
I consider this strange since the SB16 is an ISA device, I would have thought that an AC97 driver would be more likely ... but it's worth a try -

modprobe snd-sb16 isapnp=0 irq=xxx dma8=xxx dma16=xxx

You will need to find out the correct irq and dma settings. These might be listed in BIOS, otherwise you might need to temporarily install Window$ to find out.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#3 Post by tempestuous »

UPDATE. When I read those links more carefully http://sourceforge.net/mailarchive/mess ... d=17778743
I see that the Cyrix CS5530 chip supports SB16 emulation ... but in practice the ALSA snd-sb16 driver still won't work.

PLAN B: Use the OSS driver. As well as ALSA, Puppy 2.12's zdrv driver collection contains all OSS modules, so do this -

modprobe soundcore
modprobe sound
modprobe sb_lib
modprobe kahlua

fbender
Posts: 11
Joined: Sat 23 Dec 2006, 13:04
Location: Kiel, Northern Germany

#4 Post by fbender »

I've tried to use the sb16 module, won't work. (Although there's indeed some kind of SB16 emulation in my BIOS, but I think it's DOS-only =( ).

Okay, I tried those modprobes, but it fails when I try to probe for the kahlua module, since it does not exist:

Code: Select all

# lsmod before
root@puppypc:~# lsmod
Module                  Size  Used by
sg                     35372  0 
snd_pcm_oss            46336  0 
snd_pcm                77592  1 snd_pcm_oss
snd_timer              23540  1 snd_pcm
snd_page_alloc         10008  1 snd_pcm
snd_mixer_oss          17328  1 snd_pcm_oss
snd                    51396  4 snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               9408  1 snd
[...]
# so here we go
root@puppypc:~# modprobe soundcore
root@puppypc:~# modprobe sound
FATAL: Module sound not found.
# not a problem, because I think the module is called snd (and it is already loaded)
root@puppypc:~# modprobe sb_lib
# took some time, went for a coffee, when I came back:
FATAL: Module sb_lib not found.
# anyway, let's go on
root@puppypc:~# modprobe kahlua
FATAL: Module kahlua not found.
And I think, this is the important point where the actual driver for my chipset is missing (and I have no idea where to get it). I'll keep trying to google for "kahlua.ko" or "/lib/modules/2.6.18/kernel/sound/kahlua.ko" or something like that. Perhaps there are better ideas?
Thanks for your help!
Yet, I notice that the OSS "sb" module works
Any idea how to load that? I guess, OSS is installed and working, since "lsmod" gives some info about loaded oss-modules.

Best Regards,
Florian

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#5 Post by pakt »

fbender wrote:Okay, I tried those modprobes, but it fails when I try to probe for the kahlua module, since it does not exist:

Code: Select all

# lsmod before
root@puppypc:~# lsmod
Module                  Size  Used by
sg                     35372  0 
snd_pcm_oss            46336  0 
snd_pcm                77592  1 snd_pcm_oss
snd_timer              23540  1 snd_pcm
snd_page_alloc         10008  1 snd_pcm
snd_mixer_oss          17328  1 snd_pcm_oss
snd                    51396  4 snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               9408  1 snd
[...]
# so here we go
root@puppypc:~# modprobe soundcore
root@puppypc:~# modprobe sound
FATAL: Module sound not found.
# not a problem, because I think the module is called snd (and it is already loaded)
root@puppypc:~# modprobe sb_lib
# took some time, went for a coffee, when I came back:
FATAL: Module sb_lib not found.
# anyway, let's go on
root@puppypc:~# modprobe kahlua
FATAL: Module kahlua not found.
And I think, this is the important point where the actual driver for my chipset is missing (and I have no idea where to get it). I'll keep trying to google for "kahlua.ko" or "/lib/modules/2.6.18/kernel/sound/kahlua.ko" or something like that. Perhaps there are better ideas?
Florian, make sure you have zdrv_212.sfs in the same directory as pup_save.3fs or Puppy won't have access to your module(s) when he boots.

Here is what zdrv_212.sfs has on kahlua and its dependencies:
/lib/modules/2.6.18.1/kernel/sound/oss/kahlua.ko:
/lib/modules/2.6.18.1/kernel/sound/oss/sb_lib.ko
/lib/modules/2.6.18.1/kernel/sound/oss/uart401.ko
/lib/modules/2.6.18.1/kernel/sound/oss/sound.ko
/lib/modules/2.6.18.1/kernel/sound/soundcore.ko
Info taken from the file /lib/modules/modules.dep.2.6.18.1

HTH
Btw, thanks for the interesting info on your Geode system ;)

Paul
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

fbender
Posts: 11
Joined: Sat 23 Dec 2006, 13:04
Location: Kiel, Northern Germany

#6 Post by fbender »

I wouldn't have thought that it is THAT easy!
Just wget the zdrv package and I was done. I didn't even need to insert the modules manually. Thanks a lot for you help, guys! The next beer's on me! :)

Paul, if I can provide you with more details about my system, just ask ;)

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#7 Post by pakt »

fbender wrote:I wouldn't have thought that it is THAT easy!
Just wget the zdrv package and I was done. I didn't even need to insert the modules manually. Thanks a lot for you help, guys! The next beer's on me! :)
Great that you got it working :)

Yes, Barry is amazing - he has put some real 'magic' in Puppy ;)

Paul
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

ashwillis
Posts: 6
Joined: Wed 06 Jun 2007, 23:49

CS5530 ALSA Driver

#8 Post by ashwillis »

Hi fbender, and everyone else :) (sorry to dig up an old thread)
OSS has been marked as obsolete for a long time and is scheduled for removal from the Linux kernel.
I've ported the kahlua driver from OSS to ALSA. The name of the new module is snd-cs5530 and is available in the latest alsa-driver release available at www.alsa-project.org and will soon be included in the 2.6 kernel.

If anyone with this hardware could test out the new ALSA driver and let me know how it works, that would be great. It would make sense to have it well tested before the old OSS driver is removed from the kernel.

Thanks :)
Ash

SandUhrGucker
Posts: 1
Joined: Sun 04 Sep 2011, 15:23

same problem

#9 Post by SandUhrGucker »

Hi,
i have the same problem to enable sound support on this device under ubuntu.
please show the output of lsmod to verify i have loaded the right modules.
Thanx!
Rene

Post Reply