Phoronix Forums  

Go Back   Phoronix Forums > Software > Desktop Linux

Desktop Linux Discussion of Linux on the desktop.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-04-2007, 04:59 PM
Michael Michael is online now
Phoronix
 
Join Date: Jun 2006
Location: United States
Posts: 4,561
Default Linux 2.6.20 Kernel Released

Quote:
In a widely anticipated move, Linux "headcase" Torvalds today announced
the immediate availability of the most advanced Linux kernel to date,
version 2.6.20.

Before downloading the actual new kernel, most avid kernel hackers have
been involved in a 2-hour pre-kernel-compilation count-down, with some
even spending the preceding week doing typing exercises and reciting PI
to a thousand decimal places.

The half-time entertainment is provided by randomly inserted trivial
syntax errors that nerds are expected to fix at home before completing
the compile, but most people actually seem to mostly enjoy watching the
compile warnings, sponsored by Anheuser-Busch, scroll past.

As ICD head analyst Walter Dickweed put it: "Releasing a new kernel on
Superbowl Sunday means that the important 'pasty white nerd'
constituency finally has something to do while the rest of the country
sits comatose in front of their 65" plasma screens".

Walter was immediately attacked for his racist and insensitive remarks
by Geeks without Borders representative Marilyn vos Savant, who pointed
out that not all of their members are either pasty nor white. "Some of
them even shower!" she added, claiming that the constant stereotyping
hurts nerds' standing in society.

Geeks outside the US were just confused about the whole issue, and were
heard wondering what the big hoopla was all about. Some of the more
culturally aware of them were heard snickering about balls that weren't
even round.

Linus
http://lkml.org/lkml/2007/2/4/119

woot
Reply With Quote
  #2  
Old 02-04-2007, 10:39 PM
Rob Williams Rob Williams is offline
Techgage
 
Join Date: Jun 2006
Posts: 201
Default

I am not sure why it struck me so funny, but that entire posting almost made me tear.

Going to DL the new kernel now...
Reply With Quote
  #3  
Old 02-05-2007, 02:12 PM
Scott Scott is offline
Phoronix Member
 
Join Date: Jun 2006
Location: New Jersey
Posts: 51
Default

I followed the guide to get the usb xbox 360 controller working in Linux from here: http://gentoo-wiki.com/HOWTO_Xbox_36...oller_on_Linux it worked flawlessly with the 2.6.18 kernel I used last, but after editing xpad.c and running 'make all && make modules_install' I get some nasty errors :/

Code:
bash-3.1# make all && make modules_install
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CHK     include/linux/compile.h
  CC      drivers/usb/input/xpad.o
drivers/usb/input/xpad.c: In function `xpad_probe':
drivers/usb/input/xpad.c:368: error: `SLAB_ATOMIC' undeclared (first use in this function)
drivers/usb/input/xpad.c:368: error: (Each undeclared identifier is reported only once
drivers/usb/input/xpad.c:368: error: for each function it appears in.)
drivers/usb/input/xpad.c:451: warning: passing arg 6 of `usb_fill_int_urb' from incompatible pointer type
make[3]: *** [drivers/usb/input/xpad.o] Error 1
make[2]: *** [drivers/usb/input] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2
bash-3.1#
any ideas on what else I'd need to do to get the kernel to compile with the updated xbox drivers?
Reply With Quote
  #4  
Old 02-05-2007, 02:14 PM
Michael Michael is online now
Phoronix
 
Join Date: Jun 2006
Location: United States
Posts: 4,561
Default

I've never even touched an Xbox 360 controller, but I could compare xpad.c from 2.6.18 against 2.6.20 and take a look at SLAB_ATOMIC.
Reply With Quote
  #5  
Old 02-05-2007, 02:42 PM
Scott Scott is offline
Phoronix Member
 
Join Date: Jun 2006
Location: New Jersey
Posts: 51
Default

Oh I'm sorry I didn't state it, but for the 360's controller to work you need to download a different xpad.c and xpad.h

http://xbox-linux.cvs.sourceforge.ne...b/input/xpad.c
http://xbox-linux.cvs.sourceforge.ne...b/input/xpad.h

for the 2.6.19 kernel it states that you're supposed to edit

"#include <linux/usb_input.h>" and change it to
"#include <linux/usb/input.h>"

and comment lines 54 "#include <linux/config.h>" to
"/* #include <linux/config.h> */"

and line 161 "input_regs(dev, regs);" to
"/* input_regs(dev, regs); */"

I did all of that prior to running "make all && make modules_install"

...was going to include my xpad.c file in side a code block, but it would make this post 10212 characters too long
Reply With Quote
Reply

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 -5. The time now is 08:41 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2009 by Phoronix Media.