Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 27-06-2007, 07:11 PM   #1 (permalink)
GTK+ programmer
 
ChaiTan3's Avatar
 
Join Date: Jun 2007
Posts: 121
Default Keyboard Problem


I have ubuntu 6.10 installed.
the keyboard that i have is ps/2.
The keyboard works on the grub prompt.
But after that when ubuntu starts up it doesnt work.
I can make the keyboard to work in ubuntu by repeatedly tapping the caps lock key while pressing enter on the ubuntu entry in grub.
Keyboard works fine on XP.

Is there any way to make the keyboard work without tapping the keys at startup?
ChaiTan3 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 29-06-2007, 03:29 PM   #2 (permalink)
GTK+ programmer
 
ChaiTan3's Avatar
 
Join Date: Jun 2007
Posts: 121
Default Re: Keyboard Problem

I read on some forum that there are problems with ps/2 mouse/keyboard in the kernel that comes with edgy.
they recommended to upgrade the kernel or apply a kernel patch
i upgraded my kernel from 2.6.17-10 to 2.6.21.5 using the following guide
http://ubuntuforums.org/showthread.php?t=85064
the kernel compiled fine
when i booted from the new kernel it got stuck at the ubuntu loading screen
then i booted in recovery mode
it was stuck at:

[some no.] drivers/usb/input/hid-core.c: v2.6:USB HID core driver

there was no line after that. it was configuring my usb mouse at that time.
it gave an error like "device not accepting address 2. error -71" a few lines before.
why is it getting stuck?
ChaiTan3 is offline  
Old 29-06-2007, 04:40 PM   #3 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile Re: Keyboard Problem

first of all the error is due to not selecting modules(usb) to be made while compiling the kernel.
Post your pc hardware specs here,which mobo?esp.
make it clear u got a ps/2 or usb kbd?
what make is ur kbd(exact model)?I strongly suspect ur kbd seems a USB one?otherwise are you sure?

Another thing is you can manually select your model from GNOME menu System>preferences>keyboard .for eg:most the time generic kbd option works.

http://www.linux-usb.org/USB-guide/x194.html
if you have ps/2 kbd,u shud try appending "acpi=off" (without quote) in the kernel line in the grub and try booting.
https://answers.launchpad.net/ubuntu...+question/6925
Sometime it can be due to X server too(means /etc/X11/xorg.conf kbd line).
for a ps/2 kbd,these lines must be there in xorg.conf
Code:
Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc104"
    Option        "XkbLayout"    "us"
EndSection
other causes:U can check BIOS to enable PS/2 controller

Yes, for the time u need a working kbd to do this all
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org

Last edited by praka123; 29-06-2007 at 04:50 PM.
praka123 is offline  
Old 29-06-2007, 04:57 PM   #4 (permalink)
GTK+ programmer
 
ChaiTan3's Avatar
 
Join Date: Jun 2007
Posts: 121
Default Re: Keyboard Problem

i have a ps/2 kbd and a usb mouse
the keyboard works in ubuntu if i repeatedly tap a key while booting otherwise no
in bios i have disabled usb keyboard support
n the keyboard is of hcl n the it is ps/2
chked tht by looking at the back of my computer
i'll reply again after booting into ubuntu
my mobo is of asus...dunno the model

and in xorg.conf file here is the input device section
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

EDIT:
acpi=off did the trick
does that option have any side effect?

Last edited by ChaiTan3; 29-06-2007 at 05:33 PM.
ChaiTan3 is offline  
Old 30-06-2007, 12:18 PM   #5 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Keyboard Problem

sideeffect? acpi of ur system may be old or newer.so may be some irq problems(i am not an expert).so if u have a laptop it does have some effect.else dont care.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 30-06-2007, 05:47 PM   #6 (permalink)
GTK+ programmer
 
ChaiTan3's Avatar
 
Join Date: Jun 2007
Posts: 121
Default Re: Keyboard Problem

By side effect i meant whether another problem would crop up.
And it did.
now when i try to shutdown the system it stops on a black screen with the cursor blinking and i have shutdown the comp by pressing the power button
ChaiTan3 is offline  
Old 30-06-2007, 06:17 PM   #7 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Keyboard Problem

OK,it seems weird.attach ur /var/log/kern.log in http://pastebin.ca and post the link here.it will be good,if u try to figure out each log for eg:syslog,dmesg,messages etc in /var/log dir for irq related error.
Now if, "pci=routeirq" works.<----------just give a try as:
Code:
pci=routeirq
else
Code:
noirqbalance
Code:
noapic
or
Code:
nolapic
or
Code:
irqpoll
^ not suggested
I am no expert in IRQ handling in Linux kernel.
try in some Linux forums too.as with Ubuntu edgy,this is identified as a bug.also do post ur keyboard model.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org

Last edited by praka123; 30-06-2007 at 06:35 PM.
praka123 is offline  
Old 30-06-2007, 09:42 PM   #8 (permalink)
GTK+ programmer
 
ChaiTan3's Avatar
 
Join Date: Jun 2007
Posts: 121
Default Re: Keyboard Problem

heres my kern.log file
http://pastebin.ca/597392
ChaiTan3 is offline  
Old 30-06-2007, 10:03 PM   #9 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Keyboard Problem

Code:
#
Jun 30 21:29:05 ChaiTan3 kernel: [   14.916104] input: AT Translated Set 2 keyboard as /class/input/input0
^ It detects your Keyboard,now can you have us which company make/model the keyboard is?
Now on June 28th ur keyboard is detected as:
Code:
Jun 28 15:32:44 ChaiTan3 kernel: [17179571.312000] input: AT Raw Set 2 keyboard as /class/input/input0
^is it working when detected as AT Raw Set 2 keyboard?
So while working today at Jun 30 21:29:05 what kernel options did u gave?will it be working?
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 30-06-2007, 10:05 PM   #10 (permalink)
GTK+ programmer
 
ChaiTan3's Avatar
 
Join Date: Jun 2007
Posts: 121
Default Re: Keyboard Problem

even i read that line
my keyboard is of HCL
i dont know the model number
but even my mouse is of HCL(label on the mouse)...but it is detected as a logitech mouse
how do i know the model number??

The change would be acpi=off
on 28th i didnt add acpi=off to the kernel line in grub
i did that today by editing menu.lst of grub

Last edited by ChaiTan3; 30-06-2007 at 10:14 PM.
ChaiTan3 is offline  
Old 30-06-2007, 10:10 PM   #11 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Keyboard Problem

Now as of today is it working and do u remember what kernel options did u passed on while booting?
I think ur keyboard is a ps/2 non-standard keyboard may be.
let the other experts to come.we already pinpointed the think.this is a irq problem?
Edit:
also post the section of ur /var/log/Xorg.0.log of Keyboard details.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org

Last edited by praka123; 30-06-2007 at 10:18 PM.
praka123 is offline  
Old 30-06-2007, 10:25 PM   #12 (permalink)
GTK+ programmer
 
ChaiTan3's Avatar
 
Join Date: Jun 2007
Posts: 121
Default Re: Keyboard Problem

Code:
(**) Option "CoreKeyboard"
(**) Generic Keyboard: Core Keyboard
(**) Option "Protocol" "standard"
(**) Generic Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Generic Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Generic Keyboard: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Generic Keyboard: XkbLayout: "us"
(**) Option "XkbOptions" "lv3:ralt_switch"
(**) Generic Keyboard: XkbOptions: "lv3:ralt_switch"
(**) Option "CustomKeycodes" "off"
(**) Generic Keyboard: CustomKeycodes disabled
(**) Option "Protocol" "ExplorerPS/2"
(**) Configured Mouse: Device: "/dev/input/mice"
(**) Configured Mouse: Protocol: "ExplorerPS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons" "true"
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(**) Configured Mouse: Buttons: 9
(**) Option "SendCoreEvents"
I just noticed one thing. Restart works fine, whereas Shutdown gets stuck on the black screen
ChaiTan3 is offline  
Old 30-06-2007, 10:30 PM   #13 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Keyboard Problem

the problem is ACPI is buggy and irq problem arises.for a reliable o/p u may try to disable ACPI and yes,it wont shutdown,u have to manually do that.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 30-06-2007, 10:34 PM   #14 (permalink)
GTK+ programmer
 
ChaiTan3's Avatar
 
Join Date: Jun 2007
Posts: 121
Default Re: Keyboard Problem

That leaves me with two options:
1. Press the keyboard like mad at startup.
2. Wait for the comp to shutdown
both are equally disgusting.

One more thing.
after reading the thread about the super key
i set to run the terminal by pressing the super_l key through system->preferences->keyboard shortcuts
but the new shortcut doesnt work...
ChaiTan3 is offline  
Old 30-06-2007, 11:10 PM   #15 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile

I urge you to post this problem in http://ubuntuforums.org as well.you'll get better attention there and possibly a solution too.
::and did u tried latest Ubuntu 7.04?hope they got this problem fixed.
As with super_L kbd shortcuts,it depends-sometime it works,with some upgrade u may loss the changes.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 30-06-2007, 11:18 PM   #16 (permalink)
GTK+ programmer
 
ChaiTan3's Avatar
 
Join Date: Jun 2007
Posts: 121
Default Re: Keyboard Problem

i just searched for shutdown problems on ubuntuforums
got a solution at http://ubuntuforums.org/showthread.php?t=359190&page=2
i had to add apm to the grub file n also in /etc/modules
now it shutdown is proper and my keyboard is also working
thanks for the help praka
and i tried feisty....same keyboard problems over there also
actually while booting from the live cd of edgy
i had to press the caps lock button repeatedly till the desktop appeared
if i had known about acpi=off then.......
ChaiTan3 is offline  
Old 30-06-2007, 11:30 PM   #17 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile Re: Keyboard Problem

glad ur problems are over so ur mobo seems older.is it?
So ur kbd supports APM,ACPI is replacing APM
Quote:
Advanced Power Management (APM) is an API developed by Intel and Microsoft which enables an operating system running an IBM-compatible personal computer to work with the BIOS (part of the computer's firmware) to achieve power management.
ACPI is intended as the successor to APM.
http://en.wikipedia.org/wiki/Advanced_Power_Management
u can read about this in wikipedia.
still i suggests add ur comment at the end of the ubuntu forum thread.it kicks the thread up and hopefully helps some newbies frustrated get help
Enjoy GNU/Linux and best!
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 01-07-2007, 01:52 PM   #18 (permalink)
GTK+ programmer
 
ChaiTan3's Avatar
 
Join Date: Jun 2007
Posts: 121
Default Re: Keyboard Problem

my mobo is intel 915 gv/gl based
so cant say that it is old
i'll post on ubuntuforums now.
ChaiTan3 is offline  
Old 01-07-2007, 01:54 PM   #19 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Keyboard Problem

I got the same chipset and ACPI is working well for me
so post in ubuntuforums and linuxquestions.org too
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 03-07-2007, 08:21 PM   #20 (permalink)
GTK+ programmer
 
ChaiTan3's Avatar
 
Join Date: Jun 2007
Posts: 121
Default Re: Keyboard Problem

the linux kernel 2.6.17-10 was the problem..
i successfully compiled the 2.6.21.5 kernel by enabling the sata controllers
with the new kernel i have no keyboard problems with acpi on
ChaiTan3 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard Problem Soumyajit Hardware Q&A 1 05-05-2007 08:14 PM
Keyboard Problem.. vandit Hardware Q&A 13 19-09-2006 02:46 PM
Keyboard Problem bendre123 QnA (read only) 1 30-06-2005 11:55 AM
Keyboard Problem, etc. abhijitroy QnA (read only) 2 24-05-2005 10:53 PM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan

Advertisement




All times are GMT +5.5. The time now is 12:47 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2