Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Problema moduli kernel uvcvideo per webcam
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
stifler83
Apprentice
Apprentice


Joined: 22 Oct 2010
Posts: 161
Location: Rome

PostPosted: Wed Dec 22, 2010 2:43 am    Post subject: [RISOLTO] Problema moduli kernel uvcvideo per webcam Reply with quote

Salve a tutti, eccovi un nuovo questito: volevo compilare i moduli per la mia cam quando sono incappato in questo problema, eseguendo
Code:

emerge -v media-video/linux-uvc

* Checking for suitable kernel configuration options...
 *  [u] CONFIG_VIDEO_DEV:   is not set when it should be.[/u]
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Once you have satisfied these options, please try merging
 * this package again.
 * ERROR: media-video/linux-uvc-0.1.0_pre250 failed:
 *   Incorrect kernel configuration options
 *
 * Call stack:
 *                       ebuild.sh, line  47:  Called pkg_setup
 *   linux-uvc-0.1.0_pre250.ebuild, line  24:  Called linux-mod_pkg_setup
 *                linux-mod.eclass, line 585:  Called linux-info_pkg_setup
 *               linux-info.eclass, line 905:  Called check_extra_config
 *               linux-info.eclass, line 799:  Called die
 * The specific snippet of code:
 *              die "Incorrect kernel configuration options"
 *
 * If you need support, post the output of 'emerge --info =media-video/linux-uvc-0.1.0_pre250',
 * the complete build log and the output of 'emerge -pqv =media-video/linux-uvc-0.1.0_pre250'.
 * The 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/die.env'.
 * S: '/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250'

>>> 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'

 * Messages for package media-video/linux-uvc-0.1.0_pre250:

 *   CONFIG_VIDEO_DEV:   is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Once you have satisfied these options, please try merging
 * this package again.
 * ERROR: media-video/linux-uvc-0.1.0_pre250 failed:
 *   Incorrect kernel configuration options
 *
 * Call stack:
 *                       ebuild.sh, line  47:  Called pkg_setup
 *   linux-uvc-0.1.0_pre250.ebuild, line  24:  Called linux-mod_pkg_setup
 *                linux-mod.eclass, line 585:  Called linux-info_pkg_setup
 *               linux-info.eclass, line 905:  Called check_extra_config
 *               linux-info.eclass, line 799:  Called die
 * The specific snippet of code:
 *              die "Incorrect kernel configuration options"
 *
 * If you need support, post the output of 'emerge --info =media-video/linux-uvc-0.1.0_pre250',
 * the complete build log and the output of 'emerge -pqv =media-video/linux-uvc-0.1.0_pre250'.
 * The 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/die.env'.
 * S: '/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250'

Come consigliato dall'errore vado subito a controllare nel .config del kernel ma non riesco a trovare CONFIG_VIDEO_DEV. Idee?
P.S. Il mio kernel si trova alla versione 2.6.36-r5 ;)


Last edited by stifler83 on Sun Dec 26, 2010 10:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4657
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Wed Dec 22, 2010 5:53 am    Post subject: Reply with quote

ti serve il modulo v4L (video for linux) in multimedia.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
stifler83
Apprentice
Apprentice


Joined: 22 Oct 2010
Posts: 161
Location: Rome

PostPosted: Thu Dec 23, 2010 2:38 am    Post subject: Reply with quote

Ho compilato i v4l come da te suggerito e piu precisamente
Code:
Enable Video For Linux API 1 compatible Layer (VIDEO_V4L1_COMPAT)

dopo ho lanciato la compilazione di linux-uvc
Code:
emerge -v linux-uvc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-video/linux-uvc-0.1.0_pre250  0 kB

Total: 1 package (1 new), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-video/linux-uvc-0.1.0_pre250
 * linux-uvc-0.1.0_pre250.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                [ ok ]
 * CPV:  media-video/linux-uvc-0.1.0_pre250
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.36-gentoo-r5
 * Checking for suitable kernel configuration options...
 *   CONFIG_VIDEO_DEV:   is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Once you have satisfied these options, please try merging
 * this package again.
 * ERROR: media-video/linux-uvc-0.1.0_pre250 failed:
 *   Incorrect kernel configuration options
 *
 * Call stack:
 *                       ebuild.sh, line  47:  Called pkg_setup
 *   linux-uvc-0.1.0_pre250.ebuild, line  24:  Called linux-mod_pkg_setup
 *                linux-mod.eclass, line 585:  Called linux-info_pkg_setup
 *               linux-info.eclass, line 905:  Called check_extra_config
 *               linux-info.eclass, line 799:  Called die
 * The specific snippet of code:
 *              die "Incorrect kernel configuration options"
 *
 * If you need support, post the output of 'emerge --info =media-video/linux-uvc-0.1.0_pre250',
 * the complete build log and the output of 'emerge -pqv =media-video/linux-uvc-0.1.0_pre250'.
 * The 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/die.env'.
 * S: '/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250'

>>> 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'

 * Messages for package media-video/linux-uvc-0.1.0_pre250:

 *   CONFIG_VIDEO_DEV:   is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Once you have satisfied these options, please try merging
 * this package again.
 * ERROR: media-video/linux-uvc-0.1.0_pre250 failed:
 *   Incorrect kernel configuration options
 *
 * Call stack:
 *                       ebuild.sh, line  47:  Called pkg_setup
 *   linux-uvc-0.1.0_pre250.ebuild, line  24:  Called linux-mod_pkg_setup
 *                linux-mod.eclass, line 585:  Called linux-info_pkg_setup
 *               linux-info.eclass, line 905:  Called check_extra_config
 *               linux-info.eclass, line 799:  Called die
 * The specific snippet of code:
 *              die "Incorrect kernel configuration options"
 *
 * If you need support, post the output of 'emerge --info =media-video/linux-uvc-0.1.0_pre250',
 * the complete build log and the output of 'emerge -pqv =media-video/linux-uvc-0.1.0_pre250'.
 * The 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/die.env'.
 * S: '/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250'

Il risultato non cambia
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Thu Dec 23, 2010 3:05 am    Post subject: Reply with quote

stifler83 wrote:
* CONFIG_VIDEO_DEV: is not set when it should be.
manca ancora qualsa nella configurazione del kernel
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
stifler83
Apprentice
Apprentice


Joined: 22 Oct 2010
Posts: 161
Location: Rome

PostPosted: Thu Dec 23, 2010 3:42 am    Post subject: Reply with quote

si quello lo avevo notato, ma non riesco a capire cosa
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4657
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Thu Dec 23, 2010 6:57 am    Post subject: Reply with quote

stifler83 wrote:
Ho compilato i v4l come da te suggerito e piu precisamente
Code:
Enable Video For Linux API 1 compatible Layer (VIDEO_V4L1_COMPAT)


quindi, adesso dovresti stare così:
Code:

s939 linux # grep CONFIG_VIDEO_DEV .config
CONFIG_VIDEO_DEV=m

credo che basti.
il pacchetto che stai compilando dovebbe essere deprecato, perché serve proprio a installare quei driver che, adesso, sono inclusi nel kernel.

io non ce l'ho, ma cheese funziona lo stesso.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
ago
Developer
Developer


Joined: 01 Mar 2008
Posts: 1518
Location: Cosenza, Italy

PostPosted: Thu Dec 23, 2010 1:13 pm    Post subject: Reply with quote

cloc3 wrote:
il pacchetto che stai compilando dovebbe essere deprecato, perché serve proprio a installare quei driver che, adesso, sono inclusi nel kernel.


Come dice appunto clocm, sono deprecati, prova a marcare i driver direttamente nel kernel ;)
_________________
Contattami se vuoi contribuire in:
-Arch tester
-Chromium tester
-Traduzione doc. it
-Security
Back to top
View user's profile Send private message
stifler83
Apprentice
Apprentice


Joined: 22 Oct 2010
Posts: 161
Location: Rome

PostPosted: Sun Dec 26, 2010 12:08 am    Post subject: Reply with quote

ok guardo nel config nel kerne,l magari ho saltato qualcosa, ma non mi pare.
Back to top
View user's profile Send private message
stifler83
Apprentice
Apprentice


Joined: 22 Oct 2010
Posts: 161
Location: Rome

PostPosted: Sun Dec 26, 2010 9:58 pm    Post subject: Reply with quote

ok ho passato l'errore ma giustamente non poteva non riproporsene uno nuovo :)
Code:
emerge -v linux-uvc
...
...
...
make[2]: *** [/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250/uvc_driver.o] Error 1
make[1]: *** [_module_/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.36-gentoo-r5'
make: *** [uvcvideo] Error 2
 * ERROR: media-video/linux-uvc-0.1.0_pre250 failed:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  KERNEL_DIR=/usr/src/linux 
 *
 * Call stack:
 *     ebuild.sh, line   47:  Called src_compile
 *   environment, line 3538:  Called linux-mod_src_compile
 *   environment, line 2714:  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}";
 *
 * If you need support, post the output of 'emerge --info =media-video/linux-uvc-0.1.0_pre250',
 * the complete build log and the output of 'emerge -pqv =media-video/linux-uvc-0.1.0_pre250'.
 * The 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'.
 * S: '/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250'

>>> 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'

 * Messages for package media-video/linux-uvc-0.1.0_pre250:

 * ERROR: media-video/linux-uvc-0.1.0_pre250 failed:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  KERNEL_DIR=/usr/src/linux 
 *
 * Call stack:
 *     ebuild.sh, line   47:  Called src_compile
 *   environment, line 3538:  Called linux-mod_src_compile
 *   environment, line 2714:  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}";
 *
 * If you need support, post the output of 'emerge --info =media-video/linux-uvc-0.1.0_pre250',
 * the complete build log and the output of 'emerge -pqv =media-video/linux-uvc-0.1.0_pre250'.
 * The 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'.
 * S: '/var/tmp/portage/media-video/linux-uvc-0.1.0_pre250/work/linux-uvc-0.1.0_pre250'

Idee? :)
Back to top
View user's profile Send private message
stifler83
Apprentice
Apprentice


Joined: 22 Oct 2010
Posts: 161
Location: Rome

PostPosted: Sun Dec 26, 2010 10:16 pm    Post subject: Reply with quote

ok ho risolto :) effettivamente la soluzione è all'interno del kernel, ho spuntato una cosa che non avevo notato prima aver abilitato e mi si sono presentati varie opzioni che prima non avevo a disposizione. Si ricompila, si installano i moduli ed il gioco è fatto. :) Grazie a tutti
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Dec 27, 2010 2:31 pm    Post subject: Reply with quote

Non so se sei novizio e quanto ma intuisco che ti sei affannato a configurare il kernel usando un make config (orrore e raccapriccio) o menuconfig/gconfig.
La prossima volta fai uso dell'opzione --xconfig con genkernel o di make xconfig ( basato su QT :mrgreen: draghi 1 scimmie 0 e palla al centro 8) ).
Vai alla funzione find e trovi l'opzione che ti serve senza ammattire (e ti viene anche visualizzata a fianco della definizione nei submenu).

I tizi che fanno i fighi con la citazione diretta di CONFIG_vattelappesca nei forum in realtà fanno così. :wink:
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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