You are not logged in.
Hi
I have installed mobile broadband through Huawei e220 all right.
But I would prefer to be able to reach the device as user not only as root.
I understand the arch-way of doing this is to change permissions in udev rules. The question is:
How should I do that???
There is a udev rule for huawei which states how modules are loaded but nothing on permissions. It looks like this:
SUBSYSTEM=="usb", SYSFS{idProduct}=="1003", SYSFS{idVendor}=="12d1", RUN+="/opt/he220/bin/huaweiAktBbo"
SUBSYSTEM=="usb", SYSFS{idProduct}=="1003", SYSFS{idVendor}=="12d1", RUN+="/bin/sleep 5"
SUBSYSTEM=="usb", SYSFS{idProduct}=="1003", SYSFS{idVendor}=="12d1", RUN+="/sbin/modprobe usbserial vendor=0x12d1 product=0x1003"
Computers never saves time - but they help you produce more in the same timespan...
Offline
Hello, you could try to define a group that owns the device with the GROUP assignment, see:
http://reactivated.net/writing_udev_rul … #ownership
to add users to a special group, use gpasswd, see:
http://linux.about.com/library/cmd/blcmdl1_gpasswd.htm
good luck!
Offline
Thank you. That is part of the answer. Because this is exactly what I wants to do. The plan is to create a group 'mobilenet' or something like it and give the permissions to that group.
But...
What is the syntax? What is the kernel name and how can I find that out? I don't want to go trial-and-error since its a mess when udev doesn't work...
regards.
Computers never saves time - but they help you produce more in the same timespan...
Offline