summaryrefslogtreecommitdiff
path: root/hw/usb/hid-logitech-hidpp20.c
AgeCommit message (Collapse)AuthorFilesLines
2014-08-17WIP firmware reverse engineeringlogitech-unifyingPeter Wu1-1/+6
Not touched since 7 April 2014.
2014-04-01unifying: partially implement TouchpadRawXY for T650Peter Wu1-1/+21
This feature will probably not be supported. Right now it reports some information, but as the emulated device does not send raw output, it is kind of broken. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-04-01unifying: implement unknown hidden 0x2101 feature for T400Peter Wu1-1/+26
This got called during the initial start up of SetPoint. It probably has something to do with scrolling. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-04-01unifying: implement FeatureInfo (guessed).Peter Wu1-1/+25
It seems to be used to mark the features which got replaced by this feature? Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-04-01unifying: enable more features, implement somePeter Wu1-13/+98
This makes the feature indices consistent with real hardware which makes it easier to compare/test against real hw. Some features are (partially) implemented per spec (0x6110 TouchMouseRawPoints; 0x2200 MousePointer). Others are guessed based on results from hw (0x2100 VerticalScrolling, 0x2120 HiresScrolling). The spec for 0x6100 TouchpadRawXY is available, but not implemented yet. It is assumed that the reprogrammable v1 and v2 features are similar to the reprogramcontrols feature (which seems to hold so far). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-04-01unifying: add T400 devicePeter Wu1-0/+34
This also has the DFU capability :-) Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-04-01unifying: less magic numbers, fix device type for T650Peter Wu1-2/+2
This makes it easier to switch between devices. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-31unifying: fix HID++ 2.0 GetFeatureId indexingPeter Wu1-4/+8
2014-03-31unifying: Fix PID of T650 touchpadPeter Wu1-1/+4
Also safe-guard against missing feature array for HID++ 2.0 devices. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-25unifying: add T650 features, start re firmware updatePeter Wu1-0/+50
The M525 was nice for testing stuff out, but it gets really interesting with the T650 which has a firmware update available. Details will be available in https://git.lekensteyn.nl/ltunify/tree/firmware-update.txt Add the initial feature set for T650, complete M525 feature set (commented out since unknown and seemingly uninteresting to implement). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: add fw version for M525, fix fw indicesPeter Wu1-4/+4
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: partially implement ReprogControlsPeter Wu1-0/+15
The actual controls themselves are not implemented, for now always return as if there are no re-programmable controls for software. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: add WirelessDeviceStatus and unknown featuresPeter Wu1-1/+16
Features 1DF3, 1DF0 and 1F03 are not documented, its functionality is unknown. WirelessDeviceStatus has no functions, it only exists for broadcast events. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: implement BatteryStatusPeter Wu1-0/+47
Battery percentage is fuzzy... ok. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: impl HID++ 2.0 DeviceName, adjust device infoPeter Wu1-0/+41
Set K800 to use HID++ 1.0; add a device_name field to store long device names for HID++ 2.0 devices. The device types constants are slightly different between HID++ 1.0 and HID++ 2.0, two constants are not implemented (and those will probably never be implemented). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: implement DeviceFwVersionPeter Wu1-0/+49
Based on information for M525 (entitycount == 0), and T650 (BL and HW). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: fix report ID for HID++ 2.0 responsesPeter Wu1-0/+1
The input report ID can be 0x10 or 0x11, the responses are always 0x11. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-24unifying: implement IRoot completelyPeter Wu1-2/+34
Do not treat IRoot special in hidpp_process_device_hidpp20, but implement it as a generic feature using hidpp20_feature_call. This makes it easier to re-use the error reporting stuff. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-03-23unifying: implement feature FeatureSet, init for M525Peter Wu1-0/+35
2014-03-23unifying: interface with HID++ 2.0 featuresPeter Wu1-0/+73
Prepare for adding more HID++ 2.0 features.