Re: [PATCH Resubmission] USB: patch to add support for an older firmware revision for the Nikon D200

Phil Dibowitz <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Mike Pagano wrote:
> This is a resubmission of the patch to upgrade the unusual_devs.h file to support an older firmware revision of the Nikon D200. This patch includes the requested /proc/bus/usb/devices information.

Mike,

This looks good. Sorry, I must have missed your previous submission.

Greg - please apply Mike's patch.

> Signed off by: Mike Pagano <[email protected]>

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

> ---
> /proc/bus/usb/devices
> 
> T:  Bus=01 Lev=01 Prnt=01 Port=09 Cnt=02 Dev#=  6 Spd=480 MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=04b0 ProdID=040f Rev= 1.00
> S:  Manufacturer=NIKON
> S:  Product=NIKON DSC D200
> S:  SerialNumber=0000000
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
> I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
> E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> 
> drivers/usb/storage/unusual_devs.h |   10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
> 
> --- a/drivers/usb/storage/unusual_devs.h	2007-11-01 10:47:06.000000000 -0400
> +++ b/drivers/usb/storage/unusual_devs.h	2007-11-01 10:50:29.000000000 -0400
> @@ -342,11 +342,11 @@
>  		US_FL_FIX_CAPACITY),
>  
>  /* Reported by Graber and Mike Pagano <[email protected]> */
> -UNUSUAL_DEV(  0x04b0, 0x040f, 0x0200, 0x0200,
> -       "NIKON",
> -       "NIKON DSC D200",
> -       US_SC_DEVICE, US_PR_DEVICE, NULL,
> -       US_FL_FIX_CAPACITY),
> +UNUSUAL_DEV(  0x04b0, 0x040f, 0x0100, 0x0200,
> +		"NIKON",
> +		"NIKON DSC D200",
> +		US_SC_DEVICE, US_PR_DEVICE, NULL,
> +		US_FL_FIX_CAPACITY),
>  
>  /* Reported by Emil Larsson <[email protected]> */
>  UNUSUAL_DEV(  0x04b0, 0x0411, 0x0100, 0x0101,
> 


-- 
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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
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

iD8DBQFHKhKnN5XoxaHnMrsRAse+AJ90Q9TpaU0cdUdf+EUihZTA8z9x/ACfcc4U
vVkWuJninuObIKhUR8ZbqHI=
=9aTj
-----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.