summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-12-15read-dev-usbmon: add pcap supportrefactor-libPeter Wu2-8/+69
2014-12-15read-dev-usbmon: factor out packet processingPeter Wu1-44/+52
Factor out retrieval of a header, time and data from a usbmon event. This allows reuse for pcap processing.
2014-12-15lib: add Makefile, ignore .o/.a filesPeter Wu2-0/+18
2014-12-13lib: add high-level unifying stubsPeter Wu2-1/+110
Untouched since 13 April 2014.
2014-12-13lib/hidpp20: support feature retrievalPeter Wu2-6/+144
2014-12-13lib/hidpp10: fix report matching, support non-HID++ reportsPeter Wu1-1/+9
DJ reports can also be accepted per previous commit. Also, fix typo.
2014-12-13lib: make aware of DJ reports, fix debug msgPeter Wu2-8/+24
2014-04-08lib/hidpp20: implement hidpp20_get_versionPeter Wu1-0/+54
2014-04-08lib/hidpp{10,20}: add error constantsPeter Wu2-0/+27
2014-04-08lib/hidpp10: implement HID++ 1.0 protocol detailsPeter Wu1-0/+108
2014-04-08lib/hidpp: fix prototype of hidpp_write_reportPeter Wu1-1/+1
2014-04-07lib/hidpp: add unifying PID for hid-genericPeter Wu1-3/+5
The third interface may still be bound to hid-generic without needing hid-logitech-dj.
2014-04-07lib/hidpp: add hidpp_open from ltunifyPeter Wu1-0/+88
This still uses /sys globbing because it allows for detecting devices without needing read permissions for /dev/hidrawX.
2014-04-07lib: mostly implement generic hidpp defs and helpersPeter Wu1-0/+139
hidpp_open still needs to be done.
2014-04-07lib: add debug helpersPeter Wu2-0/+90
2014-04-07lib: add new interfaces for HID++ communicationPeter Wu4-0/+301
2014-04-05shell: support ':' separator for multiple argsPeter Wu1-10/+17
It becomes a pain to remove all colons just to add a single argument.
2014-03-31shell: support ":" separatorPeter Wu1-1/+12
Useful for tshark.
2014-03-29shell: extend with string functionalityPeter Wu1-0/+8
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.