public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: [git pull 02/14] Add Wistron driver
@ 2005-12-06  8:11 Yu, Luming
  2005-12-06 15:21 ` Dmitry Torokhov
  0 siblings, 1 reply; 16+ messages in thread
From: Yu, Luming @ 2005-12-06  8:11 UTC (permalink / raw)
  To: dtor_core
  Cc: Linus Torvalds, Vojtech Pavlik, Andrew Morton,
	Linux Kernel Mailing List, Brown, Len

>On 12/2/05, Yu, Luming <luming.yu@intel.com> wrote:
>> I just tested module wistron_btn on  one Acer Aspire laptop after
>> adding one dmi entry.  The wistron_btn found BIOS interfaces.
>> One visible error is the bluetooth light won't turn on upon
>> stroking bluetooth button.
>> Without wistron_btn module, the bluetooth light works.
>>  with acpi enabled, I didn't try acpi disabled)
>>
>
>Did you add the new keymap table with KE_BLUETOOTH to go with 
>that DMI entry?

Yes,  I added.
>
>> wistron_btn polls a cmos address to detect hotkey event.  It
>> is not necessary, because there do have ACPI interrupt triggered upon
>> hotkeys.
>>
>
>Unfortunately ACPI does not route these events through the input layer
>so aside from special buttons (like sleep) it is not very useful.

There are acpi daemon for any evetnts that needs user space attention.
I'm not sure if these events should be routed to input layer.
But, we can do that.

>
>> So, my suggestion is to disable this module when ACPI enabled.
>> We need to implement hotkey support from ACPI subsystem for my
>> Acer aspire laptop.
>
>I do not agree.

For my acer aspire laptop.
I added dmi entry, and keymap.

With acpi disabled, bluetooth light doesn't work
With acpi disabled + wistron module,  bluetooth light doesn't work.

With acpi enabled +  wistron module,  bluetooth light doesn't work

With acpi enabled - wistron module, bluetooth works.
>From these test cases, do you still think wistron driver can help my
laptop?

Thanks,
Luming

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: [git pull 02/14] Add Wistron driver
@ 2005-12-06  8:57 Yu, Luming
  2005-12-07 14:43 ` Miloslav Trmac
  0 siblings, 1 reply; 16+ messages in thread
From: Yu, Luming @ 2005-12-06  8:57 UTC (permalink / raw)
  To: Miloslav Trmac
  Cc: Dmitry Torokhov, Linus Torvalds, Vojtech Pavlik, Andrew Morton,
	Linux Kernel Mailing List, Brown, Len

>Miloslav Trmac wrote:
>> Yu, Luming wrote:
>>>>> I just tested module wistron_btn on  one Acer Aspire laptop after 
>>>>> adding one dmi entry.  The wistron_btn found BIOS interfaces.
>
>>>>If your laptop provides the hotkey events via ACPI, simply don't use
>>>>wistron_btns.
>>>
>>>wistron driver should be disabled if acpi hotkey enabled.
>> 
>> It is implicitly disabled because it contains DMI ids of 
>known laptops,
>> and its module_init() fails with -ENODEV when used on other hardware,
>> before ever touching the BIOS.
>> 
>> I therefore can't see how it could break anything unless you have
>> explicitly supplied module parameters to override this check.
>On second thought, do you by "found BIOS interfaces" mean "found BIOS
>interfaces when asked to" or "matched the existing Aspire 1500 DMI ID"?

I found this in dmesg:

wistron_btns: BIOS signature found at c00f6920, entry point 000FDC10
input: Wistron laptop buttons as /class/input/input2

>
>Thanks,
>	Mirek
>

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: [git pull 02/14] Add Wistron driver
@ 2005-12-06  8:38 Yu, Luming
  0 siblings, 0 replies; 16+ messages in thread
From: Yu, Luming @ 2005-12-06  8:38 UTC (permalink / raw)
  To: Miloslav Trmac
  Cc: Dmitry Torokhov, Linus Torvalds, Vojtech Pavlik, Andrew Morton,
	Linux Kernel Mailing List, Brown, Len


>Yu, Luming wrote:
>>>If your laptop provides the hotkey events via ACPI, simply don't use
>>>wistron_btns.
>> 
>> 
>> wistron driver should be disabled if acpi hotkey enabled.
>It is implicitly disabled because it contains DMI ids of known laptops,
>and its module_init() fails with -ENODEV when used on other hardware,
>before ever touching the BIOS.
>
>I therefore can't see how it could break anything unless you have
>explicitly supplied module parameters to override this check.
>	Mirek
>
My concern is if ACPI enabled those box could NOT work with Wistron
driver.

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: [git pull 02/14] Add Wistron driver
@ 2005-12-06  7:35 Yu, Luming
  2005-12-06  8:15 ` Miloslav Trmac
  0 siblings, 1 reply; 16+ messages in thread
From: Yu, Luming @ 2005-12-06  7:35 UTC (permalink / raw)
  To: Miloslav Trmac
  Cc: Dmitry Torokhov, Linus Torvalds, Vojtech Pavlik, Andrew Morton,
	Linux Kernel Mailing List, Brown, Len

>
>Yu, Luming wrote:
>> I just tested module wistron_btn on  one Acer Aspire laptop after 
>> adding one dmi entry.  The wistron_btn found BIOS interfaces.
>> One visible error is the bluetooth light won't turn on upon 
>> stroking bluetooth button.
>> Without wistron_btn module, the bluetooth light works.
>>  with acpi enabled, I didn't try acpi disabled)
>> 
>> wistron_btn polls a cmos address to detect hotkey event.  It 
>> is not necessary, because there do have ACPI interrupt 
>triggered upon 
>> hotkeys.
>There are many different laptops using similar interfaces.
>It is a mess :(
>
>If your laptop provides the hotkey events via ACPI, simply don't use
>wistron_btns.

wistron driver should be disabled if acpi hotkey enabled.

>
>> So, my suggestion is to disable this module when ACPI enabled.
>I have a laptop that needs this module (hotkeys are not supported via
>ACPI), but supports ACPI.

 Could you share me acpidump output of your laptop?
Please attach it at :
http://bugzilla.kernel.org/show_bug.cgi?id=5692


^ permalink raw reply	[flat|nested] 16+ messages in thread
* [git pull 00/14] Input updates for 2.6.15
@ 2005-11-20  6:36 Dmitry Torokhov
  2005-11-20  6:36 ` [git pull 02/14] Add Wistron driver Dmitry Torokhov
  0 siblings, 1 reply; 16+ messages in thread
From: Dmitry Torokhov @ 2005-11-20  6:36 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Vojtech Pavlik, Andrew Morton, Linux Kernel Mailing List

Hi Linus,

Please consider pulling from:

	master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git

It corrects couple of problems caused by recein input dynalloc
conversion, converts uinput driver to dynamic allocation and
adds new wistron button driver which was siting in -mm for quite
a while.

Vojtech, please bless the pull.

Changelog:

 Fix missing initialization in ir-kbd-gpio.c
 Fix an OOPS when initializing IR remote on saa7134
 Input: make serio and gameport more swsusp friendly
 Input: handle failures in input_register_device()
 Input: uinput - don't use "interruptible" in FF code
 Input: uinput - add UI_SET_SWBIT ioctl
 Input: uinput - convert to dynalloc allocation
 Input: wistron - disable wifi/bluetooth on suspend
 Input: wistron - add PM support
 Input: wistron - convert to dynamic input_dev allocation
 Input: wistron - add support for Acer Aspire 1500 notebooks
 Input: wistron - disable for x86_64
 Input: add Wistron driver
 Input: atkbd - speed up setting leds/repeat state

Diffstat:

 MAINTAINERS                                 |    5 
 drivers/input/gameport/gameport.c           |   12 
 drivers/input/input.c                       |   63 +--
 drivers/input/keyboard/atkbd.c              |   99 +++-
 drivers/input/misc/Kconfig                  |   10 
 drivers/input/misc/Makefile                 |    1 
 drivers/input/misc/uinput.c                 |  323 ++++++++--------
 drivers/input/misc/wistron_btns.c           |  561 ++++++++++++++++++++++++++++
 drivers/input/serio/serio.c                 |   12 
 drivers/media/video/ir-kbd-gpio.c           |    5 
 drivers/media/video/saa7134/saa7134-input.c |    2 
 include/linux/uinput.h                      |   13 
 12 files changed, 880 insertions(+), 226 deletions(-)

--
Dmitry


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

end of thread, other threads:[~2005-12-12 11:34 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-06  8:11 [git pull 02/14] Add Wistron driver Yu, Luming
2005-12-06 15:21 ` Dmitry Torokhov
2005-12-11 13:10   ` Bernhard Rosenkraenzer
2005-12-11 22:40     ` Vojtech Pavlik
2005-12-12  8:13       ` Andrew Morton
2005-12-12  9:14         ` Stefan Seyfried
2005-12-12  9:38           ` Andrew Morton
2005-12-12 11:22             ` Stefan Seyfried
2005-12-12 11:33               ` Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2005-12-06  8:57 Yu, Luming
2005-12-07 14:43 ` Miloslav Trmac
2005-12-06  8:38 Yu, Luming
2005-12-06  7:35 Yu, Luming
2005-12-06  8:15 ` Miloslav Trmac
2005-12-06  8:30   ` Miloslav Trmac
2005-11-20  6:36 [git pull 00/14] Input updates for 2.6.15 Dmitry Torokhov
2005-11-20  6:36 ` [git pull 02/14] Add Wistron driver Dmitry Torokhov

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