Jump to content


Photo

Thinkpad 600E CS4610 Sound Card not working


  • Please log in to reply
9 replies to this topic

#1 skyspeedr

skyspeedr

    stranger

  • Members
  • 24 posts

Posted 10 April 2006 - 01:31 PM

I have SuSE Linux 10.0 installed but the sound card is not working.

When I try to set up my sound card in YaST2 I get the message "It seems that you have a Thinkpad 600E laptop. On this laptop, the CS4236 driver should be used although the CS46xx chip is detected. Attempt to probe the configuration of CS4236 driver?".

When I answer "Yes" and the probe finishes I get a panel that says "An error occurred during the installation of CD4610 SoundFurion Audio Accelerator. This can be caused by incorrect module parameters, including invalid IO or IRQ parameters.

How do I find out what the problem is with the paramaters, and how do I change them?

#2 skyspeedr

skyspeedr

    stranger

  • Members
  • 24 posts

Posted 13 April 2006 - 01:20 PM

I've tried the suggestion on the link below but is has not made any difference.

http://www.thinkwiki...hip_in_PnP_mode

When I enter install snd-cs46xx /bin/true as root in terminal, I get:

Linux:~ # install snd-cs46xx /bin/true
install: cannot stat `snd-cs46xx': No such file or directory
Linux:~ #

Same goes for:

Linux:~ # install snd-cs4236 /usr/local/bin/soundcard-on
install: cannot stat `snd-cs4236': No such file or directory
Linux:~ #

Anyone else have this problem???

#3 danleff

danleff

    Carpal Tunnel

  • Moderators
  • 2903 posts

Posted 13 April 2006 - 05:45 PM

Interesting article. It does not say specifically what distros the script will work on.

Did you add the script soundcard-on (named the same) to /usr/local/sbin/?

Did you add the modprobe Configuration lines to the appropriate /etc/modprobe.conf or /etc/modprobe.d/cs4236pnp file. Do either exist?

Or are you just trying to run the lines just in a terminal Window?

Is fastboot disabled in the bios, or set active?

#4 skyspeedr

skyspeedr

    stranger

  • Members
  • 24 posts

Posted 13 April 2006 - 11:18 PM

Yes, I added the soundcard-on script to /usr/local/sbin/, and I modified the modprobe Configuration lines in /etc/modprobe.conf.local (comments in /etc/modprobe.conf tell you to add local modifications to /etc/modprobe.conf.local rather than modifying modprobe.conf directly, and the last line of /etc/modprobe.conf is include /etc/modprobe.conf.local).

I even created the file /etc/modprobe.d/cs4236pnp file (which did not previously exist), using the lines added to /etc/modprobe.conf.local, and also copied soundcard-on to /usr/local/bin/ to see if that would help.

I've tried booting with fastboot disabled and fastboot enabled.

I only tried the terminal Window when nothing changed and I wanted to see what messages the commands were producing.

#5 danleff

danleff

    Carpal Tunnel

  • Moderators
  • 2903 posts

Posted 14 April 2006 - 06:08 PM

It looks like these soundcards are a problem. The iissue is how the card is sensed. They appear not to be plug-n-play and detected as ISA cards. Wish I had one of these to look at. My Thinkpad is an R-30 and works fine. Your Thinkpad is older and is bound to have some issues with module support.

What exact model of Thinkpad is this? Yes, the 2546-30U extention, as well.


Some articles that I found;

Installing Fedora Core 4 on the IBM Thinkpad 600E.

Suse Pro 9.0 on IBM Laptop 600E.

Thinkpad Wiki. Of course, this is probably what you found.

#6 skyspeedr

skyspeedr

    stranger

  • Members
  • 24 posts

Posted 15 April 2006 - 03:08 PM

My laptop is an IBM Thinkpad 600E type 2645-8AU

I'm using the SuSE Linux 10.0 Eval version.

I tried the following option from your first link (afer doing a BIOS reset and disabling quickboot).

Added to /etc/modprobe.conf.local:

options snd-cs4236 isapnp=0 cport=0x538 port=0x530 sb_port=0x220 fm_port=0x388 irq=5 dma1=1 dma2=0
alias snd-card-0 snd-cs4236

But this is the message I get from modprobe (as root):

Linux:~ # modprobe snd-cs4236
sh: /usr/local/sbin/soundcard-on: Permission denied
FATAL: Error running install command for snd_cs4236
Linux:~ #

Then I tried the suggestion from the second link (set up using YaST):

* used the CS4231 driver I/O = 0x530
* Irq = 5
* DMA1 = 1
* DMA2 = 0
* MPUIO = 0x330
* MPUIRQ =9
But no luck. I get the following error in YaST:

"An error occurred during the installation of CS4231. The kernel module snd-cs4231 for sound support could not be loaded. This can be caused by incorrect module parameters, including invalid IO or IRQ parameters." -Same message I get when trying to set up the cs46xx device that shows up in YaST by default.

I had already found your third link. But thanks for looking these up!

You're right, though, the card does not seem to be detected as PnP.





#7 danleff

danleff

    Carpal Tunnel

  • Moderators
  • 2903 posts

Posted 15 April 2006 - 08:59 PM

Quote:
Linux:~ # modprobe snd-cs4236
sh: /usr/local/sbin/soundcard-on: Permission denied
FATAL: Error running install command for snd_cs4236


The permissions of the file soundcard-on are incorrect. They don't mention in the article how to set them properly. I guess they assume everyone knows how.

However, if you saved the script as regular user, this could explain the problem.

I assume you have KDE as your GUI?

Try going into the file manager as superuser. Navigate to the soundcard-on file and right click-->properties.

Look at the permissions. If they are both set as your regular user (in my case it would be, for example danleff) set them for root.

It may be a little more complicated than this, but let's see what happens.

#8 skyspeedr

skyspeedr

    stranger

  • Members
  • 24 posts

Posted 16 April 2006 - 03:03 AM

It was owned by root but did not have Execute priviledges. I changed it and now I get:

Linux:~ # modprobe snd-cs4236
/usr/local/sbin/soundcard-on: line 53: /lib/alsa/modprobe-post-install: No such file or directory
FATAL: Error running install command for snd_cs4236

Line 53 is at the end of the file. Here's snd-cs4236...

#!/bin/bash

# Sound-via-pnp-script for Thinkpad 600E and possibly other computers with onboard
# CS4239/CS4610 that do not work with the PCI driver and are not recognized by the
# PnP code of snd-cs4236

# search sound card pnp device

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

# activate devices (Thinkpad boots with devices disabled unless "fast boot" is turned off)

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

# parse resource settings

{ 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

# 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


#9 skyspeedr

skyspeedr

    stranger

  • Members
  • 24 posts

Posted 17 April 2006 - 11:01 PM

I also tried running alsaconf and here's the result:

Linux:~ # alsaconf
Following card(s) are found or your system. Choose a soundcard to configure:
cs46xx -- Cirrus Logic CS 4610/11 [CrystalClear SoundFusion Audio Accelerator
legacy -- Probe legacy ISA (non-PnP) chips


If I try the legacy probe it doesn't find any cards.
If I try cs46xx it reports the (esd) output below and then says:

Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.


But none of the sound mixer programs work. They all report that no device is found, or "Cannot connect to sound daemon. Please run ‘esd’ at command prompt."

When I run esd this is the output.

Linux:~ # esd
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:955:(snd_func_refer) error evaluating name
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2094:(snd_pcm_open_noupdate) Unknown PCM default
Linux:~ #



#10 skyspeedr

skyspeedr

    stranger

  • Members
  • 24 posts

Posted 26 April 2006 - 11:21 PM

OK, I've been looking at lots of sites where they talk about how to get sound working on a TP600E, but nothing has worked for me, so...

I installed Red Hat Linux in a new partition on my 600E and entered the commands:

insmod sound
insmod ad1848
insmod uart401
insmod cs4232 0x530 irq=5 dma=1 dma2=0

And presto! I have sound!! Now, why won't this work with SuSE 10.0???




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq