linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Olivier Berger <oberger@ouvaton.org>
To: linux-hotplug@vger.kernel.org
Subject: Suggestion : generic permission rule for WMC devices (phones)
Date: Sun, 12 Nov 2006 15:15:08 +0000	[thread overview]
Message-ID: <874pt4bssj.fsf@ouvaton.org> (raw)

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 hope you'll find this idea interesting and you will be able to
confirm my intuition.

Thanks in advance for your insight.

Best regards,

P.S.: I documented my current setup at
http://www.olivierberger.com/weblog/index.php/2006/11/12/66-transfering-files-to-the-sony-ericsson-k610i-from-gnu-linux-through-usb-obex
if you need some details on the context.

-- 
Olivier BERGER (OpenPGP: 1024D/B4C5F37F)
APRIL (http://www.april.org) - Vive python (http://www.python.org)
Pétition contre les brevets logiciels : http://petition.eurolinux.org

-------------------------------------------------------------------------
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

             reply	other threads:[~2006-11-12 15:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-12 15:15 Olivier Berger [this message]
2006-11-13 18:24 ` Suggestion : generic permission rule for WMC devices (phones) Greg KH

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=874pt4bssj.fsf@ouvaton.org \
    --to=oberger@ouvaton.org \
    --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).