Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 27 Aug 2014, 23:09
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Audio
Cyrix 5530 Multimedia Audio Controller w/Puppy 2.12
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
fbender

Joined: 23 Dec 2006
Posts: 11
Location: Kiel, Northern Germany

PostPosted: Mon 25 Dec 2006, 08:52    Post subject:  Cyrix 5530 Multimedia Audio Controller w/Puppy 2.12  

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.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5238
Location: Australia

PostPosted: Mon 25 Dec 2006, 22:40    Post subject:  

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.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5238
Location: Australia

PostPosted: Mon 25 Dec 2006, 23:08    Post subject:  

UPDATE. When I read those links more carefully http://sourceforge.net/mailarchive/message.php?msg_id=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
Back to top
View user's profile Send private message 
fbender

Joined: 23 Dec 2006
Posts: 11
Location: Kiel, Northern Germany

PostPosted: Tue 26 Dec 2006, 07:14    Post subject:  

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:
# 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!

Quote:
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
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Tue 26 Dec 2006, 09:55    Post subject:  

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:
# 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:
Quote:

/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 Wink

Paul

_________________
Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart Cool
Back to top
View user's profile Send private message 
fbender

Joined: 23 Dec 2006
Posts: 11
Location: Kiel, Northern Germany

PostPosted: Tue 26 Dec 2006, 10:44    Post subject:  

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! Smile

Paul, if I can provide you with more details about my system, just ask Wink
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Tue 26 Dec 2006, 11:01    Post subject:  

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! Smile

Great that you got it working Smile

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

Paul

_________________
Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart Cool
Back to top
View user's profile Send private message 
ashwillis

Joined: 06 Jun 2007
Posts: 6

PostPosted: Wed 06 Jun 2007, 20:11    Post subject: CS5530 ALSA Driver  

Hi fbender, and everyone else Smile (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 Smile
Ash
Back to top
View user's profile Send private message 
SandUhrGucker

Joined: 04 Sep 2011
Posts: 1

PostPosted: Mon 16 Jan 2012, 17:06    Post subject: same problem  

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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Audio
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0740s ][ Queries: 12 (0.0043s) ][ GZIP on ]