On Sun, Jan 04, 2009 at 01:12:52AM -0800, Adam Williamson wrote: > Here's the problem: > > [r...@lenovo sys]# grep 8004 `find -name *modalias*` > ./devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/modalias:usb:v0FCAp8004d0201dc00dsc00dp00icFFisc01ipFF > ./devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.1/modalias:usb:v0FCAp8004d0201dc00dsc00dp00ic08isc06ip50 > > all Greek to you? Well, never find :). That shows that my 8330 is > showing two modaliases when connected. The 'ic08isc06ip50' at the end of > the second one identifies it as a USB mass-storage device. If you look > at 'modinfo usb-storage', you'll see this line: > > alias: usb:v*p*d*dc*dsc*dp*ic08isc06ip50* > > which basically means "this module is going to get loaded for any device > whose modalias ends with ic08isc06ip50* , no matter what the rest of the > modalias is" (i.e. no matter what the USB ID is).
I believe this matches the lsusb -v output: bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) i.e. ic = InterfaceClass = 8 isc = InterfaceSubClass = 6 ip = InterfaceProtocol = 80 = 50 hex > So, that's why usb-storage is getting loaded and I can't stop it. Usb_storage is just doing its duty. :-) You can probably blacklist it, but then it would stop working for other devices. :-/ > The deeper question is why's my 8330 showing itself as a USB storage > device like this even when I disable it on Options / Media Card. But it > makes me reasonably sure the problem is with the Blackberry and not in > Barry or the kernel or anything. The 8120 I have here does the same thing. This is probably hard coded in the firmware. Even when I don't have a memory card in it, it shows Mass Storage support. - Chris ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel