public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Vojtech Pavlik <vojtech@suse.cz>
To: Bernhard Rosenkraenzer <bero@arklinux.org>
Cc: dtor_core@ameritech.net, "Yu, Luming" <luming.yu@intel.com>,
	Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	"Brown, Len" <len.brown@intel.com>
Subject: Re: [git pull 02/14] Add Wistron driver
Date: Sun, 11 Dec 2005 23:40:59 +0100	[thread overview]
Message-ID: <20051211224059.GA28388@midnight.suse.cz> (raw)
In-Reply-To: <200512111310.14984.bero@arklinux.org>

On Sun, Dec 11, 2005 at 01:10:13PM +0000, Bernhard Rosenkraenzer wrote:
> On Tuesday 06 December 2005 15:21, Dmitry Torokhov wrote:
> 
> Hi, sorry for the delay, just returning from Spain...
> 
> > > 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.
> >
> > How do you suggest handle buttons such as "Mail", "WWW", etc? Through
> > acpid? And then tunnel them to X somewhow?
> 
> I think routing them to the input layer makes most sense because they are keys 
> like everything else -- of course hacking acpid to pass on ACPI key events to 
> Xorg via the XTest extension is not exactly hard, but that would break the 
> keys in text mode (who knows, maybe someone wants to map his mail key to 
> "mutt[RETURN]"?), and of course launching an application from acpid is a bit 
> hard (acpid runs as root --> need to figure out which user is pressed the 
> button, switch user IDs, find the correct X display if any, .....) if it's an 
> input event, solutions for the expected functionality already exist - e.g. 
> khotkeys.

You also can hack acpid to use uinput to feed the events back to the
input subsystem, but I agree with you that going there directly is
probably the best way to go.

> > > With acpi enabled - wistron module, bluetooth works.
> > > From these test cases, do you still think wistron driver can help my
> > > laptop?
> >
> > No, you have proven that the driver will not help to your laptop. Now,
> > as it is, it won't even load on your laptop either, because of
> > different DMI signature. So why are you complaining? I am pretty sure
> > Bernhard (who added bluetooth handling) has his working with ACPI.
> > Bernhard, any input on this?
> 
> I have ACPI + wistron module. Can't tell if bluetooth actually works because I 
> don't have any bluetooth hardware, but I can tell the bluetooth LED can be 
> turned on and off.

You should see the bluetooth USB device appearing and disappearing in
'lsusb'.

> ACPI works on this box, but not the ACPI buttons stuff (guess they aren't 
> following standards...). I'm running a modified 2.6.15-rc5-mm1 here (none of 
> the modifications touch ACPI though).

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR

  reply	other threads:[~2005-12-11 22:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051211224059.GA28388@midnight.suse.cz \
    --to=vojtech@suse.cz \
    --cc=akpm@osdl.org \
    --cc=bero@arklinux.org \
    --cc=dtor_core@ameritech.net \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luming.yu@intel.com \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox