<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/xbox-linux/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/xbox-linux/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 27 Apr 2009 05:15:46 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/xbox-linux/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Xpad Bug (kernel access methods deprecated)</title><link>https://sourceforge.net/p/xbox-linux/bugs/18/</link><description>Compiling with Linux kernel 2.6.26 gives these errors:

/etc/xpad/xpad.c: In function ‘xpad\_open’:
/etc/xpad/xpad.c:382: error: ‘struct input\_dev’ has no member named ‘private’
/etc/xpad/xpad.c: In function ‘xpad\_close’:
/etc/xpad/xpad.c:408: error: ‘struct input\_dev’ has no member named ‘private’
/etc/xpad/xpad.c: In function ‘xpad\_probe’:
/etc/xpad/xpad.c:496: error: ‘struct input\_dev’ has no member named ‘cdev’
/etc/xpad/xpad.c:497: error: ‘struct input\_dev’ has no member named ‘private’

The source of these errors can be seen from these webpages:

http://kerneltrap.org/mailarchive/git-commits-head/2008/2/7/770834
http://kerneltrap.org/mailarchive/git-commits-head/2008/2/7/770914

The attached file is an xpad.c that compiled and ran with kernel 2.6.26.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Kirby</dc:creator><pubDate>Mon, 27 Apr 2009 05:15:46 -0000</pubDate><guid>https://sourceforge.net5f559c0c6c5f349fa96a63e076a39352938b7bee</guid></item><item><title>Check pointer handling of the Xbox controller device driver</title><link>https://sourceforge.net/p/xbox-linux/bugs/17/</link><description>I have tried out the Xbox input device driver for Linux v0.1.7. I get unpleasant results.
http://xbox-linux.cvs.sourceforge.net/xbox-linux/kernel-2.6/drivers/usb/input/xpad.c?revision=1.34&amp;view=markup

What is really wrong in the following situation?

Excerpt from the boot log \(dmesg\):
"Linux version 2.6.23.1-default \(root@Sonne\) \(gcc version 4.2.1 \(SUSE Linux\)\) \#4 SMP PREEMPT Tue Oct 23 20:41:32 CEST 2007
...
input: Microsoft Xbox 360 Controller as
/devices/pci0000:00/0000:00:0b.0/usb2/2-2/2-2:1.0/input/input3
input: Microsoft Xbox 360 Controller as
/devices/pci0000:00/0000:00:0b.0/usb2/2-2/2-2:1.1/input/input4
input: Microsoft Xbox 360 Controller as
/devices/pci0000:00/0000:00:0b.0/usb2/2-2/2-2:1.2/input/input5
Unable to handle kernel NULL pointer dereference at 0000000000000006 RIP:
\[&amp;lt;ffffffff880f8ae9&amp;gt;\] :xpad:xpad\_probe+0x378/0x4a3
PGD 7d005067 PUD 7d004067 PMD 0
Oops: 0000 \[1\] PREEMPT SMP
CPU 0
Modules linked in: rtc\_core soundcore xpad rtc\_lib snd\_page\_alloc floppy
sg linear ohci\_hcd ehci\_hcd usbcore edd dm\_mod ext3 mbcache jbd fan
sata\_sil24 sata\_nv pata\_amd libata thermal processor
Pid: 1410, comm: modprobe Not tainted 2.6.23.1-default \#4
RIP: 0010:\[&amp;lt;ffffffff880f8ae9&amp;gt;\]  \[&amp;lt;ffffffff880f8ae9&amp;gt;\]
:xpad:xpad\_probe+0x378/0x4a3
RSP: 0018:ffff81007d8f1cd8  EFLAGS: 00010216
RAX: 0000000000000000 RBX: ffff81007c661da8 RCX: ffff81007cfb1080
RDX: 0000000000000200 RSI: ffff81007c661c00 RDI: 000000000000000e
RBP: ffff81007c035000 R08: 0000000000000017 R09: ffff81007c661dba
R10: 0000000000000041 R11: ffffc20000aceeb0 R12: ffff81007c661d80
R13: ffff81007c944800 R14: 0000000000000006 R15: ffff810037df5800
FS:  00002ad16eb0c6f0\(0000\) GS:ffffffff8050d000\(0000\) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000006 CR3: 000000007d002000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process modprobe \(pid: 1410, threadinfo ffff81007d8f0000, task
ffff810037e220c0\)
Stack:  000000000000001b ffffffff802d159e ffff81007c420fa8 ffffffff880a0e5d
ffffffff880fa910 ffff810037df5800 ffffffff880fa740 ffffffff880fa7a8
ffffffff880fa7a8 ffffc20000aceeb0 000000000000001b ffffffff880a1b46
Call Trace:
\[&amp;lt;ffffffff802d159e&amp;gt;\] sysfs\_create\_link+0x10b/0x165
\[&amp;lt;ffffffff880a0e5d&amp;gt;\] :usbcore:usb\_match\_one\_id+0x26/0x82
\[&amp;lt;ffffffff880a1b46&amp;gt;\] :usbcore:usb\_probe\_interface+0x89/0xb8
\[&amp;lt;ffffffff8036f667&amp;gt;\] driver\_probe\_device+0xd3/0x150
\[&amp;lt;ffffffff8036f786&amp;gt;\] \_\_driver\_attach+0x0/0x93
\[&amp;lt;ffffffff8036f7e0&amp;gt;\] \_\_driver\_attach+0x5a/0x93
\[&amp;lt;ffffffff8036eae1&amp;gt;\] bus\_for\_each\_dev+0x43/0x6e
\[&amp;lt;ffffffff8036ee09&amp;gt;\] bus\_add\_driver+0x7d/0x19b
\[&amp;lt;ffffffff8022c17c&amp;gt;\] default\_wake\_function+0x0/0xe
\[&amp;lt;ffffffff880a164d&amp;gt;\] :usbcore:usb\_register\_driver+0x85/0xe8
\[&amp;lt;ffffffff880c901b&amp;gt;\] :xpad:usb\_xpad\_init+0x1b/0x3a
\[&amp;lt;ffffffff80250a25&amp;gt;\] sys\_init\_module+0x1695/0x1782
\[&amp;lt;ffffffff8020bf9e&amp;gt;\] system\_call+0x7e/0x83


Code: 0f b6 78 06 0f b6 40 02 c7 46 08 00 00 00 00 c7 46 04 01 00
RIP  \[&amp;lt;ffffffff880f8ae9&amp;gt;\] :xpad:xpad\_probe+0x378/0x4a3
RSP &amp;lt;ffff81007d8f1cd8&amp;gt;
CR2: 0000000000000006
..."

Another try from the command line:
Sonne:~ \# modprobe --verbose xpad
insmod /lib/modules/2.6.23.1-default/kernel/drivers/input/joystick/xpad.ko
Killed

I get a little improvement despite of the reported crash. - The green LED around the big "X" button is not blinking any more.   ;-\)

How can this null pointer issue be fixed?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Markus Elfring</dc:creator><pubDate>Tue, 30 Oct 2007 08:48:26 -0000</pubDate><guid>https://sourceforge.net5345fa9ed8efc1078b8d6614aad4c9cb6461ff68</guid></item><item><title>XBOX Dance Pad fix in kernel xpad-core.c</title><link>https://sourceforge.net/p/xbox-linux/bugs/16/</link><description>The xpad USB linux kernel driver incorrectly identifies
a certain dance pad as not being a ddr pad.

To fix:
Replace this line in drivers/usb/input/xpad-core.c:

\{ 0x0c12, 0x8809, 0, "Level Six Xbox DDR Dancepad" \},

with this:

\{ 0x0c12, 0x8809, 1, "Level Six Xbox DDR Dancepad" \},

-Dom

\(P.S. dance pad support is going to be in the
mainstream linux kernel starting v2.6.19\)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dom</dc:creator><pubDate>Sat, 14 Oct 2006 15:36:30 -0000</pubDate><guid>https://sourceforge.net21f07426f306b3fc9093e58af238bb267d2daba9</guid></item><item><title>xpad.c does not compile on kernel 2.6.18</title><link>https://sourceforge.net/p/xbox-linux/bugs/15/</link><description>I coppied xpad.c and xpad.h over into my kernel 
directory and did "make modules modules\_install 
install" but this is what happened:

CHK     include/linux/version.h
CHK     include/linux/utsrelease.h
CC \[M\]  drivers/usb/input/xpad.o
drivers/usb/input/xpad.c:62:29: error: 
linux/usb\_input.h: No such file or directory
drivers/usb/input/xpad.c: In function ‘xpad\_probe’:
drivers/usb/input/xpad.c:386: warning: implicit 
declaration of function ‘usb\_to\_input\_id’
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

Please make it work in kernel 2.6.18, maybe they'll 
add it to the official kernel so I won't have to use 
the horrible old 0.0.5 version that doesn't have 
dancepad support...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sonicbhoc</dc:creator><pubDate>Wed, 27 Sep 2006 02:12:06 -0000</pubDate><guid>https://sourceforge.net2ee621d5d205c56639b1837e00838898a2c0c952</guid></item><item><title>Cromwell/Xromwell still locks up with many USB devices</title><link>https://sourceforge.net/p/xbox-linux/bugs/14/</link><description>Cromwell/Xromwell hasn't been updated in a year and
this is a known issue.  Are there any plans to fix this?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 03 Dec 2005 19:06:36 -0000</pubDate><guid>https://sourceforge.net85a2ea5b6924a5571030fde47a969f8fc628e81b</guid></item><item><title>fatx corrupted, kernel2.6.11.7 does not run with loop device</title><link>https://sourceforge.net/p/xbox-linux/bugs/13/</link><description>I am using Gentoo on Xbox with loop-device. The
compilation of kernel-2.6.11.7 with the newest ebuild
runs successfully. 
So I copied the new fat and fatx-drivers into ram-disk
and started with the new vmlinuz. It end´s with the
message "kernel panic". 

The starting process of linuxrc from ram-disk can not
mount the fatx-partititon \( /dev/hdaX \) to run the
loop-device of Linux.

The fatx-driver seems to be corrupted. 
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 20 Apr 2005 11:57:47 -0000</pubDate><guid>https://sourceforge.net2ad4af0bc4e83c2be06eeda797e2dd06089d540b</guid></item><item><title>No (or low?) scart switch voltage</title><link>https://sourceforge.net/p/xbox-linux/bugs/12/</link><description>Background:
Running Gentoox Home 3.2 on a very early JPN box
\(bought on release day\).
Using Evox dash 3935 and an Evox M7 bios.
Installed to E via ftp
Running xfce, "composite" pal 800x600 hoc13, voc15.
The xbox is connected via Scart to a mechanical switch
box into a Sky+ receiver, then into a 4:3 JVC TV, using
RGB.
Xbox boot animation, Evox dash, and all games all set
the Scart pin 8 control signal so that the Sky box &amp; TV
switch to display the Xbox automatically.

Problem:
As soon as I launch Gentoox from the dash the TV
switches back to showing analog TV. If I manually
select the AV0 channel on the TV then I can see the
Xbox output perfectly, in crisp RGB.

Hypothesis:
The Sky+ box must be seeing some voltage on pin8 and is
therefor switching to display the Xbox input, but my TV
doesn't see enough voltage to switch. \(From previous
experience, I don't think my TV will switch to a 16:9
switch voltage \(5v\) but needs a 4:3 \(12V\) signal.\)

Conclusion:
I think Gentoox may be configuring the video chip to
output a 16:9 switch voltage, when it should be setting
it to 4:3.

Hope this helps

Simon </description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 03 Apr 2005 17:16:41 -0000</pubDate><guid>https://sourceforge.net643884967c08eae404eae733e05a79bf79cdc9cc</guid></item><item><title>Can't detect Xbox HDD on slave</title><link>https://sourceforge.net/p/xbox-linux/bugs/11/</link><description>Using kernel 2.4.26 / Xbox kernel HEAD 20040727, I
attempted to mount two xbox hard disks on the same IDE
channel.

/dev/hdc got split into /dev/hdc\[50-55\] as normal, but
/dev/hdd also got split into /dev/hdc\[50-55\] . 

Possibly in /fs/partitions/xbox.c, 

///////////////////////////////	
	retv = xbox\_drive\_detect\(bdev\);
	if \(retv &amp;gt; 0\) \{
		/\* trying to find the first free partition \*/
		minor = 50;
		add\_gd\_partition\(hd,minor++,XBOX\_SECTOR\_STORE
,XBOX\_SECTORS\_STORE \);
		add\_gd\_partition\(
////////////////////////////////

minor should be 114 \(64+50\), instead of 50, when
mounting a slave drive like /dev/hdb or /dev/hdd ?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lewis Jardine</dc:creator><pubDate>Tue, 27 Jul 2004 12:58:38 -0000</pubDate><guid>https://sourceforge.neta648877e0f8cef901968c24372b3ce021f97fbc3</guid></item><item><title>ErrCompiling 2.6.7 kernel with xbox-linux kernel-2.6 patches</title><link>https://sourceforge.net/p/xbox-linux/bugs/10/</link><description>The list of errors i got are in the attachment</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 20 Jun 2004 02:27:05 -0000</pubDate><guid>https://sourceforge.net63611449d66abbb459bfc0325f4dd1db0f2b9f3f</guid></item><item><title>Progessive output automatically with HDTV Pack</title><link>https://sourceforge.net/p/xbox-linux/bugs/9/</link><description>When using the HDTV pack, the kernel automatically goes
to progressive output.  I'm running the HDTV pack
\(component cables to a standard TV\) and this poses a
serious problem.  Even when selecting interlaced output
for X, progressive output is still produced.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 07 Jun 2004 07:01:50 -0000</pubDate><guid>https://sourceforge.net32d4985330419797bdfba89e0aea9e40db055444</guid></item></channel></rss>