public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 6/6] Remove Dell Optiplex GX240 from the ACPI blacklist
@ 2007-05-23 21:12 akpm
  2007-06-02  4:41 ` Len Brown
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2007-05-23 21:12 UTC (permalink / raw)
  To: lenb; +Cc: linux-acpi, akpm, tarrqt

From: Tear <tarrqt@yahoo.com>

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 <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 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-blacklist arch/i386/kernel/acpi/boot.c
--- a/arch/i386/kernel/acpi/boot.c~remove-dell-optiplex-gx240-from-the-acpi-blacklist
+++ a/arch/i386/kernel/acpi/boot.c
@@ -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"),
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 6/6] Remove Dell Optiplex GX240 from the ACPI blacklist
  2007-05-23 21:12 [patch 6/6] Remove Dell Optiplex GX240 from the ACPI blacklist akpm
@ 2007-06-02  4:41 ` Len Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2007-06-02  4:41 UTC (permalink / raw)
  To: akpm; +Cc: linux-acpi, tarrqt

Applied.

thanks,
-len

On Wednesday 23 May 2007 17:12, akpm@linux-foundation.org wrote:
> From: Tear <tarrqt@yahoo.com>
> 
> 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 <lenb@kernel.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
> 
>  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-blacklist arch/i386/kernel/acpi/boot.c
> --- a/arch/i386/kernel/acpi/boot.c~remove-dell-optiplex-gx240-from-the-acpi-blacklist
> +++ a/arch/i386/kernel/acpi/boot.c
> @@ -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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-02  4:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-23 21:12 [patch 6/6] Remove Dell Optiplex GX240 from the ACPI blacklist akpm
2007-06-02  4:41 ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox