joypad bug
I'm using 2.4.12 and since 2.4.10 my 8-button joypad (via gameport) stoped working.
The first 4 buttons work but directions and other 4 buttons doesn´t. I did not notice nothing
about it in changelog so I´m reporting it.
Marcelo Ribeiro
Quoted 5 lines · Marcelo Borges Ribeiro
I'm using 2.4.12 and since 2.4.10 my 8-button joypad (via gameport) stoped working.
The first 4 buttons work but directions and other 4 buttons doesn´t. I did not notice nothing
about it in changelog so I´m reporting it.
I know about the problem in 2.4.10. But in 2.4.12 that should be fixed ...
Signature · 2 lines
Vojtech Pavlik SuSE Labs
Quoted 9 lines · Vojtech Pavlik
Quoted 5 lines · Marcelo Borges Ribeiro
I'm using 2.4.12 and since 2.4.10 my 8-button joypad (via gameport) stoped working.
The first 4 buttons work but directions and other 4 buttons doesn?t. I did not notice nothing
about it in changelog so I?m reporting it.I know about the problem in 2.4.10. But in 2.4.12 that should be fixed ...
I am using kernel 2.4.12 now, and my Logitech WIngman Attack (analog driver) has the same symptions. Buttons work, directions don't.
James Strandboge
Signature · 5 lines
GPG/PGP Info Email: [email protected] ID: 26384A3A Fingerprint: D9FF DF4A 2D46 A353 A289 E8F5 AA75 DCBE 2638 4A3A --
Quoted 8 lines · James D Strandboge
Quoted 7 lines · Vojtech Pavlik
Quoted 5 lines · Marcelo Borges Ribeiro
I'm using 2.4.12 and since 2.4.10 my 8-button joypad (via gameport) stoped working.
The first 4 buttons work but directions and other 4 buttons doesn?t. I did not notice nothing
about it in changelog so I?m reporting it.
Quoted 4 lines
Quoted 2 lines
I know about the problem in 2.4.10. But in 2.4.12 that should be fixed ...
I am using kernel 2.4.12 now, and my Logitech WIngman Attack (analog driver) has the same symptions. Buttons work, directions don't.
Uh-uh. Gotta get me an analog joystick fast and test this.
Signature · 2 lines
Vojtech Pavlik SuSE Labs
Quoted 9 lines · Vojtech Pavlik
Quoted 8 lines · James D Strandboge
Quoted 7 lines · Vojtech Pavlik
Quoted 5 lines · Marcelo Borges Ribeiro
I'm using 2.4.12 and since 2.4.10 my 8-button joypad (via gameport) stoped working.
The first 4 buttons work but directions and other 4 buttons doesn?t. I did not notice nothing
about it in changelog so I?m reporting it.
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
I know about the problem in 2.4.10. But in 2.4.12 that should be fixed ...
I am using kernel 2.4.12 now, and my Logitech WIngman Attack (analog driver) has the same symptions. Buttons work, directions don't.
Uh-uh. Gotta get me an analog joystick fast and test this.
unless it specifically has to be gameport, probably the easiest, best, and cheapest way is to buy a playstation => usb adapter (~20AUD from
http://www.lik-sang.com) and a playstation controller or two. psx dualshock controller costs ~50AUD and gives you 12 buttons, two analog sticks, and a dpad... (in an imho very comfortable-to-use package)
you could then also use the dualshock to test bugs in the parallel port psx driver, i believe the adapters are quite cheap to make and have the added benefit of having the vibration feature supported (whereas it doesnt seem to work with the usb adapter)
j.
Signature · 2 lines
R N G G "Well, there it goes again... And we just sit I G G G here without opposable thumbs." -- gary larson
Quoted 9 lines · Vojtech Pavlik
Quoted 8 lines · James D Strandboge
Quoted 7 lines · Vojtech Pavlik
Quoted 5 lines · Marcelo Borges Ribeiro
I'm using 2.4.12 and since 2.4.10 my 8-button joypad (via gameport) stoped working.
The first 4 buttons work but directions and other 4 buttons doesn?t. I did not notice nothing
about it in changelog so I?m reporting it.
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
I know about the problem in 2.4.10. But in 2.4.12 that should be fixed ...
I am using kernel 2.4.12 now, and my Logitech WIngman Attack (analog driver) has the same symptions. Buttons work, directions don't.
Uh-uh. Gotta get me an analog joystick fast and test this.
I just confirmed that joystick works properly in 2.4.9.
Jamie
Signature · 5 lines
GPG/PGP Info Email: [email protected] ID: 26384A3A Fingerprint: D9FF DF4A 2D46 A353 A289 E8F5 AA75 DCBE 2638 4A3A --
Quoted 8 lines · James D Strandboge
Quoted 2 lines · Vojtech Pavlik
But if you could provide some more detail about when it stopped to work exactly (did it work with 2.4.9?) that might help.
I posted a message to the kernel mailing list and you a few minutes ago regarding the driver working in 2.4.9. It did, however, when I made the original post, I was using vanilla 2.4.10 and 2.4.12. However, I just tried 2.4.12-ac3 and it is in fact working. Hope this helps.
It's because a fix didn't make it into Linus's tree. Fix is attached.
Linus: Please apply it. Thanks.
Signature · 26 lines
Vojtech Pavlik
SuSE Labs
--- linux/drivers/char/joystick/analog.c Fri Sep 14 23:40:00 2001
+++ linux-fixed/drivers/char/joystick/analog.c Thu Oct 18 17:57:06 2001
@@ -138,7 +138,7 @@
#ifdef __i386__
#define TSC_PRESENT (test_bit(X86_FEATURE_TSC, &boot_cpu_data.x86_capability))
-#define GET_TIME(x) do { if (TSC_PRESENT) rdtscl(x); else outb(0, 0x43); x = inb(0x40); x |= inb(0x40) << 8; } while (0)
+#define GET_TIME(x) do { if (TSC_PRESENT) rdtscl(x); else { outb(0, 0x43); x = inb(0x40); x |= inb(0x40) << 8; } } while (0)
#define DELTA(x,y) (TSC_PRESENT?((y)-(x)):((x)-(y)+((x)<(y)?1193180L/HZ:0)))
#define TIME_NAME (TSC_PRESENT?"TSC":"PIT")
#elif __x86_64__
@@ -499,7 +499,9 @@
else
printk(" [%s timer, %d %sHz clock, %d ns res]\n", TIME_NAME,
port->speed > 10000 ? (port->speed + 800) / 1000 : port->speed,
- port->speed > 10000 ? "M" : "k", (port->loop * 1000000) / port->speed);
+ port->speed > 10000 ? "M" : "k",
+ port->speed > 10000 ? (port->loop * 1000) / (port->speed / 1000)
+ : (port->loop * 1000000) / port->speed);
}
/*