Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I cant get colors with my webcam
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Frostwarrior
Apprentice
Apprentice


Joined: 02 Mar 2007
Posts: 165

PostPosted: Tue Oct 16, 2007 7:17 am    Post subject: I cant get colors with my webcam Reply with quote

It appears only in a color (green-like in spcaview or aMSN, and blue in gqcam).

Its a Genius Webcam that uses the gspcav1 drivers.

Here is the Kernel .config in Multimedia section:
Code:
#
# Multimedia devices
#
CONFIG_VIDEO_DEV=y
# CONFIG_VIDEO_V4L1 is not set
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y
CONFIG_VIDEO_CAPTURE_DRIVERS=y
# CONFIG_VIDEO_ADV_DEBUG is not set
CONFIG_VIDEO_HELPER_CHIPS_AUTO=y
CONFIG_VIDEO_VIVI=m
# CONFIG_V4L_USB_DRIVERS is not set
# CONFIG_RADIO_ADAPTERS is not set
# CONFIG_DVB_CORE is not set
CONFIG_VIDEO_BUF=m
# CONFIG_DAB is not set


Any help would be thankful :)
Back to top
View user's profile Send private message
Lemmens
n00b
n00b


Joined: 23 Aug 2007
Posts: 21
Location: European Union (BE)

PostPosted: Wed Oct 17, 2007 7:14 pm    Post subject: Re: I cant get colors with my webcam Reply with quote

Frostwarrior wrote:
It appears only in a color (green-like in spcaview or aMSN, and blue in gqcam).

Its a Genius Webcam that uses the gspcav1 drivers.

Did you try with only v4l1?
CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
# CONFIG_VIDEO_V4L2 is not set
CONFIG_VIDEO_CAPTURE_DRIVERS=y
_________________
Who even knows the vastness, the strech and the reach of his ignorance?
By the mercy of God, we are lovers of the light.


Last edited by Lemmens on Sat Oct 27, 2007 7:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
Frostwarrior
Apprentice
Apprentice


Joined: 02 Mar 2007
Posts: 165

PostPosted: Sat Oct 20, 2007 9:30 pm    Post subject: Reply with quote

Sure, i have it already.

If not, gspcav1 will not compile :P
Back to top
View user's profile Send private message
Frostwarrior
Apprentice
Apprentice


Joined: 02 Mar 2007
Posts: 165

PostPosted: Tue Oct 23, 2007 1:52 am    Post subject: Reply with quote

Sorry for reviving this post.

But i cant set CONFIG_VIDEO_V4L1=y together with CONFIG_VIDEO_V4L1_COMPAT=y

In the kernel configuration GUI, each option disables another.
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Wed Oct 24, 2007 9:03 pm    Post subject: Reply with quote

Hi,

I have the same issue with a Quickcam pro 4000, I tried both pwc from the kernel and from external module but it didn't help.

Any idea appriciated.
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54421
Location: 56N 3W

PostPosted: Wed Oct 24, 2007 9:08 pm    Post subject: Reply with quote

Frostwarrior,

Code:
  │ │    [*]   Enable Video For Linux API 1 (DEPRECATED)             
  │ │    ---   Enable Video For Linux API 1 compatible Layer 

This means that Enable Video For Linux API 1 (DEPRECATED) being selected forces Enable Video For Linux API 1 compatible Layer to be set on, which is what you want.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54421
Location: 56N 3W

PostPosted: Wed Oct 24, 2007 9:14 pm    Post subject: Reply with quote

mamac,

The pwc module works for me. From my /proc/bus/usb/devices, my webcam identifies as
Code:
P:  Vendor=046d ProdID=08b2 Rev= 0.00
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
Hmm, it says it wants 500mA. Thats all the power a root hub can provide for all connected devices. In other words, it can't share a root hub with anything.

My cam is connected to a powered USB hub. You also need the v4l1 settings in my previous post.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Wed Oct 24, 2007 9:38 pm    Post subject: Re: I cant get colors with my webcam Reply with quote

Lemmens wrote:
Did you try with only v4l1?
CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
# CONFIG_VIDEO_V4L2 is not set
CONFIG_VIDEO_CAPTURE_DRIVERS=y


How do you achieve this configuration?

Here they say we don't have all features for the webcam because of a lack of information from the vendor. Could this issue also affect color management?

Thank you
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
Lemmens
n00b
n00b


Joined: 23 Aug 2007
Posts: 21
Location: European Union (BE)

PostPosted: Fri Oct 26, 2007 9:23 pm    Post subject: Re: I cant get colors with my webcam Reply with quote

mamac wrote:

How do you achieve this configuration?

Here they say we don't have all features for the webcam because of a lack of information from the vendor. Could this issue also affect color management?

Thank you
Sorry, there was a mistake in the listing of my configuration.
This is the correct one:
Code:

CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y


I wondered if switching the CONFIG_VIDEO_V4L1 (second row) to yes would solve the problem.
_________________
Who even knows the vastness, the strech and the reach of his ignorance?
By the mercy of God, we are lovers of the light.


Last edited by Lemmens on Sat Oct 27, 2007 7:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Sat Oct 27, 2007 7:24 am    Post subject: Re: I cant get colors with my webcam Reply with quote

Lemmens wrote:

I wondered if switching the CONFIG_VIDEO_V4L1 (second row) to yes would solve the problem.

No, it won't...I'll try to install the webcam on another gentoo box and see what happens.
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54421
Location: 56N 3W

PostPosted: Sat Oct 27, 2007 10:44 am    Post subject: Reply with quote

mamac,

Post your /proc/bus/usb/devices file, when the webcam is connected, so we can see what you really have.
The numbers will tell whats inside the cam, which is what counts, not what the packaging says.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Sat Oct 27, 2007 3:16 pm    Post subject: Reply with quote

Thanks for your help,

Here it is,
Code:

mylinux ~ # cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 3
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.22-gentoo-r8 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0000:00:13.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=08b2 Rev= 0.00
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips webcam
E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
E:  Ad=85(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 0 Alt= 1 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips webcam
E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 196 Ivl=1ms
I:  If#= 0 Alt= 2 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips webcam
E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 292 Ivl=1ms
I:  If#= 0 Alt= 3 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips webcam
E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 448 Ivl=1ms
I:  If#= 0 Alt= 4 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips webcam
E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 592 Ivl=1ms
I:  If#= 0 Alt= 5 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips webcam
E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 704 Ivl=1ms
I:  If#= 0 Alt= 6 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips webcam
E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 776 Ivl=1ms
I:  If#= 0 Alt= 7 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips webcam
E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 840 Ivl=1ms
I:  If#= 0 Alt= 8 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips webcam
E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 896 Ivl=1ms
I:* If#= 0 Alt= 9 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips webcam
E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 960 Ivl=1ms
I:  If#= 0 Alt=10 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips webcam
E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 960 Ivl=1ms
I:* If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=(none)
I:* If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E:  Ad=84(I) Atr=01(Isoc) MxPS=  90 Ivl=1ms
I:  If#= 2 Alt= 2 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E:  Ad=84(I) Atr=01(Isoc) MxPS=  46 Ivl=1ms
I:  If#= 2 Alt= 3 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E:  Ad=84(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
I:  If#= 2 Alt= 4 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E:  Ad=84(I) Atr=01(Isoc) MxPS=  16 Ivl=1ms

Sorry but that doesn't ring any bell to me...

Here if you want to see the result.
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54421
Location: 56N 3W

PostPosted: Sat Oct 27, 2007 4:47 pm    Post subject: Reply with quote

mamac,

Thats the same cam as I have, and itworksforme. From the top, your kernel needs:-
Code:
  │ │       --- USB support     
  │ │       <M>   Support for Host-side USB
  │ │       [*]     USB device filesystem   
  │ │       <M>   OHCI HCD support
  │ │       ---   USB Imaging devices

--- means forced by some other setting. If you can choose these settings, put them on. You may use either <M> or <*>, since it works with modules or built in.
Under Multimedia Devices, you need
Code:
  │ │       <M> Video For Linux 
  │ │       [*]   Enable Video For Linux API 1 (DEPRECATED)
  │ │       ---   Enable Video For Linux API 1 compatible Layer
  │ │       [*]   Video capture adapters  --->

Under Video capture adapters, choose [*] V4L USB devices --->
Code:
  │ │       <M>   USB Philips Cameras       
  │ │       [ ]     USB Philips Cameras verbose debug   
Its important the debug is off. Make the USB Philips Cameras support a module, since that makes it easy to pass parameters to.

When you load the module, you can pass it the following parameters
Code:
parm:           size:Initial image size. One of sqcif, qsif, qcif, sif, cif, vga (charp)
parm:           fps:Initial frames per second. Varies with model, useful range 5-30 (int)
parm:           fbufs:Number of internal frame buffers to reserve (int)
parm:           mbufs:Number of external (mmap()ed) image buffers (int)
parm:           trace:For debugging purposes
parm:           power_save:Turn power save feature in camera on or off (int)
parm:           compression:Preferred compression quality. Range 0 (uncompressed) to 3 (high compression) (int)
parm:           leds:LED on,off time in milliseconds (array of int)
parm:           dev_hint:Device node hints (array of charp)
if pwc is already loaded, you must
Code:
modprobe -r pwc
before you can try new params.

Hint: you cannot use vga mode above 15 fps without compression as USB 1.1 does not have the bandwidth.
I used to use vga and 15 fps because thats whats set in in my /etc/modules.d/pwc but its all commented out now.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Sat Oct 27, 2007 5:35 pm    Post subject: Reply with quote

Now using the pwc kernel module but still no color.

I didn't set any parameter for the module but I don't think that affects the color.

Could it come from the application (w3cam in my case) ? vidcat is also in black & white...
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54421
Location: 56N 3W

PostPosted: Sat Oct 27, 2007 5:37 pm    Post subject: Reply with quote

mamac,

I use xawtv and Ekiga (VoIP). So maybe it is your application
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Sun Oct 28, 2007 8:04 am    Post subject: Reply with quote

No...

I installed the webcam on my laptop and desktop (with Gentoo of course) and vidcat (that comes together with w3cam) gives color images.

So:

- on my Soekris with usb 1.1using w3cam and vidcat -> black & white
- on my laptop and desktop with usb 2 using w3cam and vidcat -> color

Could it be related to usb 1 or 2?
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Sun Oct 28, 2007 8:40 am    Post subject: Reply with quote

Now it works !

After re-pluging the webcam to the the usb port... :wink:

Thank you!
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54421
Location: 56N 3W

PostPosted: Sun Oct 28, 2007 11:08 am    Post subject: Reply with quote

mamac,

Your /proc/bus/usb/devices says
Code:

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=08b2 Rev= 0.00
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA 
that your webcam is USB 1.1. Thats the D: Ver= 1.10 part.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Sun Oct 28, 2007 11:49 am    Post subject: Reply with quote

Good to know, thanks!
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
Frostwarrior
Apprentice
Apprentice


Joined: 02 Mar 2007
Posts: 165

PostPosted: Sat Nov 03, 2007 7:21 pm    Post subject: Reply with quote

well, here is my device at proc:

Code:
$ cat /proc/bus/usb/devices

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 3
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.22-gentoo-r8 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0000:00:02.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 3
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.22-gentoo-r8 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0000:00:02.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs=  1
P:  Vendor=093a ProdID=2471 Rev= 1.00
S:  Manufacturer=Pixart Imaging Inc.
S:  Product=CIF Single Chip     
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 6 Cls=ff(vend.) Sub=ff Prot=ff Driver=gspca
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=04(O) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=85(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=06(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 0 Alt= 1 #EPs= 6 Cls=ff(vend.) Sub=ff Prot=ff Driver=gspca
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=04(O) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 128 Ivl=1ms
E:  Ad=06(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 0 Alt= 2 #EPs= 6 Cls=ff(vend.) Sub=ff Prot=ff Driver=gspca
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=04(O) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 256 Ivl=1ms
E:  Ad=06(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 0 Alt= 3 #EPs= 6 Cls=ff(vend.) Sub=ff Prot=ff Driver=gspca
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=04(O) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 384 Ivl=1ms
E:  Ad=06(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 0 Alt= 4 #EPs= 6 Cls=ff(vend.) Sub=ff Prot=ff Driver=gspca
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=04(O) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 512 Ivl=1ms
E:  Ad=06(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 0 Alt= 5 #EPs= 6 Cls=ff(vend.) Sub=ff Prot=ff Driver=gspca
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=04(O) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 640 Ivl=1ms
E:  Ad=06(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 0 Alt= 6 #EPs= 6 Cls=ff(vend.) Sub=ff Prot=ff Driver=gspca
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=04(O) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 768 Ivl=1ms
E:  Ad=06(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 0 Alt= 7 #EPs= 6 Cls=ff(vend.) Sub=ff Prot=ff Driver=gspca
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=04(O) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=85(I) Atr=01(Isoc) MxPS= 896 Ivl=1ms
E:  Ad=06(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 0 Alt= 8 #EPs= 6 Cls=ff(vend.) Sub=ff Prot=ff Driver=gspca
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=04(O) Atr=03(Int.) MxPS=   2 Ivl=50ms
E:  Ad=85(I) Atr=01(Isoc) MxPS=1023 Ivl=1ms
E:  Ad=06(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.22-gentoo-r8 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:02.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54421
Location: 56N 3W

PostPosted: Sat Nov 03, 2007 7:37 pm    Post subject: Reply with quote

Frostwarrior,

Google says you need the spca5xx driver. Note the MxPwr=500mA entry in your cam output.
That means the root hub that your camera is connected to cannot support any other devices that are powered via the USB cable or none of them will work. Its masked in portage
Code:
*  media-video/spca5xx [ Masked ]
      Latest version available: 20060501-r2
      Latest version installed: [ Not Installed ]
      Size of files: 188 kB
      Homepage:      http://mxhaard.free.fr/spca5xx.html
      Description:   spca5xx driver for webcams.
      License:       GPL-2
Its also very old. You will need a properly installed and configured kernel to build this kernel module against.
The binary kernel provided by copying the kernel from the liveCD will not work.

There is also media-video/gspca which is a development of media-video/spca5xx from the same website. In view of the way the kenrl has changed since the release date of media-video/spca5xx, go to the web site and read. It may not build with recent kernels.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Frostwarrior
Apprentice
Apprentice


Joined: 02 Mar 2007
Posts: 165

PostPosted: Mon Nov 05, 2007 9:51 pm    Post subject: Reply with quote

is ok NeddySeagoon, i installed gspcav1 correctly.

the thing is that i cant get properly the colors in my webcam. it only shows a green-black gamma of colors
Back to top
View user's profile Send private message
Rhiakath
Guru
Guru


Joined: 10 Feb 2006
Posts: 572
Location: Hell...

PostPosted: Sat Feb 16, 2008 7:25 pm    Post subject: Reply with quote

Hi there. Dunno if anyone is watching this thread anymore, but i hope so (Neddy Seagoon, save me)

I just bought a... well.. uhh.. "competition's" webcam (microsoft lifecam vx-3000). already got it running with gspcav1 driver. unfortunately, with the same green gamma image. anyway to solve this?

is there a way to shift the bits it's getting, so to get the whole rgb data? BTW, why green? any particular reason? its the middle byte, so supposedly, it should be either red or blue in case of error, but green???

eitherway, any idea as to how to solve this?

thanks

EDIT: kinda solved. i have the image with a almost normal color. but it shows a lot of areas with some strange blue. the image quality is awful. any ideas?
_________________
pc-rhiakath ~ $ emerge -s happiness
Searching..
[ Results for search key : happiness ]
[ Applications found : 0 ]

-------------------------------------------

I see dead pixels...
Back to top
View user's profile Send private message
Frostwarrior
Apprentice
Apprentice


Joined: 02 Mar 2007
Posts: 165

PostPosted: Sat Mar 08, 2008 10:09 pm    Post subject: Reply with quote

im reviving this topic.
how can i get the rgb data for my webcam? its still with a green-black gamma :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum