Hello, i have made another himdformat.c which should work on linux and windows. I used libsgutils2 (included in sg3_utils source code). You can use sg_scan (from sg3_utils package) to find the device (on linux use sg_scan -i to see inquiry data). Install libsgutils2-2 and libsgutils2-dev with apt-get. To use sc_scan utility install sg3_utils too. I have sent sg3_utils (with libsgutils and headers) win32 binaries to Adrian, maybe he can put it in the Wiki. greetings Thomas Arp
Attachment:
himdformat1.c
Description: Binary data