LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-31-2009, 01:27 PM   #1
ouain
LQ Newbie
 
Registered: May 2009
Distribution: debian
Posts: 12

Rep: Reputation: 0
keyboard problem with xdm and kdm


Hi,

I came up to a strange issue on debian lenny with xdm: when I use it, the keyboard doesn't work at all. When I boot the system when xdm is installed, when I type, nothing appears in the login textbox.

However, when I remove xdm and run startx from the console, everything works fine; I mean I can work a whole day under x with web browser, email client, video player, openoffice, and a lot of funky graphical apps without a problem.

I tried kdm, and I had a very odd effect: the keyboard got a few keystrokes (the first characters of my login), and then stopped working.

When the keyboard doesn't work in xdm or kdm, even ctrl+alt+F1 doesn't respond.

I don't see anything very interesting in /var/log/Xorg.0.log:

Code:
$ grep '(\(EE\|WW\))' /var/log/Xorg.0.log
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(EE) RADEONHD(0): rhdAtomLvdsDDC: unknown record type: 39
(WW) RADEONHD(0): No monitor size info, assuming 96dpi.
(WW) RADEONHD(0): RHDCSInit: No CS for R600 and up yet.
(WW) Configured Mouse: No Device specified, looking for one...
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
/var/log/xdm.log isn't that funny either:

Code:
$ grep '(\(EE\|WW\))' /var/log/xdm.log
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(EE) RADEONHD(0): rhdAtomLvdsDDC: unknown record type: 3a
I think it might be related to the radeon driver, which seems quite unstable; when I work after a startx, everything works fine, as long as I don't work too much with the console. But if I switch to the console a lot and do a lot of work on the console, finally, when going back to X, my X ends up not responding to the keyboard nor to the mouse.

Any idea?
 
Old 06-02-2009, 02:57 AM   #2
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,410

Rep: Reputation: Disabled
You need to post the contents of your xorg.conf file. That might give a clue about your problems. It seems you haven't got a mouse configured and your video driver is (as you say) dodgy.
cheers,
jdk
 
Old 06-03-2009, 05:45 PM   #3
ouain
LQ Newbie
 
Registered: May 2009
Distribution: debian
Posts: 12

Original Poster
Rep: Reputation: 0
Well, I didn't do much about it, but my mouse works.

Here is xorg.conf:

Code:
$ grep -v '^#' /etc/X11/xorg.conf
Section "ServerFlags"
        Option          "BlankTime"     "5"
        Option          "StandByTime"   "6"
        Option          "SuspendTime"   "6"
        Option          "OffTime"       "6"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "fr"
        Option          "XkbVariant"    "latin9"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
EndSection

Section "Device"
        Identifier      "ati"
        Driver          "radeonhd"
        #Driver         "vesa"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        DefaultDepth    24
EndSection
 
Old 06-03-2009, 11:20 PM   #4
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,410

Rep: Reputation: Disabled
You section called "Configured Mouse" doesn't seem to contain much info. For example mine looks like this:
Code:
Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"           
        Option          "CorePointer"     
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "imPS/2"    
        Option          "Emulate3Buttons"       "true"      
        Option          "ZAxisMapping"          "4 5"       
EndSection
You may want to add the appropriate info to that section.
What video card are you using?
cheers,
jdk
 
Old 06-07-2009, 07:51 AM   #5
ouain
LQ Newbie
 
Registered: May 2009
Distribution: debian
Posts: 12

Original Poster
Rep: Reputation: 0
I modified my inputdevice section for the mouse the following way:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection

I didn't include the ZaxisMapping because anyway it is a laptop builtin touchpad without a wheel.

As far as I can see, it doesn't change anything.

Code:
$ grep '(\(EE\|WW\))' /var/log/Xorg.0.log
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(EE) RADEONHD(0): rhdAtomLvdsDDC: unknown record type: 27
(WW) RADEONHD(0): No monitor size info, assuming 96dpi.
(WW) RADEONHD(0): RHDCSInit: No CS for R600 and up yet.
The video card is ATI Mobility Radeon HD 3470.
 
Old 06-07-2009, 09:50 AM   #6
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,410

Rep: Reputation: Disabled
Quote:
Originally Posted by ouain View Post

The video card is ATI Mobility Radeon HD 3470.
The errors appear to refer to the video driver rather than the mouse. You can get the proprietary driver for your card here:
http://support.amd.com/us/gpudownloa...5&lang=English
There are installation instructions provided but you can post another question if you run into problems.
Cheers,
jdk
 
Old 07-13-2009, 01:41 PM   #7
ouain
LQ Newbie
 
Registered: May 2009
Distribution: debian
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jdkaye View Post
The errors appear to refer to the video driver rather than the mouse. You can get the proprietary driver for your card here:
http://support.amd.com/us/gpudownloa...5&lang=English
There are installation instructions provided but you can post another question if you run into problems.
Cheers,
jdk
Great, I was looking for this driver and was unable to find it, thanks. I am glad I could finally install it. However, it doesn't solve the xdm issue, although it solves an annoying issue related to the console. Any idea about the original xdm issue?
 
Old 07-13-2009, 11:53 PM   #8
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,410

Rep: Reputation: Disabled
Two thoughts:
1. If you're using a laptop is it really a 105 key keyboard?
2. Try booting with a live CD such as knoppix. Does the keyboard work? If yes, then look at the xorg.conf file that knoppix uses and use those same values for your permanent configuration.
cheers,
jdk
 
  


Reply

Tags
kdm, keyboard, xdm, xorg


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
xdm kdm themanwhowas Linux - Software 3 06-20-2008 09:49 PM
Problem with aumix and xdm and kdm mago Slackware 6 04-07-2006 01:15 PM
XDM, KDM, GDM not starting, video card problem sylvisj Linux - Hardware 2 11-15-2005 05:40 PM
xdm and kdm jupiter3437 Linux - Software 2 08-30-2005 06:56 PM
xdm to kdm echto Linux - Software 3 01-11-2002 03:23 PM


All times are GMT -5. The time now is 10:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration