From 04fb190243442e83349f129b523ab747e58100bf Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sat, 05 Apr 2008 11:17:33 +0000 Subject: Initial commit into public repository Signed-off-by: Michael Krelin --- (limited to 'README') diff --git a/README b/README new file mode 100644 index 0000000..f353884 --- a/dev/null +++ b/README @@ -0,0 +1,15 @@ + +Napkin expects you to have sleeptracker port at /dev/sleeptracker + +On linux you'd need to have 'ftdi_sio' kernel module loaded (and usb support, +of course) and something along these lines in your udev rules: + +BUS=="usb", SYSFS{product}=="FT232R USB UART", SYSFS{serial}=="********", SYSFS{manufacturer}=="FTDI", KERNEL=="ttyUSB*", SYMLINK="sleeptracker", MODE="660", GROUP="usb" + +Note, that the I've wiped out the serial number, so that you don't try to use +mine. Perhaps it will differ, although I have only one device. + +You can also set the other port name using SLEEPTRACKER_PORT environment +variable, like + +env SLEEPTRACKER_PORT=/dev/ttyUSB0 napkin -- cgit v0.9.0.2