Re: Dell Mother Boards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 28, 2016 at 10:59:31PM CEST, Martin McCormick wrote:
> 	The problem is that as of wheezy, the CS4236 is no longer
> supported and does not show up with aplay -l. A different sound
> card such as some of the SoundBlasters or other non CS4236 cards
> or even a USB sound card works and can be card 0 but you lose the
> P.C. speaker beep in your audio output.

Glancing quickly at a recent kernel tree, I still see a driver for this
piece of hardware. I wonder whether the card is not being found because
its in PnP mode and therefore the kernel doesn't see it for whatever reason.

Attached is a file we cary in Ubuntu that can help get this card working
again in PnP mode. No idea if it will help you, but it may be worth a try.

Luke
#! /bin/bash

## Provided by Mkarcher at http://www.thinkwiki.org/wiki/Script_for_configuring_the_CS4239_sound_chip_in_PnP_mode
## Modified by Daniel T Chen for Debian/Ubuntu, redistributable
## under GPLv2 or later

for dev in /sys/bus/pnp/devices/*
do
  grep CSC0100 $dev/id > /dev/null && WSSDEV=$dev
  grep CSC0110 $dev/id > /dev/null && CTLDEV=$dev
done

echo activate > $WSSDEV/resources
echo activate > $CTLDEV/resources

{ read
 read bla port1
 read bla port2
 read bla port3
 read bla irq
 read bla dma1
 read bla dma2
 # Hack: with PnPBIOS: ports are: port1: WSS, port2: OPL, port3: sb (unneeded)
 #       with ACPI-PnP:ports are: port1: OPL, port2: sb, port3: WSS
 # (ACPI bios seems to be wrong here, the PnP-card-code in snd-cs4236.c uses the
 #  PnPBIOS port order)
 # Detect port order using the fixed OPL port as reference
 if [ ${port2%%-*} = 0x388 ]
 then
   # PnPBIOS: usual order
   port=${port1%%-*}
   oplport=${port2%%-*}
 else
   # ACPI: mixed-up order
   port=${port3%%-*}
   oplport=${port1%%-*}
 fi
 } < $WSSDEV/resources

{ read
 read bla port1
 cport=${port1%%-*}
} < $CTLDEV/resources

modprobe snd-cs4236 port=$port cport=$cport fm_port=$oplport irq=$irq dma1=$dma1 dma2=$dma2 isapnp=0
_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]