Posted inExperience / Information Technology / Thank You Sir May I Have Another

Qt and USB – Pt. 2

Today’s post will be the first of at least two posts about identifying your USB device. I started by adding the following code. out << “ProductID: ” << desc.idProduct << endl; r0_status = libusb_open(dev, &hHandle); if (r0_status != LIBUSB_SUCCESS) { out << “Error ” << r0_status << ” opening USB device. Error text: ” << libusb_error_name(r0_status) << endl; } else { unsigned char serialNumber[255] = { }; unsigned char vendorName[1024] = { }; unsigned char … Qt and USB – Pt. 2Read more

Posted inInformation Technology / Raspberry Pi

Qt and USB – Pt. 1

Recently I’ve had some discussions on the qt-interest mailing list about Qt and USB and why it is not integrated in the package. Many of the kids there aren’t old enough to shave so they don’t remember this _exact_ same journey with serial ports. Couldn’t be done in a cross platform blah blah blah. Then there were various “unofficial” Qt based serial port classes. Then we had “almost” official stuff showing up in the Qt … Qt and USB – Pt. 1Read more