Winfred C. H. Lu

Friday, April 24, 2015

1 Introduction

Just a tiny note about modifying the initrd image on Debian, Unbuntu, or other Linux distributions. For glossaries about initial RAM disk, initial RAM filesystem, Root filesystem, etc, please reference the links listed in the end of the article.

Friday, February 28, 2014

1 Introduction

This is a similar tool as HID Descriptor Tool that is avaliable in USB-IF. Not intended to re-create the wheel, my purpose is to quickly create an utility that can parse the following USB HID Report Descriptors:

descriptors which are binaries

descriptors for an USB Sensor HUB

A script language (python) is chosen because of the need of writing it in a quick way.

Sunday, July 7, 2013

1 Inctroduction

In this tutorial, we are going to write two small python programs that prints the String Descriptors for all the USB HID devices in the system. To do this, there are many choices of libraries for assistence. I will introduce two of them - PyUSB and PyWin32. PyUSB supports both Linux and Windows, and PyWin32 supports Windows only.