You are not logged in.

#1 2006-06-03 20:42:06

Freeshadow
Member
Registered: 2006-06-03
Posts: 2

moto4lin asroot only

i Have installed moto4lin, but am only able to connect to the phone as root
(setting the app suid doesn't help too)

I also followed the moto4lin wiki, in order do allow access to users:

If you have UDEV installed on your system (UDEV is installed by default on 2.6 kernels), there is another way to allow a normal user to use moto4lin. Follow the following:
Create a group called usb.
Add your user to the usb group.
Add the following to a rules file in /etc/udev/rules.d/

KERNEL=="ttyACM[0-9]*",NAME="ttyACM%n", GROUP="usb", MODE="0660"

but this doesn't help too

/dev/ttyACM0 is properly set as belonging to u root and g usb
rw access for user and group is given
my user IS in usb
so whats wrong ?
when i try to connect i get told i have no rigts for /dev/ttyACM0
apart from that, the dev wanishes after this fail & i have to replug the phone to get it back

what have you don to get noto4lin (or udev) working?
help me out plz hmm

Offline

#2 2006-12-17 09:18:28

Radek
Member
From: Warsaw in Poland
Registered: 2006-08-20
Posts: 23
Website

Re: moto4lin asroot only

I have this in /etc/udev/rules.d/50-udev.rules:

SUBSYSTEMS=="usb", KERNEL=="ttyACM[0-9]", SYMLINK="usb/acm/%n", MODE="0777"

and I think I can access my phone (Motorola L6) as user (I can acces /dev/usb/acm/0 but I can't /dev/ttyACM0, so I have "/dev/usb/acm/0" in moto4lin preferences), BUT when I'm trying to connect via moto4lin /dev/usb/acm/0 disappears hmm


"Physics is like sex: sure, it may give some practical results, but that's not why we do it."
Richard P. Feynman.

Offline

Board footer

Powered by FluxBB