Re: [PATCH] HIDD: add psm offset possibilty

Marcel Holtmann <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <[email protected]>
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]).

okay, but the offset is too hackish. Simply provide two options to  
overwrite the PSM value for control and interrupt channels.

Regards

Marcel


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.