Reverse engineering USB driver

USB PICs and the UBW

Moderator: phalanx

Post Reply
lrice648
Posts: 2
Joined: Sun Apr 13, 2014 6:07 pm

Reverse engineering USB driver

Post by lrice648 » Sun Apr 13, 2014 6:18 pm

Hi, I am trying to reverse engineer this device: http://www.amazon.com/Powered-Thermomet ... B0054U4YKI

My end goal is to use this nodejs package (https://www.npmjs.org/package/usb) to talk to the above usb device.I figured it would be one of the more simple devices that I could experiment with before potentially moving on to accessing a different USB device from node that I am actually interested in.

I have made some progress and have been using usb packet analyzers but my understanding of the transactions are not what I want them to be and I was hoping I could get some help from someone who might understand the analysis better. If anyone is interested in giving me some assistance understanding my logs (hopefully not a lot, just enough to get to the next level), software/format would be the best? I am using a trial version analyzer now called USBTrace, but I have also installed the usb drivers for wireshark, and 2 or 3 others to try them out. I am happy to install whichever (free or trial available) analysis tool someone wants if they are willing to look at 3 or 4 specific requests to help me understand what is happening.

Luckily the device seems pretty simple. You just start the software and it immediately starts printing out temperature readings every few seconds. The requests in the analyzer start repeating within 1 page, so I don't think there are very many important ones, likely someone with experience will be able to point me in the right direction fairly quickly.

Thanks!

lrice648
Posts: 2
Joined: Sun Apr 13, 2014 6:07 pm

Re: Reverse engineering USB driver

Post by lrice648 » Fri Apr 18, 2014 8:37 pm

Got this working, just in case anyone stumbles across this: https://github.com/thingsnsuch/Node-USB-Temp-Sensor

jassminsmithh
Posts: 3
Joined: Thu Apr 24, 2014 10:43 pm

Re: Reverse engineering USB driver

Post by jassminsmithh » Mon Jun 23, 2014 3:57 am

I think reverse engineer is not at all my syllabus as I hardly know something about the process. One thing is for sure that the respective procedure or the related stuff mentioned above is very informative and going to help a lot in knowing the field better.

Post Reply