Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Newbie Question: Setting 2 BT Mice to specific /dev/input/mouse* files
Date: Thu, 02 Jun 2005 20:10:38 +0200	[thread overview]
Message-ID: <1117735838.13834.18.camel@pegasus> (raw)
In-Reply-To: <20050602164634.85367.qmail@web26108.mail.ukl.yahoo.com>

Hi Rodrigo,

> (I'm in a Vanilla kernel, 2.6.11-mh2 patch, with the
> Logitech DiNovo USB HUB in HCI mode with 2 IOGEAR mini
> mice)
> 
> I'm working on a project that uses 2 BT Mice
> simultaneously. They don't perform the same functions
> (core pointer control, ex.) each one has a specific
> interaction function associated. In order to deal with
> these two mice separately, I've to write in my
> XF86Config file like this:
> 
>   Option       "Device" "/dev/input/mouse1"
> and
>   Option       "Device" "/dev/input/mouse2"
> 
> rather than:
>   Option       "Device" "/dev/input/mice"
> and
>   Option       "Device" "/dev/input/mice"
> 
> The problem for me is that bluetooth mice seems to
> behave differently than other mice. They'll not keep
> on the same /dev/input/mouse* during all the use time,
> but they will change from the /dev/input/mouse2 to
> /dev/input/mouse3, for example.
> 
> I've searched in this mail list for related problems
> with no success. I've also read some HOTPLUG tutorials
> and FAQs but I haven't found anywhere yet containing
> clues to the way that this dev files are picked.
> 
> Does anyone knows some pointer or FAQ to these issues
> of DEV files or a clue for why BlueZ works like this?

they will disconnect and reconnect and then the device nodes might
change. You may can use udev to get stable device names, but this is a
question for the input subsystem gurus. I don't know if this is already
supported.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2005-06-02 18:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-02 16:46 [Bluez-users] Newbie Question: Setting 2 BT Mice to specific /dev/input/mouse* files Rodrigo Almeida
2005-06-02 18:10 ` Marcel Holtmann [this message]

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=1117735838.13834.18.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /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