Announcement

Collapse
No announcement yet.

no keyboard AFTER logon - Dapper Dell D520 laptop

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    no keyboard AFTER logon - Dapper Dell D520 laptop

    Dell Latitude D520 (Centrino Duo) with 2GB RAM. Dual boot WinXP SP2 and Kubuntu dapper drake.

    added multiverse and universe to sources.list
    Added laptop-mode-tools for HDD power saving.

    When I unplug the AC adapter, or when I boot up on battery power, my keyboard stops working inside KDE. Windows works fine. KDM works fine. If I don't log in, I can CTRL-ALT-F1 to the first TTY and work there untill the battery wears out.

    I can enter my password in KDM to log in, but after that, I can't do *anything* in the keyboard. It's not a "slow keys" issue as suggested on another thread. CAPS doesn't work, and I can't shut down X either (log off to KDM works, restarting X server from there hangs the system, regular "reboot" from KDE causes a hang as well).

    I've run OpenSUSE 10.1 and Debian Etch on this laptop with no problems of this type, so it's obviously a setting problem on my end.

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc104"
    Option "XkbLayout" "us"
    EndSection

    looks fine to me, and is the same I had in Debian.

    And here's a bit from my xorg.log:
    grep -iUP "\((WW|EE)\)" Xorg.0.log
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (WW) The directory "/usr/share/X11/fonts/cyrillic" does not exist.
    (WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
    (WW) I810(0): Bad V_BIOS checksum
    (WW) I810(0): Bad V_BIOS checksum
    (WW) I810(0): config file hsync range 43.8857-48.5053kHz not within DDC hsync ra
    nges.
    (WW) I810(0): Bad V_BIOS checksum
    (WW) I810(0): Successfully set original devices
    (WW) I810(0): Setting the original video mode instead of restoring
    (WW) I810(0): Successfully set original devices (2)
    (WW) I810(0): Successfully set original devices
    (WW) I810(0): Setting the original video mode instead of restoring
    (WW) I810(0): Successfully set original devices (2)
    (WW) I810(0): Bad V_BIOS checksum
    (WW) I810(0): Successfully set original devices
    (WW) I810(0): Setting the original video mode instead of restoring
    (WW) I810(0): Successfully set original devices (2)

    Any thoughts?
    Attached Files

    #2
    Re: no keyboard AFTER logon - Dapper Dell D520 laptop

    Aniar,

    although I am not at all sure if this is related to your problem, what irritates me when reading through your files is: one the one hand, that the graphics chip "i810" is mentioned a second time as some obscure card; on the other hand, that there are no (!) refresh rates defined for the monitor (read: display).

    Therefore I tend to suggest to: first, backup xorg.conf (just to make sure), second, kick out

    Code:
    Section "Device"
    	Identifier	"ExternalCard"
    	Driver		"i810"
    	BusID		"PCI:0:2:1"
    EndSection
    and, finally, ad some useful refresh rate settings, like

    Code:
    Section "Monitor"
        [snipped] # laptop values
        HorizSync    28 - 96
        VertRefresh   50 - 75
    - the latter one to be handled with great care, for wrong setting could ruin your whole day (as well as your hardware ...).

    Maybe prior to experimenting you could boot into a (working) live system and grab a copy of this system's X server configuration, as a template of sorts for your installed system ... (?).

    HTH
    Birdy

    Comment


      #3
      Re: no keyboard AFTER logon - Dapper Dell D520 laptop

      1) The 2nd device section should be correct - you'll notice in the logs that it's actually detected. My laptop has an external video port that, when I fix this problem, I'm going to try to set up to be a 2nd (Xinerama) monitor. If I take that device section out, I get an error saying "There is no Device section for BusID PCI:0:2:1".
      aniar@local:~$ lspci |grep 0:02.
      0000:00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)
      0000:00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)

      2) DPMS is supposed to auto-detect refresh rates on LCD panels, I thought? I've seen a bunch of xorg.conf files with "Option "DPMS"" and no refresh settings. I also didn't CHANGE that part of the xorg.conf after auto-detect/build.

      Comment


        #4
        Re: no keyboard AFTER logon - Dapper Dell D520 laptop

        More interesting notes to add:

        2.6.15-27-386 works fine, but doesn't detect the 2nd processor.
        2.6.15-27-686 experiences the "no keyboard" issue.

        Log in via console, "sudo /etc/init.d/kdm stop; startx" - same behavior, and X still won't exit.

        Today I had about 2 hours of time where, after booting up plugged in, being able to work, and unplugging the power, the keyboard worked. I plugged it back in after an hour, recharged, and then went to another meeting... at the end of the meeting (again, about an hour), my keyboard stopped working.

        I can't even find anything in any kernel logs that tells me where to start looking.

        [me=aniar]is losing his mind.[/me]

        Comment


          #5
          Re: no keyboard AFTER logon - Dapper Dell D520 laptop

          Sorry for the delay in responding. As Dell laptop user, the VERY FIRST THING I do when installing any variety of Linux is to go into the xorg.conf file and comment out dpms. The fact that your problem occurs when you switch from AC to Battery indicates that that is a likely source of your problem. You can then set up a reasonable video mode for your laptop screen e.g. 1450*1024@60, where I'm assuming that you will supply the correct pixel size for your screen. The next thing I'd do would be to go to K>SystemSettings>Laptops&Power>LaptopBattery and set things up to your liking. Pay attention to the power profiles for Battery and AC.

          Comment


            #6
            Re: no keyboard AFTER logon - Dapper Dell D520 laptop

            askreiger - thanks, I'll do that next time I reboot (in windows ATM). My Dell worked better in Debian and SUSE with DPMS, which is why I was reluctant at first, but I'll try anything that makes sense.

            Last time I tried to shut down on battery, it hung on stopping "Power Management". I have already configured my KDE "Laptop Power management" settings - no throttling, using "conservative" and "ondemand" for battery and AC, respectively. only alert on low power, no changing of settings.
            I did have apmd installed as well as acpid, so I uninstalled apmd, but that hasn't helped. Adding laptop-mode-tools shouldn't have affected anything, but I'll be removing that during lunch today, as a test, too.

            Comment


              #7
              Re: no keyboard AFTER logon - Dapper Dell D520 laptop

              Originally posted by askrieger
              Sorry for the delay in responding.  As Dell laptop user, the VERY FIRST THING I do when installing any variety of Linux is to go into the xorg.conf file and comment out dpms.  The fact that your problem occurs when you switch from AC to Battery indicates that that is a likely source of your problem.  You can then set up a reasonable video mode for your laptop screen e.g. 1450*1024@60, where I'm assuming that you will supply the correct pixel size for your screen.  The next thing I'd do would be to go to K>SystemSettings>Laptops&Power>LaptopBattery and set things up to your liking.  Pay attention to the power profiles for Battery and AC.
              DPMS removed from xorg.conf - same problem still exists.
              put an "exit 0" at the top of my /etc/init.d/laptop-mode to remove that power-management tool, and the problem still exists.

              Do you want to see screenshots/logs from LaptopBattery in system settings to see if I've got something set up odd?

              Comment


                #8
                Re: no keyboard AFTER logon - Dapper Dell D520 laptop

                Your settings don't seem very different from mine, but if you post them, perhaps someone will see something that we're both missing.

                Comment


                  #9
                  Re: no keyboard AFTER logon - Dapper Dell D520 laptop

                  xorg.conf attached (set up for Xinerama working finally, so there's a bunch of changes)

                  Klaptop settings "on":
                  Battery tab:
                  Code:
                  show battery monitor
                  user blank screen saver on battery
                  check status 20 secs
                  BAT0 present, BAT1 not
                  Power Control
                  Code:
                  Not Powered: None, System Performance: Conservative
                  Powered: None, System Performance: ondemand
                  Low Battery warning
                  Code:
                  Trigger: 15 min
                  system beep
                  notify
                  state change: none
                  Low Battery Critical
                  Code:
                  Trigger: 5min
                  system beep
                  notify
                  State change: none
                  Default Power Profiles
                  Code:
                  not powered: system performance: Conservative
                  Powered: System Performance: ondemand
                  Button Actions
                  Code:
                  Lid Switch Closed: off (not system power off, just "off")
                  ACPI Config
                  Code:
                  All checked - Enable:
                  Standby
                  Suspend
                  Hibernate
                  Performance Profiles
                  CPU Throttling
                  I have never tried to hibernate or standby this system yet, even though I ahve it set up to do that, so turning those features off wouldn't kill me if anyone thinks it'd help.
                  Attaching /var/log/acpid as well.
                  Attached Files

                  Comment

                  Working...
                  X