* [gentoo-user] install gentoo 2005.0 @ 2005-10-07 6:05 张 勇顺 2005-10-07 7:03 ` Heinz Sporn 0 siblings, 1 reply; 5+ messages in thread From: 张 勇顺 @ 2005-10-07 6:05 UTC (permalink / raw To: gentoo-user hi yestoday to today i am spend two days to install gentoo 2005.0 and see the hand man but when i am install it i am see what modules were load with lsmod but i can't see anyting is modules and i ues modprobe lsmod can't see somemodules i don't know how to do that if i must rc-update add ....?or other i am uses logitech USB mouse and uses well in debian starge but can't driverd in gentoo i am try to uses the same driver with starge and ues "auto" but can't driverd mouse ether i am emerge fvwm and x.org thank you ___________________________________________________________ 雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱 http://cn.mail.yahoo.com -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] install gentoo 2005.0 2005-10-07 6:05 [gentoo-user] install gentoo 2005.0 张 勇顺 @ 2005-10-07 7:03 ` Heinz Sporn 2005-10-07 9:25 ` 回复: " 张 勇顺 0 siblings, 1 reply; 5+ messages in thread From: Heinz Sporn @ 2005-10-07 7:03 UTC (permalink / raw To: gentoo-user Am Freitag, den 07.10.2005, 14:05 +0800 schrieb 张 勇顺: > hi > yestoday to today i am spend two days to install > gentoo 2005.0 and see the hand man but when i am > install it > i am see what modules were load with lsmod > but i can't see anyting is modules and > i ues modprobe > lsmod can't see somemodules i don't know how to do > that lsmod will not show modules that have been compiled into the kernel. Is it that you are looking for? > if i must rc-update add ....?or other i am uses > logitech USB mouse and uses well in debian starge but > can't driverd in gentoo i am try to uses the same > driver with starge and ues "auto" but can't driverd > mouse ether > i am emerge fvwm and x.org I am not quite sure what exactly your problem is - so sorry for guessing: For any USB input device you'll just need kernel support. Look into /Drivers/USB Support. You'll propably want support for EHCI, OHCI and UHCI. Assuming you enabled that in your kernel you'll have to tell X to use your Logitech mouse by defining something in /etc/X/xorg.conf like: Section "InputDevice" Identifier "MyMouse" Driver "mouse" Option "Protocol" "IMPS/2" Option "Name" "ConfigRead" Option "Device" "/dev/input/mice" Option "Vendor" "ConfigRead" Option "Buttons" "3" Option "ZAxisMapping" "4 5" EndSection and add that to your ServerLayout section: Section "ServerLayout" Identifier "MyLayout" Screen "MyScreen" InputDevice "MyMouse" "CorePointer" InputDevice "MyKeyboard" "CoreKeyboard" EndSection That's a rather generic setting that works for most USB mice. > thank you > > > > > > > > > ___________________________________________________________ > 雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱 > http://cn.mail.yahoo.com > -- Mit freundlichen Grüßen Heinz Sporn SPORN it-freelancing Mobile: ++43 (0)699 / 127 827 07 Email: heinz.sporn@sporn-it.com heinz.sporn@utanet.at Website: http://www.sporn-it.com Snail: Steyrer Str. 20 A-4540 Bad Hall Austria / Europe -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 5+ messages in thread
* 回复: Re: [gentoo-user] install gentoo 2005.0 2005-10-07 7:03 ` Heinz Sporn @ 2005-10-07 9:25 ` 张 勇顺 2005-10-07 10:48 ` [gentoo-user] " Holly Bostick 0 siblings, 1 reply; 5+ messages in thread From: 张 勇顺 @ 2005-10-07 9:25 UTC (permalink / raw To: gentoo-user [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset=gb2312, Size: 3053 bytes --] --- Heinz Sporn <heinz.sporn@sporn-it.com>дµÀ: > Am Freitag, den 07.10.2005, 14:05 +0800 schrieb å¼ > å顺: > > hi > > yestoday to today i am spend two days to > install > > gentoo 2005.0 and see the hand man but when i am > > install it > > i am see what modules were load with lsmod > > but i can't see anyting is modules and > > i ues modprobe > > lsmod can't see somemodules i don't know how to do > > that > > lsmod will not show modules that have been compiled > into the kernel. Is > it that you are looking for? > > > if i must rc-update add ....?or other i am uses > > logitech USB mouse and uses well in debian starge > but > > can't driverd in gentoo i am try to uses the same > > driver with starge and ues "auto" but can't > driverd > > mouse ether > > i am emerge fvwm and x.org > > I am not quite sure what exactly your problem is - > so sorry for > guessing: > > For any USB input device you'll just need kernel > support. Look > into /Drivers/USB Support. You'll propably want > support for EHCI, OHCI > and UHCI. Assuming you enabled that in your kernel > you'll have to tell X > to use your Logitech mouse by defining something in > /etc/X/xorg.conf > like: > > Section "InputDevice" > Identifier "MyMouse" > Driver "mouse" > > Option "Protocol" "IMPS/2" > Option "Name" "ConfigRead" > Option "Device" "/dev/input/mice" > Option "Vendor" "ConfigRead" > Option "Buttons" "3" > Option "ZAxisMapping" "4 5" > EndSection > > and add that to your ServerLayout section: > > Section "ServerLayout" > Identifier "MyLayout" > Screen "MyScreen" > InputDevice "MyMouse" "CorePointer" > InputDevice "MyKeyboard" "CoreKeyboard" > EndSection > > That's a rather generic setting that works for most > USB mice. > > > thank you > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > é èå è´¹Gé®ç®±ï¼ä¸å½ç¬¬ä¸€ç»æ åå¾é®ä»¶éªæ°è¶ 大é®ç®± > > > http://cn.mail.yahoo.com > > > -- > Mit freundlichen GrüÃen > > Heinz Sporn > > SPORN it-freelancing > > Mobile: ++43 (0)699 / 127 827 07 > Email: heinz.sporn@sporn-it.com > heinz.sporn@utanet.at > Website: http://www.sporn-it.com > Snail: Steyrer Str. 20 > A-4540 Bad Hall > Austria / Europe > > -- > gentoo-user@gentoo.org mailing list > > now i am went to gentoo and modprobe ehci-hcd nwo can uses mouse and install discover rc-update add modules default but always can't load any modules when system starting and lsmod can't see any modules ___________________________________________________________ ÑÅ»¢Ãâ·ÑGÓÊÏä£ÖйúµÚÒ»¾øÎÞÀ¬»øÓʼþɧÈų¬´óÓÊÏä http://cn.mail.yahoo.com -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: 回复: Re: [gentoo-user] install gentoo 2005.0 2005-10-07 9:25 ` 回复: " 张 勇顺 @ 2005-10-07 10:48 ` Holly Bostick 2005-10-07 12:14 ` 回复: " 张 勇顺 0 siblings, 1 reply; 5+ messages in thread From: Holly Bostick @ 2005-10-07 10:48 UTC (permalink / raw To: gentoo-user 张 勇顺 schreef: > --- Heinz Sporn <heinz.sporn@sporn-it.com>写道: > >> Am Freitag, den 07.10.2005, 14:05 +0800 schrieb 寮 鍕囬『: >> >>> hi yestoday to today i am spend two days to install >>> gentoo 2005.0 and see the hand man but when i am install it i am >>> see what modules were load with lsmod but i can't see anyting is >>> modules and i ues modprobe lsmod can't see somemodules i don't >>> know how to do that >> >> lsmod will not show modules that have been compiled into the >> kernel. Is it that you are looking for? >> >>> if i must rc-update add ....?or other i am uses logitech USB >>> mouse and uses well in debian starge but >>> can't driverd in gentoo i am try to uses the same driver with >>> starge and ues "auto" but can't driverd >>> mouse ether i am emerge fvwm and x.org >> >> I am not quite sure what exactly your problem is - so sorry for >> guessing: >> >> For any USB input device you'll just need kernel support. Look into >> /Drivers/USB Support. You'll propably want support for EHCI, OHCI >> and UHCI. >> <snip> > > now i am went to gentoo and modprobe ehci-hcd nwo can uses mouse and > install discover rc-update add modules default but always can't load > any modules when system starting and lsmod can't see any modules How did you compile your kernel? It would seem that your problem is related to the fact that some of your needed drivers are compiled as modules and some are not. As Heinz said, 'drivers' compiled statically into the kernel will *not* be visible via lsmod (only 'drivers' compiled as loadable modules are visible). I have many questions about your setup: 1) why do you have rc-update modules default (rather than rc-update modules boot)? I would suspect that the default runlevel may be too late in the boot process for the modules you're trying to load,. 2) 'always can't load any modules when system starting'-- how precisely are you trying to load said modules? Are they in fact modules (or statically compiled)? What do you have in /etc/modules.autoload.d/kernel-2.6 (I assume you're using a 2.6-series kernel)? At least ehci-hcd should be listed there in order to load it during boot (or you could just statically compile it into the kernel, to avoid this). 3) just because modules are not listed in lsmod, does not mean they are not loaded and working. As said previously, modules that are statically compiled into the kernel do not appear in lsmod, but if the hardware requiring said modules is detected during the hardware detection phase of the boot process, the module will be loaded to support it. My USB mouse works fine this way (ehci-hcd is compiled into the kernel, when the usb mouse is detected, the kernel module is loaded), although I cannot see the module in lsmod (because the module is not loadable). Other than the mouse, which we've solved (add ehci-hcd to /etc/modules.autoload.d/kernel-2.6), what other kernel modules are not working as you expect (*not* whether you see them in lsmod or not, what actually *does not work*)? Once you have determined what modules are not loading, you can then check your kernel config to see whether they are loadable modules or statically compiled, and if loadable, add them to /etc/modules.autoload.d/kernel-2.6, which should load them automatically for you at boot. If statically compiled, but not loading at boot, there are two possibilities I can think of: 1) wrong module for the hardware; 2) you do not have 'Automatic kernel module loading' set in your kernel (Loadable Module Support => Automatic kernel module loading= Y) HTH, Holly -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 5+ messages in thread
* 回复: [gentoo-user] Re: 回复: Re: [gentoo-user] install gentoo 2005.0 2005-10-07 10:48 ` [gentoo-user] " Holly Bostick @ 2005-10-07 12:14 ` 张 勇顺 0 siblings, 0 replies; 5+ messages in thread From: 张 勇顺 @ 2005-10-07 12:14 UTC (permalink / raw To: gentoo-user [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset=gb2312, Size: 4868 bytes --] i --- Holly Bostick <motub@planet.nl>дµÀ: > å¼ å顺 schreef: > > --- Heinz Sporn <heinz.sporn@sporn-it.com>åé: > > > >> Am Freitag, den 07.10.2005, 14:05 +0800 schrieb > å¯\x7f éå¬ã\x7f: > >> > >>> hi yestoday to today i am spend two days to > install > >>> gentoo 2005.0 and see the hand man but when i am > install it i am > >>> see what modules were load with lsmod but i > can't see anyting is > >>> modules and i ues modprobe lsmod can't see > somemodules i don't > >>> know how to do that > >> > >> lsmod will not show modules that have been > compiled into the > >> kernel. Is it that you are looking for? > >> > >>> if i must rc-update add ....?or other i am uses > logitech USB > >>> mouse and uses well in debian starge but > >>> can't driverd in gentoo i am try to uses the > same driver with > >>> starge and ues "auto" but can't driverd > >>> mouse ether i am emerge fvwm and x.org > >> > >> I am not quite sure what exactly your problem is > - so sorry for > >> guessing: > >> > >> For any USB input device you'll just need kernel > support. Look into > >> /Drivers/USB Support. You'll propably want > support for EHCI, OHCI > >> and UHCI. > >> <snip> > > > > now i am went to gentoo and modprobe ehci-hcd nwo > can uses mouse and > > install discover rc-update add modules default > but always can't load > > any modules when system starting and lsmod can't > see any modules > > How did you compile your kernel? It would seem that > your problem is > related to the fact that some of your needed drivers > are compiled as > modules and some are not. > > As Heinz said, 'drivers' compiled statically into > the kernel will *not* > be visible via lsmod (only 'drivers' compiled as > loadable modules are > visible). > > I have many questions about your setup: > > 1) why do you have rc-update modules default (rather > than rc-update > modules boot)? I would suspect that the default > runlevel may be too late > in the boot process for the modules you're trying to > load,. > > 2) 'always can't load any modules when system > starting'-- how precisely > are you trying to load said modules? Are they in > fact modules (or > statically compiled)? What do you have in > /etc/modules.autoload.d/kernel-2.6 (I assume you're > using a 2.6-series > kernel)? At least ehci-hcd should be listed there in > order to load it > during boot (or you could just statically compile it > into the kernel, to > avoid this). > > 3) just because modules are not listed in lsmod, > does not mean they are > not loaded and working. As said previously, modules > that are statically > compiled into the kernel do not appear in lsmod, but > if the hardware > requiring said modules is detected during the > hardware detection phase > of the boot process, the module will be loaded to > support it. My USB > mouse works fine this way (ehci-hcd is compiled into > the kernel, when > the usb mouse is detected, the kernel module is > loaded), although I > cannot see the module in lsmod (because the module > is not loadable). > Other than the mouse, which we've solved (add > ehci-hcd to > /etc/modules.autoload.d/kernel-2.6), what other > kernel modules are not > working as you expect (*not* whether you see them in > lsmod or not, what > actually *does not work*)? > > Once you have determined what modules are not > loading, you can then > check your kernel config to see whether they are > loadable modules or > statically compiled, and if loadable, add them to > /etc/modules.autoload.d/kernel-2.6, which should > load them automatically > for you at boot. If statically compiled, but not > loading at boot, there > are two possibilities I can think of: > > 1) wrong module for the hardware; > > 2) you do not have 'Automatic kernel module loading' > set in your kernel > (Loadable Module Support => Automatic kernel module > loading= Y) > > HTH, > Holly > -- > gentoo-user@gentoo.org mailing list > > I am compile kernel three times and uses "make defconfig make menuconfig make make modules_install" that i did't reduce any "M" OR "Y" but i am add some thing "requiring said modules is detected during the hardware detection phase" you said that but i uses usb mouse the modules is not load ? if i am uses "modprobe " the mouse is work well i think anyone harve compile driver in kernel some of them must is modules one time i think to know if i compile all of them in kernel , what is the condition ? i am try to compile all the driver in kernel that is very bad ___________________________________________________________ ÑÅ»¢Ãâ·ÑGÓÊÏä£ÖйúµÚÒ»¾øÎÞÀ¬»øÓʼþɧÈų¬´óÓÊÏä http://cn.mail.yahoo.com -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-10-07 12:21 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-10-07 6:05 [gentoo-user] install gentoo 2005.0 张 勇顺 2005-10-07 7:03 ` Heinz Sporn 2005-10-07 9:25 ` 回复: " 张 勇顺 2005-10-07 10:48 ` [gentoo-user] " Holly Bostick 2005-10-07 12:14 ` 回复: " 张 勇顺
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox