Hi,
I have a Dell Optiplex GX1 which has a Crystal CS4236B sound chip. I know
the hardware is not faulty because it works in Windows (perhaps not the best
test but its all I have). However, I can't get it to work in FreeBSD 5.2
The man page for pcm says that this device is supported by the driver.
If I load the pcm module with snd_pcm_load="YES" in loader.conf, the CS4236
is not recognised.
I have tried putting the hints in devices.hints but it is still not
recognised.
There is a suggestion in the FreeBSD handbook that the csa bridge driver is
required for Crystal devices.
If I add snd_csa_load="YES" to loader.conf then the device is still not
recognised.
There is also a suggestion that options PNPBIOS is required when building
the kernel but this option is not recognised by 5.2
The pcm man page mentions using MSS mode so I put snd_mss_load="YES" in
loader.conf and now I start to get device recognition messages as shown
below, and I even get the sound devices turn up in /dev.
dmesg | grep pcm
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0a101a4.
pcm0: <CS4236> port 0x530-0x537 on acpi0
device_probe_and_attach: pcm0 attach returned 6
pcm0: <CS4236> port 0x530-0x537 on acpi0
device_probe_and_attach: pcm0 attach returned 6
pcm0: <CS4236> port 0x530-0x537 on acpi0
device_probe_and_attach: pcm0 attach returned 6
pcm0: <CS4236> port 0x530-0x537 on acpi0
device_probe_and_attach: pcm0 attach returned 6
pcm0: <CS4236> port 0x530-0x537 on acpi0
device_probe_and_attach: pcm0 attach returned 6
pcm0: <CS4236> port 0x530-0x537 on acpi0
device_probe_and_attach: pcm0 attach returned 6
pcm0: <CS4236> port 0x530-0x537 on acpi0
device_probe_and_attach: pcm0 attach returned 6
pcm0: <CS4236> port 0x530-0x537 on acpi0
device_probe_and_attach: pcm0 attach returned 6
pcm0: <CS423x> at port 0x220-0x22f,0x388-0x38b,0x534-0x537 irq 5 drq 0,1 on
isa0
So, question 1: Why do I get eight device_probe_and_attach messages?
I can now play CDs with cdcontrol and adjust the volume with mixer but when
I try to get Gnome2 to play sound events I get this error message on the
console and no sound.
pcm0:virtual:0: play interrupt timeout, channel dead
Which leads to question 2: What else do I have to do to get the sound to
work?
Just as an aside, I had to rebuild the kernel with SMP disabled to get the X
server to run. It would kill the whole machine without writing a log file
and power cycle was required to get it back. So I have an almost GENERIC
kernel.
Any suggestions will be gratefully received
Thanks
Keith
>> Stay informed about: Sound on Dell Optiplex GX1