The attached patch 'bbrules_mass_symlinks.patch' is designed to apply against CVS 2007-03-04 16:00 PST. It enhances the udev rules for newer devices that have USB Mass Storage support.
When the device is plugged in, it appears as 0x0006. The udev subsystem will catch it and run bcharge. bcharge resets the device to 0x0004. udev catches 0x0004 and sets up the symlinks /dev/bb-*.
The console permissions subsytem then triggers and gives the logged in user ownership; see patch #1673704, it is to be used with this new patch.
Log in to post a comment.