Search:

Type: Posts; User: MonsterPipe; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    6
    Views
    1,561

    [SOLVED] Re: Custom usb device xhci_hcd problem

    Is there a point/score system? Can I tell that you have found the solution somewhere?
  2. Replies
    6
    Views
    1,561

    [SOLVED] Re: Custom usb device xhci_hcd problem

    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. :)
  3. Replies
    6
    Views
    1,561

    [SOLVED] Re: Custom usb device xhci_hcd problem

    Thanks a lot guys, I will look into it.

    I'll keep you posted.
  4. Replies
    6
    Views
    1,561

    [SOLVED] Re: Custom usb device xhci_hcd problem

    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...
  5. Replies
    6
    Views
    1,561

    [SOLVED] Custom usb device xhci_hcd problem

    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...
  6. Re: Permissions for USB device from 'libusb' (Netbeans-C++)

    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",...
  7. Replies
    3
    Views
    576

    [SOLVED] Re: QThread - Writting into a file

    Ok, I found my error.

    My mutex was not properly initialzed.

    Stupid error. :)
  8. Replies
    3
    Views
    576

    [SOLVED] Re: QThread - Writting into a file

    Sorry, I don't know why the code is all messed up.
  9. Replies
    3
    Views
    576

    [SOLVED] Re: QThread - Writting into a file

    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...
  10. Replies
    3
    Views
    576

    [SOLVED] QThread - Writting into a file

    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...
  11. Replies
    3,574
    Views
    293,738

    Poll: Re: What is your age and what do you use ubuntu for?

    I'm 32,

    I use it for robotic engineering.
Results 1 to 11 of 14