Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Old June 4th, 2006   #1
gotaserena
5 Cups of Ubuntu
 
Join Date: Dec 2005
Beans: 31
Tweaking the thinkpad 600

Hello,

If you have this amazing machine and tried to install ubuntu in it you may have come across some problems. Most of these have to do with pccard support (formely known as pcmcia) and the dreaded sound card. I've managed, through a lot of help from fellow ubuntu'ers, to solve them in a satisfactory manner.

Part of the problem so far is that most of the solutions I've come across involve turning ACPI support off at the kernel level. Aside from disabling part of the BIOS calls which are very useful for laptop users, kernel developpers have also turned APM support off as of 2.6.15. Turning ACPI off is a dead-end street.

Caveat emptor: I can vouch for this instructions on the thinkpad tp600 alone. If you have some other model, like 600E or 600X, it may or may not work.

Before start you'll need to disable fast boot at the BIOS level. This can be done by pressing and keep pressed F1 when you turn the machine on. After the start screen you'll see the boot menu. Click on "Config" and then on "Quick Boot". Click on "Disable", go to the main menu and restart. Now that your BIOS is set, on to the solutions:
  1. Problem: My video resolution is screwed up.
    Cause: Ubuntu tries to use 24bpp for the default 1024x768, which is not supported by the video card.
    How to solve it: edit /etc/X11/xorg-conf and find the "Screen" section. Change the DefaultDepth to 16. Now restart the X server (ctr-alt-backspace) and you should be set
  2. Problem: Sound doesn't work.
    Cause: Sound card that ships with the thinkpad 600 is made before the dawn of time and needs to be configured manually.
    How to solve it: First, edit your /etc/modules and add the line "snd-cs4236" to it. Now back up your /etc/modprobe.d/alsa-base and write this in it instead:
    Code:
    alias char-major-116 snd
    alias char-major-14 soundcore
    
    alias sound-service-0-0 snd-mixer-oss
    alias sound-service-0-1 snd-seq-oss
    alias sound-service-0-3 snd-pcm-css
    alias sound-service-0-8 snd-seq-oss
    alias sound-service-0-12 snd-pcm-oss
    
    alias sound-slot-0 snd-card-0
    alias sound-slot-1 snd-card-1
    alias sound-slot-2 snd-card-2
    alias sound-slot-3 snd-card-3
    
    alias sound snd-card-0
    alias snd-card-0 snd-card-cs4236
    
    alias snd-minor-oss-0 snd-card-cs4236
    alias snd-minor-oss-1 snd-opl3
    alias snd-minor-oss-3 snd-pcm-oss
    
    options snd-cs4236 port=0x530 cport=0x538 mpu_port=-1 fm_port=0x388 irq=5 dma1=1 dma2=0 isapnp=0 sb_port=0x220
    
    install snd modprobe --ignore-install snd $CMDLINE_OPTS && { modprobe -Qb snd-ioctl32 ; : ; }
    install snd-pcm modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { modprobe -Qb snd-pcm-oss ; : ; }
    install snd-mixer modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { modprobe -Qb snd-mixer-oss ; : ; }
    install snd-seq modprobe --ignore-install snd-seq $CMDLINE_OPTS && { modprobe -Qba snd-seq-midi snd-seq-oss ; : ; }
    Now run "sudo depmod -a". Open /boot/grub/menu.lst. Find the line that begins with "# kopt="... and append this to it:
    Code:
    acpi=force pci=noacpi pnpbios=off pci=usepirqmask
    As a suggestion, find the line that begins with "# defoptions" and append this to it:
    Code:
     vga=0x316 resume=/dev/hda2
    save and exit. Now run "sudo update-grub". Reboot. If nobody has changed the IRQ assignment at BIOS, then sound should work while keeping nice ACPI support like suspend to disk, suspend to ram and battery/temperature info.
  3. Problem: My modem doesn't work.
    Cause: See item 2. Now the problem is even worse since the modem shares an IRQ with the serial port. Disable the serial and the modem will work.
    How to solve it: Get mwave to work with the serial port on. If I get it I'll post it here.
  4. Problem: Suspend and Hibernate don't work.
    Cause: Some modules don't have power management support.
    How to solve it: edit /etc/default/acpi-support as follows
    1) Uncomment ACPI_SLEEP:
    Code:
    ACPI_SLEEP=true
    2) Change ACPI_SLEEP_MODE to "standby". I couldn't make suspend-to-ram work with S3 sleep.
    Code:
    ACPI_SLEEP_MODE="standby"
    3) Find the line beginning with "MODULES". Make it look like:
    Code:
    MODULES="snd-cs4236 acx"
    you should also add known "problematic" modules like those of wlan cards -- acx in my case.

    And, last but not least, if you are on GNOME or XFCE, open gnome-power-preferences and go to "general" and select "suspend" or "hibernate" for the default action of the sleep button. KDE users have the analogue klaptopmode with similar capabilities but I don't know how to configure it.

Hope this will be useful.

EDIT: I forgot to say that the "pci=noacpi" option at the kernel level was the most important to get the my PCCard working. I've got a D-Link GW-650+ (based on the chip TI100, or the acx module) working *only* after passing this option on at boot.

Last edited by gotaserena; August 1st, 2006 at 08:47 PM.. Reason: Add stuff for ALSA/OSS compatibility, suspend-to-disk, suspend-to-ram. Added instructions to disable quick boot.
gotaserena is offline  
Old June 4th, 2006   #2
Sea5446
First Cup of Ubuntu
 
Join Date: Jun 2006
Beans: 1
Re: Tweaking the thinkpad 600

This is a great resource! but forgive my newbie linux ignorance but some of these files are read only. Can anyone tell me how to change this so i can save these settings?
THNKS
Sea5446 is offline  
Old June 4th, 2006   #3
stimpsonjcat
A Carafe of Ubuntu
 
stimpsonjcat's Avatar
 
Join Date: Jan 2006
Location: switzerland
Beans: 66
Re: Tweaking the thinkpad 600

Sea 5446
read this: https://wiki.ubuntu.com/RootSudo
to edit e.g. the file /etc/modprobe.d/alsa-base type
Code:
gksudo gedit /etc/modprobe.d/alsa-base
oh, and welcome to ubuntu!
stimpsonjcat is offline  
Old June 6th, 2006   #4
vmoutsop
First Cup of Ubuntu
 
Join Date: Jun 2006
Beans: 1
Re: Tweaking the thinkpad 600

I would like to interject an even more basic question, I have a 600E and cannot even get ubuntu to load/install automatically through a CD boot. I think I would be able to change the video settings if I could get to them.

Any ideas on how to boot/install from live or desktop cd (v6.06) and at least be able to install the OS?

Very frustrated.

Thanks
vmoutsop is offline  
Old June 6th, 2006   #5
stimpsonjcat
A Carafe of Ubuntu
 
stimpsonjcat's Avatar
 
Join Date: Jan 2006
Location: switzerland
Beans: 66
Re: Tweaking the thinkpad 600

vmoutsop, you can change the video settings at the boot prompt (it's one of the F keys, don't remember which). it's called something like "safe video settings".
you could also try the "alternate" (text mode) install CD.
stimpsonjcat is offline  
Old June 9th, 2006   #6
kebajonathan
Just Give Me the Beans!
 
Join Date: Jan 2006
Beans: 45
Re: Tweaking the thinkpad 600

I think he doesn't even get there. Here is what you have to do:

Press F1 while starting the Computer and keep it hold until the THINKPAD screen disappears. You will get to the BIOS.
There, choose start up (you can now navigate with your built in mouse, use the left mouse button for everything you do inside the BIOS).
Now click on the Power-ON-Button
Click on Reset. After this, click on the following icons in this odrer:
1) FDD
2) CDROM
3) HDD-1
Now, accept with OK and Exit, then Restart and OK.
Your Ubuntu-CD has to be in the drive when the computer boots, so it has to be inside before the THINKPAD screen has disappeared. It will now boot from CD.

Good Luck

BTW: For IBM Thinkpad 600E (not 600 nor 600X)
I have written a similar Guide to the one above : http://www.ubuntuforums.org/showthre...87#post1117587
It includes the Mwave Modem support infos, PCMCIA support, wlan PCMCIA and a link to a script for getting the sound to work on Thinkpad 600e for those interested.

Last edited by kebajonathan; June 13th, 2006 at 07:16 AM..
kebajonathan is offline  
Old June 18th, 2006   #7
conxorxa
5 Cups of Ubuntu
 
Join Date: Dec 2005
Beans: 18
Re: Tweaking the thinkpad 600

Thanks for posting this. It was very helpful. I am also trying to get dapper working on a thinkpad 600.

Unfortunately, I could not get my sound working. dmesg gives the following error:
CS4236+ soundcard not found or device busy

Also, my wireless card (DLink DWL-G650) works sometimes but not others. I haven't been able to find a pattern.

Any suggestions?
conxorxa is offline  
Old June 25th, 2006   #8
gotaserena
5 Cups of Ubuntu
 
Join Date: Dec 2005
Beans: 31
Re: Tweaking the thinkpad 600

What is the output of:
Code:
# cat /sys/devices/pnp0/00\:05/resources
# cat /sys/devices/pnp0/00\:06/resources
gotaserena is offline  
Old June 27th, 2006   #9
kebajonathan
Just Give Me the Beans!
 
Join Date: Jan 2006
Beans: 45
Re: Tweaking the thinkpad 600

Simply reinitialise your BIOS. Sound should work afterwards. For PCMCIA, see the 600E page of my home page.
cu
kebajonathan is offline  
Old July 10th, 2006   #10
conxorxa
5 Cups of Ubuntu
 
Join Date: Dec 2005
Beans: 18
Re: Tweaking the thinkpad 600

Thanks for the suggestions.

Reiniting the BIOS fixed the sound but my wireless card is still flaky.

I'm not sure if the sys/devices output was for the sound or the wireless, but here it is:

# cat /sys/devices/pnp0/00\:05/resources
state = active
io 0x538-0x53f

# cat /sys/devices/pnp0/00\:06/resources
state = active
io 0x530-0x537
io 0x388-0x38b
io 0x220-0x233
irq 5
dma 1
dma 0


Is that good or bad?
conxorxa is offline  
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:18 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry