Bruno D'Arcangeli a écrit: > Chris Frey a écrit: > > On Fri, Nov 07, 2008 at 10:54:42AM +0100, Bruno D'Arcangeli wrote: > > > > > You will need to add the 10-blackberry.rules file to /etc/udev/rules.d > > > > > and make sure you have bcharge installed under /usr/sbin. Also > > > > > install > > > > > the modprobe/blacklist-berry_charge under /etc/modprobe.d. > > > > With this, i can run tool like bcharge as normal user with success but > > > > i've always the same error with msynctool. > > > After a reboot, i can't use btool (for example) as normal user. Only > > > bcharge work. > > > > See the documentation at: > > > > http://www.netdirect.ca/software/packages/barry/requirements.php > > > > Section: Device Ownership and Permissions > I 've read that doc more than one time ;-) > > > I'm not as familiar with ArchLinux, so I'm not sure if it is a group based > > permissions like Debian, or whether it uses ConsoleKit like Fedora. > It's group based, like debian. > > > > > > - the udev rules change the permissions of your device so you > > > > > can > > > > > use it as a regular user > > > I'll try to see if ther is something wrong with udev. > > > > Check to see if bcharge is getting run automatically when you plug it in. > > You can check this indirectly by checking the results: > > > > - make sure you're not running the berry_charge module > > lsmod | grep berry > Ok (berry_charge isn't loaded) > > > - check MaxPower and the ProductID > > lsusb -v > Ok (MaxPower 500mA) > > > If bcharge is being run automatically, then udev is likely setup correctly, > > and it is a permissions problem elsewhere in the system. > > [EMAIL PROTECTED] ~]$ ls -l /dev/bb-* > lrwxrwxrwx 1 root root 15 nov. 10 14:53 /dev/bb-6-1 -> bus/usb/006/007 > lrwxrwxrwx 1 root root 9 nov. 10 14:53 /dev/bb-usbdev6.7 -> usbdev6.7 > [EMAIL PROTECTED] ~]$ ls -l /dev/usbdev6.7 > crw-rw---- 1 root barry 189, 646 nov. 10 14:53 /dev/usbdev6.7 > [EMAIL PROTECTED] ~]$ ls -l /dev/bus/usb/006/007 > crw-r--r-- 1 root barry 189, 646 nov. 10 14:53 /dev/bus/usb/006/007 > > /dev/usbdev6.7 is writable by group member but not /dev/bus/usb/006/007. > Is this normal ?
I've renamed the udev rules file to 99-blackberry.rules. I'll contact the archlinux team soon. Thanks Bruno ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel