[Fwd: [usb-storage] Nikon D80 unusual device patch]

Phil Dibowitz <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
From: Emil Larsson <[email protected]>

Please apply this unusual_dev patch from Emil. It's good and applies cleanly
(for me). Thanks.


Signed-off-by: Phil Dibowitz <[email protected]>


-------- Original Message --------
Subject: 	[usb-storage] Nikon D80 unusual device patch
Date: 	Mon, 26 Mar 2007 23:17:08 +0200
From: 	Emil Larsson <[email protected]>
To: 	[email protected]
CC: 	[email protected]



Hello Matthew,

the Nikon D80 camera will not work without an UNUSUAL_DEV entry embodied
in the attached patch (made against 2.6.20.3). Hope you find it helpful,
or if not, pass it along to someone who does.

regards
/Emil



-- 
Phil Dibowitz                             [email protected]
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Never write it in C if you can do it in 'awk';
 Never do it in 'awk' if 'sed' can handle it;
 Never use 'sed' when 'tr' can do the job;
 Never invoke 'tr' when 'cat' is sufficient;
 Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
d80.diff (text/x-diff, 579 B)
--- linux-2.6.20.3/drivers/usb/storage/unusual_devs.h	2007-03-13 19:27:08.000000000 +0100
+++ linux-2.6.20.3-fixed/drivers/usb/storage/unusual_devs.h	2007-03-26 07:55:57.000000000 +0200
@@ -320,6 +320,13 @@
 		US_SC_DEVICE, US_PR_DEVICE, NULL,
 		US_FL_FIX_CAPACITY),
 
+/* Reported by Emil Larsson <[email protected]> */
+UNUSUAL_DEV(  0x04b0, 0x0411, 0x0100, 0x0100,
+		"NIKON",
+		"NIKON DSC D80",
+		US_SC_DEVICE, US_PR_DEVICE, NULL,
+		US_FL_FIX_CAPACITY),
+
 /* BENQ DC5330
  * Reported by Manuel Fombuena <[email protected]> and
  * Frank Copeland <[email protected]> */
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGDKS+N5XoxaHnMrsRAqMIAJ4jY9mp2zcRUmxCcu6/Is5kb4B8XwCfRBC6
BYS4pLwvbrRT63fsXg4WgcY=
=CWVm
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.