Hotfix release available: 2024-02-06a "Kaos".
upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos".
upgrade now! [55] (what's this?)
putusb
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | putusb [2012/01/02 21:20] (current) – created paulf | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== putusb ====== | ||
+ | [[https:// | ||
+ | |||
+ | Unlike [[nvflash]] (which is distributed by nvidia as a binary only), putusb is a python script and should run on any system supported by [[http:// | ||
+ | |||
+ | ====== Installing putusb ====== | ||
+ | |||
+ | ==== Prerequisitives ==== | ||
+ | |||
+ | * Python intepreter (2.7 is known to work) | ||
+ | * PyUSB (the old 0.x branch is known to work) | ||
+ | |||
+ | ==== Installation ==== | ||
+ | |||
+ | < | ||
+ | $ git clone git:// | ||
+ | </ | ||
+ | |||
+ | ==== Usage ==== | ||
+ | |||
+ | If you have Qt4 installed, you can use | ||
+ | < | ||
+ | |||
+ | If you want full control of the operations, you can use it either from a python interactive command line or from a script. This example will let you to make a backup of your device: | ||
+ | < | ||
+ | import putusb | ||
+ | |||
+ | dev = putusb.NvidiaUsb() | ||
+ | dev.boot(" | ||
+ | |||
+ | print ' | ||
+ | print ' | ||
+ | print dev.parts() | ||
+ | |||
+ | for i in range(2, 14): | ||
+ | f = open(" | ||
+ | f.truncate() | ||
+ | map(f.write, | ||
+ | f.close() | ||
+ | </ | ||
+ | |||
+ | On my 32Gb ac100-116 the partition table looks like this: | ||
+ | < | ||
+ | [Part(num=2, | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | Another useful function is | ||
+ | < | ||
+ | dev.flash_part(< | ||
+ | </ |
putusb.txt · Last modified: 2012/01/02 21:20 by paulf