Blog Forum Wiki Links Contact Us NetbookUser
RunCore Pro IV SSD Transforms your ASUS EEE PC by increasing 
performance 5-40X. Your satistfaction guaranteed RunCore Pro 70mm SATA Mini PCI-e SSD
RunCore Pro IV 70mm SATA II Mini PCI-e SSD
RunCore Pro IV 2.5 Inch SATA II SSD

You are not logged in.

#1 2008-06-10 7:11:26 pm

adamm
Senior Member
From: Alberta, Canada
Registered: 2008-06-05
Posts: 573

Custom ubuntu (hardy) EeePC kernel packages

I've just finished producing the first version of a set EeePC-optimized kernel and modules for Ubuntu 8.04 (hardy) as .deb packages.

These packages contain the following features:

    * Kernel optimized for Pentium-M processors.
    * Extra and unnecessary kernel modules and features have been stripped out.
    * The 40-wire UDMA patch has been applied to ata_piix.ko (much faster I/O throughput.) (See http://lkml.org/lkml/2008/4/20/283)
    * The Elantech touchpad driver port has been applied to psmouse.ko. (See http://forum.eeeuser.com/viewtopic.php?id=30685)
    * The eeepc-acpi module is included
    * The madwifi modules are included (madwifi-hal-0.10.5.6 branch)
    * The eeepc-linux overclocking module is included (v0.2)
    * The uvcvideo module is included (svn r215)

These packages have been customized from the linux-image-2.6.24-19-generic and linux-ubuntu-modules-2.6.24-2.6.24 source packages to become
linux-image-2.6.24.19-eeepc and linux-ubuntu-modules-2.6.24-19-eeepc

Update 2008-06-11:
The linux-image-eeepc packages are now available with a debian repository!
To get the kernel packages (and updates) all you need to do is: sudo apt-get install linux-eeepc linux-headers-eeepc

Update 2008-06-20:
The website's been redesigned to have more information, packages, faqs, etc

Update 2008-08-12:
A public read-only git repository is now available for accessing the source code, including all original patches and customized code:
git://www.array.org/ubuntu-hardy.git
git://www.array.org/ubuntu-hardy-lum.git
git://www.array.org/ubuntu-hardy-meta.git

Repository setup and download instructions can be found online at:
http://www.array.org/ubuntu/

Disclaimer:

I am not a kernel developer, nor am I an ubuntu or .deb developer. This might possibly break your EeePC. 
I only produced these packages as a proof of concept. I've never actually done this before yikes
I offer no guarantee that these packages will a) solve a problem, b) cause multiple problems, or c) do absolutely nothing useful at all.

Good luck! tongue

Last edited by adamm (2008-08-12 2:59:01 am)


Ubuntu EeePC-optimized kernel repository: http://www.array.org/ubuntu/

Offline

 

#2 2008-06-10 7:19:41 pm

damian
Member
From: UK
Registered: 2008-05-02
Posts: 70

Re: Custom ubuntu (hardy) EeePC kernel packages

Nice one Adam!!!!


Asus Eee PC 900 (20Gb,White), Ubuntu with 2.6.25.7 kernel

Offline

 

#3 2008-06-10 8:40:39 pm

StewieGriffin
Senior Member
Registered: 2007-11-08
Posts: 151

Re: Custom ubuntu (hardy) EeePC kernel packages

Great job!

Offline

 

#4 2008-06-10 9:05:24 pm

mkrishnan
Moderator
From: Grand Rapids, MI, USA
Registered: 2007-11-06
Posts: 3444

Re: Custom ubuntu (hardy) EeePC kernel packages

I'm going to give them a shot on my 701; I'll report back any findings. smile Thanks!


Mohan

Offline

 

#5 2008-06-10 9:47:13 pm

adamm
Senior Member
From: Alberta, Canada
Registered: 2008-06-05
Posts: 573

Re: Custom ubuntu (hardy) EeePC kernel packages

mkrishnan wrote:

I'm going to give them a shot on my 701; I'll report back any findings. smile Thanks!

I expect the 701 to mostly work, the only piece I wasn't sure about was the Elantech Touchpad driver.

FWIW, this version does not yet contain the eeepc-linux module for overclocking the FSB on the 70xs,
re: http://wiki.eeeuser.com/howto:overclockfsb


Ubuntu EeePC-optimized kernel repository: http://www.array.org/ubuntu/

Offline

 

#6 2008-06-10 11:05:05 pm

mjpatey
Member
Registered: 2008-05-12
Posts: 57

Re: Custom ubuntu (hardy) EeePC kernel packages

adamm,

Which EeePCs have you tested so far?  I'm on a 900 (you referred me here from my thread about kernel-update-related WiFi woes)... am happy to be a guinea pig, but just curious to know what I might expect.

-Mark


Eee 900 | 20GB SSDs | 1GB RAM | Ubuntu 8.04 with adamm's kernel

Offline

 

#7 2008-06-11 12:28:49 am

painbrain
Member
Registered: 2008-06-02
Posts: 30

Re: Custom ubuntu (hardy) EeePC kernel packages

yhank you! big_smile

Offline

 

#8 2008-06-11 5:52:55 am

cicciocant
Member
Registered: 2008-04-26
Posts: 45

Re: Custom ubuntu (hardy) EeePC kernel packages

great work. thaaaaaaaaaank you very mutch.
is it possibile to add this new kernel directly in the iso of ubuntu 8.04 as the default kernel?

Offline

 

#9 2008-06-11 6:22:43 am

ironclaw
Member
Registered: 2008-05-13
Posts: 43

Re: Custom ubuntu (hardy) EeePC kernel packages

This is really quite amazing - just by using this custom kernel I cut off about 10 seconds from boot time! The convenience of having all the modules built in is another plus, of course.

Offline

 

#10 2008-06-11 6:38:39 am

painbrain
Member
Registered: 2008-06-02
Posts: 30

Re: Custom ubuntu (hardy) EeePC kernel packages

someone prepare a distro of ubuntu with this kernel? smile

Offline

 

#11 2008-06-11 9:08:31 am

Sgozz
New member
From: Pisa
Registered: 2008-06-11
Posts: 6

Re: Custom ubuntu (hardy) EeePC kernel packages

Thanks, it works perfectly... but... why the "Elantech touchpad driver" patch? Hardy default kernel had touchpad with multitouch working perfectly, with this patch i have to configure it in xorg.conf and triple touch seems to not work correctly (in default ubuntu triple touch is the right click, really useful).
What about a non touchpad patch version? :-D
And a repository? :-D

Offline

 

#12 2008-06-11 9:24:13 am

StewieGriffin
Senior Member
Registered: 2007-11-08
Posts: 151

Re: Custom ubuntu (hardy) EeePC kernel packages

Sgozz wrote:

Thanks, it works perfectly... but... why the "Elantech touchpad driver" patch? Hardy default kernel had touchpad with multitouch working perfectly, with this patch i have to configure it in xorg.conf and triple touch seems to not work correctly (in default ubuntu triple touch is the right click, really useful).
What about a non touchpad patch version? :-D
And a repository? :-D

Elantech fully supported?   No, it is not supported by default.  It is detected as a Logitech Wheel Mouse.  You cannot configure the touchpad at all because there is no driver in the generic Linux kernel for it.  You are only able to use the default behavior of the touchpad if you don't have a driver for it.

In order to turn off the tap-to-click and turn on/off other options, you need the Elantech driver.  You can use a graphical program or manually configure xorg.conf for it if you want.

If you actually like the default behavior (and don't mind making mistakes clicking on things when you move the mouse pointer, etc.) then you can replace the psmouse.ko from this build with the one from your previous build, which is still on your hard disk.

Last edited by StewieGriffin (2008-06-11 9:35:05 am)

Offline

 

#13 2008-06-11 9:50:58 am

painbrain
Member
Registered: 2008-06-02
Posts: 30

Re: Custom ubuntu (hardy) EeePC kernel packages

ok test done. all right smile

Offline

 

#14 2008-06-11 9:59:59 am

Sgozz
New member
From: Pisa
Registered: 2008-06-11
Posts: 6

Re: Custom ubuntu (hardy) EeePC kernel packages

You are right, it's just that i like the default behaviour... and i couldn't manage to have the same with the new driver.
(right click with three fingers touch.. someone achieved it with the new driver?)

About tap-to-click problems while writing on keyboard, i used this howto: http://ubuntuforums.org/showthread.php?t=271052

So i can use all 3 usual mouse buttons without the real touchpad buttons of the eeepc (they seem a bit fragile).

By the way, thanks, i will try changing the psmouse.ko.

Offline

 

#15 2008-06-11 10:35:47 am

adamm
Senior Member
From: Alberta, Canada
Registered: 2008-06-05
Posts: 573

Re: Custom ubuntu (hardy) EeePC kernel packages

cicciocant wrote:

great work. thaaaaaaaaaank you very mutch.
is it possibile to add this new kernel directly in the iso of ubuntu 8.04 as the default kernel?

Heh, I have no idea. I know of no one who's on the inside of ubuntu, nor am I registered as a developer. I suppose I can look into it.
I have no idea how things work there hmm

Sgozz wrote:

Thanks, it works perfectly... but... why the "Elantech touchpad driver" patch? Hardy default kernel had touchpad with multitouch working perfectly, with this patch i have to configure it in xorg.conf and triple touch seems to not work correctly (in default ubuntu triple touch is the right click, really useful).
What about a non touchpad patch version? :-D
And a repository? :-D

There's got to be a way to turn it the driver off selectively. In all honesty I kind of threw this in at the last minute assuming that it would be helpful tongue
Now that I think about it, it may be possible to spin the elantech code off into a sub-module, dependent upon psmouse.ko. Then, if you didn't like it just blacklist it. Could that work?

BTW, a repository for updates to this kernel is next on my list.


Ubuntu EeePC-optimized kernel repository: http://www.array.org/ubuntu/

Offline

 

#16 2008-06-11 11:33:20 am

dirtboy
New member
Registered: 2008-06-11
Posts: 2

Re: Custom ubuntu (hardy) EeePC kernel packages

There is a missing dependency on linux-headers-2.6.24-19-eeepc_2.6.24-19.33ubuntu1_i386.deb.  It says it requires linux-headers-2.6.24-19 but I do not find that in the regular repository.  It only goes up to 18 at the moment.  Do you have to turn on the proposed list?

Offline

 

#17 2008-06-11 12:27:26 pm

Sgozz
New member
From: Pisa
Registered: 2008-06-11
Posts: 6

Re: Custom ubuntu (hardy) EeePC kernel packages

adamm wrote:

There's got to be a way to turn it the driver off selectively. In all honesty I kind of threw this in at the last minute assuming that it would be helpful tongue
Now that I think about it, it may be possible to spin the elantech code off into a sub-module, dependent upon psmouse.ko. Then, if you didn't like it just blacklist it. Could that work?

Wonderful, if you do this, i will call my eeepc with your name big_smile

Offline

 

#18 2008-06-11 12:41:31 pm

adamm
Senior Member
From: Alberta, Canada
Registered: 2008-06-05
Posts: 573

Re: Custom ubuntu (hardy) EeePC kernel packages

dirtboy wrote:

There is a missing dependency on linux-headers-2.6.24-19-eeepc_2.6.24-19.33ubuntu1_i386.deb.  It says it requires linux-headers-2.6.24-19 but I do not find that in the regular repository.  It only goes up to 18 at the moment.  Do you have to turn on the proposed list?

Hm, yes you would need to add hardy-proposed, or download linux-headers-2.6.24-19 directly from ubuntu:
http://us.archive.ubuntu.com/ubuntu/poo … 33_all.deb

In hindsight it might have been better to just use -18 as its the standard hardy release. When I setup the apt repository I suppose I can create both versions for both 'hardy' and 'hardy-proposed'.

Last edited by adamm (2008-06-11 12:42:34 pm)


Ubuntu EeePC-optimized kernel repository: http://www.array.org/ubuntu/

Offline

 

#19 2008-06-11 12:51:49 pm

dirtboy
New member
Registered: 2008-06-11
Posts: 2

Re: Custom ubuntu (hardy) EeePC kernel packages

Yeah, enabling proposed allowed me to satisfy all the dependencies.

Offline

 

#20 2008-06-11 5:24:36 pm

StewieGriffin
Senior Member
Registered: 2007-11-08
Posts: 151

Re: Custom ubuntu (hardy) EeePC kernel packages

Sgozz wrote:

You are right, it's just that i like the default behaviour... and i couldn't manage to have the same with the new driver.
(right click with three fingers touch.. someone achieved it with the new driver?)

About tap-to-click problems while writing on keyboard, i used this howto: http://ubuntuforums.org/showthread.php?t=271052

So i can use all 3 usual mouse buttons without the real touchpad buttons of the eeepc (they seem a bit fragile).

By the way, thanks, i will try changing the psmouse.ko.

That is a nice how-to, but you WILL need the Elantech driver for that to work.  With the Elantech touchpad driver installed, the Elantech will behave like a Synaptic instead of a Logitech Wheel Mouse.

Offline

 

#21 2008-06-11 5:51:09 pm

Sgozz
New member
From: Pisa
Registered: 2008-06-11
Posts: 6

Re: Custom ubuntu (hardy) EeePC kernel packages

Right again... i did it on my laptop, now i was trying to do it on eeepc... and i discovered it doesn't work without the patch sad

So, i will try this "fixed" patch http://forum.eeeuser.com/viewtopic.php? … 12#p284612 for my beloved three finger touch...

Offline

 

#22 2008-06-11 9:13:26 pm

adamm
Senior Member
From: Alberta, Canada
Registered: 2008-06-05
Posts: 573

Re: Custom ubuntu (hardy) EeePC kernel packages

I've created an apt-get repository for the kernel module.

Setup instructions are here: http://www.array.org/ubuntu/

I'm still updating the text but the procedure should work. Enjoy tongue


Ubuntu EeePC-optimized kernel repository: http://www.array.org/ubuntu/

Offline

 

#23 2008-06-11 10:08:27 pm

ShaqARif
Senior Member
From: London
Registered: 2007-11-14
Posts: 383

Re: Custom ubuntu (hardy) EeePC kernel packages

Thanks Adam that worked fine for me.
The only thing I had an issue with was getting the key - I had to do this in two steps:

wget http://www.array.org/ubuntu/array-apt-key.asc
sudo apt-key add array-apt-key.asc

Apart from that, great job, definitely seems to boot quicker!


---- eee pc 901 Glossy Black 1GB RAM 4/8GB SSD --------- CrunchBang Linux (adamms kernel)  ------

Offline

 

#24 2008-06-11 10:37:18 pm

LavianoTS386
Member
Registered: 2008-01-10
Posts: 49

Re: Custom ubuntu (hardy) EeePC kernel packages

I lost Ethernet connectivity after updating via the repo. I had the debs from the website working fine.

Any speculation as to what went wrong?


901 Linux 20G

Offline

 

#25 2008-06-11 10:42:32 pm

adamm
Senior Member
From: Alberta, Canada
Registered: 2008-06-05
Posts: 573

Re: Custom ubuntu (hardy) EeePC kernel packages

woah, the atl2.ko driver failed to compile. Wierd.

I'm on it. Atleast the nice thing about the repository is that updates can be pushed out easily enough smile ... provided there's network access tongue

Last edited by adamm (2008-06-11 10:42:49 pm)


Ubuntu EeePC-optimized kernel repository: http://www.array.org/ubuntu/

Offline

 

Board footer

Powered by PunBB 1.2.15
© Copyright 2002–2005 Rickard Andersson