* Suggestion : generic permission rule for WMC devices (phones)
@ 2006-11-12 15:15 Olivier Berger
2006-11-13 18:24 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Olivier Berger @ 2006-11-12 15:15 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Suggestion : generic permission rule for WMC devices (phones)
2006-11-12 15:15 Suggestion : generic permission rule for WMC devices (phones) Olivier Berger
@ 2006-11-13 18:24 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2006-11-13 18:24 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-13 18:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-12 15:15 Suggestion : generic permission rule for WMC devices (phones) Olivier Berger
2006-11-13 18:24 ` Greg KH
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).