Ubuntu 6.06 Dapper Drake on 600e and iSeries 1721

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
pjain
Posts: 35
Joined: Mon May 29, 2006 7:55 pm
Location: NYC
Contact:

Ubuntu 6.06 Dapper Drake on 600e and iSeries 1721

#1 Post by pjain » Wed Jul 26, 2006 4:37 pm

I recently installed Dapper Drake, FC5, Suse 10.0, and Suse 10.1 on an old 600e and iSeries 1721Thinkpads. Install went fine and bootup is ok, however, the graphics drivers are awful. I used to run FC2 onthe 1721 and the graphics weren't bad at all. I presume the upstream kernel drivers were changed. Anyone have any thoughts on what could be done to stop my eyes from bleeding like the screen? :-)
My rants and raves: http://blog.linosx.com

- Lenovo T60 2363KFU, Core 2 Duo 2.0GHz, 14.1" 1400x1050,128MB ATI, 120GB /1GB
- MacBook - White 2.0 GHz Core Duo, 2GB RAM, 60GB HD, DVDRW

pjain
Posts: 35
Joined: Mon May 29, 2006 7:55 pm
Location: NYC
Contact:

#2 Post by pjain » Sat Aug 05, 2006 9:06 pm

anyone??
My rants and raves: http://blog.linosx.com

- Lenovo T60 2363KFU, Core 2 Duo 2.0GHz, 14.1" 1400x1050,128MB ATI, 120GB /1GB
- MacBook - White 2.0 GHz Core Duo, 2GB RAM, 60GB HD, DVDRW

toad
Freshman Member
Posts: 80
Joined: Tue May 23, 2006 1:48 pm
Location: capital of beer
Contact:

#3 Post by toad » Mon Oct 02, 2006 9:08 am

yeah, but probably too late now :)
bog standard T41 (2373), 54MBit Wlan, DVD-burner, purring along at 35°C or thereabouts on ArchLinux

pjain
Posts: 35
Joined: Mon May 29, 2006 7:55 pm
Location: NYC
Contact:

#4 Post by pjain » Mon Oct 02, 2006 9:26 am

toad wrote:yeah, but probably too late now :)
Actually, it's not too late. If you have any ideas, it would be much appreciated.
My rants and raves: http://blog.linosx.com

- Lenovo T60 2363KFU, Core 2 Duo 2.0GHz, 14.1" 1400x1050,128MB ATI, 120GB /1GB
- MacBook - White 2.0 GHz Core Duo, 2GB RAM, 60GB HD, DVDRW

toad
Freshman Member
Posts: 80
Joined: Tue May 23, 2006 1:48 pm
Location: capital of beer
Contact:

#5 Post by toad » Mon Oct 02, 2006 10:24 am

Very good,

as you probably guessed, I've only got experience with the 600e and here I did not have any probs with graphics. I got a beautiful 1024x768 screen. One thing I did do was to change the default colour depth from 24 to 16. However, that was with the dapper drake release which I recommend you download.

In the meantime you could post your /etc/X11/xorg.conf file here. I've got an old printout of the tp600e XF86Config-4 and will probably be able to help you.

How about sound, internal modem and wlan? Everything working alright?

Cheers

toad
bog standard T41 (2373), 54MBit Wlan, DVD-burner, purring along at 35°C or thereabouts on ArchLinux

jruschme
Freshman Member
Posts: 66
Joined: Sun Jul 02, 2006 12:58 pm
Location: Brick, NJ
Contact:

#6 Post by jruschme » Tue Oct 03, 2006 8:41 am

toad wrote:Very good,

as you probably guessed, I've only got experience with the 600e and here I did not have any probs with graphics. I got a beautiful 1024x768 screen. One thing I did do was to change the default colour depth from 24 to 16.
The importance of that can not be overstated. The Xorg driver for the particular NeoMagic chip in the 600e is not accelerated above 16 bit depths. Changing to 16 bit will make a big difference in graphics performance. I'm still having some problems with applications that use XVideo (e.g., mplayer), but had a major improvement after adding an "OverlayMem" option to my xorg.conf.

On mine, I got sound working after following the instructions here http://www.ubuntuforums.org/showpost.ph ... stcount=12

I still can't seem to get the internal modem working correctly, though...
<<<John>>>

T20/850/512/40/XP/DVD-CDRW
T22/900/256/40/Ubuntu/DVD
600E/366/288/6/Win98SE

toad
Freshman Member
Posts: 80
Joined: Tue May 23, 2006 1:48 pm
Location: capital of beer
Contact:

#7 Post by toad » Tue Oct 03, 2006 8:53 am

Hi,

my ibm just got fried by a faulty RAM chip, so I am looking forward to completely new configuration (might as well do things properly for once...).

Xorg with Dapper Drake (whether Xubuntu, Ubuntu or Kubuntu) is automatic, sound is managable (thanks for the link, jruschme), my ralink wlan card is supported for the first time, only the modem to go.

I remember having probs with the modem, too. There is plenty of advice on the matter, I remember that you need the mwave and mwavem modules. More when I sit down to reinstall (probably next week).

One thing I haven't worked out yet is hibernation! Any clues?

Cheers

toad
bog standard T41 (2373), 54MBit Wlan, DVD-burner, purring along at 35°C or thereabouts on ArchLinux

jruschme
Freshman Member
Posts: 66
Joined: Sun Jul 02, 2006 12:58 pm
Location: Brick, NJ
Contact:

Ubuntu 6.06 on the ThinkPad 600e

#8 Post by jruschme » Fri Oct 06, 2006 8:16 pm

I found it... everything you'd ever want to know about getting Ubuntu 6.06 working on the 600e:

http://www.mueller.ch.vu/misc/tp600e_en.html
<<<John>>>

T20/850/512/40/XP/DVD-CDRW
T22/900/256/40/Ubuntu/DVD
600E/366/288/6/Win98SE

toad
Freshman Member
Posts: 80
Joined: Tue May 23, 2006 1:48 pm
Location: capital of beer
Contact:

#9 Post by toad » Tue Oct 10, 2006 2:32 pm

yep, that did it for me. modem running fine, even hibernation works out of the box (didn't have to follow the guide on that site).
bog standard T41 (2373), 54MBit Wlan, DVD-burner, purring along at 35°C or thereabouts on ArchLinux

flavio
Posts: 17
Joined: Mon Sep 25, 2006 4:32 pm
Location: Naples, Italy

#10 Post by flavio » Thu Oct 19, 2006 7:54 am

I have tp 600. I use the script by http://www.ubuntuforums.org/showpost.ph ... stcount=12 and the system returns:
Sdev/id: no such file pr directory.
why?? probably xubunto doesn't found any sound device?
It worked with win98!!
Flavio

toad
Freshman Member
Posts: 80
Joined: Tue May 23, 2006 1:48 pm
Location: capital of beer
Contact:

#11 Post by toad » Thu Oct 19, 2006 8:04 am

I haven't tried the script, but I know the instructions below work.

All the best!

1. Blacklist the wrongly detected sound card in /etc/modprobe.d/blacklist. Add the following lines anywhere in the file (best to copy and paste):

blacklist snd-cs46xx
blacklist cs46xx

2. Add the following lines into /etc/modprobe.d/alsa-base. Again, you will want to copy and paste this...

alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-cs4236
options snd-cs4236 isapnp=0 cport=0x538 port=0x530 sb_port=0x220 fm_port=0x388 irq=5 dma1=1 dma2=0
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

options snd cards_limit=1

3. Add the line

snd-cs4236

to the file /etc/modules

4. Reboot and press F1 when the system is about to come up again to invoke IBM's dreadful easy BIOS. Select "Config" then "Quick Boot" and make sure to click on "Disable". Do not "Initialise" afterwards as this option resets your previous deselection of "Quick Boot" (and your system won't make a sound when it comes up!).

5. Let the system come up and listen to your favourite tune :)
bog standard T41 (2373), 54MBit Wlan, DVD-burner, purring along at 35°C or thereabouts on ArchLinux

flavio
Posts: 17
Joined: Mon Sep 25, 2006 4:32 pm
Location: Naples, Italy

#12 Post by flavio » Thu Oct 19, 2006 8:31 am

I have used
modprobe cs4232 io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=7 synthio=0x330 synthirq=7

too. but... Module cs4232 not found.

uffa!!
Flavio

flavio
Posts: 17
Joined: Mon Sep 25, 2006 4:32 pm
Location: Naples, Italy

#13 Post by flavio » Thu Oct 19, 2006 8:42 am

toad the script doesn't work!!
Flavio

toad
Freshman Member
Posts: 80
Joined: Tue May 23, 2006 1:48 pm
Location: capital of beer
Contact:

#14 Post by toad » Thu Oct 19, 2006 9:16 am

flavio wrote:I have used
modprobe cs4232 io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=7 synthio=0x330 synthirq=7

too. but... Module cs4232 not found.

uffa!!
And what a good thing, too. After all, you want to get rid of cs4232!

Also, you told us once that the script does not work, what's the point of telling us again? Hm... Sounds like you are frustrated (understandable enough).

However, you should not let it destract you from following the instructions in my earlier post to the letter, paying special attention to your BIOS settings! Do not fart around with modprobes or anything else but just do what it says in my post. I have not yet met a TP600E which has not responded kindly to that input by making a sound!

If your 600E is the first to refuse going "quack" please post your

/etc/modprobe.d/blacklist
/etc/modprobe.d/alsa-base
/etc/modules

and then we can investigate further.

HTH
bog standard T41 (2373), 54MBit Wlan, DVD-burner, purring along at 35°C or thereabouts on ArchLinux

flavio
Posts: 17
Joined: Mon Sep 25, 2006 4:32 pm
Location: Naples, Italy

#15 Post by flavio » Thu Oct 19, 2006 11:16 am

BLACKLIST

# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

# evbug is a debug tool that should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

blacklist snd-cs46xx
blacklist cs46xx

# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801

ALSA-BASE

# autoloader aliases
#install sound-slot-0 modprobe snd-card-0
#install sound-slot-1 modprobe snd-card-1
#install sound-slot-2 modprobe snd-card-2
#install sound-slot-3 modprobe snd-card-3
#install sound-slot-4 modprobe snd-card-4
#install sound-slot-5 modprobe snd-card-5
#install sound-slot-6 modprobe snd-card-6
#install sound-slot-7 modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
#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 ; : ; }

# Cause optional modules to be loaded above sound card driver modules
#install snd-emu10k1 modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { modprobe -Qb snd-emu10k1-synth ; }
#install snd-via82xx modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { modprobe -Qb snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
#install saa7134 modprobe --ignore-install saa7134 $CMDLINE_OPTS && { modprobe -Qb saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
#options snd-bt87x index=-2
#options snd-atiixp-modem index=-2
#options snd-intel8x0m index=-2
#options snd-via82xx-modem index=-2

alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-cs4236
options snd-cs4236 isapnp=0 cport=0x538 port=0x530 sb_port=0x220 fm_port=0x388 irq=5 dma1=1 dma2=0
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

options snd cards_limit=1

MODULES

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

lp
psmouse

#sound
#ad1848
#uart401
snd-cs4236


PLEASE HELP!!
Flavio

flavio
Posts: 17
Joined: Mon Sep 25, 2006 4:32 pm
Location: Naples, Italy

#16 Post by flavio » Thu Oct 19, 2006 11:18 am

PS my tp is 600 and not 600e...could be very important the difference??
Flavio

toad
Freshman Member
Posts: 80
Joined: Tue May 23, 2006 1:48 pm
Location: capital of beer
Contact:

#17 Post by toad » Thu Oct 19, 2006 2:06 pm

flavio wrote:PS my tp is 600 and not 600e...could be very important the difference??
oops, sorry Flavio - I never noticed! Yes, that does make a difference. No wonder it didn't work!

A quick google has come up with the following lines added to the modules.conf file. Apparently this worked for Suse!?! This is the whole thread http://www.linuxquestions.org/questions ... p?t=131938
If it works please let everyone know :)
Good luck

alias char-major-116 snd
alias snd-card-0 snd-card-cs4236
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd snd_major=116 snd_cards_limit=1
options snd-card-cs4236 snd_index=0 snd_port=0x530 snd_cport=0x538 snd_isapnp=0 snd_dma1=1 snd_dma2=0 snd_irq=5
bog standard T41 (2373), 54MBit Wlan, DVD-burner, purring along at 35°C or thereabouts on ArchLinux

flavio
Posts: 17
Joined: Mon Sep 25, 2006 4:32 pm
Location: Naples, Italy

#18 Post by flavio » Thu Oct 19, 2006 3:20 pm

well toad, thisi is my new alsa-base file:

alias char-major-116 snd
alias snd-card-0 snd-card-cs4236
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd snd_major=116 snd_cards_limit=1
options snd-card-cs4236 snd_index=0 snd_port=0x530 snd_cport=0x538 snd_isapnp=0 snd_dma1=1 snd_dma2=0 snd_irq=5

and...nothing!! no sound!! :cry:
Flavio

toad
Freshman Member
Posts: 80
Joined: Tue May 23, 2006 1:48 pm
Location: capital of beer
Contact:

#19 Post by toad » Fri Oct 20, 2006 3:50 am

Sorry Flavio,

I don't know the 600 model and cannot help you any further either. Google is your friend and I am sure there is lots of info out there.

Best of luck
bog standard T41 (2373), 54MBit Wlan, DVD-burner, purring along at 35°C or thereabouts on ArchLinux

Davemci
Sophomore Member
Posts: 158
Joined: Wed Sep 27, 2006 9:34 am
Location: Grand Rapids, MI
Contact:

#20 Post by Davemci » Sat Oct 21, 2006 12:55 pm

Here is what alsaconf generated for my 600 in modules.conf:

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-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-cs4236
alias sound-slot-0 snd-cs4236
options snd-cs4236 port=0x530 cport=0x538 isapnp=0 dma1=1 dma2=0 irq=5

lsmod shows this:

Module Size Used by Not tainted
snd-pcm-oss 36736 0
snd-mixer-oss 12376 0 [snd-pcm-oss]
snd-cs4236 8804 1
snd-pnp 2976 0 [snd-cs4236]
isa-pnp 29968 0 [snd-cs4236 snd-pnp]
snd-cs4236-lib 10608 0 [snd-cs4236]
snd-opl3-lib 5860 0 [snd-cs4236]
snd-hwdep 4352 0 [snd-opl3-lib]
snd-cs4231 14188 0 [snd-cs4236 snd-cs4236-lib]
snd-pcm 54344 0 [snd-pcm-oss snd-cs4236-lib snd-cs4231-lib]
snd-timer 13764 0 [snd-opl3-lib snd-cs4231-lib snd-pcm]
snd-mpu401-uart 3136 0 [snd-cs4236]
snd-rawmidi 12480 0 [snd-mpu401-uart]
snd-seq-device 3812 0 [snd-opl3-lib snd-rawmidi]
snd 1 [snd-pcm-oss snd-mixer-oss snd-cs4236 snd-cs4236-lib snd-hwdep snd-cs4231-lib snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc 4172 0 [snd-mixer-oss snd-hwdep snd-cs4231-lib snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
soundcore 3396 0 [snd]


Does your modprobe look similar to mine? If it does, I also didn't have sound until I turned it on with KMIX (I'm using KDE). By default sound is muted until I turned it on. If your modprobe looks like the one above. Run the "play" command from a command shell and see if you can play an audio file(.AU). If it plays ok( no errors), then the problem is definately with the mixer for alsa. If "play" doesn't give any errors and you can't hear the sound, check your volume "Fn PgUp". I can play CDs and even DVDs with my 600 so I know audio works great on the 600. I use slackware linux and have since kernel .99.?.? before X-windows was ported to linux so my experience is only with that distro.

pjain
Posts: 35
Joined: Mon May 29, 2006 7:55 pm
Location: NYC
Contact:

#21 Post by pjain » Fri Nov 10, 2006 5:10 pm

Thanks guys. This is some really awesome information. I am going to try and get a hold of the 600e and see if I can make it work. I "lent" it away and might be SOL :-(
My rants and raves: http://blog.linosx.com

- Lenovo T60 2363KFU, Core 2 Duo 2.0GHz, 14.1" 1400x1050,128MB ATI, 120GB /1GB
- MacBook - White 2.0 GHz Core Duo, 2GB RAM, 60GB HD, DVDRW

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 0 guests