gentoo, grub rozlisenie, r5u870

Sekcia: Hardware a Drivery 01.08.2011 | 13:42
teiwaz   Návštevník
Caute, v poslednej dobe riesim dva problemy ale nedari sa mi s nimi pohnut. Gentoo forum som presiel skrz na skrz. Ale zatial bez neakeho vatsieho uspechu na vyriesenie mojho problemu.

Tak dufam ze komunita linuxos mi pomoze.

1, Snazim sa zmenit rozlisenie grubu na 1280x800, pripadne 1024x768. Teraz co mam rozlisenie je standartne.
V grube som pridal :
default 0
timeout 10
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz
splashimage=(hd0,0)/boot/grub/dark.xpm.gz

title Gentoo
root (hd0,0)
kernel /boot/kernel-2.6new real_root=/dev/sda2 video=uvesafb:1024x768-32,mtrr:3,ywrap, splash=silent,theme:natural_gentoo console=tty1
initrd /boot/gentoo
Zatial to nefunguje.

2. Problem cislo dva je moja webkamera..Mam notebook vaio sz2xp, kamera je tam
Bus 001 Device 003: ID 05ca:1830 Ricoh Co., Ltd Visual Communication Camera VGP-VCC2 [R5U870]
Pri instalacii ovladaca cez overlay sunrise
emerge r5u870
>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-video/r5u870-2.6.30 from vaio
 * r5u870_k2.6.30_i386.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                        [ ok ]
 * Package:    media-video/r5u870-2.6.30
 * Repository: vaio
 * USE:        elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   ccache sandbox
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.38-gentoo-r6/build
 * Found sources for kernel version:
 *     2.6.38-gentoo-r6
 * Checking for suitable kernel configuration options...
 *   CONFIG_VIDEO_V4L1_COMPAT:	 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/r5u870-2.6.30 failed (setup phase):
 *   Incorrect kernel configuration options
 * 
 * Call stack:
 *              ebuild.sh, line  56:  Called pkg_setup
 *   r5u870-2.6.30.ebuild, line  48:  Called linux-mod_pkg_setup
 *       linux-mod.eclass, line 593:  Called linux-info_pkg_setup
 *      linux-info.eclass, line 904:  Called check_extra_config
 *      linux-info.eclass, line 798:  Called die
 * The specific snippet of code:
 *   		die "Incorrect kernel configuration options"
 * 
 * If you need support, post the output of 'emerge --info =media-video/r5u870-2.6.30',
 * the complete build log and the output of 'emerge -pqv =media-video/r5u870-2.6.30'.
 * This ebuild is from an overlay named 'vaio': '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/media-video/r5u870-2.6.30/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/r5u870-2.6.30/temp/die.env'.
 * S: '/var/tmp/portage/media-video/r5u870-2.6.30/work/r5u870'

>>> Failed to emerge media-video/r5u870-2.6.30, Log file:

>>>  '/var/tmp/portage/media-video/r5u870-2.6.30/temp/build.log'

 * Messages for package media-video/r5u870-2.6.30:

 *   CONFIG_VIDEO_V4L1_COMPAT:	 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/r5u870-2.6.30 failed (setup phase):
 *   Incorrect kernel configuration options
 * 
 * Call stack:
 *              ebuild.sh, line  56:  Called pkg_setup
 *   r5u870-2.6.30.ebuild, line  48:  Called linux-mod_pkg_setup
 *       linux-mod.eclass, line 593:  Called linux-info_pkg_setup
 *      linux-info.eclass, line 904:  Called check_extra_config
 *      linux-info.eclass, line 798:  Called die
 * The specific snippet of code:
 *   		die "Incorrect kernel configuration options"
 * 
 * If you need support, post the output of 'emerge --info =media-video/r5u870-2.6.30',
 * the complete build log and the output of 'emerge -pqv =media-video/r5u870-2.6.30'.
 * This ebuild is from an overlay named 'vaio': '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/media-video/r5u870-2.6.30/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/r5u870-2.6.30/temp/die.env'.
 * S: '/var/tmp/portage/media-video/r5u870-2.6.30/work/r5u870'

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


Samozrejme viem co ta chyba znamena...Ale ako mam skompilovat CONFIG_VIDEO_V4L1_COMPAT ked to tam neni?
Tak som aspon skompiloval V4L2 v nadeji ze to pojde. Skusal som aj opatchovat kernel. Ale tiez neuspesne..
vaio # cat /usr/src/linux/.config | grep V4L1
vaio # cat /usr/src/linux/.config | grep V4L2
CONFIG_VIDEO_V4L2_COMMON=m
CONFIG_VIDEO_V4L2=m
vaio # 


    • Re: gentoo, grub rozlisenie, r5u870 01.08.2011 | 13:42
      teiwaz   Návštevník
      Su to drobne problemy, ale nedaju mi spat. Preto chcem poprosit ak by bol niekto ochotny pomoct.
      Linux vaio 2.6.38-gentoo-r6 #9 SMP Sun Jul 31 18:48:32 CEST 2011 i686 Genuine Intel(R) CPU T2500 @ 2.00GHz GenuineIntel GNU/Linux
      



      Dakujem
    • Re: gentoo, grub rozlisenie, r5u870 01.08.2011 | 15:15
      Avatar Dare_devil Debian, OpenSuse  Používateľ
      Na margo grubu:

      To co sa tam snazis nastavit je podla vsetkeho rozlisenie framebuffera a ten s grubom nema nic, alebo som na omyle?
      There is no flag large enough to cover the shame of killing innocent people
      • Re: gentoo, grub rozlisenie, r5u870 01.08.2011 | 19:21
        dash   Návštevník
        1. Nie si na omyle. Na druhu stranu GRUB podporuje high resolution background, asi to mysli kolega vyssie. Cize option je:

        GRUB_BACKGROUND=/home/dash/sexi_girl_background.jpg

        2. Treba zakompilovat do kernelu CONFIG_VIDEO_V4L1_COMPAT. Treba si pozriet v make menuconfig dependencies. Pravidelne sa mi stava, ze option nemam v configu. Staci ist do menuconfigu a tak si pozriet dependencies daneho modulu, poriesit a option sa zrazu ukaze...
        • Re: gentoo, grub rozlisenie, r5u870 01.08.2011 | 19:25
          dash   Návštevník
          2. Alebo ze by bol V4L1 deprecated a vyradeny? :)
          • Re: gentoo, grub rozlisenie, r5u870 02.08.2011 | 12:23
            teiwaz   Návštevník
            Ahoj, dakujem. Cital som v logu ze bol dany prec V4L1. Ale ako potom spojazdnim kameru ked to ona potrebuje ?
            DareDevil...Dik viem ze je to fb. Ono to to pekne funguje na boot splash. Ale chcem zmenit rozlisenie grubu a toho jeho obrazka. Mam grub1..
            • Re: gentoo, grub rozlisenie, r5u870 02.08.2011 | 18:17
              dash   Návštevník
              2. v tomto pripade asi downgrade jadra :(
              • Re: gentoo, grub rozlisenie, r5u870 02.08.2011 | 21:10
                teiwaz   Návštevník
                No to praveze nechcem, musim dojst na sposob ako to spravit aj takto. neni mozne aby jednoducha vec ako kamera nesla. To musi ist.
                • Re: gentoo, grub rozlisenie, r5u870 02.08.2011 | 23:40
                  WlaSaTy   Návštevník
                  Tento problém som si pozrel len veľmi zbežne. Ale neboli ovládače pre tú kameru už pridané do mainstreamu? Myslím, že by bolo vhodné pozrieť sa po baličku nástrojov ktoré do nej v rámci inicializácie napumpujú firmware.
                  • Re: gentoo, grub rozlisenie, r5u870 02.08.2011 | 23:56
                    teiwaz   Návštevník
                    Neviem co presne myslis.
                    • Re: gentoo, grub rozlisenie, r5u870 03.08.2011 | 12:35
                      WlaSaTy   Návštevník
                      google, jeden z relevantných výsledkov.