From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Suggestion : generic permission rule for WMC devices (phones)
Date: Mon, 13 Nov 2006 18:24:53 +0000 [thread overview]
Message-ID: <20061113182453.GC3721@kroah.com> (raw)
In-Reply-To: <874pt4bssj.fsf@ouvaton.org>
On Sun, Nov 12, 2006 at 04:15:08PM +0100, Olivier Berger wrote:
> Hi.
>
> (I'm not subscribed to the list, so I hope to be able to post
> anyway. Please reply to me then also ;)
>
> I'd like to make a suggestion for addition of a rule for permissions
> of "WMC Devices" i.e. Wireless Mobile Communication devices, in the
> default rules on Debian, which would allow users in group dialout to
> access their phones over OBEX on USB cables, with OpenOBEX (on devices
> like /dev/bus/usb/002/012, used by obexftp) :
>
> I think that something like :
> SUBSYSTEM="usb_device", GROUP="dialout", \
> ATTRS{configuration}="WMC Device"
> would fit.
>
> I think such a rule would be generic enough to catch all mobile
> phones, and I'd prefer something like that instead of multiple rules
> for each phone. Actually for mine (Sony ericsson K610i) this one also
> works, but is less generic, then :
> SUBSYSTEM="usb_device", GROUP="dialout", \
> ATTRS{idVendor}="0fce", ATTRS{idProduct}="d046"
>
> I'd like to have your opinion on this idea. I'm just afraid the
> ATTRS{configuration}="WMC Device" and SUBSYSTEM="usb_device" would
> be too much generic and cause other issues...
I think that would be too generic, and odds are the {configuration} will
not always match too.
You are going to probably have to have a lot of different rules for all
of the different phones, sorry.
Blame the manufacturers for this mess.
good luck,
greg k-h
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
prev parent reply other threads:[~2006-11-13 18:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-12 15:15 Suggestion : generic permission rule for WMC devices (phones) Olivier Berger
2006-11-13 18:24 ` Greg KH [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=20061113182453.GC3721@kroah.com \
--to=greg@kroah.com \
--cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).