From 758403113ec72e193fbd335bde58bc1fd3929367 Mon Sep 17 00:00:00 2001 From: cdfrey Date: Fri, 11 May 2007 20:34:41 +0000 Subject: [PATCH] - updated udev/10-blackberry.rules.Debian for Debian Etch --- ChangeLog | 1 + udev/10-blackberry.rules.Debian | 18 +++++++++--------- udev/README | 5 +++-- 3 files changed, 13 insertions(+), 11 deletions(-) rewrite udev/10-blackberry.rules.Debian (67%) diff --git a/ChangeLog b/ChangeLog index 019ab715..5feeb5ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ Release: version 0.8 - 2007/05/?? - reformatted record.{h,cc} to match the rest of the code, removed commented out code, and removed mention of Outlook from the comments. + - updated udev/10-blackberry.rules.Debian for Debian Etch 2007/05/04 - opensync plugin: - partial porting to opensync 0.30 (in progress!) diff --git a/udev/10-blackberry.rules.Debian b/udev/10-blackberry.rules.Debian dissimilarity index 67% index 9bbba76c..ac97c88e 100644 --- a/udev/10-blackberry.rules.Debian +++ b/udev/10-blackberry.rules.Debian @@ -1,9 +1,9 @@ -# Blackberry devices -# -# Older devices that only use 0x0001 (no USB Mass Storage) -BUS=="usb", SYSFS{idVendor}=="0fca", SYSFS{idProduct}=="0001", SYMLINK+="bb-%k", PROGRAM="/usr/sbin/bcharge" -# -# Newer devices with USB Mass Storage, 0x0006 + 0x0004. -BUS=="usb", SYSFS{idVendor}=="0fca", SYSFS{idProduct}=="0006", SYMLINK+="bb-%k", PROGRAM="/usr/sbin/bcharge" -BUS=="usb", SYSFS{idVendor}=="0fca", SYSFS{idProduct}=="0004", SYMLINK+="bb-%k" - +# Blackberry devices +# +# Older devices that only use 0x0001 (no USB Mass Storage) +BUS=="usb", ACTION=="add", SYSFS{idVendor}=="0fca", SYSFS{idProduct}=="0001", SYMLINK+="bb-%k", GROUP="plugdev", MODE="0660", RUN="/usr/sbin/bcharge" +# +# Newer devices with USB Mass Storage, 0x0006 + 0x0004. +BUS=="usb", ACTION=="add", SYSFS{idVendor}=="0fca", SYSFS{idProduct}=="0006", GROUP="plugdev", MODE="0660", RUN="/usr/sbin/bcharge" +BUS=="usb", ACTION=="add", SYSFS{idVendor}=="0fca", SYSFS{idProduct}=="0004", SYMLINK+="bb-%k", GROUP="plugdev", MODE="0660" + diff --git a/udev/README b/udev/README index fc8bfd2b..f51338fa 100644 --- a/udev/README +++ b/udev/README @@ -7,7 +7,8 @@ This describes the udev files in this directory and what they are used for: udev rules for running bcharge when you plugin your Blackberry. Creates symlinks as well. - The .Debian file is for systems that use older versions of udev. + The .Debian file is for Debian Etch, and sets the permissions + as well. This should be the only file you need for Debian Etch. 10-blackberry.perms @@ -34,5 +35,5 @@ This describes the udev files in this directory and what they are used for: You will need to create a "barry" group on your system to use this. -March 2007 +May 2007 -- 2.11.4.GIT