4
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
1 Linux demo program for the Silabs IR Gesture USB Reference Design.
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
2
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
3 Reads the part number of the cp2112 bridge, and the part/revision/sequencer
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
4 version of the si1143 via SMBus/I2C, finally lets the four blue LEDs dance :).
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
5 Since version 0.3 also performs proximity and ambient light measurements.
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
6
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
7 Released under GPLv3 license.
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
8 No warranty. I am in no way affiliated with Silicon Labs.
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
9 See http://pmeerw.net/hid-usb-to-ir/ and the Mercurial repository at
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
10 https://pmeerw.net/hg/hid-usb-to-ir/.
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
11
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
12 Copyright (c) 2012 Peter Meerwald, pmeerw@pmeerw.net
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
13
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
14 Depends on the HID API multi-platform library, available from
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
15 http://www.signal11.us/oss/hidapi/. Build with
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
16 gcc -Wall -g -o hid-usb-to-ir hid-usb-to-ir.c `pkg-config hidapi-hidraw --libs`.
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
17
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
18 May need root permission to access USB device (or appropriate udev rule).
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
19 Based upon information from Silabs AN495 v0.2.
|