I initially downloaded Barry, OpenSync, KitchenSync, and Kontact, and 
had everything running smoothly. In connecting my 9630 to use the mass 
storage mode (in order to get to the SD card), I noticed this:

r...@tessai:~# lsusb
Bus 001 Device 024: ID 0fca:8004 Research In Motion, Ltd.

r...@tessai:~# lsusb
Bus 001 Device 024: ID 0fca:8004 Research In Motion, Ltd.

r...@tessai:~# lsusb
Bus 001 Device 025: ID 0fca:8007 Research In Motion, Ltd.

r...@tessai:~# lsusb
Bus 001 Device 025: ID 0fca:8007 Research In Motion, Ltd.

Notice how the device ID changes? When I enable auto-MSC mode, the 
device id will remain 8004, which kills my udev rules. I'm guessing that 
there is something in barry that looks for the MSC mode and tells the 
kernel that the vendor id is 8004. Am I wrong? I haven't tried setting 
my 9630 to ask on connect for MSC mode. I'll let you know more after I do.

Here are what my udev rules look like:

r...@tessai:~# cat /etc/udev/rules.d/10-blackberry.rules
BUS=="usb", SUBSYSTEM=="usb_device", ACTION=="add", 
ATTR{idVendor}=="0fca", ATTR{idProduct}=="0001", SYMLINK+="bb-%k", 
RUN="/usr/sbin/bcharge -p %p"

BUS=="usb", ENV{DEVTYPE}=="usb_device", ACTION=="add", 
ATTR{idVendor}=="0fca", ATTR{idProduct}=="0001", SYMLINK+="bb-%k", 
RUN="/usr/sbin/bcharge -p %p"

#
# Newer devices with USB Mass Storage, 0x8004 + 0x0006 + 0x0004.
#

BUS=="usb", SUBSYSTEM=="usb_device", ACTION=="add", 
ATTR{idVendor}=="0fca", ATTR{idProduct}=="8007", SYMLINK+="bb-%k", 
RUN="/usr/sbin/bcharge -p %p"

BUS=="usb", ENV{DEVTYPE}=="usb_device", ACTION=="add", 
ATTR{idVendor}=="0fca", ATTR{idProduct}=="8007", SYMLINK+="bb-%k", 
RUN="/usr/sbin/bcharge -p %p"

r...@tessai:~# cat /etc/udev/rules.d/99-barry-permissions.rules
#
# To avoid other udev rules changing the permissions again on us, this 
filename
# is '99-barry-perms'
#
ATTR{idVendor}=="0fca", ATTR{idProduct}=="8007", GROUP="plugdev", 
MODE="0660"

My user is in the plugdev group, as to allow syncing with Kontact / 
KitchenSync.

-- 
Theodore Charles III
Network Administrator
Los Angeles Senior High
323-900-2724 / 323-900-2792


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to