Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
backporting drivers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Gh0str1d3r
Guru
Guru


Joined: 27 May 2008
Posts: 411

PostPosted: Sun May 09, 2010 3:54 pm    Post subject: backporting drivers Reply with quote

Hi,

since kernel > 2.6.31 do not work with my intel graphic card (freezes), I would like to backport the drivers for my soundcard and webcam from the 2.6.33 kernel to my 2.6.31 kernel, since there are no appropriate drivers in the 2.6.31 kernel. Now my question is, if this is possible (with resonable efford), and if yes, how?
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Sun May 09, 2010 7:10 pm    Post subject: Reply with quote

I think the first step is to copy the source files for those drivers back into the older tree, then find the file that adds them to the configuration menu and make the appropriate changes there.

The real problem is when you try and compile these things. If structures or interfaces in the kernel have changed between those versions, it can be a real mess without being familiar with the inner workings of the kernel. Essentially you would have to change the newer drivers to use the older interfaces going from the examples of all the other drivers of the same type that were modified for the later kernel.

It's not particularly fun (I tried backporting newer wireless code to run on the Wii and it failed miserably).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum