Unidiff1 files changed, 15 insertions, 0 deletions
|
diff --git a/README b/README new file mode 100644 index 0000000..f353884 --- a/dev/null +++ b/ README |
|
@@ -0,0 +1,15 @@ |
| |
1 | |
| |
2 | Napkin expects you to have sleeptracker port at /dev/sleeptracker |
| |
3 | |
| |
4 | On linux you'd need to have 'ftdi_sio' kernel module loaded (and usb support, |
| |
5 | of course) and something along these lines in your udev rules: |
| |
6 | |
| |
7 | BUS=="usb", SYSFS{product}=="FT232R USB UART", SYSFS{serial}=="********", SYSFS{manufacturer}=="FTDI", KERNEL=="ttyUSB*", SYMLINK="sleeptracker", MODE="660", GROUP="usb" |
| |
8 | |
| |
9 | Note, that the I've wiped out the serial number, so that you don't try to use |
| |
10 | mine. Perhaps it will differ, although I have only one device. |
| |
11 | |
| |
12 | You can also set the other port name using SLEEPTRACKER_PORT environment |
| |
13 | variable, like |
| |
14 | |
| |
15 | env SLEEPTRACKER_PORT=/dev/ttyUSB0 napkin |
|