mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove conflicting USB ids from generic android driver
Apparently there are a bunch of generic clone devices that use this ROCKCHIP based firmware without changing the USB ids. Since there exist specialized drivers for prefer those to the generic driver.
This commit is contained in:
parent
10e28548db
commit
2433b9f6ed
@ -185,9 +185,6 @@ class ANDROID(USBMS):
|
|||||||
# Xperia
|
# Xperia
|
||||||
0x13d3 : {0x3304 : [0x0001, 0x0002]},
|
0x13d3 : {0x3304 : [0x0001, 0x0002]},
|
||||||
|
|
||||||
# CREEL?? Also Nextbook and Wayteq
|
|
||||||
0x5e3 : {0x726 : [0x222]},
|
|
||||||
|
|
||||||
# ZTE
|
# ZTE
|
||||||
0x19d2 : {0x1353 : [0x226], 0x1351 : [0x227]},
|
0x19d2 : {0x1353 : [0x226], 0x1351 : [0x227]},
|
||||||
|
|
||||||
@ -435,10 +432,6 @@ class WEBOS(USBMS):
|
|||||||
cover2.save(data, 'JPEG')
|
cover2.save(data, 'JPEG')
|
||||||
coverdata = data.getvalue()
|
coverdata = data.getvalue()
|
||||||
|
|
||||||
with lopen(os.path.join(path, 'coverCache', filename +
|
with lopen(os.path.join(path, 'coverCache', filename + '-small.jpg'), 'wb') as coverfile:
|
||||||
'-small.jpg'), 'wb') as coverfile:
|
|
||||||
coverfile.write(coverdata)
|
coverfile.write(coverdata)
|
||||||
fsync(coverfile)
|
fsync(coverfile)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user