Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Webcam stopped working after kernel update [Solved]
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
admasnd
n00b
n00b


Joined: 10 Apr 2009
Posts: 56

PostPosted: Sun May 17, 2009 12:50 am    Post subject: Webcam stopped working after kernel update [Solved] Reply with quote

I just recently upgraded my kernel from linux-2.6.27-gentoo-r8 to linux-2.6.28-gentoo-r5.
After rebooting my computer I noticed that the videodev module failed to load.
When I perform modprobe videodev, I receive the following message:
Code:

FATAL: Error inserting videodev (/lib/modules/2.6.28-gentoo-r5/kernel/drivers/media/video/videodev.ko): Invalid module format

Also, when running module-rebuild rebuild I run into errors while re-emerging media-video/linux-uvc-0.1.0_pre250.
Code:

make: *** [uvcvideo] Error 2
 *
 * ERROR: media-video/linux-uvc-0.1.0_pre250 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 3203:  Called linux-mod_src_compile
 *             environment, line 2462:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)"          CROSS_COMPILE=${CHOST}-                   LDFLAGS="$(get_abi_LDFLAGS)"                   ${BUILD_FIXES}       ${BUILD_PARAMS}                   ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=  KERNEL_DIR=/usr/src/linux 
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/temp/environment'.
 *

>>> Failed to emerge media-video/linux-uvc-0.1.0_pre250, Log file:

>>>  '/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/temp/build.log'

here is the /var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/temp/build.log:
[url]
http://rafb.net/p/nL8bTT49.html
[/url]
here is the ebuild environment file /var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/temp/environment:
[url]
http://rafb.net/p/qO5tow43.html
[/url]

Any help would be greatly appreciated.


Last edited by admasnd on Sun May 17, 2009 3:45 am; edited 1 time in total
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun May 17, 2009 2:40 am    Post subject: Reply with quote

Hi, you should use uvc inside the kernel.

Check this bugzilla : https://bugs.gentoo.org/show_bug.cgi?id=252553
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun May 17, 2009 2:43 am    Post subject: Reply with quote

Double check that you have this :

Code:

-> Device Drivers
  │ -> Multimedia devices
  │ -> Video capture adapters
  │ -> V4L USB devices
  │ -> USB Video Class (UVC)


Also, you may need these packages :

Code:

media-video/guvcview
media-video/linux-uvc
media-video/luvcview
Back to top
View user's profile Send private message
admasnd
n00b
n00b


Joined: 10 Apr 2009
Posts: 56

PostPosted: Sun May 17, 2009 3:24 am    Post subject: Reply with quote

d2_racing wrote:
Double check that you have this :

Code:

-> Device Drivers
  │ -> Multimedia devices
  │ -> Video capture adapters
  │ -> V4L USB devices
  │ -> USB Video Class (UVC)


Also, you may need these packages :

Code:

media-video/guvcview
media-video/linux-uvc
media-video/luvcview

I have those setting built in as a kernel.
Code:

Device Drivers -> Multimedia devices -> [*] Enable Video for Linux API 1
Device Drivers -> Multimedia devices -> [*] Video capture adapters -> [*] V4L USB Devices
OmniVision Camera Chip support

guview and luvcview are masked by ~X86 keyword. linux-uvc is the package that is giving me problems.
Back to top
View user's profile Send private message
admasnd
n00b
n00b


Joined: 10 Apr 2009
Posts: 56

PostPosted: Sun May 17, 2009 3:45 am    Post subject: Reply with quote

all of my previous settings needed to be configured as modules, not built into the kernel. Everthing works now. Thanks for your help.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun May 17, 2009 2:50 pm    Post subject: Reply with quote

No problem :P
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