You are not logged in.

#1 2006-08-08 16:36:56

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

IBM Thinkpad Specific Kernel - kernel26thinkpad

I have many thinkpads at home and there is always some feature that I cant seem to use because most flavors of kernels dont include all the patches relevant to Thinkpads.

So I just wanted to see if there was any interest in an IBM Thinkpad specific kernel for arch users? There must be a few of you out there.

This kernel would have the following patches and would be based on stablility and the ability to hibernate/suspend without errors.

#
# Latest Linux Kernel Patch
patch-2.6.17.8
#
# Fixes from -mm
sleazy-fpu-feature-i386-support.patch 
sleazy-fpu-feature-x86_64-support-2.patch 
2.6.17-mm-mutex-conversion.patch
2.6.17-mm1-rollup-cleanup-patches.patch
tty-remove-include-of-screen_infoh-from-ttyh-fix.patch
tty-remove-include-of-screen_infoh-from-ttyh-fix-fix.patch
kernel-sysc-doesnt-need-inith.patch
the-scheduled-removal-of-some-oss-drivers.patch 
zlib_inflate-update.patch 
#
# IOSched Improvements by Jens Axboe
iosched-rollup-2.6.17.4-2.patch 
#
# Realtime Linux Security Model
realtime-lsm.patch
#
# patches from -tiny
cpu-support-rollup.patch 
#
# Nick Piggins Patches
radix-tree-small.patch
radix-tree-direct-data.patch
mm-non_syncing_lock_page.patch
#
# -tj patches
00-libata-tj-2.6.17.4-20060710.patch 
01-acpi-powerbtn-resume-for-2.6.17.patch 
02-bluetooth-mh5-for-2.6.17.patch 
03-hdaps_protect-20060430-for-2.6.17-tj.patch 
04-ibm_acpi-fan-for-2.6.17.patch 
05-ibm_acpi-thermal-for-2.6.17.patch 
06-input-unknown_keycodes-for-2.6.17.patch
07-ipw2200-Kconfig-for-2.6.17.patch 
08-nsc_ircc-thinkpad-for-2.6.17.patch
09-speedstep-centrino-undervolt-0.2.6-for-2.6.17.patch 
10-tp_smapi-0.27-for-2.6.17.patch 
11-vesafb-tng-1.0-rc1-r3-2.6.17.patch 
12-suspend2-2.2.7.4-for-2.6.17.8.patch

The above patches are meant for IBM Thinkpads. Almost every patch out there has been combined from various sources. This should work for most TPs from T20+. I cannot guarantee that this will work for laptops before the T20 series as they might use apm instead of acpi and some patches might not work.

Will post up an PKGBUILD on AUR for testing along with ati-fglrx and madwifi. If there are any other modules that need to be built for the kernel please post in here.

Thanks
-dj

Thanks to:
Vipernicus
Whoopie - TP Patch Guru

UPDATE
kernel26-thinkpad
ati-fglrx-thinkpad
madwifi-thinkpad


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#2 2006-08-08 16:53:40

cougar
Member
From: France
Registered: 2006-06-24
Posts: 93

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

Great Idea !!!
I've got a T43p and it will be nice to make everything work !

Offline

#3 2006-08-08 16:58:22

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

cougar wrote:

Great Idea !!!
I've got a T43p and it will be nice to make everything work !

Thanks - to future posters - please state your Thinkpad model and video card.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#4 2006-08-08 17:07:35

allucid
Member
Registered: 2006-01-06
Posts: 259

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

I have a T41 (Radeon 7000) and I am using a vanilla kernel with no problems. What do these patches fix/add? The only thing that I can think of that doesn't work are the Fn keys. The Thinkpad ACPI stuff is already in the mainline kernel so I assume they just require some configuration on my part...

Offline

#5 2006-08-08 17:25:17

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

allucid wrote:

I have a T41 (Radeon 7000) and I am using a vanilla kernel with no problems. What do these patches fix/add? The only thing that I can think of that doesn't work are the Fn keys. The Thinkpad ACPI stuff is already in the mainline kernel so I assume they just require some configuration on my part...

These patches add quite a few things - not neccessarily for your laptop though.

lemme list the patches and description.

libata-tj *allows hotswapping of drive bays*
acpi-powerbtn-resume *resume patch for IBM ACPI*
bluetooth-mh5 *Bluetooth module for T4xp/R5xp models*
hdaps_protect *Parks hdd read/write head if laptop drops*
ibm_acpi_fan *ACPI fan tweak - lowers temp defaults so fan is quiet*
speedstep_centrino_undervolt *Allows user space undervolting of Pentium-M processors - Banias, Dothan and certain Sonomas*

Fn keys can easily be used with any kernel.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#6 2006-08-08 18:10:55

allucid
Member
Registered: 2006-01-06
Posts: 259

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

Thanks for that summary. I am interested in hdaps_protect so I would use this kernel if you built it.

Are you able to suspend/sleep/hibernate ok without any special patches like suspend2? If those features work fine (I use sleep a lot) then I am sold. smile

Offline

#7 2006-08-08 18:14:48

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

allucid wrote:

Thanks for that summary. I am interested in hdaps_protect so I would use this kernel if you built it.

Are you able to suspend/sleep/hibernate ok without any special patches like suspend2? If those features work fine (I use sleep a lot) then I am sold. smile

Actually suspend2 is included in the -thinkpad patchset. I will try this out when I get home today - Im just writing up the PKGBUILD for the kernel and ati.

If hibernating/suspend/sleep works then I will post it as a beta for testers. Then if there is enough popularity/demand for it. I can submit it to AUR.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#8 2006-08-08 18:22:25

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

Great Idea indeed! I know at least one person that would use Arch on his Thinkpad if Suspend worked properly.


Todays mistakes are tomorrows catastrophes.

Offline

#9 2006-08-08 18:27:07

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

mucknert wrote:

Great Idea indeed! I know at least one person that would use Arch on his Thinkpad if Suspend worked properly.

Great - the larger the user base the faster I can test out this stuff.

spread the word!


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#10 2006-08-08 18:32:27

allucid
Member
Registered: 2006-01-06
Posts: 259

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

I am using the latest suspend2 patchset now with a vanilla kernel on my T41 so it should work fine assuming they didn't have to make any significant changes.

Offline

#11 2006-08-08 19:00:35

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

allucid wrote:

I am using the latest suspend2 patchset now with a vanilla kernel on my T41 so it should work fine assuming they didn't have to make any significant changes.

I too am using kernel26suspend - but since it doesnt have certain key patches I decided to make -thinkpad


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#12 2006-08-08 19:47:42

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

I may potentially be interested.  I have a T60

Offline

#13 2006-08-08 19:55:00

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

Oh yeah.. great Idea

I have an Thinkpad X60s with Intel GM 945


Have you tried to turn it off and on again?

Offline

#14 2006-08-08 19:55:22

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

yahub wrote:

I have a T23 with S3 SuperSavage and I would _l_o_v_e_ to use Arch with fully working video, audio and suspend to RAM and/or hibernation without patching the 2.6 kernel myself.

Usually I encountered problems with the sound because the sound card seems not to support hardware mixing and it obviously cannot be found after resume. The x.org S3 driver seems not to support DRI.

Tank you so much!  big_smile

I had the same problem with my T20 and the snd_cs46xx module. The trick is to unload the module, and stop alsa daemon. Then upon resume reload the  required module(s) and restart alsa daemon.

The video however on your T23 is from xf86-savage not from the kernel.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#15 2006-08-08 19:56:20

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

phrakture wrote:

I may potentially be interested.  I have a T60

Which video card do you have?

fk wrote:

Oh yeah.. great Idea

I have an Thinkpad X60s with Intel GM 945

Then could you could test out the sata hotswapping for me?

That is when I post the package. Glad to see there are thinkpad users out there.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#16 2006-08-08 19:57:41

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

Then could you could test out the sata hotswapping for me?

yes I can

But what is sata hotswapping....


Have you tried to turn it off and on again?

Offline

#17 2006-08-08 20:02:41

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

fk wrote:

Then could you could test out the sata hotswapping for me?

yes I can

But what is sata hotswapping....

Oh wait.... forgot that the X series dont have optical drives. But sata hotswapping is removing a sata hdd and putting in a pata optical drive or battery. You can imagine the chaos that could occur.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#18 2006-08-08 20:22:23

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

You can imagine the chaos that could occur.

yes I can...


Have you tried to turn it off and on again?

Offline

#19 2006-08-08 21:36:26

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

hi, this sounds like a FANTASTIC idea.  I've been hacking around trying to make my own custom kernels for my Thinkpad T43.  i've included from your list what i thought would be most beneficial, i spent about 3 straight days trying to get the HDAPS working and gave up, as well as a few other things, i think this would be awesome to have available smile 

thanks,
karsten

djpharoah wrote:

So I just wanted to see if there was any interest in an IBM Thinkpad specific kernel for arch users? There must be a few of you out there.

01-acpi-powerbtn-resume-for-2.6.17.patch 
02-bluetooth-mh5-for-2.6.17.patch 
03-hdaps_protect-20060430-for-2.6.17-tj.patch 
04-ibm_acpi-fan-for-2.6.17.patch 
05-ibm_acpi-thermal-for-2.6.17.patch 
07-ipw2200-Kconfig-for-2.6.17.patch 
09-speedstep-centrino-undervolt-0.2.6-for-2.6.17.patch 
10-tp_smapi-0.27-for-2.6.17.patch 
11-vesafb-tng-1.0-rc1-r3-2.6.17.patch 
12-suspend2-2.2.7.4-for-2.6.17.8.patch

Offline

#20 2006-08-08 21:48:09

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

karsten wrote:

hi, this sounds like a FANTASTIC idea.  I've been hacking around trying to make my own custom kernels for my Thinkpad T43.  i've included from your list what i thought would be most beneficial, i spent about 3 straight days trying to get the HDAPS working and gave up, as well as a few other things, i think this would be awesome to have available smile 

thanks,
karsten

djpharoah wrote:

So I just wanted to see if there was any interest in an IBM Thinkpad specific kernel for arch users? There must be a few of you out there.

01-acpi-powerbtn-resume-for-2.6.17.patch 
02-bluetooth-mh5-for-2.6.17.patch 
03-hdaps_protect-20060430-for-2.6.17-tj.patch 
04-ibm_acpi-fan-for-2.6.17.patch 
05-ibm_acpi-thermal-for-2.6.17.patch 
07-ipw2200-Kconfig-for-2.6.17.patch 
09-speedstep-centrino-undervolt-0.2.6-for-2.6.17.patch 
10-tp_smapi-0.27-for-2.6.17.patch 
11-vesafb-tng-1.0-rc1-r3-2.6.17.patch 
12-suspend2-2.2.7.4-for-2.6.17.8.patch

Will post it up tonight. Just building the package right now as a test.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#21 2006-08-08 22:40:59

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

djpharoah wrote:
phrakture wrote:

I may potentially be interested.  I have a T60

Which video card do you have?

I have an ati, and also atheros wireless in place of the goofy ipw3945

Offline

#22 2006-08-08 23:14:45

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

phrakture wrote:
djpharoah wrote:
phrakture wrote:

I may potentially be interested.  I have a T60

Which video card do you have?

I have an ati, and also atheros wireless in place of the goofy ipw3945

no worries - I have both and will have the PKGBUILDs coming up for those two.


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#23 2006-08-09 01:06:27

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

UPDATE
The kernel is coming very soon


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#24 2006-08-09 01:46:31

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

#25 2006-08-09 02:11:48

djpharoah
Member
From: SoCal
Registered: 2006-06-18
Posts: 185

Re: IBM Thinkpad Specific Kernel - kernel26thinkpad

BTW - Suspending/hibernating works perfectly for me.

ati-fglrx-thinkpad
madwifi-thinkpad


IBM T41p - 2373-xXx - kernel26thinkpad

Offline

Board footer

Powered by FluxBB