Bug 15210

Summary: Enabling ACPI disables joystick detection
Product: Drivers Reporter: Mats Rauhala (mats.rauhala)
Component: Input DevicesAssignee: Dmitry Torokhov (dmitry.torokhov)
Status: CLOSED INSUFFICIENT_DATA    
Severity: normal CC: alan, rui.zhang, yakui.zhao
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.32-2-ARCH Subsystem:
Regression: No Bisected commit-id:
Bug Depends on:    
Bug Blocks: 56331    
Attachments: Result of lshw
Acpidump
lspci -vxxx
lspci -vxxx with acpi off

Description Mats Rauhala 2010-02-02 16:02:15 UTC
Created attachment 24875 [details]
Result of lshw

When ACPI is enabled, sidewinder module does not recognize my joystick. Joystick is Microsoft Force Feedback Pro gameport version and I have Ensoniq ES1371 soundcard.

When ACPI is enabled loading module 'sidewinder' provides the following result:

sidewinder.c: unknown joystick device detected on pci0000:01:02.0/gameport0, contact <vojtech@ucw.cz>
sidewinder.c: ID packet, 51 bits. [6c23bec7fc1ff]
sidewinder.c: Data packet, 51 bits. [ec23bec7fc1ff]

When ACPI is disabled either through bios, acpi=off or acpi=ht I get the following result:
input: Microsoft SideWinder Precision Pro as /devices/pci0000:00/0000:00:06.0/0000:01:02.0/gameport0/input/input7

I have tried the following settings: acpi=ht (works), pci=noacpi (doesn't work), acpi=noirq (doesn't work), pnpacpi=off (doesn't work), noapic (doesn't work), nolapic (doesn't work) and acpi=nomsi (doesn't work).

Steps to reproduce: boot the vanilla kernel with acpi enabled.


Linux libre 2.6.32-ARCH #1 SMP PREEMPT Sat Dec 26 08:26:17 UTC 2009 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ AuthenticAMD GNU/Linux

On a side-note when ACPI is enabled, the kernel sometimes locks while booting, showing only a couple lines of "Found enabled HT MSI Mapping", and on a newer kernel doesn't boot at all. I think fixing either fixes also the other, but should I file a separate bug report for this?
Comment 1 ykzhao 2010-02-08 03:11:36 UTC
Will you please boot the system with ACPI enabled and attach the output of acpidump, lspci -vxxx?

thanks.
Comment 2 Mats Rauhala 2010-02-08 08:45:57 UTC
Created attachment 24947 [details]
Acpidump

The results of "sudo acpidump > acpidump.log"
Comment 3 Mats Rauhala 2010-02-08 08:47:09 UTC
Created attachment 24948 [details]
lspci -vxxx

And lspci -vxxx > lspci.log
Comment 4 Zhang Rui 2010-02-21 08:41:46 UTC
please attach the lspci output when ACPI is off.
Comment 5 Mats Rauhala 2010-02-24 09:09:30 UTC
Created attachment 25188 [details]
lspci -vxxx with acpi off
Comment 6 Zhang Rui 2010-03-02 09:05:41 UTC
hmm, we'd better cc this to the input experts to see why the sidewinder driver is not loaded successfully.

For the kernel non-boot issue, please file another bug report and provides the following info:
> 
> On a side-note when ACPI is enabled, the kernel sometimes locks while
> booting,
> showing only a couple lines of "Found enabled HT MSI Mapping",

are you using an upstream kernel? what's the kernel version?
please attach the screen shot when the kernel locks.

> and on a newer
> kernel doesn't boot at all.

what's the earliest kernel that has this problem?
please verify if this still exists in the latest upstream kernel.
If yes, please attach the screen shot when the kernel hangs.