On Fri, Jun 13, 2008 at 08:55:42PM -0400, Justin F. Knotzke wrote:
>    ..but after running 10-blackberry.rules.Debian it appears to be OK..
> 
>  10-blackberry.rules.Debian did give:
> 
> ./10-blackberry.rules.Debian: 19: SYSFS{idVendor}==0fca,: not found
> ./10-blackberry.rules.Debian: 21: ENV{DEVTYPE}==usb_device,: not found
> ./10-blackberry.rules.Debian: 27: SYSFS{idVendor}==0fca,: not found
> ./10-blackberry.rules.Debian: 28: SYSFS{idVendor}==0fca,: not found
> ./10-blackberry.rules.Debian: 30: ENV{DEVTYPE}==usb_device,: not found
> ./10-blackberry.rules.Debian: 31: ENV{DEVTYPE}==usb_device,: not found


10-blackberry.rules.Debian is not a script, and should not be run.
It looks like you tried to run it like a bash script.

It is a set of rules for the udev system to follow when you plug the
Blackberry device in.

By copying it to /etc/udev/rules/ you can add it to your system, and udev
will automatically adjust the permissions for you so you don't have to
run sudo each time.

On Debian / Ubuntu systems, you may need to add yourself to the plugdev
group as well.

If you look inside the above rules file, you'll note that it contains
a number of lines

For example, if your bcharge is installed as /usr/sbin/bcharge, then
you can use the default rules file, and just copy it over like this:

        cd barry
        cp udev/10-blackberry.rules.Debian /etc/udev/rules/10-blackberry.rules

If you installed bcharge elsewhere, you will need to edit the file first,
to make sure that the "/usr/sbin/bcharge" strings are changed to give
the path for your system.  Make sure that you do not save the file in
"word wrap" mode.  Some editors may do that.

Alternatively, you may find it easier to build your own .deb, using the
command I gave Matthew.

- Chris


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to