mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: CIJOML <cijoml@volny.cz>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Phis in /proc/bus/input/devices same for all devices?
Date: Thu, 22 Feb 2007 00:02:19 +0100	[thread overview]
Message-ID: <200702220002.20412.cijoml@volny.cz> (raw)
In-Reply-To: <1172098829.7403.58.camel@violet>

Dne čtvrtek 22 únor 2007 00:00 Marcel Holtmann napsal(a):
> Hi Michal,
>
> > I need this for differing Option "XkbModel" in Xorg, so I can bind to
> > each device it's model and has correct xev's scancodes based on model. So
> > I prefer to have as Phis just only BDADDR, because for me this doesn't
> > make sense to have there device to which keyboard connect. Then I should
> > have 1 section for each receiver, which is stupid.
>
> it makes sense to make it analogous to the USB driver, where the phys
> includes the USB path. The equivalent for Bluetooth is the source plus
> destination.
>
> > Section "InputDevice"
> >         Identifier  "Bluetooth Keyboard"
> >         Driver      "kbd"
> >         Option  "Name"  "Bluetooth HID Boot Protocol Device"
> >         Option  "Phis"        "BDADDR"
> >         Option      "XkbRules"  "xfree86"
> >         Option      "XkbModel"  "dinovo"
> >         Option      "XkbLayout" "us"
> > EndSection
>
> I don't know how "Phis" suppose to work, but I might think it is better
> using vendor and product ID for matching.

Xorg just reads lines from devices and match devices against it. So Phis makes 
configuration easier ;), because only one line is enough to match device.

>
> Regards
>
> Marcel

Michal

  reply	other threads:[~2007-02-21 23:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21 22:13 Fwd: " CIJOML
2007-02-21 22:27 ` Dmitry Torokhov
2007-02-21 22:37   ` CIJOML
     [not found]     ` <d120d5000702211443t4ef35436k2f32d8009289d5cb@mail.gmail.com>
2007-02-21 22:48       ` CIJOML
2007-02-21 22:44   ` Marcel Holtmann
2007-02-21 22:48     ` Dmitry Torokhov
2007-02-21 22:53       ` Marcel Holtmann
2007-02-21 23:00         ` CIJOML
2007-02-21 23:02           ` Marcel Holtmann
2007-02-22 15:06         ` Dmitry Torokhov
2007-02-21 22:54       ` CIJOML
2007-02-21 23:00         ` Marcel Holtmann
2007-02-21 23:02           ` CIJOML [this message]
     [not found]             ` <d120d5000702220709j9c98delcdf9a45e298ac39f@mail.gmail.com>
2007-10-29 22:29               ` CIJOML
2007-10-30  3:52                 ` Dmitry Torokhov
2007-10-30 14:51                   ` CIJOML

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=200702220002.20412.cijoml@volny.cz \
    --to=cijoml@volny.cz \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcel@holtmann.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

all inboxes | Powered by JetHome®