06 Sep, 2008
1 commit
-
There's been a patch floating around for toshiba_acpi that exports an ad-hoc
/proc interface to toggle the bluetooth adapter in a large number of Toshiba
laptops. I'm not sure if it's still relevant for the latest models, but it is
still required for older models such as my Tecra M3.This change pulls in the low level Toshiba-specific code from the old patch and
sets up an rfkill device and a polled input device to track the state of the
hardware kill-switch.Signed-off-by: Philip Langdale
Acked-by: Henrique de Moraes Holschuh
Signed-off-by: John W. Linville
12 Mar, 2008
1 commit
-
This adds aliases to enable autoloading of toishiba_acpi. Two aliases are
defined - TOS6200 (for \\_SB_.VALD.GHCI) and TSO1900 (for \\_SB_.VALZ.GHCI).
This allows toishiba_acpi to be autoloaded on systems that provide those
devices.Signed-off-by: Andrey Borzenkov
Cc: Olivier Blin
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown
15 Nov, 2007
1 commit
-
When backlight_device_register() fails, return after undo initialization, do
not try to use pointer that just was reset to NULLThis fixes this oops:
[ 1595.177672] [] show_trace_log_lvl+0x1a/0x30
[ 1595.177706] [] show_trace+0x12/0x20
[ 1595.177718] [] dump_stack+0x15/0x20
[ 1595.177728] [] kobject_shadow_add+0x125/0x1c0
[ 1595.177754] [] kobject_add+0xa/0x10
[ 1595.177764] [] device_add+0x97/0x5d0
[ 1595.177776] [] device_register+0x12/0x20
[ 1595.177786] [] backlight_device_register+0x9f/0x110 [backlight]
[ 1595.177814] [] toshiba_acpi_init+0x117/0x15e [toshiba_acpi]
[ 1595.177834] [] sys_init_module+0xfd/0x14e0
[ 1595.177871] [] sysenter_past_esp+0x5f/0x99
[ 1595.177883] =======================
[ 1595.177890] Could not register toshiba backlight device
[ 1595.177985] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000004
...
[ 1595.394097] EIP: 0060:[] Not tainted VLI
[ 1595.394101] EFLAGS: 00010282 (2.6.23-rc9-1avb #24)
[ 1595.480081] EIP is at toshiba_acpi_init+0x143/0x15e [toshiba_acpi]Signed-off-by: Andrey Borzenkov
Cc: John Belmonte
Acked-by: Richard Purdie
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
15 Oct, 2007
1 commit
-
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
17 Jun, 2007
1 commit
-
Fix section error (allyesconfig). The exit function is called from init,
so functions that are called by the exit function cannot be marked __exit.WARNING: drivers/built-in.o(.text+0xe5bc6): Section mismatch: reference to .exit.
text: (between 'toshiba_acpi_exit' and 'hci_raw')Signed-off-by: Randy Dunlap
Cc: Len Brown
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
01 Jun, 2007
1 commit
-
Fix following section mismatch warnings in acpi
WARNING: drivers/acpi/asus_acpi.o(.init.text+0xb7): Section mismatch: reference to .exit.text: (after 'init_module')
WARNING: o-i386/drivers/acpi/toshiba_acpi.o(.init.text+0x13a): Section mismatch: reference to .exit.text: (after 'init_module')The exit function is used in the init function during an error codition.
As __exit may be discarded during link-time / run-time this is no good.
Do not mark the exit function __exit.Note: This warning is only seen by my local copy of modpost
but the change will soon hit upstream.Signed-off-by: Sam Ravnborg
Cc: Len Brown
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
20 Feb, 2007
2 commits
-
Per device data such as brightness belongs to the indivdual device
and should therefore be separate from the the backlight operation
function pointers. This patch splits the two types of data and
allows simplifcation of some code.Signed-off-by: Richard Purdie
-
Remove uneeded owner field from backlight_properties structure.
Nothing uses it and it is unlikely that it will ever be used. The
backlight class uses other means to ensure that nothing references
unloaded code.Based on a patch from Dmitry Torokhov
Signed-off-by: Richard Purdie
17 Feb, 2007
2 commits
-
Signed-off-by: Len Brown
09 Feb, 2007
1 commit
-
Use ARRAY_SIZE macro already defined in kernel.h
Signed-off-by: Ahmed S. Darwish
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown
06 Jan, 2007
1 commit
-
write_lcd() in toshiba_acpi returns 0 on success since the big ACPI patch
merged in 2.6.20-rc2. It should return count.Signed-off-by: Matthijs van Otterdijk
Cc: Len Brown
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
20 Dec, 2006
1 commit
-
This patch set adds generic abstract layer support for acpi video driver to
have generic user interface to control backlight and output switch control by
leveraging the existing backlight sysfs class driver, and by adding a new
video output sysfs class driver.This patch:
Add dev argument for backlight_device_register to link the class device to
real device object. The platform specific driver should find a way to get the
real device object for their video device.[akpm@osdl.org: build fix]
[akpm@osdl.org: fix msi-laptop.c]
Signed-off-by: Luming Yu
Cc: "Antonino A. Daplas"
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown
21 Oct, 2006
1 commit
-
Add support for the generic backlight interface below /sys/class/backlight.
Keep the procfs brightness handling for backward compatibility.To achive this, add two generic functions get_lcd and set_lcd
to be used both by the procfs related and the sysfs related methods.[apw@shadowen.org: backlight users need to select BACKLIGHT_CLASS_DEVICE]
Signed-off-by: Holger Macht
Signed-off-by: Andy Whitcroft
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown
05 Aug, 2005
1 commit
-
Signed-off-by: Len Brown
12 Jul, 2005
2 commits
-
Signed-off-by: Panagiotis Issaris
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown -
See Documentation/acpi-hotkey.txt
Use cmdline "acpi_specific_hotkey" to enable
legacy platform specific drivers.http://bugzilla.kernel.org/show_bug.cgi?id=3887
Signed-off-by: Luming Yu
Signed-off-by: Len Brown
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!