Re: [PATCH] for NIKON D50 as UMS

From: Randy Dunlap
Date: Tue Jul 03 2007 - 16:16:01 EST


On Tue, 3 Jul 2007 23:10:32 +0300 S.ÃaÄlar Onur wrote:

> Hi;
>
> 03 Tem 2007 Sal tarihinde, Ni@m ÅunlarÄ yazmÄÅtÄ:
> > This short patch allows NIKON D50 to be mounted as UMS on 2.6.22-rc7,
> > some previous kernels...

Patch needs a Signed-off-by: line (see Documentation/SubmittingPatches)
and needs to be sent to linux-usb-devel@xxxxxxxxxxxx and/or
usb-storage@xxxxxxxxxxxxxxxxxxxxxxxx .


> > --- linux-2.6.22-rc7/drivers/usb/storage/unusual_devs.h 2007-07-03
> > 22:54:23.000000000 +0300
> > +++ linux-2.6.22-rc7-niam/drivers/usb/storage/unusual_devs.h
> > 2007-07-03 22:35:39.000000000 +0300
> > @@ -313,6 +313,13 @@
> > US_SC_DEVICE, US_PR_DEVICE,NULL,
> > US_FL_NOT_LOCKABLE ),
> >
> > +/* Reported by Niam <niam.niam@xxxxxxxxx> */
> > +UNUSUAL_DEV( 0x04b0, 0x0409, 0x0100, 0x0100,
> > + "NIKON",
> > + "NIKON DSC D50",
> > + US_SC_DEVICE, US_PR_DEVICE, NULL,
> > + US_FL_FIX_CAPACITY),
> > +
> > /* Reported by Andreas Bockhold <andreas@xxxxxxxxxxxxxx> */
> > UNUSUAL_DEV( 0x04b0, 0x0405, 0x0100, 0x0100,
> > "NIKON",
>
> Hmm i have NIKON D50 also and it works here without a problem with Linus's
> current git.


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/