Remove Dell Optiplex GX240 from the ACPI blacklist
PATCH 6/6 Remove Dell Optiplex GX240 from the ACPI blacklist
From: Tear <[email protected]>
I have a Dell Optiplex GX240 and when I boot Linux, ACPI gets set up by only acpi=ht. dmesg shows the following line:
DELL GX240 detected: force use of acpi=ht
Everything seemed to be fine. However, I discovered that everything is not fine. The USB controller works so slowly that copying a few (uncached) 1 megabyte large photos from a USB-enabled digital camera takes many minutes instead of a couple of seconds.
I am using Linux 2.6.21.1 on a Debian 4.0 ("Etch") system.
I thought that this might be related to ACPI. So I tried to boot with _only_ "acpi=force" appended to the kernel command line. Voila, the USB controller started to work at full speed and copying photos from my digital camera took only seconds.
I tested the system with "acpi=force" and could not find anything which did not work. So, can we please remove Dell Optiplex GX240 from the blacklist in
..../arch/i386/kernel/acpi/boot.c
? The attached patch does just that: It removes Dell Optiplex GX240 from the ACPI blacklist.
I thought that this might be related to interrupts and APIC as well. (Note that this is APIC, not ACPI.) I tried booting with _only_ "noapic" and "nolapic" appended to the command line. Again, the USB controller started to work at full speed.
---
arch/i386/kernel/acpi/boot.c | 8 -------- 1 files changed, 8 deletions(-)
arch/i386/kernel/acpi/boot.c renamed from arch/i386/kernel/acpi/boot.c~remove-dell-optiplex-gx240-from-the-acpi-blacklist +0 -8
@@ -971,14 +971,6 @@ static struct dmi_system_id __initdata a }, { .callback = force_acpi_ht, - .ident = "DELL GX240", - .matches = { -DMI_MATCH (DMI_BOARD_VENDOR ,"Dell Computer Corporation" ), - DMI_MATCH(DMI_BOARD_NAME, "OptiPlex GX240"), - }, - }, - { - .callback = force_acpi_ht, .ident = "HP VISUALIZE NT Workstation", .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
_
Applied.
thanks,
-len
Quoted 63 lines · On Wednesday 23 May 2007 17:12, [email protected] wrote:
From: Tear <[email protected]>
I have a Dell Optiplex GX240 and when I boot Linux, ACPI gets set up by only acpi=ht. dmesg shows the following line:
DELL GX240 detected: force use of acpi=ht
Everything seemed to be fine. However, I discovered that everything is not fine. The USB controller works so slowly that copying a few (uncached) 1 megabyte large photos from a USB-enabled digital camera takes many minutes instead of a couple of seconds.
I am using Linux 2.6.21.1 on a Debian 4.0 ("Etch") system.
I thought that this might be related to ACPI. So I tried to boot with _only_ "acpi=force" appended to the kernel command line. Voila, the USB controller started to work at full speed and copying photos from my digital camera took only seconds.
I tested the system with "acpi=force" and could not find anything which did not work. So, can we please remove Dell Optiplex GX240 from the blacklist in
..../arch/i386/kernel/acpi/boot.c? The attached patch does just that: It removes Dell Optiplex GX240 from the ACPI blacklist.
I thought that this might be related to interrupts and APIC as well. (Note that this is APIC, not ACPI.) I tried booting with _only_ "noapic" and "nolapic" appended to the command line. Again, the USB controller started to work at full speed.
Cc Len Brown <[email protected]>Signed-off-by Andrew Morton <[email protected]>---
arch/i386/kernel/acpi/boot.c | 8 -------- 1 files changed, 8 deletions(-)diff -puN
arch/i386/kernel/acpi/boot.c~remove-dell-optiplex-gx240-from-the-acpi-blacklistarch/i386/kernel/acpi/boot.carch/i386/kernel/acpi/boot.c renamed from arch/i386/kernel/acpi/boot.c~remove-dell-optiplex-gx240-from-the-acpi-blacklist +0
-8@@ -971,14 +971,6 @@ static struct dmi_system_id __initdata a }, { .callback = force_acpi_ht, - .ident = "DELL GX240", - .matches = { -DMI_MATCH (DMI_BOARD_VENDOR ,"Dell Computer Corporation" ), - DMI_MATCH(DMI_BOARD_NAME, "OptiPlex GX240"), - }, - }, - { - .callback = force_acpi_ht, .ident = "HP VISUALIZE NT Workstation", .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),_
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html