LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices



Reply
 
Search this Thread
Old 01-04-2004, 12:49 PM   #1
openglforums
LQ Newbie
 
Registered: Oct 2002
Location: Dallas, TX
Distribution: Fedora Core
Posts: 13

Rep: Reputation: 0
Sound on my IBM Thinkpad 600e using Fedora


Hey everyone,
I am a brand new Linux user, and this whole thing is pretty cool, but daunting. I have an IBM Thinkpad 600e running the latest version of Fedora Core Linux. It works fine, except the sound.

Now, most of these laptops use the cs4232 sound module, which I believe is compiled into the kernel. However, by using sndconfig, I found out that my laptop has an IBM|CS4610 SoundFusion Audio Accelerator. So I searched around a bit and found ALSA, which seemed like it would work. I went to the ALSA website (alsa-project.org) and downloaded the driver that it said I needed. However, I had to do this on my Windows PC as my Linux Laptop is not connected to the Internet (keep that in mind when giving me advice, please). So, I copied the downloaded file over to my laptop, and tried to follow the instructions given at the alsa-project.org site. It didn't work.

Here's what happens: Whenever I boot my machine, I get an error saying "/dev/dsp can't be opened. The sound server will continue running with null output." I assume this means that no sound works (obviously).

So, basically, for an extreme newbie, please help me through getting sound to work. I've searched the forums, but it appears that my laptop is unique with its sound card.

Thanks in advance!

-Vic
 
Old 01-04-2004, 05:49 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
Nope. I have the 600E too, and so do a host of other people around here. I use the Alsa cs4236 driver, as described here.


Håkan
 
Old 01-05-2004, 04:05 PM   #3
openglforums
LQ Newbie
 
Registered: Oct 2002
Location: Dallas, TX
Distribution: Fedora Core
Posts: 13

Original Poster
Rep: Reputation: 0
Hey,
Thanks for the reply. Alright, I've been fooling around with this for hours with no luck. I follow the directions given on http://alsa-project.org/alsa-doc/doc...&module=cs46xx . Whenever I try to do the chmod command, I get a "can't find /dev/midi" error. Then, when I try to do the modprobe command to add the module to the kernel, it says it cannot add the module. Doing a modinfo snd-cs4610 says that no module by that name can be found.

I read the link in your post, but I'm lost there as well.

I really appreciate the help. If there is any other advice you can give me, I would really appreciate it.

Thanks!
 
Old 02-12-2004, 06:57 PM   #4
saxophobe
Member
 
Registered: Feb 2003
Location: Dallas, TX
Distribution: CentOS 5.3
Posts: 131

Rep: Reputation: 15
Angry Alsa driver install error

Hi all!

I have been trying very hard to install the Alsa driver to work on my Thinkpad 600e with the Cirrus Logic 4610. This is an ongoing problem and project that has left me very frustrated.

While trying to follow the directions listed on the Alsa site (http://www.alsa-project.org/alsa-doc...&module=cs46xx) I have found that running the following commands:

bunzip2 alsa-driver-xxx
tar -xf alsa-driver-xxx
cd alsa-driver-xxx
./configure --with-cards=cs46xx --with-sequencer=yes;make;make install

has resulted in the following errors:

**********************************************
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
make all-deps
make[1]: Entering directory `/home/%username%/Documents/alsa-driver-1.0.2c'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/home/%username%/Documents/alsa-driver-1.0.2c'

Please, run the configure script as first...

rm -f /snd*.*o /persist.o /isapnp.o
make[1]: Entering directory `/home/alanbur/Documents/alsa-driver-1.0.2c/acore'
Makefile:6: ../Makefile.conf: No such file or directory
make[1]: *** No rule to make target `../Makefile.conf'. Stop.
make[1]: Leaving directory `/home/%username%/Documents/alsa-driver-1.0.2c/acore'
make: *** [install-modules] Error 1

**********************************************

Can anyone give me step-by-step instructions that will allow me to use this soundcard on my TP 600e?

Just for grins, I tried using sndconfig from the Mandrake 9.2 cds. This returned the following error:


**********************************************
The following error occurred running the modprobe program:

/lib/modules/2.4.22-10mdk/kernel/drivers/sound/cs46xx.o.gz
: init_module: No such device
modprobe: insmod
/lib/modules/2.4.22-10mdk/kernel/drivers/sound/cs46xx.o.gz
failed
modprobe: insmod sound-slot-0 failed

**********************************************

I would really like some assistance from a Linux guru as to restore my faith in the *nix community. Please show me the my hope in the goodness of the Linux community samaritans is not misplaced.

Thanks for all those with the kindness to take this post seriously and reply!
 
Old 02-12-2004, 09:12 PM   #5
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
Come on now saxophobe, post spamming isn't nice. I have replied to your other post.


Håkan
 
Old 02-18-2004, 08:15 AM   #6
openglforums
LQ Newbie
 
Registered: Oct 2002
Location: Dallas, TX
Distribution: Fedora Core
Posts: 13

Original Poster
Rep: Reputation: 0
Alright, now that I have the right files on my computer (I have all the bz2 files from ALSA). Where should I put them to untar/unzip them so I can install the right drivers? I tried putting them in the root folder, but whenever I tried to do a modprobe snd-cs46xx so insert the module into the kernel, it says it can't find the module.

I can compile the modules just fine, its installing them that is the problem. I am following the instructions from http://alsa-project.org/alsa-doc/doc...&module=cs46xx that page exactly.

Any help is appreciated. Thanks!

-Vic
 
Old 02-18-2004, 10:10 AM   #7
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
When you have compiled them using make, just type make install as root and they will install to their correct locations automatically.

Håkan
 
Old 02-21-2004, 09:42 PM   #8
openglforums
LQ Newbie
 
Registered: Oct 2002
Location: Dallas, TX
Distribution: Fedora Core
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for the reply. Alright, here's my updated story:

Uninstalled Fedora, installed RH 9.
Compiled and installed alsa fine. The part that is not working is the inserting of it into the kernel.

I have the cs46xx (4610) sound card on my machine. Thus, after I am done compiling and installing, I run the commands
Code:
modprobe snd-cs46xx;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
to insert the module into the kernel. I get the error:

Code:
/lib/modules/2.4.20-8/kernel/sound/pci/cs46xx/snd-cs46xx.o: init_module: No such device.
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. 
    You may fine more information in syslog or the output from dmesg
What is syslog or dmesg? Also, how can I change the module parameters?

Thanks for your help!
 
Old 02-22-2004, 10:49 AM   #9
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
I just wrote some instructions on getting sound on the 600E going using the OSS kernel drivers instead of Alsa. You shouldn't have to recompile your kernel or install any additional software.

Håkan
 
Old 02-22-2004, 11:57 AM   #10
openglforums
LQ Newbie
 
Registered: Oct 2002
Location: Dallas, TX
Distribution: Fedora Core
Posts: 13

Original Poster
Rep: Reputation: 0
here's how i did it

Wohoo! I got sound to work. Here's how I did it:

1. Downloaded the ALSA drivers (1.0.2)
2. Unzipped and untarred them (to whatever directory you like, I used /usr/src cause I'm just going to delete them).
3. Since I am using Redhat 9, here is the command I used to compile and install the drivers:
Code:
./configure --with-cards=cs4232 --with-sequencer=yes --with-redhat=yes --with-isapnp=yes;make;make install
. Compiles fine, and installs fine. Everything good.
4. Then did a
Code:
modprobe cs4232
and bingo! It worked. Sound works flawlessly.

Thanks for all the help, Hakan! When I get some money, I'll donate to your affero link. I really wanted to learn Linux well (still learning, of course), so I installed the base amount of stuff possible. This way, I get used to compiling and make'ing stuff. So far, I've installed Mozilla 1.6, Apache 2, PHP 4.3.4 and MySQL 4.

Now I just need to get my Wireless card working! Look out for more posts by me

Thanks,
-Vic
 
Old 02-23-2004, 08:44 AM   #11
saxophobe
Member
 
Registered: Feb 2003
Location: Dallas, TX
Distribution: CentOS 5.3
Posts: 131

Rep: Reputation: 15
Hi all!

I used the instructions provided by openglforums on the Red Hat 9 system that I work on and got the make and make install to finally work! (Thanks openglforums and Hakan!) I can't wait to try these instructions out on my Mandrake 9.2 system that is running on my 600e!

BTW - Where did you find the ./configure statements regarding redhat and isapnp? Also, if I do this on Mandrake, could I use the statement, "--with-mandrake=yes" ?

The only problem I had was using the modprobe command: I have never been able to use this command successfully. Is there something specific that I need to have installed in order for this to work? When I run it, I always receive the following error no matter what directory I run it from:

*******************

bash: modprobe: command not found

*******************

Does anyone know why I am not able to use modprobe? Please let me know when you get a chance!

Thanks to all!
 
Old 02-23-2004, 09:16 AM   #12
openglforums
LQ Newbie
 
Registered: Oct 2002
Location: Dallas, TX
Distribution: Fedora Core
Posts: 13

Original Poster
Rep: Reputation: 0
I don't know why modprobe doesn't work (I am still learning a ton!), but I got the idea to use the --with-redhat and --with-isapnp because with most (if not all) configure scripts, you can type
Code:
./configure --help
and it will show you a list of configuration options. On Hakans website, he mentioned something about PNP, so I just picked that option, and bingo, it worked!

I noticed you live in Dallas, so do I (actually, Richardson). I go to UTD!

Hope this helps.
 
Old 02-23-2004, 03:52 PM   #13
saxophobe
Member
 
Registered: Feb 2003
Location: Dallas, TX
Distribution: CentOS 5.3
Posts: 131

Rep: Reputation: 15
modprobe difficulties

Hi all.

Actually, I finally figured it out!

The only way I was able to run modprobe was to actually log out, and log back on as root. Then I ran modprobe without difficulties. I don't know why I couldn't run the command from the terminal after switching to root using the 'su' command?!?!?!

Anyway, I was able to do the modprobe command, and sound does work on my RH9 system. However, I was able to use sndcofig to get sound working before on this system. My question now is, how do I know if I am using the Alsa driver or not? Is there some way I can check? On the Mandrake system, it will be easy to know; my sound card will be working!!!

However, on this RH9 system, is there some way I can tell if I am using the much labored over Alsa driver? The sound is alright, but not great as I was expecting.

Thanks again for all those who reply to idiots like me.
 
Old 02-23-2004, 06:15 PM   #14
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
saxophobe - all Alsa driver modules have a "snd-" prefix to their name. The OSS (traditional, to be replaced by Alsa) driver for the CS4232 is called, quite simply "cs4232" while the Alsa driver for the same card is called snd-cs4232.
This is one of the few cases that the names (excluding the prefix, of course) is the same in both OSS and Alsa, and also the reason they decided to prefix all Alsa modules with "snd-" so there would be less confusion. Just type lsmod to view what modules are loaded.

And about running modprobe as root or not - it sounds like root's .bash_profile is a bit off. Make sure it includes .bashrc. If it doesn, just add these lines to /root/.bash_profile:
Code:
if [ -e ~/.bashrc ]
then
    source ~/.bashrc
fi
That should take care of setting the path correctly. If you're hesistant to edit your .bash_profile, just type out the full path to the program, like /sbin/lsmod or /sbin/modprobe when accessing programs in /sbin or /usr/sbin.


Håkan
 
Old 02-24-2004, 12:07 AM   #15
saxophobe
Member
 
Registered: Feb 2003
Location: Dallas, TX
Distribution: CentOS 5.3
Posts: 131

Rep: Reputation: 15
Angry This is getting ridiculous!!!

Hi all...

After trying the process that openglforums recommended on my Mandrake 9.2 system, I still get the same error about 'kernel' not supported in 32 bit mode. Then I decided to install Fedora Core 1 and see if I could get it to work.

After flattening my Mandrake system, I installed FC1 with only minor problems that I was able to resolve. Then, I proceeded to download all the Alsa 1.0.2c bits, tar them, ran the ./configure with the --with-redhat=yes --with-isapnp=yes switches. This worked!

I then ran the make command; this also worked! I was starting to have hope!

I then ran the make install, which also worked! I thought I could see light at the end of the tunnel!!!

I tried running modprobe cs4236, but this failed. So I tried the same thing I did with my RH9 system, logged out and back on as root. It worked!!! I thought I was home free!!!

The only problem now is that FC1 doesn't even notice that I have a soundcard when I go into the Hardware Browser!!!

I also tried running sndconfig, which recognized my sound card correctly, but said that it was not supported.

Right now, I feel like , and believe that this system is destined to never sing another note.

Anyone have any ideas?.....

I really appreciate everyone's help.

PS- I am still researching the tpctl tools and their variants.....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no sound with ibm thinkpad 600e pat travers Debian 14 10-18-2005 03:38 PM
Fedora Core 2 + IBM Thinkpad 600E + ALSA arupsarkar Linux - Laptop and Netbook 6 09-22-2004 05:36 AM
sound on IBM Thinkpad 600E - laptop farshad1366 Linux - Hardware 1 09-10-2004 08:09 PM
Sound not working on IBM Thinkpad 600E zer0python Linux - Newbie 10 01-01-2004 06:06 PM
Sound on IBM ThinkPad 600E firejdl Linux - Hardware 1 06-20-2003 12:35 AM


All times are GMT -5. The time now is 11:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration