05-13-2015, 03:48 AM | #1 |
Member
Posts: 16
Karma: 10
Join Date: Sep 2011
Device: kindle
|
USBID list?
Hello all,
I'm working on creating an application able to see any ereader connected to a computer, do you know if there are a list of USB ID (VENDOR ID : DEVICE ID) for kobo ereaders? |
05-13-2015, 10:20 AM | #2 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
My sourcecode copy isn't up-to-date but its kobo\driver.py shows Code:
VENDOR_ID = [0x2237] BCD = [0x0110, 0x0323, 0x0326] ORIGINAL_PRODUCT_ID = [0x4165] WIFI_PRODUCT_ID = [0x4161, 0x4162] PRODUCT_ID = ORIGINAL_PRODUCT_ID + WIFI_PRODUCT_ID |
|
Advert | |
|
05-14-2015, 12:09 PM | #3 | |
Member
Posts: 16
Karma: 10
Join Date: Sep 2011
Device: kindle
|
Thank you,
I'll look at these files and try to "decode" to create the list Quote:
|
|
05-14-2015, 08:11 PM | #4 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
I'm not sure what there is to decode. The vendor id is there and it is the same for all Kobo ereaders. The product ids are there for two of the models. There are a lot more models. They are defined in a subclass that is in the same source file that jackie_w referred to.
And as I have seen your other posts for similar details, all of the ereaders that calibre supports are defined in a similar way. Under the devices directory, there is a directory for each brand. Within that, is usually a driver.py. This can have or more classes for the models from the brand. Each class will have the list of vendor ids and product ids that he driver/class support. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
USBID list? | biblioeteca | Nook Developer's Corner | 1 | 12-21-2015 07:59 PM |
USBID list? | biblioeteca | Sony Reader Dev Corner | 3 | 05-13-2015 11:48 PM |
USBID list? | biblioeteca | Kindle Developer's Corner | 3 | 05-13-2015 11:02 AM |
USBID list? | biblioeteca | More E-Book Readers | 1 | 05-13-2015 08:48 AM |