Diff of /mcore-src/trunk/mcore-tools/src/include/hwdetection.global.class.in
Parent Directory | Revision Log | Patch
revision 2242 by niro, Sat Jan 11 00:14:31 2014 UTC | revision 2243 by niro, Mon Jan 13 09:27:41 2014 UTC | |
---|---|---|
# | Line 154 get_evdev_device_path() | Line 154 get_evdev_device_path() |
154 | ||
155 | case ${device} in | case ${device} in |
156 | mouse|keyboard) true;; | mouse|keyboard) true;; |
157 | *) die "unkown device";; | *) die "unknown device";; |
158 | esac | esac |
159 | ||
160 | path="$(hwinfo --${device} | grep 'Device Files:' | sed 's:.*\(/dev/input/event[0-5]\).*:\1:')" | path="$(hwinfo --${device} | grep 'Device Files:' | sed 's:.*\(/dev/input/event[0-5]\).*:\1:')" |
|