This is a discussion on Newby: Basic Kernel config and wireless keyboard question within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> What I have is a logitech wireless keyboard and mouse and the hub connects to a usb port. They ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| What I have is a logitech wireless keyboard and mouse and the hub connects to a usb port. They work fine with Suse linux. What i did was install kernel 2.4.24 and installed xfree. The keyboard worked fine all the way but i couldnt get the mouse to work, hence, no xfree. After going through tons of literature at Gentoo forums and the like, and manually configurring the kernel a thousand times and XF86 config another thousand times, i finally gave up even though at the forums, others had the same keyboard and mouse working without any difficulty. Their xfree config file didnt work with mine. So i gave up. I reinstalled gentoo with the "newest", " latest" and "greatest" kernel 2.6.1 and manually configured the kerne :-) The keyboard and the mouse don't work now :-( I havent install xfree yet. Without a keyboard and mouse it would be worthless :-/ So i reconfigured the kernel and placed an " * " or a " M " in every single, solitary, ( ) and [ ] that I could find in the kernel menuconfig and STILL no keyboard. Rats! "What the $%)*!@ over?", i said. My basic questions are 1.) when I open /usr/src/linux > menuconfig, some of the items listed there have a " * " already and some already have an "M" . If I follow the install directions, I'll place an " * " in a few other places, then save and exit. #make dep && make bzImage modules modules_install after completion #cp arch/i386/boot/bzImage /boot/kernel-2.6.1-gentoo-r1 #cp System.map /boot/System.map-2.6.1-gentoo-r1 #cp .config /boot/config-2.6.1-gentoo-r1 >>does the kernel configurer rewrite the >>previous configuration every time? and make a whole new set of modules? and >>does cp' ing to the /boot directory overwrite the >>previous arch, System and .config files with the newer configuration? 2.)Is there somewhere else i need to go to get my mouse and keyboard to work? Like some file someplace? or do i need to can gentoo all together? 3.) where can i go and get directions on just what is menuconfig doing with those " * " and "M" 's? Thanx for your patient reading and answering here... |
| |||
| lost @aol.com writes: > What I have is a logitech wireless keyboard and mouse and the hub > connects to a usb port. They work fine with Suse linux. If you still have the Suse installed you can figure out how they made it work: the kernel configuration and XF86Config files should be useable in gentoo with few modifications. > I reinstalled gentoo with the "newest", " latest" and "greatest" > kernel 2.6.1 and manually configured the kerne :-) > > The keyboard and the mouse don't work now :-( What are you using to test the mouse? > My basic questions are > > 1.) when I open /usr/src/linux > menuconfig, some of the items listed > there have a " * " already and some already have an "M" . If I > follow the install directions, I'll place an " * " in a few other > places, then save and exit. > > #make dep && make bzImage modules modules_install This is correct for 2.4.x but not for 2.6.x. All you need is: # make (this does everything including the 'dep' phase) # make install modules_install (make sure /boot is mounted first!!!) The second line renames the kernel and moves it to /boot for you and renames the previous kernel with a .old on the end so it is still available if your new kernel doesn't work. > > after completion > > #cp arch/i386/boot/bzImage /boot/kernel-2.6.1-gentoo-r1 > #cp System.map /boot/System.map-2.6.1-gentoo-r1 > #cp .config /boot/config-2.6.1-gentoo-r1 > > > >>does the kernel configurer rewrite the > >>previous configuration every time? and make a whole new set of modules? For kernel 2.6.x, yes > > and > > >>does cp' ing to the /boot directory overwrite the > >>previous arch, System and .config files with the newer configuration? Yes, unless you do cp -i (man cp). But see above. > 2.)Is there somewhere else i need to go to get my mouse and keyboard > to work? Like some file someplace? Check the .config file in your kernel source directory for the USB and HID sections first. There are items for USB keyboard and USB mouse drivers. Are they selected or not. If not, you need to repeat the make menuconfig step and select those (at least). > or do i need to can gentoo alltogether? No. Anything one distribution can do, they can all do once you know how it's done. > 3.) where can i go and get directions on just what is menuconfig doing > with those " * " and "M" 's? The kernel sources come with a built-in 'vanilla' configuration which will mostly work for a lot of people but should always be tailored to your own machine. That is why some items are already selected when you start. But always change what needs to be changed if it seems necessary. BTW, I would NOT build the USB/HID support as modules if you need them to boot the machine. Compile them into the kernel instead. |
| |||
| On 14 Feb 2004 07:14:32 -0800, walt <wa1ter@hotmail.com> wrote: >lost @aol.com writes: > >> What I have is a logitech wireless keyboard and mouse and the hub >> connects to a usb port. They work fine with Suse linux. > >If you still have the Suse installed you can figure out how they >made it work: the kernel configuration and XF86Config files should >be useable in gentoo with few modifications. > > >> I reinstalled gentoo with the "newest", " latest" and "greatest" >> kernel 2.6.1 and manually configured the kerne :-) >> >> The keyboard and the mouse don't work now :-( > >What are you using to test the mouse? The Mouse itself- it doesnt work. Keyboard too...hit a key, nothing happens. > > >> My basic questions are >> >> 1.) when I open /usr/src/linux > menuconfig, some of the items listed >> there have a " * " already and some already have an "M" . If I >> follow the install directions, I'll place an " * " in a few other >> places, then save and exit. >> >> #make dep && make bzImage modules modules_install > >This is correct for 2.4.x but not for 2.6.x. All you need is: > ># make (this does everything including the 'dep' phase) ># make install modules_install (make sure /boot is mounted first!!!) >The second line renames the kernel and moves it to /boot for you >and renames the previous kernel with a .old on the end so it is >still available if your new kernel doesn't work. > > >> >> after completion >> >> #cp arch/i386/boot/bzImage /boot/kernel-2.6.1-gentoo-r1 >> #cp System.map /boot/System.map-2.6.1-gentoo-r1 >> #cp .config /boot/config-2.6.1-gentoo-r1 >> >> >> >>does the kernel configurer rewrite the >> >>previous configuration every time? and make a whole new set of modules? > >For kernel 2.6.x, yes > >> >> and >> >> >>does cp' ing to the /boot directory overwrite the >> >>previous arch, System and .config files with the newer configuration? > >Yes, unless you do cp -i (man cp). But see above. > > >> 2.)Is there somewhere else i need to go to get my mouse and keyboard >> to work? Like some file someplace? > >Check the .config file in your kernel source directory for the USB and >HID sections first. There are items for USB keyboard and USB mouse >drivers. Are they selected or not. If not, you need to repeat the >make menuconfig step and select those (at least). Where is this kernel source directory? > > > 3.) where can i go and get directions on just what is menuconfig doing >> with those " * " and "M" 's? > >The kernel sources come with a built-in 'vanilla' configuration which >will mostly work for a lot of people but should always be tailored to >your own machine. That is why some items are already selected when >you start. But always change what needs to be changed if it seems >necessary. > >BTW, I would NOT build the USB/HID support as modules if you need >them to boot the machine. Compile them into the kernel instead. What I did in that USB/HID section is place an "M" instead of the " * " that was there. Is that what the difference is between having an " M " or an " * " there? That with an " * " they are compiled into the kernel instead of being modulated? |
| |||
| lost @aol.com writes: > On 14 Feb 2004 07:14:32 -0800, walt <wa1ter@hotmail.com> wrote: > >> I reinstalled gentoo with the "newest", " latest" and "greatest" > >> kernel 2.6.1 and manually configured the kerne :-) > >> > >> The keyboard and the mouse don't work now :-( > > > >What are you using to test the mouse? > > The Mouse itself- it doesnt work. Keyboard too...hit a key, nothing > happens. I meant since you haven't installed X yet are you using gpm (the character-mode mouse demon) or some other tool to see if the mouse is working without having X installed? > >Check the .config file in your kernel source directory for the USB and > >HID sections first. There are items for USB keyboard and USB mouse > >drivers. Are they selected or not. If not, you need to repeat the > >make menuconfig step and select those (at least). > > Where is this kernel source directory? You can install the kernel sources anywhere you want but the usual place is /usr/src/linux-2.x.x > >BTW, I would NOT build the USB/HID support as modules if you need > >them to boot the machine. Compile them into the kernel instead. > What I did in that USB/HID section is place an "M" instead of the " * > " that was there. Is that what the difference is between having an " > M " or an " * " there? That with an " * " they are compiled into the > kernel instead of being modulated? Right. So I would say change the mouse/keyboard support back to "*" so you don't need to worry about loading the modules during bootup, which is a bit tricky. And don't edit the .config file directly, use 'make menuconfig' to do the changes. |
| |||
| On 14 Feb 2004 11:34:46 -0800, walt <wa1ter@hotmail.com> wrote: >lost @aol.com writes: > >> On 14 Feb 2004 07:14:32 -0800, walt <wa1ter@hotmail.com> wrote: > >> >> I reinstalled gentoo with the "newest", " latest" and "greatest" >> >> kernel 2.6.1 and manually configured the kerne :-) >> >> >> >> The keyboard and the mouse don't work now :-( >> > >> >What are you using to test the mouse? >> >> The Mouse itself- it doesnt work. Keyboard too...hit a key, nothing >> happens. > >I meant since you haven't installed X yet are you using gpm (the >character-mode mouse demon) or some other tool to see if the mouse >is working without having X installed? > > > >> >Check the .config file in your kernel source directory for the USB and >> >HID sections first. There are items for USB keyboard and USB mouse >> >drivers. Are they selected or not. If not, you need to repeat the >> >make menuconfig step and select those (at least). >> >> Where is this kernel source directory? > > >You can install the kernel sources anywhere you want but the >usual place is /usr/src/linux-2.x.x > > > >> >BTW, I would NOT build the USB/HID support as modules if you need >> >them to boot the machine. Compile them into the kernel instead. > >> What I did in that USB/HID section is place an "M" instead of the " * >> " that was there. Is that what the difference is between having an " >> M " or an " * " there? That with an " * " they are compiled into the >> kernel instead of being modulated? > >Right. So I would say change the mouse/keyboard support back to "*" >so you don't need to worry about loading the modules during bootup, >which is a bit tricky. > >And don't edit the .config file directly, use 'make menuconfig' to >do the changes. Okay did that.. but i still dont have a keyboard and mouse. I need to be walked through this I think. I emerged gpm and i dont know how to use it though. It has a pid number! |
| |||
| lost @aol.com writes: > On 14 Feb 2004 11:34:46 -0800, walt <wa1ter@hotmail.com> wrote: > >Right. So I would say change the mouse/keyboard support back to "*" > >so you don't need to worry about loading the modules during bootup, > >which is a bit tricky. > Okay did that.. but i still dont have a keyboard and mouse. I need to > be walked through this I think. My problem is that I've never had a USB keyboard or USB mouse, so it's hard for me to help, other that the advice I've already given. I'm curious about one thing, anyway: when you first boot the machine you must be able to use the keyboard to select the operating system or edit the BIOS settings, right? How does the machine support your USB keyboard at that point? > I emerged gpm and i dont know how to use it though. It has a pid > number! You mean gpm is already running? As in, it appears in 'ps -ax'? If so, it must have been added to /etc/runlevels/default already. There is a config file in /etc/conf.d/gpm which you need to edit to suit your machine. The main problem is figuring out the mouse device. Do you see any mention of mice in dmesg? I think it is time for someone who has the hardware to step in and offer some advice on how to use it. Anyone? |
| |||
| On Sat, 14 Feb 2004 15:38:13 -0800, walt wrote: > lost @aol.com writes: > >> On 14 Feb 2004 11:34:46 -0800, walt <wa1ter@hotmail.com> wrote: > >> >Right. So I would say change the mouse/keyboard support back to "*" >> >so you don't need to worry about loading the modules during bootup, >> >which is a bit tricky. > >> Okay did that.. but i still dont have a keyboard and mouse. I need to >> be walked through this I think. > > My problem is that I've never had a USB keyboard or USB mouse, so it's > hard for me to help, other that the advice I've already given. > > I'm curious about one thing, anyway: when you first boot the machine > you must be able to use the keyboard to select the operating system or > edit the BIOS settings, right? How does the machine support your USB > keyboard at that point? Its in the BIOS... Interesting though, I installed off the gentoo disk without a hitch but when i rebooted into the new system, the keyboard dissappeared > > >> I emerged gpm and i dont know how to use it though. It has a pid >> number! > > You mean gpm is already running? As in, it appears in 'ps -ax'? > If so, it must have been added to /etc/runlevels/default already. > > There is a config file in /etc/conf.d/gpm which you need to edit > to suit your machine. The main problem is figuring out the mouse > device. Do you see any mention of mice in dmesg? > > I think it is time for someone who has the hardware to step in > and offer some advice on how to use it. Anyone? |
| |||
| George <george@linux.local> writes: > ...I installed off the gentoo disk > without a hitch but when i rebooted into the new system, the keyboard > dissappeared It must be simple to fix. If you can figure out what keyboard support the gentoo install disk offers then it's a simple matter to duplicate it on your hard disk. Perhaps you can reboot the install disk and try to look at dmesg output to see where the mouse is detected. Once again, do you see any mention of mice in dmesg when you boot from your hard disk? |
| |||
| On 14 Feb 2004 20:42:53 -0800, walt <wa1ter@hotmail.com> wrote: >George <george@linux.local> writes: > >> ...I installed off the gentoo disk >> without a hitch but when i rebooted into the new system, the keyboard >> dissappeared > >It must be simple to fix. If you can figure out what keyboard support >the gentoo install disk offers then it's a simple matter to duplicate >it on your hard disk. > >Perhaps you can reboot the install disk and try to look at dmesg >output to see where the mouse is detected. > >Once again, do you see any mention of mice in dmesg when you boot from your hard disk? Here's what I did After giving up on kernel 2.6.1 because i couldnt get either my logiteck wireless keyboard and mouse to work and not able to find enough help to get it going, i reinstalled everything from scratch again with the 2.4.24 kernel. I did this because on my 1st istall i used the 2.4.24 kernel and my keyboard worked but my mouse didnt. I thought 1/2 is better than nothing and i would do a little more work and perhaps something. well...both my keyboard and mouse are not working on the 2.4.24 kernel either. all the ochi, ehci ahci and anything with a remote "ci" at the end has been " * " in the manual kernel configurater along with all the "hid" things. the startup disk has no problem finding the mouse and keyboard it finds the mouse at /dev/input/mice but that file disappears after you install the system along with the /dev/mouse file. Or the /dev/mouse file has no mouse i dont know what. I use the keyboard to install the whole system my keyboard and mouse are wireless and they plug into a usb port. Suse linux has no problem with this setup but i dont know where to look for where suse has this keyboard and mouse set up at, nor do i know where to look in the kernel configuration for what is modulized to make them work Im a total newby im thinking there's not enough help out there on the gentoo side of things to make this work. Ive been everywhere someone please help me... thanx george |
| ||||
| lost @aol.com writes: > my keyboard and mouse are wireless and they plug into a usb port. > > Suse linux has no problem with this setup but i dont know where to > look for where suse has this keyboard and mouse set up at, nor do i > know where to look in the kernel configuration for what is modulized > to make them work... In Suse you might try lsmod to see what kernel modules are loaded. See if /dev/mouse points to anything. Also look in /etc/X11/XF86Config for the Input Device sections. If you have gpm running there may be a config file somewhere in /etc to look at. Also, much additional help is available through the gentoo forums at http://forums.gentoo.org |