LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-02-2008, 07:30 PM   #1
trscookie
Member
 
Registered: Apr 2004
Location: oxford
Distribution: gentoo
Posts: 463

Rep: Reputation: 30
ubuntu keyboard and mouse issues:


Hello all,

I have just installed the new version of Ubuntu and quake3 which works fine apart from; I've noticed that when im pressing keys down on the keyboard the mouse locks up. I thought that there might be a problem with the game, so I left the game to the ubuntu desktop to try the keyboard and mouse and I have the same issues. Does anyone have any ideas what could be wrong?


Thanks trscookie.
 
Old 02-04-2008, 06:39 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
keyboard and mouse seem to be conflicting - they may be sharing interrupts. Are these USB or ps/2 ?? If one, try the other. Try mixing types.
 
Old 02-04-2008, 09:44 AM   #3
trscookie
Member
 
Registered: Apr 2004
Location: oxford
Distribution: gentoo
Posts: 463

Original Poster
Rep: Reputation: 30
sorry, should have mentioned that its a laptop, how do you look at what interrupts its currently using? Also I'm running compiz, could it be something to do with that?

Thanks, trscookie.
 
Old 02-04-2008, 07:56 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Ahhh... which laptop? What is the videocard and which driver are you using? (Lets eliminate graphical stuff first.) Have you tried switching the graphical effects off? Are you using emerald? Did you install compiz-manager?

You'll want to check the kbd, mouse and touchpad are set up properly in /etc/X11/xorg.conf - especially if you have a fancy mouse. While you are there, check the rest - the installer has been known to be conservative in its settings. I habitually remove anything to do with a WACOM tablet for eg.

Do you get this effect using the touchpad instead of the mouse?

IRQ info (interrupts) is usually found in BIOS... also by examining the syslog (dmesg, just after boot.) This should not be a problem in itself as Ubuntu is precompiled to handle shared interrupts. However, it is easy to be snafu'd by manufacturer weirdness. You should go through your BIOS with a fine comb anyway - sometimes a manufacturer will set the hardware you get input from only one HID at a time anyway (certain legacy OSs apparently did not multitask well, this was a way to work around it.)

My laptop has a PS/2 port for a mouse, if your's has one, try that.
 
Old 02-05-2008, 04:42 PM   #5
trscookie
Member
 
Registered: Apr 2004
Location: oxford
Distribution: gentoo
Posts: 463

Original Poster
Rep: Reputation: 30
Smile

Hi,

Its a Toshiba Tecra M2, the xorg was set up by ubuntu configuration tool, I think that it might have something to do with compiz as I have two other OS's on this system and they seem fine but one is windows and who wants to use that and the other is another copy of Ubuntu without the nvidia drivers or compiz.

Code:
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "gb"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"        "/dev/input/mice"
        Option          "Protocol"      "ImPS/2"
        Option          "ZAxisMapping"  "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection
I could not figure out how to disable compiz without tearing it out of the system, is that the only way to stop it?

Code:
adrian@adrian-laptop:~$ sudo aptitude show compiz-core
Package: compiz-core
State: installed
Automatically installed: yes
Version: 1:0.6.2+git20071119-0ubuntu1~gutsy1
Priority: optional
Section: x11

Thank you very much for replying, trscookie.
 
Old 02-05-2008, 10:13 PM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Its a Toshiba Tecra M2
http://gentoo-wiki.com/HARDWARE_Toshiba_Tecra_M2

This has an nvidia gfx card (lspci -v):
Code:
01:00.0 VGA compatible controller: nVidia Corporation NV34M [GeForce FX Go5200 32M/64M] (rev a1) (prog-if 00 [VGA])
        Subsystem: Toshiba America Info Systems Unknown device 0020
        Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 10
        Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 3.0
To be able to use compiz with this card you need the restricted drivers. These are not installed by default - though you should have seen a notice about this at install-time.

Go to System > Administration > Restricted Drivers Manager to install them. Reboot and enjoy.

Quote:
the xorg was set up by ubuntu configuration tool
Meaning nothing - the tool tends to be conservative. (Which is what you want BTW.)

Quote:
I could not figure out how to disable compiz without tearing it out of the system
Gnome has a special control for this sort of thing. You rt-click on the desktop and (following intuition) select "change desktop background". A tabbed dialog will open - select the "Effects" tab then set the "None" radio button.
 
Old 02-06-2008, 01:11 AM   #7
trscookie
Member
 
Registered: Apr 2004
Location: oxford
Distribution: gentoo
Posts: 463

Original Poster
Rep: Reputation: 30
Humm I have tried disabling the effects( Compiz ) but the keyboard and mouse still acts up, any other ideas?

Thanks, trscookie.
 
Old 02-06-2008, 10:01 PM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Do you have nvidia propriatory drivers installed?
Have you checked the syslogs and BIOS for IRQ handling?
 
Old 02-06-2008, 11:59 PM   #9
trscookie
Member
 
Registered: Apr 2004
Location: oxford
Distribution: gentoo
Posts: 463

Original Poster
Rep: Reputation: 30
its the proprietary nvidia driver, Ill have to check the Bios at some point, are there any other things that I can check in the mean time?

Thanks, trscookie.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
wireless keyboard and mouse in ubuntu lhswanson Linux - Newbie 3 08-28-2008 12:18 PM
Keyboard and mouse (and Ubuntu?) freeze svetlo56 Linux - Hardware 1 09-07-2006 12:30 AM
PS/2 Keyboard and Mouse Issues with RHEL4 rjcarr Red Hat 3 08-13-2006 11:02 AM
Mouse and keyboard issues mrossm Mandriva 7 03-22-2005 03:16 PM
Keyboard and mouse issues with Evil Entity... BlessedLunatic Linux - Hardware 1 11-13-2004 07:09 PM

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

All times are GMT -5. The time now is 12:21 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