Is there a point/score system? Can I tell that you have found the solution somewhere?
Type: Posts; User: MonsterPipe; Keyword(s):
Is there a point/score system? Can I tell that you have found the solution somewhere?
Thank you xb12x2 for pointing that out. I found out an error in the firmware and I was not sending the correct value in the device descriptor. :)
Thanks a lot guys, I will look into it.
I'll keep you posted.
To help understanding my question, here is the dmesg output when I connect my device:
[607170.226639] usb 3-2: new full-speed USB device number 26 using xhci_hcd
[607170.242951] usb 3-2: device...
I have developed a custom USB 2 device that communicate with a computer via a USB port. WHen I plug it on a USB 3 port, the device is not recognized by xhci_hcd. On a USB 2 port, it works fine. My...
Hi raffaele2,
For something robust, Udev rule is your best really your best shot.
Example of UDEV rule:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="YOUR VENDOR ID",...
Ok, I found my error.
My mutex was not properly initialzed.
Stupid error. :)
Sorry, I don't know why the code is all messed up.
Sorry my code was not correctly formatted
Here it is again:
void CDataLogger::run(){ static GeneralInformations toto;
QDataStream out(m_File); // we will serialize the data into...
Hi,
I have a small QT application that needs to serialize some data periodically. I'm using a QThread with QMutex to protect my resources.
Here is the code I use inside my QThread. I don't know...
I'm 32,
I use it for robotic engineering.