Modem device is owned by root, so my user can't access it.

Neil Woolford neil at neilwoolford.co.uk
Fri Aug 12 09:56:49 UTC 2005


At 02:02 12/08/05, you wrote:

>Neil Woolford wrote:
>
> > How can I best change this behaviour?  (Ideally I'd also like a persistant
> > /dev/modem that links to the
> > /dev/536ep0 device as well, so that the applications can call the more
> > standard name.)
>
>udev!  We really need a smart udev gui :-)  You would seem to have a
>somewhat unusual modem device.  So you'd need a rule in udev like:
>
>BUS="pci", KERNEL="536ep0", NAME="%k", SYMLINK="modem", GROUP="dialout"
>
>YMMV.  I haven't tried it :-)
>--
>derek

Thanks for that.  I'm sure it is the right track;  my mileage did vary, I'm 
afraid.

I tried the suggested line in /etc/udev/udev.rules as this appears to be 
the appropriate
file, but it made no difference, even after the command 'udev restart' or 
an actual reboot.

Did I put the line in the right file?  Some of the howto information that I 
looked at suggested
that the order of commands matters;  if your local rules are read after the 
default ones
then they don't get applied and the defaults stand.  Could that be 
happening here?  I didn't
see any references to default (modem) setups in the file I tried editing - 
was it already set
somewhere else?

Also, I haven't gone into the rule syntax properly;  I'm particularly 
suspicious of assuming
that KERNEL="536ep0" is correct.  536ep0 *is* the device name that the 
system is using
by default, but the kernel module is Intel536.ko (IIRC).

So I'm further forward, but still at the questions rather than answers 
stage for now.

Neil

PS  The good news is that the Modem Monitor panel applet *does* work with 
the default
permissions for /dev/536ep0, so the user can dial out.  It's just that 
gnome-ppp offers
a preferable interface in my opinion. 


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.7/70 - Release Date: 11/08/05






More information about the ubuntu-users mailing list