summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-03-18usbmon-setperms: do not grant unnecessary writePeter Wu1-14/+21
Also convert tabs to spaces.
2014-02-19hidpp20: add more possible featuresPeter Wu1-5/+20
Added on 24 January 2014, it is possible that features from newer versions are missing.
2014-02-19Warn when CONFIG_HIDRAW is disabledPeter Wu1-0/+4
2013-09-28ltunify: Add --version (-V) option, use git version if possiblePeter Wu2-7/+25
2013-09-28ltunify: fix crash on unrecognised parameterPeter Wu1-0/+1
2013-09-28ltunify: fix do_read failure when receiving unrelated messagesPeter Wu2-29/+60
When a touchpad event occurs while the device is being queried (e.g. for features), then do_io (for do_read) would fail because the report was not of the correct type (0x20 vs 0x11 for example). To fix this, make do_read retry reads (within the allowed timeout). Previously the expected report type was hidden in the msg parameter, make this expected report type more explicit now in a new parameter.
2013-09-28hidpp20: update feature list from SetPoint 6.61.15Peter Wu1-13/+14
cases are now sorted by feature ID, some names have been adjusted for consistency with the documented names. New feature: - 0x0002 FeatureInfo - 0x6120 Touchmouse6120 Renamed fetures: - IRoot -> Root - IFeatureSet -> FeatureSet - IFirmwareInfo -> DeviceFwVersion - GetDeviceNameType -> DeviceName - DFUControl -> Dfucontrol - batteryLevelStatus -> BatteryStatus - SpecialKeysMSEButtons -> ReprogControls
2013-09-04Revert "Makefile: make user append to CFLAGS instead of overwriting it"Peter Wu1-1/+1
This reverts commit 98f9432088604a9a9336d6b8458bd5e010832437. This was a lazy trick from me to allow adding `-fsanitize=address` easier, but apparantly not all users are so happy with it. Conflicts: Makefile
2013-09-04hidraw.c: fix permissionsPeter Wu1-0/+0
Why the heck was this executable?
2013-08-30shell: support DJ reportsPeter Wu1-3/+5
2013-08-30hidraw: do not interpret report ID for unknown report typePeter Wu1-2/+5
2013-08-30ltunify: ignore DJ reportsPeter Wu1-0/+6
Fixes the warning messages below: $ ltunify unpair 2 Unexpected disconnection type 0000 Device 0x02 Touchpad successfully unpaired $ ltunify pair Please turn your wireless device off and on to start pairing. Found new device, id=0x02 Touchpad Dev conn notif is expected to be short, got 0x20 instead Dev conn notif is expected to be short, got 0x20 instead Dev conn notif is expected to be short, got 0x20 instead Dev conn notif is expected to be short, got 0x20 instead Dev conn notif is expected to be short, got 0x20 instead
2013-08-30hidraw: document DJ report typesPeter Wu1-4/+55
2013-08-28shell: convenience script for accessing hidraw devPeter Wu1-0/+106
2013-08-25usbmon-setperms: ignore duplicate devicesPeter Wu1-1/+1
2013-08-25usbmon-setperms: fix when group does not match userPeter Wu1-1/+6
2013-08-21Fix missing device version information for hid10Peter Wu1-1/+1
This got broken in e2faf04 (version 0.2).
2013-08-20hidpp20: add flag 0x20 for feature typePeter Wu1-3/+6
featureType flag 0x20 is "Reserved for Logitech internal use" according to hidpp20 spec.
2013-08-06usbmon-setperms: add helper for usbmon permissionsPeter Wu1-0/+28
For unprivileged use of usbmon.
2013-08-06Fix wrong names for HID++ 1.0 error codesPeter Wu2-26/+26
2013-07-23Add NEWS file, update to 0.2v0.2Peter Wu2-1/+15
2013-07-23Makefile: add install{,-udevrule} and uninstallPeter Wu2-2/+32
This is supposed to help distro packagers of ltunify.
2013-07-23Fix compile error due to u8Peter Wu1-2/+0
Reported by Harry Weston, a compilation error occurs with GCC 4.4.4 because the u8 type is already defined in ltunify.c
2013-07-23registers: add DFU bitsPeter Wu1-0/+10
I found these somewhere in the binaries.
2013-06-16udev: add more IDsPeter Wu1-5/+13
- Add second official Unifying receiver (mentioned in from hid-logitech-dj.c) and "Unifying Ready" Nano receiver (mentioned in Solaar). - Introduce an extra label for easier extension. - Remove world-writable suggestion, no reason to do so with uaccess.
2013-06-13udev: use uaccess and udev-aclPeter Wu1-2/+8
2013-06-05ltunify: fix wrong serial numberPeter Wu1-1/+1
2013-05-26ltunify: document more advertised HID++2 featuresPeter Wu1-0/+20
2013-05-22ltunify: Add support for c52f nano receiverPeter Wu1-0/+22
2013-05-22ltunify: make hidraw device path more obviousPeter Wu1-6/+8
2013-05-22ltunify: make driver name matching more obviousPeter Wu1-12/+22
Use basename instead of memcmp with some calculations. Move the hiddraw device matching outside a block in preparation for adding multiple match conditions.
2013-05-07keyboard: confirmed padding bytesPeter Wu1-2/+9
2013-05-05keyboard.txt: documentation for key customizationPeter Wu2-0/+106
2013-05-05registers.txt: document notif r1bit1 for k800Peter Wu1-1/+5
2013-04-30ltunify: preliminary HID++ 2.0 support, add TODOPeter Wu4-2/+184
2013-04-30hidraw: annotate HID++ 2.0 errors and IRoot featurePeter Wu1-3/+38
2013-04-29ltunify: show HID++ versionPeter Wu1-0/+67
2013-04-29ltunify: introduce read timeoutsPeter Wu1-6/+23
In case a message does not get a response (user pulled out the receiver, thunder hit the device, coke has fallen on a keyboard, etc.), do not wait `for(;;)`. (2 seconds because accessing registers may be slow)
2013-04-29read-dev-usbmon: prepend time to messagePeter Wu1-0/+17
2013-04-28registers: document backlight notif flagPeter Wu1-6/+3
2013-04-27read-dev-usbmon: retry ioctl when interruptedPeter Wu1-0/+4
Allows read-dev-usbmon to function after suspend/resume.
2013-04-27registers.txt: update with battery/receiver notifsPeter Wu1-4/+32
2013-04-27ltunify: print receiver serialPeter Wu1-6/+39
2013-04-26registers.txt: document all registers for K800 and M525Peter Wu1-0/+36
2013-04-26Fix logic flaw in array boundsPeter Wu2-5/+5
Index 0xFF needs an array of size 0x100... This error was caught with Address Sanitizer while trying to iterate through all registers 0x00..0xFF.
2013-04-26Revert "ltunify: implement fkeyswap command"Peter Wu1-74/+1
This reverts commit 7f870c0ca5f27827a411d1ee7a11ef5103432413. The keyboard register is not too generic
2013-04-26Revert "ltunify: make fkeyswap default action status"Peter Wu1-5/+9
This reverts commit 0b12a96aa7209ac2e4b3a5bb7b96aff1e116474b. The keyboard register is not too generic.
2013-04-26ltunify: make fkeyswap default action statusfkeyswapPeter Wu1-9/+5
2013-04-26ltunify: implement fkeyswap commandPeter Wu1-1/+74
Warning: I am sleepy so there may be bugs or ugly code. It is tested and works on a K800 keyboard though (and of course it should abort when trying on my M525 mouse).
2013-04-26ltunify: refactor numeric device checkPeter Wu1-11/+13