Peter Wu
957ce488fc
ltunify: fix copying one byte too much (caught by -fsanitze=address)
2013-04-24 16:52:22 +02:00
Peter Wu
f761d31d0b
hidraw.c: add battery(?) register
2013-04-24 16:51:43 +02:00
Peter Wu
6914080f90
Add udev example for root-less accessing the unifying receiver
2013-04-24 15:17:24 +02:00
Peter Wu
26ea52e926
ltunify: put version info for receiver in "receiver-info"
2013-04-24 15:14:49 +02:00
Peter Wu
69aadeb0d7
ltunify: do not disable notifications if it was enabled before
...
Just in case there are other users of this notification system.
2013-04-24 14:56:22 +02:00
Peter Wu
521d113a50
Makefile: "all" is a phony target
2013-04-24 14:50:01 +02:00
Peter Wu
42e144853f
ltunify: support --device and do not always print full help
...
This changes the behavior of validate_args to return the number of command
arguments. The timeout value for "pair" is also validated and the version
number printed.
2013-04-24 14:49:43 +02:00
Peter Wu
bd0afb7f32
Support passing a custom hidraw device with -d
2013-04-24 12:54:44 +02:00
Peter Wu
32797bbe1d
ltunify: remove DEBUG envvar, use getopt
2013-04-24 12:45:01 +02:00
Peter Wu
0aa995b6ed
registers.txt: update with keyboard battery information
2013-04-24 10:55:33 +02:00
Peter Wu
6f4b439a5f
Fix compiler warnings
...
The memcpy bug is actually a real one-by-off. Since the msg_long struct is
contained in a union of hidpp_message, this does not lead to
write-past-boundaries (but it may read more than intended).
Some fields of version could be uninitialised (when the register query failed).
Explicitly clear the values to make clang happy.
2013-04-24 10:55:25 +02:00
Peter Wu
abcf8c5ff8
Makefile: hardening flags, remove -Werror
...
Remove -Werror just in case compilers become more grumpy.
2013-04-24 10:42:25 +02:00
Peter Wu
50dbefc2ae
ltunify: suggest loading hid-logitech-dj
2013-04-24 10:22:39 +02:00
Peter Wu
3e2049b48b
Add Makefile for convenience
2013-04-24 10:22:08 +02:00
Peter Wu
d9fe85b6c9
Updated README with ltunify session
2013-04-08 18:27:45 +02:00
Peter Wu
7b5a1edfc5
read-dev-usbmon: fix crash on unplugging receiver
2013-04-08 18:16:17 +02:00
Peter Wu
515235530e
ltunify: automatically detect hidraw device
2013-04-08 18:10:25 +02:00
Peter Wu
30f8961be0
Initial checking of pairing tool
2013-04-08 17:03:10 +02:00
Peter Wu
99bcaad18a
Initial commit of RE/debug programs/notes
2013-04-08 17:02:24 +02:00