public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: CIJOML <cijoml@volny.cz>
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:00:29 +0100	[thread overview]
Message-ID: <1172098829.7403.58.camel@violet> (raw)
In-Reply-To: <200702212354.38618.cijoml@volny.cz>

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.

Regards

Marcel



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

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21 22:13 Fwd: Re: Phis in /proc/bus/input/devices same for all devices? 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 [this message]
2007-02-21 23:02           ` CIJOML
     [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=1172098829.7403.58.camel@violet \
    --to=marcel@holtmann.org \
    --cc=cijoml@volny.cz \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-kernel@vger.kernel.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