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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-21-2002, 01:32 PM
|
#1
|
Member
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250
Rep:
|
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! 
|
|
|
01-21-2002, 02:14 PM
|
#2
|
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004
Rep:
|
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.
|
|
|
01-21-2002, 03:11 PM
|
#3
|
Member
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250
Original Poster
Rep:
|
There is no such options in the BIOS. IBM Thinkpads are not like normal desktop PCs.
|
|
|
01-22-2002, 07:26 AM
|
#4
|
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004
Rep:
|
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)?
|
|
|
01-22-2002, 10:47 AM
|
#5
|
Member
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250
Original Poster
Rep:
|
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. 
|
|
|
01-22-2002, 11:03 AM
|
#6
|
Senior Member
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692
Rep:
|
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
|
|
|
01-22-2002, 01:15 PM
|
#7
|
Member
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250
Original Poster
Rep:
|
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?
|
|
|
01-23-2002, 09:13 PM
|
#8
|
LQ Newbie
Registered: Jan 2002
Posts: 1
Rep:
|
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.
|
|
|
01-23-2002, 09:24 PM
|
#9
|
Member
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250
Original Poster
Rep:
|
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.
|
|
|
01-26-2002, 09:42 PM
|
#11
|
Member
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250
Original Poster
Rep:
|
Yep - old information. None of those work. I've followed all of IBM's recommendations, don't work for me.
|
|
|
01-26-2002, 10:27 PM
|
#12
|
LQ Newbie
Registered: Jan 2002
Location: TX
Distribution: Mandrake 8.1
Posts: 8
Rep:
|
|
|
|
01-26-2002, 10:38 PM
|
#13
|
LQ Newbie
Registered: Jan 2002
Location: TX
Distribution: Mandrake 8.1
Posts: 8
Rep:
|
|
|
|
01-28-2002, 12:41 AM
|
#14
|
Member
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250
Original Poster
Rep:
|
Yep - tried that site too..  No go...
|
|
|
01-29-2002, 12:49 AM
|
#15
|
Member
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|