Re: webcam driver

2003-02-28 Thread guy keren

On Sat, 22 Feb 2003, Alon Altman wrote:

 Hi,
   Anyone know of a linux driver for a USB webcam called twinklecam?
 Windows identifies it as CIF USB CAMERA 2110. Google search returns
 nothing of use.

when i bought a camera that wasn't supported under linux (eventually i 
found an alpha-grade driver that was just in the beginning of being 
written, and did nothing) - i passed the camera to a windows machine, and 
used what i learned form the attempt of installing a non-working camera - 
to buy one that works. (the non-working was Creative Webcam PD1001 [the 
PD1001 is written in small letters on a sticker attached to the camera - 
nowhere in the documentation]. the working was Creative Webcam-5, which i 
found in atid machshevim in chorev center - althought in order to use its 
more advanced features (apprently a larger image size capture) require 
installing a binary-only module, which i didn't do yet because it does not 
match my current kernel).

-- 
guy

For world domination - press 1,
 or dial 0, and please hold, for the creator. -- nob o. dy


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: webcam driver

2003-02-28 Thread Alon Altman
On Fri, 28 Feb 2003, guy keren wrote:


 On Sat, 22 Feb 2003, Alon Altman wrote:

  Hi,
Anyone know of a linux driver for a USB webcam called twinklecam?
  Windows identifies it as CIF USB CAMERA 2110. Google search returns
  nothing of use.

 when i bought a camera that wasn't supported under linux (eventually i
 found an alpha-grade driver that was just in the beginning of being
 written, and did nothing) - i passed the camera to a windows machine, and
 used what i learned form the attempt of installing a non-working camera -
 to buy one that works. (the non-working was Creative Webcam PD1001 [the
 PD1001 is written in small letters on a sticker attached to the camera -
 nowhere in the documentation]. the working was Creative Webcam-5, which i
 found in atid machshevim in chorev center - althought in order to use its
 more advanced features (apprently a larger image size capture) require
 installing a binary-only module, which i didn't do yet because it does not
 match my current kernel).

  Thanks, but I didn't buy the camera. It was given as part of a package
with an internet connection...

  Alon

-- 
This message was sent by Alon Altman ([EMAIL PROTECTED]) ICQ:1366540
The RIGHT way to contact me is by e-mail. I am otherwise nonexistent :)
--
 -=[ Random Fortune ]=-
Just the facts, Ma'am
-- Joe Friday

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: webcam driver

2003-02-28 Thread Hetz Ben Hamo
 when i bought a camera that wasn't supported under linux (eventually i
 found an alpha-grade driver that was just in the beginning of being
 written, and did nothing) - i passed the camera to a windows machine, and
 used what i learned form the attempt of installing a non-working camera -
 to buy one that works. (the non-working was Creative Webcam PD1001 [the
 PD1001 is written in small letters on a sticker attached to the camera -
 nowhere in the documentation]. the working was Creative Webcam-5, which i
 found in atid machshevim in chorev center - althought in order to use its
 more advanced features (apprently a larger image size capture) require
 installing a binary-only module, which i didn't do yet because it does not
 match my current kernel).

You don't need it to match your kernel - just use insmod -f to install the 
module. I'm using the module (I assume you mean pwcx-i386.o) on several 
kernel builds on Redhat 7.3 and on Redhat 8.1 RC5 - works perfectly.

Hetz

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: webcam driver

2003-02-28 Thread Muli Ben-Yehuda
On Fri, Feb 28, 2003 at 03:26:15PM +0200, Hetz Ben Hamo wrote:

 You don't need it to match your kernel - just use insmod -f to install the 
 module. I'm using the module (I assume you mean pwcx-i386.o) on several 
 kernel builds on Redhat 7.3 and on Redhat 8.1 RC5 - works perfectly.

Use insmod -f and whatever happens is at your responsibility. There's
a reason why insmod refuses to load a module that doesn't match the
current kernel - it's dangerous!
-- 
Muli Ben-Yehuda
http://www.mulix.org



pgp0.pgp
Description: PGP signature


CONFIG_MODVERSIONS [Was: Re: webcam driver]

2003-02-28 Thread Shaul Karl
On Fri, Feb 28, 2003 at 07:54:41PM +0200, Muli Ben-Yehuda wrote:
 On Fri, Feb 28, 2003 at 03:26:15PM +0200, Hetz Ben Hamo wrote:
 
  You don't need it to match your kernel - just use insmod -f to install the 
  module. I'm using the module (I assume you mean pwcx-i386.o) on several 
  kernel builds on Redhat 7.3 and on Redhat 8.1 RC5 - works perfectly.
 
 Use insmod -f and whatever happens is at your responsibility. There's
 a reason why insmod refuses to load a module that doesn't match the
 current kernel - it's dangerous!
 


  Does CONFIG_MODVERSIONS relevant to this discussion?
 
CONFIG_MODVERSIONS
  Usually, modules have to be recompiled whenever you switch to a new
  kernel.  Saying Y here makes it possible, and safe, to use the
  same modules even after compiling a new kernel; this requires the
  program modprobe. All the software needed for module support is in
  the modutils package (check the file file:Documentation/Changes
  for location and latest version).  NOTE: if you say Y here but don't
  have the program genksyms (which is also contained in the above
  mentioned modutils package), then the building of your kernel will
  fail.  If you are going to use modules that are generated from
  non-kernel sources, you would benefit from this option.  Otherwise
  it's not that important.  So, N ought to be a safe bet.

-- 

Shaul Karl, [EMAIL PROTECTED] e t

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: CONFIG_MODVERSIONS [Was: Re: webcam driver]

2003-02-28 Thread Hetz Ben Hamo
   Does CONFIG_MODVERSIONS relevant to this discussion?

 CONFIG_MODVERSIONS
   Usually, modules have to be recompiled whenever you switch to a new
   kernel.  Saying Y here makes it possible, and safe, to use the
   same modules even after compiling a new kernel; this requires the
   program modprobe. All the software needed for module support is in
   the modutils package (check the file file:Documentation/Changes
   for location and latest version).  NOTE: if you say Y here but don't
   have the program genksyms (which is also contained in the above
   mentioned modutils package), then the building of your kernel will
   fail.  If you are going to use modules that are generated from
   non-kernel sources, you would benefit from this option.  Otherwise
   it's not that important.  So, N ought to be a safe bet.

Doesn't help much, at least with the default distributions.

The pwcx-i386.o module itself worked for me when insmod -f without any 
problems on several kernels. I also tested it on kernel 2.5.61 and it worked 
without a problem with insmod -f 

And yes, I know it's dangeous, but:

1. I don't have the source code, and Philips don't want to release the code 
(it's not theirs)
2. It gives me the BEST driver for my cam - almost all the features of this 
cam works (only the button on top of it doesn't, yet).

Thanks,
Hetz

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: CONFIG_MODVERSIONS [Was: Re: webcam driver]

2003-02-28 Thread Muli Ben-Yehuda
On Fri, Feb 28, 2003 at 10:48:15PM +0200, Shaul Karl wrote:

   Does CONFIG_MODVERSIONS relevant to this discussion?
  
 CONFIG_MODVERSIONS
   Usually, modules have to be recompiled whenever you switch to a new
   kernel.  Saying Y here makes it possible, and safe, to use the
   same modules even after compiling a new kernel; this requires the
   program modprobe. All the software needed for module support is in
   the modutils package (check the file file:Documentation/Changes
   for location and latest version).  NOTE: if you say Y here but don't
   have the program genksyms (which is also contained in the above
   mentioned modutils package), then the building of your kernel will
   fail.  If you are going to use modules that are generated from
   non-kernel sources, you would benefit from this option.  Otherwise
   it's not that important.  So, N ought to be a safe bet.

Yes, that's one of the mechanisms used to enforce the module must
match the kernel it's being loaded into rule. 
-- 
Muli Ben-Yehuda
http://www.mulix.org



pgp0.pgp
Description: PGP signature


Re: CONFIG_MODVERSIONS [Was: Re: webcam driver]

2003-02-28 Thread Muli Ben-Yehuda
On Fri, Feb 28, 2003 at 11:02:16PM +0200, Hetz Ben Hamo wrote:

 The pwcx-i386.o module itself worked for me when insmod -f without any 
 problems on several kernels. I also tested it on kernel 2.5.61 and it worked 
 without a problem with insmod -f 
 
 And yes, I know it's dangeous, but:
 
 1. I don't have the source code, and Philips don't want to release the code 
 (it's not theirs)
 2. It gives me the BEST driver for my cam - almost all the features of this 
 cam works (only the button on top of it doesn't, yet).

It's the Unix philosophy to give you enough rope to shoot yourself in
the feet. I certainly do not object to it. I do believe in informed
decisions - just telling people to 'use insmod -f, it works' without
mentioning the risks is inappropriate. 

Did you (or anyone else) consider reverse engineering the driver? is
documentation available? 
-- 
Muli Ben-Yehuda
http://www.mulix.org



pgp0.pgp
Description: PGP signature


Re: CONFIG_MODVERSIONS [Was: Re: webcam driver]

2003-02-28 Thread Hetz Ben Hamo
 It's the Unix philosophy to give you enough rope to shoot yourself in
 the feet. I certainly do not object to it. I do believe in informed
 decisions - just telling people to 'use insmod -f, it works' without
 mentioning the risks is inappropriate.

 Did you (or anyone else) consider reverse engineering the driver? is
 documentation available?

Well, I don't know how much (if any) got to reverse engineer the algorithm 
inside. There are no documentation available, as the Linux driver author 
signed an NDA before writing the driver, and he maintain it, but he cannot 
release for every single kernel a new module...

Thanks,
Hetz

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: CONFIG_MODVERSIONS [Was: Re: webcam driver]

2003-02-28 Thread Muli Ben-Yehuda
On Sat, Mar 01, 2003 at 12:37:53AM +0200, Hetz Ben Hamo wrote:

  Did you (or anyone else) consider reverse engineering the driver? is
  documentation available?
 
 Well, I don't know how much (if any) got to reverse engineer the algorithm 
 inside. There are no documentation available, as the Linux driver author 
 signed an NDA before writing the driver, and he maintain it, but he cannot 
 release for every single kernel a new module...

So he maitains the driver but doesn't release the source? if the
source is available, recompiling for each kernel you want to support
is rather trivial. 
-- 
Muli Ben-Yehuda
http://www.mulix.org



pgp0.pgp
Description: PGP signature


Re: CONFIG_MODVERSIONS [Was: Re: webcam driver]

2003-02-28 Thread Hetz Ben Hamo
 So he maitains the driver but doesn't release the source? if the
 source is available, recompiling for each kernel you want to support
 is rather trivial.

If the source was available, then there wouldn't be any issue of insmod -f ...
No, the source is not available, nor the documentation for the compression 
algorithm...

It's not that you can't use the cam without this module.. sure you can, but 
you'll loose your frame rate and capture size (the cam can capture 640x480 15 
fps, and up to 1280x1024 in 1 fps), so you'll need to load the first open 
source module which activates the cam, and then the binary module which 
enhances the driver..

Thanks,
Hetz

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]