Hi Bruno,

Still have a backlog of list mail...

On Mon, Nov 10, 2008 at 03:02:25PM +0100, Bruno D'Arcangeli wrote:
> > 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 ;-)

Understood. :-)


> > 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)

Good.


> >     - check MaxPower and the ProductID
> >             lsusb -v
> Ok (MaxPower 500mA)

Very good.


> > 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 ?

No.  On my Debian system, the file in the 'plugdev' group, and is 'rw'
for that group.

You should be able to add a MODE="0660" to your udev rules to set the
mode properly.  Compare the 10-blackberry.rules.Debian file for an example
of this.  This file is in the Barry source tree, under udev.

- Chris


-------------------------------------------------------------------------
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

Reply via email to