LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-09-2004, 02:46 AM   #1
chili_666
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
Kernel 2.6.8 - No USB-Keyboard and mouse


Hey there,

I am new to this board and rather new to Linux as well...

I am running Debian Sarge on a Shuttle XPC. The Chipset for the motherboard is SiS651/962.

Now, being the old childish me, I tried to tinker around with Bluetooth and Wlan a bit...

All needed for this was a new kernel. So I got me the the 2.6.8 kernel-sources via apt-get ...

I did make menuconfig, loaded my old config for the 2.4.26 kernel, which comes with sarge, and played around with the settings for bluetooth an wlan.

Also I applied the a bootsplash-patch and made the necessary choices to get the splash-screen up and running.

I then compiled the kernel with make-kpkg and installed it with dpkg -i. Small changes to grub´s menu.lst and I was ready to reboot.

So, the machine reboots, a little Tux is sitting in the upper lefthand corner of the screen, it brings up xdm and everything is looking fine. But neither my usb-keyboard nor my usb-mouse are doing anything.

I then booted the old kernel again and tried various settings. With USB 2.0 support, without, as modules and whatever. I must at least have recompiled the kernel 20 times and tried every setting that looked like it had something to do with usb input devices...

I even tried it with out any APIC support and added noapic to the kernel entry in the menu.lst. And I turned off the power-management support an the mainboard. I got that advice from another board....

But it did not help anything. Whenever I boot up the 2.6.8 kernel I do not have a mouse or keyboard. Also the kernel doesn´t show me the full boot sequence. At sometime it just stops printing messages and just sits there with hdd-led flashing. After a short while xdm is coming up...

The problem is I only have the usb input devices. So I can´t even look into any logs or anything, to see if its brinig up usb-support at all or try loading any modules...

So, what am I doing wrong?
Should I just use different kernel?
Or am I missing something?
Any takers?

Thanks for your help in advance...

Chili
P.S. If anything I am asking is very stupid, pease remember I am quite a and this is the first kernel that I am trying to compile....
 
Old 09-09-2004, 03:39 AM   #2
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Transition from 2.4 to 2.6 is very tricky. To avoid that I simply used a pre-compiled kernel, this way you only have to look at which modules to load instead of messing with menuconfig. Onces everything works again you can safely use the new config file to compile a new 2.6 kernel.

For the keyboard: usbkbd
Mouse: usbmouse

Installing the discover package can also point you to the right direction. Have it autodetect once or twice and then configure your system manually accordingly (and remove discover again).
 
Old 09-09-2004, 07:06 AM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Also I see no mention of you having done mkdir /sys and put this in your /etc/fstab to be mounting the new sysfs that is used with a 2.6 kernel.

Code:
## Needed for kernel 2.6
none            /sys            sysfs   defaults                0       0
 
Old 09-09-2004, 07:33 AM   #4
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
I used a precompiled kernel to test, then copied its configuration file over as a starting point for configuring my own kernel. I described how I upgraded here: http://www.linuxquestions.org/questi...hreadid=206992

I noticed that I forgot to put the required fstab changes in the above post as happytux said above, so I am going to fix it. I also added the line
Quote:
none /sys sysfs defaults 0 0
to fstab.
 
Old 09-09-2004, 07:48 AM   #5
chili_666
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks everyone....

I´ll try it out as soons as can get away from work...

@ happytux

Thanks. I wouldn´t even have known that I am supposed to change my fstab

@m_yates

Great how to. I ran into it couple of minutes before you posted here. It was on page <indon´tknowhowfarback> might be a good idea to make it a sticky topic.

Chili
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Keyboard and Mouse flint Linux - Hardware 4 04-18-2005 04:05 PM
My USB keyboard and mouse no work in kernel 2.6+ (Debian) 0x86 Linux - Software 5 08-01-2004 12:22 PM
New kernel won't recognize my USB mouse and keyboard R00ts Linux - Software 5 07-20-2004 02:41 AM
No USB Mouse or USB Keyboard after Shutdown ooliquidice Linux - Hardware 3 10-09-2003 02:05 PM
USB mouse, keyboard, hid, console mouse problems jqcaducifer Linux - General 1 08-05-2003 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration