Web lists-archives.com

Re: [Spca50x-devs] Applying patch




Please do not assume anything. I do indeed have the required linux skills. In fact, I consider myself an intermediate, if not an advanced user. I very well know that the specific version may have a different directory. However, what I meant to say was there is no directory along the pattern spca5xx-*.  Since you consider yourself an advanced user, I believe you can understand what I mean. Anyway, the reason I asked on this list was because I thought that I downloaded the wrong source code or that the patch is not compatible with the driver for kernel version 2.6.22.

Once again, http://mxhaard.free.fr/spca50x/Download/gspcav1-20070508.tar.gz, is the driver I downloaded. Does the patch work with this version of the driver?

On 7/29/07, Shixin Zeng <zeng.shixin@xxxxxxxxx> wrote:
it seems that you don't have some basic linux skills.

in my command "cd spca5xx-20050906", spca5xx-20050906 is a directory
you get after you decompress the downloaded tarball. so it may differ
from spca5xx-20050906. I used this name for the directory simply
because the patch was produced against this version of the driver. it
may not apply to other versions.

you may consult the manual of patch for detailed information by "man patch".

On 7/28/07, Kamran Soomro < kamransoomro84@xxxxxxxxx> wrote:
> Sorry. Forgot to mention that there's no such directory :S
>
>
> On 7/28/07, Shixin Zeng < zeng.shixin@xxxxxxxxx > wrote:
> > On 7/28/07, Kamran Soomro <kamransoomro84@xxxxxxxxx > wrote:
> > > Hi,
> > >
> > > I downloaded the patch available here. I downloaded the drivers from
> here.
> > > I'm using kernel version 2.6.22 with OpenSUSE 10.2. The problem is, I
> can't
> > > seem to be able to apply the patch. I do:
> > >
> > > # patch < gzI3jdBU8UCw
> > >
> >
> > I think you need do "cd spca5xx-20050906" first, and then "patch -p1 <
> > gzI3jdBU8UCw".
> >
> > > and I get the following message:
> > >
> > > can't find file to patch at input line 4
> > > Perhaps you should have used the -p or --strip option?
> > > The text leading up to this was:
> > >  --------------------------
> > > |diff -r -c spca5xx-20050906/drivers/usb/spca5xx.c
> > > spca5xx-20050906.patched/drivers/usb/spca5xx.c
> > > |*** spca5xx-20050906/drivers/usb/spca5xx.c
> 2005-09-06
> > > 22:13: 58.000000000 +0200
> > >  |--- spca5xx-20050906.patched/drivers/usb/spca5xx.c     2005-10-08
> > > 17:51:48.000000000 +0200
> > >  --------------------------
> > > File to patch:
> > >
> > >
> > > Can somebody help me in applying the patch please? Thankyou.
> > >
> > > --
> > > Regards,
> > > Kamran Soomro.
> > >
> -------------------------------------------------------------------------
> > > 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/
> > > _______________________________________________
> > > Spca50x-devs mailing list
> > > Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
> > >
> https://lists.sourceforge.net/lists/listinfo/spca50x-devs
> > >
> > >
> >
> >
> > --
> > Best Regards
> >
> > Shixin Zeng
> >
>
>
>
> --
> Regards,
> Kamran Soomro.


--
Best Regards

Shixin Zeng



--
Regards,
Kamran Soomro.
-------------------------------------------------------------------------
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/
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs