Well that was a rookie mistake. My bad.
Ok, so now it's adding it, but it doesn't seem to be subclassing any of the data. It adds it as the base USBMS driver. Here's the output:
Code:
tony@tony:~/Desktop$ calibre-customize -a myandroiddriver.zip
Plugin added: USBMS Base Device Interface (1, 0, 0)
tony@tony:~/Desktop$
Code:
tony@tony:~$ calibre-customize -l
Type Name Version Disabled Site Customization
Device InterfaceUSBMS Base Device Interface(1, 0, 0) False
Communicate with an eBook reader.
Configure Device
It's like it's stopping at the 'import USBMS' line, and not going any further.
The modified driver file is literally just the Android 'driver.py' from the source package, modified with my BCD (0x226 instead of 0x0100). Although I also changed the class from ANDROID to ANDROID2 because I thought maybe it was conflicting there, but it didn't help.