Post Reply  Post Thread 
driver for Quickcam E2500
Author Message
laulau
Newbie


Posts: 2
Group: Registered
Joined: Jun 2008
Status: Offline
Post: #1
driver for Quickcam E2500

Hello,

just tried to have a Quickcam E2500 working under linux. Following another thread in this forum, I downloaded and modified the gspca driver, making the following modifications:
1) added an identifier 'LogitechQuickCamE2500' (in the enum)
2) in the struct cam_list clist[], added
{LogitechQuickCamE2500,"Logitech QuickCam E2500"},
3) in the struct usb_device_id device_table[], added
{USB_DEVICE(0x046d, 0x089d)}, /* Logitech QuickCam E2500 */
4) in the function spcaDetectCamera, added a case :
case 0x089d:
spca50x->desc = LogitechQuickCamE2500;
spca50x->bridge = BRIDGE_SPCA500;
spca50x->sensor = SENSOR_INTERNAL;

Note that lsusb gives me:
Bus 002 Device 005: ID 046d:089d Logitech, Inc.

and the 089d id seems quite uncommon (google does not know about it,
even the above-mentioned thread on the E2500 mentions another id ;
my QuickCam E2500 has been bought in Switzerland, FWIW).

The module is loaded by the kernel, dmesg is typically:
...
[ 2323.369783] usb 2-2: new full speed USB device using uhci_hcd and address 5
[ 1161.798602] usb 2-2: configuration #1 chosen from 1 choice
[ 1162.085870] usbcore: registered new interface driver gspca
[ 1162.086838] /tmp/gspcav1-20071224/gspca_core.c: gspca driver 01.00.20 registered

but that's all. I'm a complete newbie when it comes to webcams, but from what I've read, shouldn't I also have entries in dmesg about /dev/video* devices created or something ?

I tried to manually make /dev/video* using MAKEDEV, but the result is quite unimpressive.

Does someone know more about this E2500 ?

Thanks,

laulau

2008-06-24 10:48
Find all posts by this user Quote this message in a reply
redeye
Junior Member
*


Posts: 5
Group: Registered
Joined: Jul 2008
Status: Offline
Post: #2
RE: driver for Quickcam E2500

Hello, i have the same Camera and also tried to modify the driver. What i get is:

Code:
usb 5-1: new full speed USB device using uhci_hcd and address 9
usb 5-1: configuration #1 chosen from 1 choice
/home/redeye/Downloads/gspcav1-20071224/gspca_core.c: USB GSPCA camera found.(SPCA500+unknown CCD)
/home/redeye/Downloads/gspcav1-20071224/gspca_core.c: [spca5xx_probe:4292] Camera type JPEG
/home/redeye/Downloads/gspcav1-20071224/gspca_core.c: [spca5xx_getcapability:1252] maxw 640 maxh 480 minw 176 minh 144
usb 5-1: New USB device found, idVendor=046d, idProduct=089d
usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
/home/redeye/Downloads/gspcav1-20071224/gspca_core.c: [spca5xx_set_light_freq:1935] Sensor currently not support light frequency banding filters.
/home/redeye/Downloads/gspcav1-20071224/gspca_core.c: [gspca_set_isoc_ep:948] ISO EndPoint found 0x81 AlternateSet 7
/home/redeye/Downloads/gspcav1-20071224/Sunplus-jpeg/spca500_init.h: [spca500_start:337] Spca500 Sensor Address  0xF5
/home/redeye/Downloads/gspcav1-20071224/Sunplus-jpeg/spca500_init.h: [spca500_start:338] Spca500 mode 1 ,Xmult 0x28,  Ymult  0x1E
/home/redeye/Downloads/gspcav1-20071224/Sunplus-jpeg/spca500_init.h: [spca500_start:603] UNKNOW spca500 WEBCAM  MODEL !!
/home/redeye/Downloads/gspcav1-20071224/utils/spcausb.h: reg read: error -32
/home/redeye/Downloads/gspcav1-20071224/utils/spcausb.h: reg write: error -32
/home/redeye/Downloads/gspcav1-20071224/utils/spcausb.h: reg write: error -32
/home/redeye/Downloads/gspcav1-20071224/Sunplus-jpeg/spca500_init.h: [spca500_stopN:112] Stop  SPCA500 finished reg8000 = 0x 0


[url=http://www.dezi-bell.de/]Homepage - www.dezi-bell.de[/url]
2008-07-05 08:01
Visit this user's website Find all posts by this user Quote this message in a reply
simon
Junior Member
*


Posts: 7
Group: Registered
Joined: Jul 2008
Status: Offline
Post: #3
RE: driver for Quickcam E2500

Hi everyone!

First please excuse my english as I live in switzerland...

I bought this e2500 webcam and I have the same problem, the device is not registered in the gspca list...

So I added it in the gspca driver source file like laulau explained (thanx!) then I recompiled and installed the driver.

The /dev/video0 device appears but the cam isn't working because (I think), the sensor and bridge aren't correctly specified.

So if someone knows what bridge and sensor are in this webcam, please post the names here Smile

Can someone from logitech answer ?

thanks, I'll post news if I can make the cam work myself...

-simon

2008-07-21 08:42
Find all posts by this user Quote this message in a reply
simon
Junior Member
*


Posts: 7
Group: Registered
Joined: Jul 2008
Status: Offline
Post: #4
RE: driver for Quickcam E2500

YEAH !

WORKING! The picture is still a little crappy but it's almost OK!

I did what laulau said, exept in step '4' .
Instead of adding what he said in the driver's source code, I searched for a compatible sensor and bridge. here's what i added in the logitech section of the big switc/case of the spcaDetectCamera function :

switch (product) {
case 0x089d:
spca50x->desc = LogitechQuickCamE2500;
spca50x->bridge = BRIDGE_ZC3XX;
spca50x->sensor = SENSOR_MC501CB;
break;
default:
goto error;
};
break;

The only difference with laulau's way is the bridge and sensor.

gqcam manages to display the image, but it's slow and the quality is not as good as in windows (the shame lol). maybe with a different sensor / bridge combination...
Skype manages to find the device but the video test windows doesn't output anything...

Thanks a lot laulau, let me know if it's working with you and if you find a better bridge/sensor combination!

-simon

This post was last modified: 2008-07-21 15:01 by simon.

2008-07-21 14:51
Find all posts by this user Quote this message in a reply
redeye
Junior Member
*


Posts: 5
Group: Registered
Joined: Jul 2008
Status: Offline
Post: #5
RE: driver for Quickcam E2500

I also got it to work today, but didn't see your post. I attached a patch in the other thread.


[url=http://www.dezi-bell.de/]Homepage - www.dezi-bell.de[/url]
2008-07-23 04:23
Visit this user's website Find all posts by this user Quote this message in a reply
laulau
Newbie


Posts: 2
Group: Registered
Joined: Jun 2008
Status: Offline
Post: #6
RE: driver for Quickcam E2500

LWN reports that gspca will be included in 2.6.27 !
(http://lwn.net/Articles/291054/)

Cheers,

laulau

2008-07-23 04:56
Find all posts by this user Quote this message in a reply
simon
Junior Member
*


Posts: 7
Group: Registered
Joined: Jul 2008
Status: Offline
Post: #7
RE: driver for Quickcam E2500

But will it include support for this webcam ?

And for the actual kernel, did the webcam works with skype ? Because it doesn't here...

cheers


-simon

2008-07-23 13:59
Find all posts by this user Quote this message in a reply
nilsja
Newbie


Posts: 2
Group: Registered
Joined: Jul 2008
Status: Offline
Post: #8
RE: driver for Quickcam E2500

Hi,

did anyone already find a better or THE bridge/sensor combination?

nilsja

This post was last modified: 2008-07-25 08:14 by nilsja.

2008-07-25 08:13
Find all posts by this user Quote this message in a reply
simon
Junior Member
*


Posts: 7
Group: Registered
Joined: Jul 2008
Status: Offline
Post: #9
RE: driver for Quickcam E2500

Nope... BRIDGE_ZC3XX and SENSOR_MC501CB is the only one I found working... but I'm a little tired to compile the same module over and over again. Smile

Can't we get support from the logitech dudes ? Can't they tell us the combination to use so the next release of gspca driver can support this cam properly ?

cheers

-simon

2008-07-25 20:19
Find all posts by this user Quote this message in a reply
mrubli
Logitech
*****
QuickCam Team

Posts: 1,026
Group: QuickCam Team
Joined: Dec 2006
Status: Offline
Post: #10
RE: driver for Quickcam E2500

The bridge and sensor descriptions in gspca don't match the hardware 1:1, so it's a little difficult to say exactly what is the right combination (otherwise we would do so :-).

Anyway, BRIDGE_ZC3XX and SENSOR_MC501CB should work and if this one works at least partly then it would be a matter of tuning it to make it work properly. Michel Xhaard should have the specs of the hardware in question, so given his time and effort he should be able to make it work.


Martin
2008-08-04 02:29
Find all posts by this user Quote this message in a reply
simon
Junior Member
*


Posts: 7
Group: Registered
Joined: Jul 2008
Status: Offline
Post: #11
RE: driver for Quickcam E2500

Ok mrubli, keep us up to date on this please :-)
It's too bad we can't use this product with skype in linux yet.

Thank you for spending time helping customers that doesn't use Windows, it's very appreciated ! :-)

++

This post was last modified: 2008-08-04 07:58 by simon.

2008-08-04 07:56
Find all posts by this user Quote this message in a reply
simon
Junior Member
*


Posts: 7
Group: Registered
Joined: Jul 2008
Status: Offline
Post: #12
RE: driver for Quickcam E2500

The driver is now working with skype without me doing anything to it... Smile

I advise to play with the autoexpo and gamma module parameters to get better image quality.

example :
modprobe gspca autoexpo=0 gamma=2

still, it would be nice to get official values for those parameters and the bridge /sensor combination...

-simon

This post was last modified: 2008-08-20 07:05 by simon.

2008-08-20 07:05
Find all posts by this user Quote this message in a reply
kennysever
Newbie


Posts: 2
Group: Registered
Joined: Nov 2008
Status: Offline
Post: #13
RE: driver for Quickcam E2500

can someone help me with this webcam?I'm new at linux and I can't do what it writes in this topic below Smile
can you explain me what to do for the modifications in the first message?

This post was last modified: 2008-11-16 12:12 by kennysever.

2008-11-16 12:11
Find all posts by this user Quote this message in a reply
pcorbes
Newbie


Posts: 2
Group: Registered
Joined: Feb 2009
Status: Offline
Post: #14
RE: driver for Quickcam E2500

Hello ,

I use a 2.4 kernel on an embedded machine. I patched the "spca5xx-v4l1goodbye" version to support the "Logitech Quickcam E2500" and the "Logitech QuickCam for Notebooks"

1) Download "spca5xx-v4l1goodbye" version from: http://mxhaard.free.fr/spca50x/Download/...bye.tar.gz
2) Apply this patch :
.gz File  spca5xx-v4l1goodbye+QCE2500.patch.gz (Size: 10.27 KB / Downloads: 868)

Thank you very much Michel for your great job....
Philippe Corbes

2009-02-03 05:02
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:


Powered By MyBB – Copyright © 2002-2010 MyBB Group