LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-20-2004, 09:30 PM   #16
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58

A friend of mine came to me today with his identical 600E and to my great surprise the computer froze solid when I tied loading both Alsa snd-cs4236 driver. After some poking and yelling and trying different kernels and running tpctl (in a vain attempt hoping it would help) I decided to go a different route. The recommended way is using Alsa, but this way was easier and a lot quicker, although not preferrable according to the kernel maintainers that want to kill the AD1848 driver. I have said I was thinking of writing something on getting it to work, so here we go (also posted here):

=============================================

Sound on the Thinkpad 600E using kernel drivers

On several Linux user forums newbies and old timers often have a hard time getting sound to work on their Thinkpads, and one of the most common laptops is still the 600E. I have had great success using Alsa on my 600E (a 2645-4A0 model) but it seems I'm quite alone in this. So here's a quick and ugly solution to getting it working. The kernel developers don't want the ad1848 driver to be used at all but it actually works pretty well!

Here is what you need: A Thinkpad 600E with the Cirrus Logic CS4237B sound chip, known for being incorrectly identified as a CS4610/11 by Linux utilities such as lspci. Well...it's not a CS46xx model - those are PCI chips while the CS4237B is an ISA chip. It is actually a whole lot easier getting the sound to work this way so I'll get to it right away:

Kernel configuration for 2.6 series kernels:
  • ISA-PNP support, built-in or as a module (Device Drivers -> Plug and Play support)
  • * UART401 built as a module (Device Drivers -> Sound -> Open Sound System -> MPU-401 support)
  • * CS4232 built as a module (Device Drivers -> Sound -> Open Sound System -> OSS Sound Modules -> Crystal CS4232 based (PNP) cards)
  • * AD1848 built as a module (Device Drivers -> Sound -> Open Sound System -> PSS (AD1848, etc)

That's pretty much it. Test the modules before finalizing your options by writing a script or setting your options in a settings file (such as
/etc/modules on Debian). To load the modules manually:
modprobe isa-pnp
modprobe ad1848
modprobe uart401
modprobe cs4232 cs4232 io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=9


If all goes well you shouldn't be seeing any errors at all. Test playing a sound using play, or any other OSS-aware application (XMMS works fine too). If you get problems playing sounds you may have to chmod a+rw /dev/dsp /dev/sound /dev/mixer to make sure all users have access to the sound devices.

If you do get sound you could write a script to automatically load the modules at boot - much recommended. Loading them by hand like above gets tedious and isn't very productive, now is it? I found this simple script on the Linux on Laptops website and it should work right out of the box. Just remove the isa-pnp related lines if you have ISA PNP support built in rather than as a module.

Copy this script to /etc/init.d/ and call it oss_sound or something similar. Make it executable through chmod +x /etc/init.d/oss_sound and either create the symlinks to the runlevels at which it should run manually or use your distribution's init script management tool (rc-update on Gentoo, Debian has a similar tool) to make it run at boot and load the sound modules, and also shut down cleanly when the computer is halted.
=============================================
 
Old 12-06-2004, 02:10 PM   #17
atis
LQ Newbie
 
Registered: Jul 2004
Posts: 13

Rep: Reputation: 0
Quote:
Originally posted by hw-tph
[B]Hello there. I have a Thinkpad 600E too, and sound works fine with the 2.4 kernel series but not with 2.6 (but that's another story).

I have downloaded and built Alsa (latest version I installed was 0.9.8) against the kernel I'm running, which I built with sound support (soundcore) as a module.

Checklist:
1. Do you have a kernel with modular sound support? If you have you should get some info from modinfo soundcore.
2. Do you have Alsa and the Alsa soundcard drivers installed? If you do you should find aplay on your system (which aplay) and get info from modinfo snd-cs4236.

If you don't have all of the above, build a kernel with modular sound support and download and build Alsa (alsa-driver, alsa-lib, alsa-utils, alsa-tools, alsa-oss).

I am using Debian, which provides a mechanism for adding stuff to the /etc/modules.conf file without actually editing it - you just create a file in the directory /etc/modutils/ with your options and when you run update-modules the contents of all the files in this dir are appended to /etc/modules.conf. Very neat. But this should work just as well if you add it to modules.conf by hand.
Thanks for this. But did You get microphone working? Mine still not working, or working weeeeeery still.
 
Old 12-07-2004, 10:09 AM   #18
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Sorry, I have never even tried to get the mic working on my 600E. I assume you have unmuted the correct channel using alsamixer or some similar command and raised the volume on that channel?

Håkan
 
Old 12-07-2004, 04:13 PM   #19
atis
LQ Newbie
 
Registered: Jul 2004
Posts: 13

Rep: Reputation: 0
I got it. Now ewerytring works perfect on this machine with MEPIS linux.
 
  


Reply



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
X-Plane 8 linux demo released ror Linux - Games 7 01-11-2007 03:16 PM
Circuit City Plane Crash gurfrip General 6 02-16-2005 10:01 PM
turning off wireless on a plane geomatt Linux - Wireless Networking 2 11-11-2004 02:17 PM
Hard drive lose dma "on the fly" Hammett Linux - Hardware 4 08-23-2004 01:38 PM
On-the-Fly Drive / Directory Compression for Linux? sb73542 Linux - Software 2 02-01-2004 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:06 PM.

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
Open Source Consulting | Domain Registration