CS4232 no sound Puppy 4.1

Problems and successes with specific brands/models of computer audio hardware
Post Reply
Message
Author
anagramagia
Posts: 13
Joined: Sat 08 Nov 2008, 23:54

CS4232 no sound Puppy 4.1

#1 Post by anagramagia »

Please, I really need your help. I couldn't setup the soundcard, although I have read all the posts and web pages I have found (and I tried everything, I think), although they where similar or near like what my problem was but not exactly the same, if I've understand them well.
Here are the info about my card, pc and operating system:

Puppy Linux 4.1 (it's fully installed in a hard drive)
Pentium mmx 233mhz 96ram M571(motherboard)
isapnp CS4232 Crystal (it is automatically detected and ready working in a very old knoppix -a version from 2003, with a 2.4.something kernel- and in Damn Small Linux also with a 2.4 kernel)

Here are all of the things I have tried.

The result from
ls /sys/bus/pnp/devices/*:*.00 is:

ls /sys/bus/pnp/devices/01:01.00:
id options power resources subsystem uevent

ls /sys/bus/pnp/devices/01:02.00:
id options power resources subsystem uevent

The result from
cat /sys/bus/pnp/devices/*:*.00/id
CSC0000
USR004F

The result from cat /proc/isapnp
cat /proc/isapnp : No such file or directory

I think that it is the same /sys/devices/pnp1/01:01/01:01.00 as /sys/bus/pnp/devices/01:01.00
and the rest (01:01.01, 01:01.02, 01:01.03)
(I don't know what all these mean in full, I'm only guessing)

The output from cat /sys/devices/pnp1/01:01/*:*.0*/id is
CSC0000
CSC0001
CSC0010
CSC0003

The output from cat /sys/devices/pnp1/01:01/*:*.0*/resources
state = disabled
state = disabled
state = disabled
state = disabled

The I run echo activate > /sys/devices/pnp1/01:01/*:*.0*/resources
and then cat ...
the output from 01:01.00 is
state = active
io 0x534-0x537
io 0x388-0x38b
io 0x220-0x22f
irq 5
dma 1
dma 3

Then
echo activate > /sys/devices/pnp1/01:01/01:01.01/resources
and
cat /sys/devices/pnp1/01:01/01:01.01/resources
state = active
io 0x200-0x207

Then
echo activate > /sys/devices/pnp1/01:01/01:01.02/resources
and
cat /sys/devices/pnp1/01:01/01:01.02/resources
state = active
io 0x120-0x127

Then
echo activate > /sys/devices/pnp1/01:01/01:01.03/resources
and
cat /sys/devices/pnp1/01:01/01:01.03/resources
state = active
io 0x330-0x331
irq 9

I run alsaconf, these are the options I get:
cs4232 CS4232 Sound card
legacy probe: legacy ISA (non-pnp) chips
usb-audio override: usb sound device
aoa override: apple onboard audio

I have also tried legacy with no success.

dmesg gives me this about the sound card:
cs4232-pnpbios 01:01.00: activated
cs4232-pnpbios 01:01.00: disabled
cs4232-pnpbios: probe of 01:01.00 failed with error -2

When I run alsamixer the output is:
alsamixer: function snd_ctl_open failed for default: No such device

The output from aplay is:
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:393: snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returnet error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3513:(_snd_config_evaluate) functioon snd_func_refer returned error: No such device
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:564: audio open error: No such device

The output from amixer is:
amixer: Mixer attach default error: No such device

The lsmod output is:
Module Size Used by
snd_pcm_oss 40992 0
snd_mixer_oss 16640 1 snd_pcm_oss
snd_cs4232 14132 0
snd_opl3_lib 11264 1 snd_cs4232
snd_hwdep 9220 1 snd_opl3_lib
snd_cs4231_lib 24192 1 snd_cs4232
snd_pcm 73736 2 snd_pcm_oss,snd_cs4231_lib
snd_timer 22276 3 snd_opl3_lib,snd_cs4231_lib,snd_pcm
snd_page_alloc 10376 2 snd_cs4231_lib,snd_pcm
snd_mpu401_uart 8064 1 snd_cs4232
snd_rawmidi 23456 1 snd_mpu401_uart
snd_seq_device 8204 2 snd_opl3_lib,snd_rawmidi
snd 52772 13 snd_pcm_oss,snd_mixer_oss,snd_cs4232,snd_opl3_lib,snd_hwdep,snd_cs4231_lib,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 7520 1 snd
parport_pc 32068 1
lp 12580 0
parport 35656 2 parport_pc,lp
evdev 11776 0
apm 19792 1
squashfs 46856 0
i2c_sis5595 7176 0
i2c_core 24592 1 i2c_sis5595
8139too 25216 0
mii 5504 1 8139too
unionfs 73572 0
pcspkr 2944 0
fuse 48284 0
nls_iso8859_1 4096 0
nls_cp437 5760 0

I put this in modprobe.conf (when I run alsaconf there was only alias snd-card-0 cs4232 and alias sound-slot-0 snd-cs4232), so I try writing something more

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.16 ---
alias snd-card-0 snd-cs4232
alias sound-slot-0 snd-cs4232
options snd-cs4232 port=0x534 cport=0x538 mpu_port=-1 fm_port=0x388 irq=5 dma1=1 dma2=0 isapnp=0
# --- END: Generated by ALSACONF, do not edit. ---

I have the same in modules.conf (when running the alsaconf, nothing is written here)
#after running alsaconf, stuff gets appended...
alias snd-card-0 snd-cs4232
alias sound-slot-0 snd-cs4232
options snd-cs4232 port=0x534 cport=0x538 mpu_port=-1 fm_port=0x388 irq=5 dma1=1 dma2=0 isapnp=0

I've also tried with isapnp=1
and the same result.

And I disabled Quick boot from the bios setup.

Please I just don't know what else may I could do before giving up, please again tell me if there is any hope.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#2 Post by technosaurus »

it is still supported in 4.1.1
have you tried the alsa wizard from a clean boot with your pupsave file deleted?
-->Menu-->Setup-->Alsa sound Wizard

I looked at the modules.dep which tells you what each module is dependent on and can't figure out why the oss stuff is there

it lists each driver followed by its dependency

take a look in /lib/modules/2.6.xx.x/

maybe you could see what needed to be loaded on the other distro then try it in puppy

for more info try -->Home-->System-->HardInfo or PupScan

anagramagia
Posts: 13
Joined: Sat 08 Nov 2008, 23:54

#3 Post by anagramagia »

Thanks for answering. I have a problem with that pc now, and can't try what you tell at the time. In the meantime I try puppy 4.1 in another pc with another sound card and works fine. But really I apreciate your reply. If my pc become alive again or if I can use that sound card in another machine I will try.

angelv
Posts: 2
Joined: Tue 11 Nov 2008, 16:14

#4 Post by angelv »

Hi,

I installed Puppy yesterday to an old IBM Thinkpad 600e, which also has that sound chip, and googling to find a solution to it, I found this page http://www.wlug.org.nz/ThinkpadNotes, which did the trick.

Read the page, but what I did was:

- get rid of the Fast Boot in the BIOS
- boot Puppy with options pnpbios=off acpi=off
- configure ALSA with module (legacy) cs4236

and sound is fine. Two applications can not use the sound card at the same time, but I guess that would be asking too much...

Cheers,

lappup
Posts: 10
Joined: Sat 21 Feb 2009, 05:29

#5 Post by lappup »

I did this for the 380Z Thinkpad (same audio chipset) and with pnpbios=off and acpi=off ALSA identified the hardware as SB16 but no sound played. WIth the flags not set, ALSA identifies the hardware as cs4232 - any ideas?

Post Reply