Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-16-2006, 05:07 AM
|
#1
|
Member
Registered: Dec 2005
Distribution: Trisquel 7.0
Posts: 31
Rep:
|
USB Keyboards
Hi there. I've built a few LFS systems before, but now I have a problem.
I'm building a CLFS system for AMD64, and everything goes fine until the reboot - after which I can no longer use my USB keyboard.
The same applies to the Boot CDs - I can't use them because my USB keyboard doesn't work. Do I have to buy a PS2 keyboard, or is there some way to get mine working? I'd imagine I have to enable or install something before the reboot in order to get it working.
In case it helps, it's an Apple Pro Keyboard.
Any help much appreciated, thanks.
|
|
|
01-17-2006, 05:00 PM
|
#2
|
Member
Registered: Sep 2004
Location: Japan
Distribution: RHEL9.4
Posts: 735
Rep: 
|
I have seen that same problem on some dell machines using only usb for keyboards and mice when running knoppix. If you can get a ps/2 connector this problem would just magically dissapear yes, that is the easy way out. This has something to do with the way the kernel accepts connections to the usb devices by using the usb module. I am sure there must be a way to configure it to load the usb keyboard before anthing else but I am not sure how this would be done.
|
|
|
01-17-2006, 06:47 PM
|
#3
|
Member
Registered: Aug 2005
Location: Under the rainbow
Distribution: LFS 7, CentOS 7, OS X
Posts: 119
Rep:
|
Many keyboards and mice come with a usb to ps2 adapter. If you don't have one, check a local repair shop, they may let you have one for little or no cost.
Jeff
|
|
|
01-18-2006, 08:10 AM
|
#4
|
Member
Registered: Dec 2005
Distribution: Trisquel 7.0
Posts: 31
Original Poster
Rep:
|
Thanks for the comments, guys. I probably will get a USB-PS2 adapter, but just for curiosity's sake I'd like to know how to get a USB keyboard working. Buying an adapter does seem like cheating a bit... if you know what I mean. Surely most new keyboards are USB nowadays, so how come it's not supported to the same extent as PS2?
Does anyone know of anything I can install in the Chapter 5 (or 6 in CLFS) that will allow me to use a USB keyboard without an adapter after the reboot?
Thanks in advance,
Lloyd.
|
|
|
01-18-2006, 07:00 PM
|
#5
|
Member
Registered: Aug 2005
Location: Under the rainbow
Distribution: LFS 7, CentOS 7, OS X
Posts: 119
Rep:
|
It must be a kernel issue since it stops working after a reboot. See if there is an option to compile it in or has module support.
Due to the popularity of USB keyboards, I'm sure they will have better support soon.
I have an old "AT" style keyboard that I would like to use. It has a very small footprint and nice touch. None of my motherboards have that plug.
Jeff
|
|
|
01-20-2006, 08:43 AM
|
#6
|
Member
Registered: Dec 2005
Distribution: Trisquel 7.0
Posts: 31
Original Poster
Rep:
|
OK guys, I bought a USB-PS2 converter, and the keyboard doesn't work at all through it - not even in the BIOS like it used to. Looks like I'm gonna have to find a way to get USB working.
It works in Knoppix, and on the install disks for countless distros I've tried, so how do they do it?
|
|
|
01-20-2006, 09:11 AM
|
#7
|
Member
Registered: Aug 2005
Location: Under the rainbow
Distribution: LFS 7, CentOS 7, OS X
Posts: 119
Rep:
|
I went back and re-read the original post.
// Apple Pro Keyboard
Most Apple hardware is not directly compatible with PC hardware. If you can get access to a PC keyboard, give it a try.
Back in the early days of Unix clones & X Window, keyboard compatiblility was a big issue. Keytronic and IBM produced the most "compatible" keyboards. Others would only work with a modified driver.
At this point, I would definitely say it is a kernel problem.
I have grades due Monday and will be beneath a stack of papers most of the weekend. I will try to find some time to examine kernel options.
Jeff
PS. What kind of motherboard are you using?
|
|
|
01-20-2006, 02:52 PM
|
#8
|
Member
Registered: Dec 2005
Distribution: Trisquel 7.0
Posts: 31
Original Poster
Rep:
|
Hi. Thanks for all your help. Don't let me distract you from your work!
The motherboard is an ASUS A8N-SLI Deluxe. BIOS version 1016.
The wierd thing is that I can use the Apple Pro Keyboard over USB just fine in the BIOS settings, and on every other OS I've tried including Windows (yeah, I know), Knoppix, SUSE, Fedora, and probably some others I can't remember now.
I'll have another look through all the options when compiling the kernel, and I'll also try the new 2.6.15.1
|
|
|
01-20-2006, 09:31 PM
|
#9
|
Member
Registered: Aug 2005
Location: Under the rainbow
Distribution: LFS 7, CentOS 7, OS X
Posts: 119
Rep:
|
Just about everything has a driver for Windows. Any piece of hardware that wouldn't work for Windows would have a very narrow market.
The fact that your keyboard will work with other large distributions leads me to believe that it is in the kernel. Knoppix and many other versions of Linux have just about everything configured into the kernel. The bloat that leads to isn't much problem on today's ample computing systems.
LFS is a very minimal system meant as a base line to build upon. In my own experience, I have found the kernel configuration to be the most hit and miss. I could also be entirely off base. I'm certainly not an expert on Linux or LFS! Have you left a question on the LFS mailing list?
Have you tried using the boot kernel that comes with the LiveCD? If your keyboard works with that kernel, that may be a solution.
Jeff
PS. Don't worry about keeping me from my work. I'm the worlds biggest procratinator. My nickname in some forums is Curmudgeon. 
Last edited by jlgreer1; 01-20-2006 at 09:33 PM.
|
|
|
01-21-2006, 05:50 AM
|
#10
|
Member
Registered: Dec 2005
Distribution: Trisquel 7.0
Posts: 31
Original Poster
Rep:
|
It doesn't work with the LiveCDs, so I can't use that. I'll have a good look through the kernel options today and enable anything that has anything to do with USB. I'll post my findings later.
|
|
|
02-19-2006, 06:37 PM
|
#11
|
LQ Newbie
Registered: Feb 2006
Posts: 9
Rep:
|
I Use Ubuntu and I Have the same problems. I have a dell 310 it is a fair computer, but it only has usb ports. the problem is in the kernel. I know because Ubuntu shows the errors as they come up. the error says "usb:00.00.00:new low speed usb port2-1:error-16"
"[[usb Failed!!]]" then it shows the kernel File but I don't What to do because you can't type or scoll because the keyboard doesn't work.
|
|
|
02-19-2006, 06:40 PM
|
#12
|
LQ Newbie
Registered: Feb 2006
Posts: 9
Rep:
|
Ubuntu is relitively new and does not tell you much about it.
|
|
|
06-03-2006, 04:37 PM
|
#13
|
Member
Registered: Dec 2005
Distribution: Trisquel 7.0
Posts: 31
Original Poster
Rep:
|
I just started using Ubuntu and don't have any problems with USB keyboards.
|
|
|
All times are GMT -5. The time now is 12:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|