Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

(Solved)Cheese doesn't detect lifecam vx-3000

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
53 posts
  • 1
  • 2
  • 3
  • Next
Author
Message
SpiroPoulos89
Apprentice
Apprentice
Posts: 188
Joined: Thu Jun 11, 2009 7:54 pm

(Solved)Cheese doesn't detect lifecam vx-3000

  • Quote

Post by SpiroPoulos89 » Mon Aug 31, 2009 6:30 am

Hello

I have a Microsoft Lifecam vx-3000. With ubuntu using the kernel 2..29 the webcam worked automatically so I know it is supported.

I don't know what to enable in the kernel to make it work on gentoo. I think It uses the v4l driver but I did not see lifecam
and an option in the kernel.

Does anyone know what has to be selected and/or installed to make it work.

Thanks
Last edited by SpiroPoulos89 on Mon Nov 23, 2009 10:07 pm, edited 1 time in total.
Top
imanidiot123
n00b
n00b
Posts: 24
Joined: Mon Aug 31, 2009 11:41 am

  • Quote

Post by imanidiot123 » Mon Aug 31, 2009 2:03 pm

If you use lsusb, you can maybe get the actual chip that it uses, and compile the driver for that.
Top
SpiroPoulos89
Apprentice
Apprentice
Posts: 188
Joined: Thu Jun 11, 2009 7:54 pm

  • Quote

Post by SpiroPoulos89 » Tue Sep 01, 2009 2:11 am

Thanks for the reply.

This is my camera from the command lsusb

Code: Select all

Bus 005 Device 003: ID 045e:00f5 Microsoft Corp. LifeCam VX-3000
That doesn't tell me anything except that its a Microsof lifecam VX3000.

Does it mean anything else or does anyone else know how to make it work.

Thanks
Top
SpiroPoulos89
Apprentice
Apprentice
Posts: 188
Joined: Thu Jun 11, 2009 7:54 pm

  • Quote

Post by SpiroPoulos89 » Wed Sep 02, 2009 8:24 am

I am using kernel 2.6.30-r5

On Ubuntu when I installed the kernel 2.6.29 from a .deb file my Microsoft lifecam worked automatically. So I'm sure I just need to enable something in the kernel to make it work for Gentoo.

I don't really like supporting Microsoft but that's the only cam I have, So can someone please help?

Thanks
Top
SpiroPoulos89
Apprentice
Apprentice
Posts: 188
Joined: Thu Jun 11, 2009 7:54 pm

  • Quote

Post by SpiroPoulos89 » Wed Sep 09, 2009 2:45 am

Somebody must know how. Am I the only Gentoo user with a Microsoft Lifecam?

Give a shout out if you can't get Microsoft Lifecam support in Gentoo.
Top
M
Guru
Guru
Posts: 432
Joined: Tue Dec 12, 2006 11:59 am

  • Quote

Post by M » Wed Sep 09, 2009 9:07 am

I don't have that camera, but if you just paste 045e:00f5 in google you will found that you need sonixj module, I think it is gspca_sonixj so enable that in kernel, load module, see dmesg and verify that you have /dev/video0 or video1 etc. if you have other devices like tv card for example...
Top
SpiroPoulos89
Apprentice
Apprentice
Posts: 188
Joined: Thu Jun 11, 2009 7:54 pm

  • Quote

Post by SpiroPoulos89 » Thu Sep 10, 2009 12:16 am

M wrote:I don't have that camera, but if you just paste 045e:00f5 in google you will found that you need sonixj module, I think it is gspca_sonixj so enable that in kernel, load module, see dmesg and verify that you have /dev/video0 or video1 etc. if you have other devices like tv card for example...
Thanks for helping but now I can't find sonixj in the kernel. So what I did was enabled all the v4l device drivers including gspca devices and recompiled.

Now when I open cheese the camera's light flashes on then off and shows up as /dev/video0. That's better than before but it's still not working.

Something wrong with enabling all v4l devices?? Anyone know??

Thanks
Top
SpiroPoulos89
Apprentice
Apprentice
Posts: 188
Joined: Thu Jun 11, 2009 7:54 pm

  • Quote

Post by SpiroPoulos89 » Mon Sep 14, 2009 11:25 am

I tried to emerge gspcav1 but it fails to compile.

When I type in terminal:

Code: Select all

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so cheese
The cam loads but I get a green screen. So it is responding but still not working.

When I was using Ubuntu my cam gave a green screen in cheese without typing in the above command. And in Ubuntu after installing kernel 2.6.29 the cam worked as should.

Here on Gentoo I'm using kernel 2.6.31 now.

So is there any way to make the webcam work properly without the green screen and without the LD_PRELOAD command like in ubuntu??

Thanks for any help
Top
M
Guru
Guru
Posts: 432
Joined: Tue Dec 12, 2006 11:59 am

  • Quote

Post by M » Tue Sep 15, 2009 7:22 am

First remove gspcav1, that was needed before, now gspca drivers are in kernel, don't know how you managed to compile it at all, also it would help if you paste last lines from dmesg when you load module or plugin your cam, with lsmod you can see what module is used. Can you try your webcam with some other program, mplayer for example, don't know if libv4l is still needed, cheese use gstreamer so if you have the latest version maybe you don't need it, I saw long time ago a patch for this so upstream maybe took care of this. Remove unused modules from kernel, I don't think this is problem, but I had a cam for which I could load two different modules and with both there was /dev/video0 but only one was right.

edit: now I see that you didn't compiled gspcav1, that is ok ;)
Top
SpiroPoulos89
Apprentice
Apprentice
Posts: 188
Joined: Thu Jun 11, 2009 7:54 pm

  • Quote

Post by SpiroPoulos89 » Tue Sep 15, 2009 6:19 pm

M

Here is the end of the dmesg command after plugging in the cam:

Code: Select all

usb 5-2: new full speed USB device using uhci_hcd and address 3
usb 5-2: configuration #1 chosen from 1 choice
Linux video capture interface: v2.00
gspca: main v2.6.0 registered
gspca: probing 045e:00f5
sonixj: Sonix chip id: 11
gspca: probe ok
gspca: probing 045e:00f5
gspca: probing 045e:00f5
usbcore: registered new interface driver sonixj
sonixj: registered
usbcore: registered new interface driver snd-usb-audio
That's a lot of info about my cam. Hopefully this helps.

Also I have libv4l installed but it did not make any difference.

Thanks
Top
SpiroPoulos89
Apprentice
Apprentice
Posts: 188
Joined: Thu Jun 11, 2009 7:54 pm

  • Quote

Post by SpiroPoulos89 » Thu Sep 24, 2009 11:34 pm

OK......I removed the unnecessary video modules from the kernel and only enabled the sonix modules.

The cam is still responding but it only shows a green screen.

I did not test it with vlc or mplayer but I did test it with cinelerra and it shows a green screen too.

Does anyone know how to solve this.

As I mentioned before, in ubuntu the green screen problem was solved with the kernel upgrade. Kernel 2.6.29 and higher now have the driver built into the kernel.

I'm using the latest kernel (2.6.31) and I believe I enabled the right driver modules in the kernel.

So does anyone know why I am getting a green screen and how I can fix it??

Thank You
Top
SpiroPoulos89
Apprentice
Apprentice
Posts: 188
Joined: Thu Jun 11, 2009 7:54 pm

  • Quote

Post by SpiroPoulos89 » Sat Sep 26, 2009 4:46 am

Anybody??

ECHO ECHo ECho Echo echo

Guess I ran into a problem here.

I know its possible because as I said It worked perfectly with Ubuntu.

Why not for gentoo??

Any help please.

Thank You
Top
M
Guru
Guru
Posts: 432
Joined: Tue Dec 12, 2006 11:59 am

  • Quote

Post by M » Sun Sep 27, 2009 10:29 am

Hi, can you try with mplayer
mplayer tv:// -tv driver=v4l2:device=/dev/video0
and post output, it may be useful, for cheese and other apps that use gstreamer, check gstreamer-properties, there you can set default input and test your cam. If it works there it should work in all apps that use it. If mplayer says unknown pixel format then you should use libv4l preload, also try to preload v4l2convert.so. If you don't have v4l use flag enabled for cheese try enable it.
Top
SpiroPoulos89
Apprentice
Apprentice
Posts: 188
Joined: Thu Jun 11, 2009 7:54 pm

  • Quote

Post by SpiroPoulos89 » Mon Sep 28, 2009 12:26 am

Thanks for the reply

Here is the out put from mplayer:

Code: Select all

mplayer tv:// -tv driver=v4l2:device=/dev/video0 
MPlayer SVN-r29699-4.4.1 (C) 2000-2009 MPlayer Team

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: USB camera
 Capabilites:  video capture  read/write  streaming
 supported norms:
 inputs: 0 = sonixj;
 Current input: 0
 Current format: unknown (0x4745504a)
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: Cannot get fps
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG)
==========================================================================
Audio: no sound
Starting playback...
v4l2: select timeout ??% ??,?% 0 0 
VDec: vo config request - 640 x 480 (preferred colorspace: Planar 422P)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar 422P as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0xb7ffe0]BICUBIC scaler, from yuv422p to yuv420p using MMX2
[swscaler @ 0xb7ffe0]using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0xb7ffe0]using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0xb7ffe0]using 1-tap MMX "scaler" for vertical scaling (YV12 like)
[swscaler @ 0xb7ffe0]640x480 -> 640x480
VO: [xv] 640x480 => 640x480 Planar YV12 
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
v4l2: select timeout ??% ??,?% 0 0 
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:1 (0x133b7a8)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=6
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=9
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=9
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=9
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=9
[mjpeg @ 0xa9ec60]EOI missing, emulating
v4l2: select timeout ??% ??,?% 0 0 
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=9
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=7
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=10
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=4
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=10
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=2
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=8
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=0
[mjpeg @ 0xa9ec60]mjpeg_decode_dc: bad vlc: 0:0 (0x133b790)
[mjpeg @ 0xa9ec60]error dc
[mjpeg @ 0xa9ec60]error y=1 x=7
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
v4l2: select timeout ??% ??,?% 0 0 
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
[mjpeg @ 0xa9ec60]EOI missing, emulating
v4l2: ioctl set mute failed: Invalid argument
v4l2: 72 frames successfully processed, 915 frames dropped.

Exiting... (Quit)
It showed a screen with different colors.......all red then blue then green and so on.

I have the v4l use flag for cheese.

Both of the following commands still give a green screen:

Code: Select all

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so cheese

LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so cheese
Any other suggestions?

Thank You
Top
SpiroPoulos89
Apprentice
Apprentice
Posts: 188
Joined: Thu Jun 11, 2009 7:54 pm

  • Quote

Post by SpiroPoulos89 » Thu Oct 01, 2009 12:28 am

OK.....

I now started mplayer with v4l2 like this

Code: Select all

LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer tv:// -tv driver=v4l2:device=/dev/video0
And it gave me a green screen just like cheese and cinelerra.

Here is the termin al output for mplayer with v4l2

Code: Select all

-tv driver=v4l2:device=/dev/video0 
MPlayer SVN-r29699-4.4.1 (C) 2000-2009 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: USB camera
 Capabilites:  video capture  read/write  streaming
 supported norms:
 inputs: 0 = sonixj;
 Current input: 0
 Current format: unknown (0x4745504a)
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: Cannot get fps
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Planar YV12 
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
v4l2: select timeout ??% ??,?% 0 0 
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
v4l2: select timeout ??% ??,?% 0 0 
libv4lconvert: Error decompressing JPEG: unknown huffman code: 0000ffff
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 6 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 6 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
libv4l2: error dequeuing buf: Invalid argument
v4l2: ioctl set mute failed: Invalid argument
v4l2: 20 frames successfully processed, 247 frames dropped.

Exiting... (Quit)
Anyone know whats wrong?

Thank You
Top
SpiroPoulos89
Apprentice
Apprentice
Posts: 188
Joined: Thu Jun 11, 2009 7:54 pm

  • Quote

Post by SpiroPoulos89 » Tue Oct 06, 2009 3:51 am

Anyone know what else is needed to get Microsoft Lifecam working in Gentoo??
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56104
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Fri Oct 09, 2009 5:53 pm

SpiroPoulos89,

This page tells how to set up your kernel and it looks like you have done that. Webcams that produce jpeg output are rare but becoming more common. The tend to work with very few video applications.

Google suggests that xawtv works so you may want to try that

Code: Select all

modinfo gspca_sonixj
may also show some module parameters you can pass the module when you load it.
This means it needs to be made as a <M> not built into <*> the kernel
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
SpiroPoulos89
Apprentice
Apprentice
Posts: 188
Joined: Thu Jun 11, 2009 7:54 pm

  • Quote

Post by SpiroPoulos89 » Sun Oct 11, 2009 7:31 pm

NeddySeagoon

Thanks for the reply

Sonix jpeg is compiled as a module and when I type modprobe gspca_sonixj It shows no error but still does not work. I still get a green screen.

I know it has the ability to work normally with cheese because in Ubuntu Jaunty I had it working perfectly, so there has to be some way.

Does anyone know how to make it work in gentoo??

Thank You
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56104
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Oct 12, 2009 7:06 pm

SpiroPoulos89,

Code: Select all

modinfo gspca_sonixj
not modprobe.

It will show you the options you can pass to the module at module load tiem.
Then you can try them out with

Code: Select all

modprobe -r gspca_sonixj
modprobe gspca_sonixj option=value
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
SpiroPoulos89
Apprentice
Apprentice
Posts: 188
Joined: Thu Jun 11, 2009 7:54 pm

  • Quote

Post by SpiroPoulos89 » Mon Oct 12, 2009 9:23 pm

NeddySeagoon

When I type "modinfo gspca_sonixj" I get the following results:

Code: Select all

modinfo gspca_sonixj
Password: 
filename:       /lib/modules/2.6.31-gentoo-r2/kernel/drivers/media/video/gspca/gspca_sonixj.ko
license:        GPL
description:    GSPCA/SONIX JPEG USB Camera Driver
author:         Michel Xhaard <mxhaard@users.sourceforge.net>
alias:          usb:v0C45p6143d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p613Ed*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p613Cd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p613Bd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p613Ad*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p6138d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p6130d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p612Ed*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p612Cd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p612Ad*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p6128d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p610Ed*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p610Cd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p610Bd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p610Ad*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p6100d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p60FEd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p60FCd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p60FBd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p60ECd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p60C0d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p607Cd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0C45p6040d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v06F8p3008d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v06F8p3004d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0330d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0328d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0327d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v045Ep00F7d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v045Ep00F5d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0458p702Ed*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0458p7025d*dc*dsc*dp*ic*isc*ip*
depends:        gspca_main,usbcore
vermagic:       2.6.31-gentoo-r2 SMP mod_unload modversions
I don't see any kind of option/value to load the module with.

Am I missing something?

Thank You
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56104
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Oct 13, 2009 5:44 pm

SpiroPoulos89,

Unfortunately not. Thats a list of supported cameras, other modules the module depends on and the version magic

Code: Select all

vermagic:       2.6.31-gentoo-r2 SMP mod_unload modversions
which is used to prevent the module loading with incompatible kernels.

There is one straw to grab at. Not all modules are SMP safe. you could try making a kernel with the SMP option off.
It may be a performance killer if you have a multi CPU/core box as only one CPU/core will be used.
If you only have a single CPU/core, your kernel will get smaller and there will be no bad effects, since you can't use SMP anyway.

You must start the build process with

Code: Select all

make clean 
as all of the kernel code will be changed to remove SMP support.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
SpiroPoulos89
Apprentice
Apprentice
Posts: 188
Joined: Thu Jun 11, 2009 7:54 pm

  • Quote

Post by SpiroPoulos89 » Tue Oct 13, 2009 11:18 pm

NeddySeagoon

I do have a multi cpu (Duo CPU) and I definately want to keep both cores functioning.

Hopefully smp support is not the problem because it would suck if I had to use only one core when I have two.

In Ubuntu I had the same problem And it was resolved with a kernel upgrade. I don't think the newer kernel was missing smp because I did not notice any performance decrease.

Can you think of anything else that may be the problem?

Thank You
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56104
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Oct 14, 2009 6:16 pm

SpiroPoulos89,

Try the same ubuntu kernel where it worked under Gentoo.
If you can reproduce that we can compare the ubuntu kernel setup and the ubuntu driver with the Gentoo ones.

Ubuntu may have some patches that Gentoo does not.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
SpiroPoulos89
Apprentice
Apprentice
Posts: 188
Joined: Thu Jun 11, 2009 7:54 pm

  • Quote

Post by SpiroPoulos89 » Thu Oct 15, 2009 2:43 pm

NeddySeagoon

I originally upgraded Ubuntu to kernel-2.6.29 but then found .deb packages for 2.6.30 and 2.6.31. I used them all with Ubuntu and they all worked with the Microsoft lifecam.

So maybe we can compare Ubuntu's .deb kernels to the current Gentoo kernel. In Gentoo I'm now using kernel 2.6.31-gentoo-r3.

Maybe I can run Ubuntu In a virtual machine and test the same kernel version for Ubuntu with my lifecam and we can compare the different kernels like that.

Would that help?

Thank You
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56104
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Thu Oct 15, 2009 7:32 pm

SpiroPoulos89,

You can unpick the kernel .deb file and install its parts to Gentoo, then boot it and attach you Gentoo root file system.
There may be a few issues along the way.

Code: Select all

emerge app-arch/deb2targz
and run it on the kernel deb file. It will create a targz which you can unpack with tar in the normal way and do with the contents as you like.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Post Reply

53 posts
  • 1
  • 2
  • 3
  • Next

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic