Re: [PATCH] ACPI: use NULL for ptrs

2007-02-14 Thread Len Brown
Applied. thanks, -Len On Tuesday 13 February 2007 19:11, Randy Dunlap wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > Fix sparse warnings in ACPI: > drivers/acpi/osl.c:208:10: warning: Using plain integer as NULL pointer > drivers/acpi/tables/tbxface.c:411:49: warning: Using plain integer as

Re: [PATCH] ACPI: bay: use IS_ERR for return of register_platform_device_simple

2007-02-14 Thread Len Brown
Applied, thanks, -Len On Wednesday 14 February 2007 07:55, Henrique de Moraes Holschuh wrote: > register_platform_device_simple returns ERR_PTR(foo), so test it with > IS_ERR(foo). > > Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> > > --- > > I wonder how many of these are in

Re: acpi_bus_register_driver() and latest acpi trees

2007-02-14 Thread John Keller
> > On Friday 09 February 2007 19:27, John Keller wrote: > > > > > > On Wednesday 31 January 2007 20:58, Zhang Rui wrote: > > > > On Wed, 2007-01-31 at 10:11 -0600, John Keller wrote: > > > > > Len, > > > > > When building kernels from your ACPI release or test trees, > > > > > as well as the -

Re: no fan detected

2007-02-14 Thread martin schneebacher
On 2/14/07, Alexey Starikovskiy <[EMAIL PROTECTED]> wrote: So you don't need to have control too. You could look at your DSDT, it is in /proc/dsdt. it is possible to disassemble it with "iasl" which should be available either in repository of the packages for your Linux version, or as part of acp

Re: [GIT PATCH] ACPI patches for 2.6.21

2007-02-14 Thread Pavel Machek
Hi! > > > > Not including another /proc/acpi/ibm -like nightmare, is it? > > > > > > Don't worry, I am already on my way to kill /proc/acpi/ibm... :-) > > > > Great, thanks! > > Pavel > > None of the platform/hwmon/led driver model cod

[PATCH] ACPI: bay: use IS_ERR for return of register_platform_device_simple

2007-02-14 Thread Henrique de Moraes Holschuh
register_platform_device_simple returns ERR_PTR(foo), so test it with IS_ERR(foo). Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> --- I wonder how many of these are in the kernel? An annotation for this would be a good idea. It doesn't help that people, as usual, do not see fit

Re: Help with fan on fujitsu-siemens

2007-02-14 Thread Alexey Starikovskiy
Lorincz Andras wrote: Hello, I have a fujitsu-siemens amilo l1310g laptop. The problem is that the cpu fan doesn't start if the cpu heats up, but I can start it manualy by these 2 commands: echo 3 > /proc/acpi/fan/FAN0/state echo 0 > /proc/acpi/fan/FAN0/state in this case the fan starts but it

Help with fan on fujitsu-siemens

2007-02-14 Thread Lorincz Andras
Hello, I have a fujitsu-siemens amilo l1310g laptop. The problem is that the cpu fan doesn't start if the cpu heats up, but I can start it manualy by these 2 commands: echo 3 > /proc/acpi/fan/FAN0/state echo 0 > /proc/acpi/fan/FAN0/state in this case the fan starts but it won't ever stop even if