I've made a small usability patch for hdaps-gl.
Before, if hdaps module wasn't loaded in kernel the errormessage was:
open: No such file or directory
Now:
Could not read file: /sys/devices/platform/hdaps/position
Try 'modprobe hdaps' or 'modprobe hdaps_ec'
I hope this will be patched and shipped.
Best regards
Pascal
--- hdaps-gl.c-old 2008-06-15 21:59:35.000000000 +0200
+++ hdaps-gl.c 2008-06-15 22:10:14.000000000 +0200
@@ -73,7 +73,7 @@
fd = open (SYSFS_POSITION_FILE, O_RDONLY);
if (fd < 0) {
- perror ("open");
+ fprintf (stderr, "Could not read file: %s\nTry 'modprobe hdaps'
or 'modprobe hdaps_ec'\n",SYSFS_POSITION_FILE);
return fd;
}
--
Ubuntu-motu mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu