Re: Problems porting asus_acpi to LED subsystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

> Summary:
> 
> I'm trying to link asus_acpi into the LED subsystem.  My set_brightness
> callback evaluates an ACPI method to set the LED state.  It works fine
> manually changing the brightness, but when the callback is called by a
> timer (using the timer or ide-disk triggers), it eventually causes an
> Oops.  I can post my code or the Oops if it would help.  I'm new at
> kernel coding, and I'm not on the list, so please CC me on any reply.
> Sorry if this isn't appropriate on the list.

I _guess_ the LED subsystem can be called from interrupt, and ACPI
does not like that. So you probably need to use workqueue to defer
setting a bit.
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux