All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby@gmail.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: Maxim Krasnyansky <maxk@qualcomm.com>, bluez-devel@lists.sourceforge.net
Subject: Re: [PATCH] HIDD: add psm offset possibilty
Date: Wed, 26 Mar 2008 17:26:34 +0100	[thread overview]
Message-ID: <47EA793A.7040003@gmail.com> (raw)
In-Reply-To: <DBFFAB62-8CD8-4827-93A2-19B6E884AD27@holtmann.org>

On 03/26/2008 05:18 PM, Marcel Holtmann wrote:
> Hi Jiri,
> 
>> This feature allows using cell phones as remote controllers, because it
>> usually denies to bind psms lower than 0x1000.
> 
> you have to explain why this is needed and useful since even creating 
> the HID device needs root capabilities.
> 
> And why for example using the input service with its D-Bus API is not 
> working for you.

Sorry, I wasn't clear enough.

The daemon runs on standard PC, and on mobile phone there is an java application 
(on whatever platform) which can bind only psms >= 0x1000 (on most phones). So 
to allow taking control of hid by a cell phone, hidd must listen on odd psms >= 
0x1000 (i use hidd --server on pc, java-client in my current application [1]).

[1] http://decibel.fi.muni.cz/cgi-bin/gitweb.cgi?p=l2cap.git;a=summary

regards,
--js

  reply	other threads:[~2008-03-26 16:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-26 14:50 [PATCH] HIDD: add psm offset possibilty Jiri Slaby
2008-03-26 16:18 ` [Bluez-devel] " Marcel Holtmann
2008-03-26 16:26   ` Jiri Slaby [this message]
2008-03-26 16:33     ` Marcel Holtmann
2008-03-26 16:37       ` Jiri Slaby

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=47EA793A.7040003@gmail.com \
    --to=jirislaby@gmail.com \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=marcel@holtmann.org \
    --cc=maxk@qualcomm.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.