View Single Post
Old 03-27-2010, 06:11 AM   #17
tonyx3
Connoisseur
tonyx3 began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Jan 2010
Device: Nexus One
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.
Attached Files
File Type: zip myandroiddriver.zip (1.0 KB, 248 views)
tonyx3 is offline   Reply With Quote