From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Mon, 13 Nov 2006 18:24:53 +0000 Subject: Re: Suggestion : generic permission rule for WMC devices (phones) Message-Id: <20061113182453.GC3721@kroah.com> List-Id: References: <874pt4bssj.fsf@ouvaton.org> In-Reply-To: <874pt4bssj.fsf@ouvaton.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.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&kid0709&bid&3057&dat1642 _______________________________________________ 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