[Linux-parport] [PATCH] parport_open to open IEEE1284.3 device
Marko Kohtala
marko.kohtala at luukku.com
Mon Jan 10 13:19:39 EST 2005
This patch is what I worry about. It seems to me that it has been always
impossible to open daisy chain devices. Hasn't this been used or am I missing
something?
If you have daisy chain devices, please check the
/proc/sys/dev/parport/parport0/autoprobe* files if they show any data.
I only have Kodak Advantix FD 300 film drive which seems to be very buggy.
This makes the driver try to read the IEEE1284 Device ID.
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2005/01/09 23:37:22+02:00 kohtala at kohtala.home.org
# Fix parport IEEE1284.3 daisy device opening to open existing devices.
#
# drivers/parport/daisy.c
# 2005/01/09 23:36:13+02:00 kohtala at kohtala.home.org +1 -1
# Failed to open existing daisy devices.
#
diff -Nru a/drivers/parport/daisy.c b/drivers/parport/daisy.c
--- a/drivers/parport/daisy.c 2005-01-10 07:58:18 +02:00
+++ b/drivers/parport/daisy.c 2005-01-10 07:58:18 +02:00
@@ -252,7 +252,7 @@
selected = port->daisy;
parport_release (dev);
- if (selected != port->daisy) {
+ if (selected != daisy) {
/* No corresponding device. */
parport_unregister_device (dev);
return NULL;
More information about the Linux-parport
mailing list