Code review comment for lp:~lazyranma/ubuntu/wily/libusb/bug-1455924

Revision history for this message
Alexander Ponyatykh (lazyranma) wrote :

I've made a program that reproduces this problem: http://pastebin.com/y8fGAmwh (based on source code from this bug report: http://www.spinics.net/lists/linux-usb/msg15688.html).
1) $ gcc test.c -o test -lusb
2) use lsusb to find VID and PID of your mouse, e.g. 046d:c07c.
3) # ./test VID PID # driver will be detached, replug the mouse to make it work again after you are done.
4) You'll see dots when you move mouse or press buttons and every 1 second of inactivity.
5) # rtcwake -m mem -s 5 # or pm-suspend
6) If dots don't appear any more, then you've hit the bug, otherwise repeat from 5.

« Back to merge proposal