* Julien BLACHE <[EMAIL PROTECTED]> [2005-03-03 15:17]: Hi Julien,
> You'll find the packages at > <http://people.debian.org/~jblache/pkg/libieee1284/> well, it's rather complicated. udev names parport devices like /dev/parport_s_/[0..9], which is bad. After applying the attached patch I could at least find the parport with ./libieee1284_test. But also in libsane the paths for devices seem to be hardcoded. So it would probably be the best solution to have udev name the parports like before? Best regards, Philipp -- Philipp Sadleder http://sadleder.de
--- libieee1284-0.2.8.orig/src/detect.c +++ libieee1284-0.2.8/src/detect.c @@ -83,7 +83,7 @@ int i; for (i = 0; i < 8; i++) { - sprintf (name, "/dev/%s%d", type, i); + sprintf (name, "/dev/%s/%d", type, i); fd = open (name, O_RDONLY | O_NOCTTY); if (fd >= 0) { #ifdef HAVE_LINUX
signature.asc
Description: Digital signature