ich versuche gerade meine Kamera benutzbar zu machen; siehe auch diesen Beitrag von mir.
In meiner Verzweiflung habe ich google befragt, und bin auf diesen Beitrag gestoßen.
Code: Alles auswählen
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/08/22 11:49:19-07:00 mdharm@zen.san.one-eyed-alien.net
# as356
#
# drivers/usb/storage/transport.c
# 2004/08/22 11:48:49-07:00 mdharm@zen.san.one-eyed-alien.net +2 -1
# as356
#
diff -Nru a/drivers/usb/storage/transport.c b/drivers/usb/storage/transport.c
--- a/drivers/usb/storage/transport.c Sun Aug 22 11:52:19 2004
+++ b/drivers/usb/storage/transport.c Sun Aug 22 11:52:19 2004
@@ -911,6 +911,7 @@
int result;
/* issue the command */
+ us->iobuf[0] = 0;
result = usb_stor_control_msg(us, us->recv_ctrl_pipe,
US_BULK_GET_MAX_LUN,
USB_DIR_IN | USB_TYPE_CLASS |
@@ -921,7 +922,7 @@
result, us->iobuf[0]);
/* if we have a successful request, return the result */
- if (result == 1)
+ if (result >= 0)
return us->iobuf[0];
/*
Code: Alles auswählen
can't find file to patch at input line 14
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
| # This is a BitKeeper generated diff -Nru style patch.
|#
|# ChangeSet
|# 2004/08/22 11:49:19-07:00 mdharm@zen.san.one-eyed-alien.net
|# as356
|#
|# drivers/usb/storage/transport.c
|# 2004/08/22 11:48:49-07:00 mdharm@zen.san.one-eyed-alien.net +2 -1
|# as356
|#
|diff -Nru a/drivers/usb/storage/transport.c b/drivers/usb/storage/transport.c
|--- a/drivers/usb/storage/transport.c Sun Aug 22 11:52:19 2004
|+++ b/drivers/usb/storage/transport.c Sun Aug 22 11:52:19 2004
--------------------------
File to patch:
Besten Dank schon im Voraus