From: Christian Pointner Date: Wed, 27 May 2009 16:49:38 +0000 (+0000) Subject: added udev rules file for arduino board X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=b99e674aa19b8ca1043cd31705df21318ac04b47;p=svn42.git added udev rules file for arduino board --- diff --git a/door_daemon/options.c b/door_daemon/options.c index 55c1eef..b438808 100644 --- a/door_daemon/options.c +++ b/door_daemon/options.c @@ -199,7 +199,7 @@ void options_default(options_t* opt) opt->pid_file_ = NULL; string_list_init(&opt->log_targets_); - opt->door_dev_ = strdup("/dev/ttyUSB0"); + opt->door_dev_ = strdup("/dev/door"); opt->command_sock_ = strdup("/var/run/door_daemon"); } diff --git a/udev.rules b/udev.rules new file mode 100644 index 0000000..f85377e --- /dev/null +++ b/udev.rules @@ -0,0 +1,7 @@ +# ardiuno tuer rules +# +# copy this to /etc/udev/rules.d/ and change serial number to your needs + + +SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{serial}=="A40015qH", SYMLINK+="door" +