Difference between revisions of "CS4624"

From ThinkWiki
Jump to: navigation, search
(Mention driver bug)
(Added suspend workaround)
Line 20: Line 20:
  
 
=== Linux ALSA driver ===
 
=== Linux ALSA driver ===
This sound chip is supported by the snd-cs46xx kernel module. The driver has a bug in that sound does not work after suspend and resume.
+
This sound chip is supported by the snd-cs46xx kernel module. The driver has a bug in that sound does not work after suspend and resume. If the cs46xx Alsa driver is compiled as a module though, sound can be reinitialized by removing and reloading the module and resetting the alsamixer soundlevels. A simple bash-script (to be run as root) that does this, would look roughly like this:
 +
 
 +
<pre>#!/bin/sh
 +
/etc/rc.d/init.d/alsa stop
 +
modprobe -r cs46xx
 +
modprobe cs46xx
 +
/etc/rc.d/init.d/alsa start</pre>
 +
 
 +
Do note that the link to "/etc/rc.d/init.d/alsa" may have to be modified depending on where your distributions init-files are placed.
 +
 
  
 
If you can't seem to use your mic with this card, open up alsamixer and set the following 3 channels to "capture": MIC, CAPTURE, ADC. Make sure your amixer output contains following:  
 
If you can't seem to use your mic with this card, open up alsamixer and set the following 3 channels to "capture": MIC, CAPTURE, ADC. Make sure your amixer output contains following:  

Revision as of 16:33, 11 January 2008

CS4624

This is a Cirrus Logic Audio controller

Note: This chip is paired with a CS4297A AC'97 Audio controller, only one sound driver should be loaded.

Features

  • Chipset: CS4624
  • Interface: PCI
  • PCI ID: 1013:6003

Linux OSS driver

This sound chip is supported by the cs46xx kernel module.

Linux ALSA driver

This sound chip is supported by the snd-cs46xx kernel module. The driver has a bug in that sound does not work after suspend and resume. If the cs46xx Alsa driver is compiled as a module though, sound can be reinitialized by removing and reloading the module and resetting the alsamixer soundlevels. A simple bash-script (to be run as root) that does this, would look roughly like this:

#!/bin/sh
/etc/rc.d/init.d/alsa stop
modprobe -r cs46xx
modprobe cs46xx
/etc/rc.d/init.d/alsa start

Do note that the link to "/etc/rc.d/init.d/alsa" may have to be modified depending on where your distributions init-files are placed.


If you can't seem to use your mic with this card, open up alsamixer and set the following 3 channels to "capture": MIC, CAPTURE, ADC. Make sure your amixer output contains following:

Simple mixer control 'ADC',0
  Capabilities: volume cswitch cswitch-joined
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 32767 
  Front Left: 32767 [100%] Capture [on]
  Front Right: 32767 [100%] Capture [on] 

(see also: http://alsa.opensrc.org/cs46xx)

ThinkPads this chip may be found in