Please merge snd-cs4236 initscript portion for ThinkPad 600s

Bug #41990 reported by Robert McMeekin
8
Affects Status Importance Assigned to Milestone
alsa-utils (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

robert@elephant:~$ aplay /usr/share/sounds/startup.wav
Playing WAVE '/usr/share/sounds/startup.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: pcm_write:1222: write error: Input/output error

That above is why I am filing this bug report. I cannot play any sounds or record sounds, though I can use alsamixer to make it so that I can hear myself talking into the microphone and cause a lot of feedback.

robert@elephant:~$ uname -a
Linux elephant 2.6.15-21-686 #1 SMP PREEMPT Fri Apr 21 16:57:03 UTC 2006 i686 GNU/Linux

Before I upgraded to dapper I was using the OSS cs4232 module because I did not want to read about how to configure alsa. That driver is no longer available though it seems so I am using snd-cs4236 by adding the following to rc.local (probably not the right way, but it seems to load without errors, which should be a bug because it doesn't work):

## setup the sound card
setpnp 0e on && setpnp 0f on && setpnp 10 off || exit 1
OPTIONS="index=0 isapnp=0 port=0x530 cport=0x538 irq=5 dma1=1 dma2=0"
modprobe snd-cs4236 $OPTIONS || exit 1

AFAIK my system is as updated as possible as of this time of this writing.

Revision history for this message
Robert McMeekin (rrm3) wrote :

Also, I tried switching the dma's as mentioned here: http://alsa.opensrc.org/index.php?page=ThinkPad600
and it did not make any difference.

Revision history for this message
Robert McMeekin (rrm3) wrote :

With 2.6.15-22, I no longer get the input/output error. aplay just hangs and doesn't make any noise. Rhythmbox just hangs too (the status says it's playing, but the numbers and progress bar do not move, this behavior did not change between the 21 and 22 kernel release).

Revision history for this message
Robert McMeekin (rrm3) wrote :

Nevermind, the behavior only changes when I have esd enabled. Without esd enabled, the same results occur as described in the original report.

Revision history for this message
Robert McMeekin (rrm3) wrote :

Finally, problem fixed with script found here and after I removed some bogus lines that I had added by mistake to /etc/modprobe.d/alsa-base (sorry): http://www.thinkwiki.org/wiki/Problem_with_broken_sound_on_ThinkPad_600. with the following changes:

--- snd-cs4236.sh.old 2006-05-08 19:11:37.000000000 -0700
+++ snd-cs4236.sh 2006-05-08 19:09:58.000000000 -0700
@@ -8,8 +8,8 @@

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

 # activate devices (Thinkpad boots with devices disabled unless "fast boot" is turned off)
@@ -50,5 +50,4 @@

 # load the module

-modprobe --ignore-install snd-cs4236 port=$port cport=$cport fm_port=$oplport irq=$irq dma1=$dma1 dma2=$dma2 isapnp=0 index=0 && /lib/alsa/modprobe-post-install snd-cs4236
-
+modprobe --ignore-install snd-cs4236 port=$port cport=$cport fm_port=$oplport irq=$irq dma1=$dma1 dma2=$dma2 isapnp=0 index=0

Revision history for this message
Robert McMeekin (rrm3) wrote :

Sorry, to clarify: the original bug was my mistake throwing the wrong options when modprobing snd-cs4236, but I wonder if that script or at least parts of it could be somehow included in the distribution to prevent headaches for other people.

Daniel T Chen (crimsun)
Changed in linux-source-2.6.15:
importance: Medium → Wishlist
Daniel T Chen (crimsun)
Changed in alsa-utils:
status: New → Confirmed
Daniel T Chen (crimsun)
Changed in alsa-utils:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package alsa-utils - 1.0.18-1ubuntu8

---------------
alsa-utils (1.0.18-1ubuntu8) jaunty; urgency=low

  * debian/init: Mute *Analog/Digital Control for Creative cards
    by default (LP: #106380)
  * debian/README.init.cs4236: Include in /usr/share/doc/alsa-utils
    so that users of snd-cs4236 (e.g., ThinkPad 600) can have
    audible sound (LP: #41990)
  * fix_misspelling_speaker-test_man_page.patch: Fix misspelling
    in speaker-test(1) (LP: #296148)
  * Last upload fixed LP: #272865

 -- Daniel T Chen <email address hidden> Sun, 01 Feb 2009 16:12:42 -0500

Changed in alsa-utils:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.