LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-21-2002, 01:32 PM   #1
ryanstrayer
Member
 
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250

Rep: Reputation: 30
Question Sound Problems - Thinkpad


Well I seem to be struggling with getting my sound to work in a Thinkpad 600E 2645-4AA. I've read multiple how-tos for this exact hardware, but the drivers refuse to find the sound chip.

I have compiled and used tpctl, as recommended by many.. but that fails to show me anything useful. That just shows me basic BIOS settings and config info for my floppy, parallel and serial ports, nothing related to sound configuration.

I am using the ALSA OSS/Free drivers which does support my chip. No matter what I specify for config params, it refuses to find it. My assumption here is that I need to preset this PnP (PCI) before running these drivers with modprobe. My kernel is configured for PnP, but the OS doesn't appear to be setup for it. There is no setpnp command and the lspnp commnd reports back that there is no /proc/bus/pnp available.

Help anyone!
 
Old 01-21-2002, 02:14 PM   #2
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
You probably don't have PnP for your laptop

Press F1 to get into the BIOS setup.
Go to PCI.
Set all the IRQs to [auto-configure]
Try again.

(What I mean by try again is recompile the module)

Also make sure the BIOS speaker is set to loud (usually there's a blue speaker icon which will increase or decrease speaker volume)

By default all the IRQs are set to 11 which is really daft but that's life.
 
Old 01-21-2002, 03:11 PM   #3
ryanstrayer
Member
 
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250

Original Poster
Rep: Reputation: 30
There is no such options in the BIOS. IBM Thinkpads are not like normal desktop PCs.
 
Old 01-22-2002, 07:26 AM   #4
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
I have a ThinkPad 1800 iSeries.

To install linux from the bootable CD you probably went into the BIOS to change the bootable drive setup to CD ?

You should always be able to configure things like IRQs - especially in ThinkPads which are meant to be 'linux friendly'.

Did you explore the setup utility (usually F1 just after poweron)?
 
Old 01-22-2002, 10:47 AM   #5
ryanstrayer
Member
 
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250

Original Poster
Rep: Reputation: 30
Trust me, I've been doing this for 15 years, there is no such options on this Thinkpad. Never has been in Thinkpads, unless they are putting it in the newer models, which I haven't seen yet. Typcailly you have to use the PS2 command (or tpctl) to change the BIOS configuration of these options, but I'm not getting any such available options.

And no, I didn't have to change my boot order to install Linux.
 
Old 01-22-2002, 11:03 AM   #6
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
try this:

add the following to your /etc/modules.conf file,

alias sound cs4232
alias midi opl3
options opl3 io=0x388
options cs4232 io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=5 synthirq=-1
synthio=-1

next, type as su

modprobe cs4232
 
Old 01-22-2002, 01:15 PM   #7
ryanstrayer
Member
 
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250

Original Poster
Rep: Reputation: 30
Yea - tried many variations of that .. no luck.. I've tried ASLA drivers, OSS/Free and Paid drivers, you name it. Each driver is unable to find the sound chip. It's like when I boot into linux, it disappears.

I booted up to DOS and checked everything with the PS2 utility, and all seems well. I have the correct settings for IRQ, IO, DMA and all of that (the same as you stated above).

If I load the tpctrl utility into linux and view the config, it doesn't see the sound at all as a device on the Thinkpad (which is reallly weird). Any ideas?
 
Old 01-23-2002, 09:13 PM   #8
mjeffrey
LQ Newbie
 
Registered: Jan 2002
Posts: 1

Rep: Reputation: 0
Unhappy Me too!

You are not alone in your Thinkpad 600E and sound woes. I too have the same problem.

I have tried Mandrake 8.1 and RH 7.2. I have recompiled the kernel to see if that would help. I tried the ALSA sound drivers and they don't work either.

There are about a dozen websites that list how to get sound to work on a 600E and Linux, but their recipes just don't work for me. (I notice they are a bit dated -- mostly kernel 2.2.x. Not 2.4.x.)

It's really odd. If you figure out this mystery, post back here!

MJ
suchindryn@mailexpire.com

P.S. Yes, the 600E F1 BIOS options are scant. There is not much there. Also, my settings are all still the defaults except I disabled (thru PS2.EXE) the PCIBUSPower option.
 
Old 01-23-2002, 09:24 PM   #9
ryanstrayer
Member
 
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250

Original Poster
Rep: Reputation: 30
Yep - I've been messing with it for a week straight now and finally gave up. I think it has something to do with the way IBM handles it's wonderful BIOS and having to use the PS2 utility to access them.

I think we are out of luck until IBM decides to write some code for Linux or somebody else does (besides a hack). I have also ran into the same problem with the MWAV modem. Supposedly the 2.4.17 kernel supports MWAV, but I have had no luck with the 600E with it. IBM's development site had MWAV drivers for Linux, but they bomb out each time I try to compile. Soooooo..... I'm outta of ideas for now. Guess I'll just have to wait for a while.
 
Old 01-26-2002, 09:32 PM   #10
ccroxton
LQ Newbie
 
Registered: Jan 2002
Location: TX
Distribution: Mandrake 8.1
Posts: 8

Rep: Reputation: 0
Have you checked this page?

http://www.pc.ibm.com/qtechinfo/MIGR...user1004106089

I know it is for RedHat 6, but maybe it will help a little.
 
Old 01-26-2002, 09:42 PM   #11
ryanstrayer
Member
 
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250

Original Poster
Rep: Reputation: 30
Thumbs down

Yep - old information. None of those work. I've followed all of IBM's recommendations, don't work for me.
 
Old 01-26-2002, 10:27 PM   #12
ccroxton
LQ Newbie
 
Registered: Jan 2002
Location: TX
Distribution: Mandrake 8.1
Posts: 8

Rep: Reputation: 0
http://www.linux-thinkpad.org/links.html

did u see this one?
 
Old 01-26-2002, 10:38 PM   #13
ccroxton
LQ Newbie
 
Registered: Jan 2002
Location: TX
Distribution: Mandrake 8.1
Posts: 8

Rep: Reputation: 0
http://csc.parkland.cc.il.us/sdb/en/...kpad-600e.html

another that says it works fine, adds a few lines
 
Old 01-28-2002, 12:41 AM   #14
ryanstrayer
Member
 
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250

Original Poster
Rep: Reputation: 30
Yep - tried that site too.. No go...
 
Old 01-29-2002, 12:49 AM   #15
ryanstrayer
Member
 
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250

Original Poster
Rep: Reputation: 30
Thumbs up

I HAVE FOUND THE ANSWER! WOO HOO!

Luckily I work for IBM, and found some internal resources, that are not available to the public about this issue. This is for the 600E Thinkpad series. As a note, my Thinkpad is a 600E-4AA.

You must use the DOS PS2 utility and disable PCIBUSPOWER in the power management setup. This is a MUST or it will not work, and this is the key.

Once you have done this, reboot back into Linux. Compile your Kernel (Mine is 2.4.17) with sound support and the CS4232 (PnP) OSS drivers only, nothing else.

Then add the following to your /etc/modules.conf

alias sound-slot-0 cs4232
alias char-major-14 cs4232
alias synth opl3
post-install cs4232 /sbin/modprobe "-k" "adlib_card" "ad1848" "uart401"
options -k cs4232 io=0x530 irq=5 dma=1 dma2=0
options adlib_card io=0x388

Once these are added; type ' modprobe cs4232 ' and you should be returned to the command prompt. It will report nothing.

That should be it, I then load X and loaded up the XMMS and played an MP3 file.

Hope this helps everyone!

Last edited by ryanstrayer; 01-29-2002 at 12:54 AM.
 
  


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
Sound on a Thinkpad 390 whaase Linux - Hardware 1 03-17-2005 08:06 AM
thinkpad 600 sound yessongs Mandriva 1 07-15-2004 07:52 AM
IBM Thinkpad 600E problems configuring sound for slackware 9.1 ic3 Linux - Laptop and Netbook 4 02-08-2004 10:51 PM
Hav ing problems with slackware 9.1 sound configuration for IBM Thinkpad 600E ic3 Slackware 1 11-16-2003 04:04 PM
No sound in Thinkpad 770z hari_seldon99 Linux - Hardware 0 10-05-2003 06:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:19 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
Open Source Consulting | Domain Registration