[Barry-devel] Interesting behavior from the 9630
Status: Beta
Brought to you by:
ndprojects
From: Theodore C. I. <tx...@la...> - 2009-08-24 23:22:25
|
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: root@tessai:~# lsusb Bus 001 Device 024: ID 0fca:8004 Research In Motion, Ltd. root@tessai:~# lsusb Bus 001 Device 024: ID 0fca:8004 Research In Motion, Ltd. root@tessai:~# lsusb Bus 001 Device 025: ID 0fca:8007 Research In Motion, Ltd. root@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: root@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" root@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 |