Bug 346186

Summary: key auto-repeat does not work in installer
Product: [openSUSE] openSUSE 11.0 Reporter: Jiri Dluhos <jdluhos>
Component: InstallationAssignee: Arvin Schnell <aschnell>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P5 - None CC: aschnell
Version: Alpha 2   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: xorg.conf
Xorg.0.log
xset -q

Description Jiri Dluhos 2007-12-05 14:37:52 UTC
It seems that automatic key repetition does not work in the installer (tested both with PS-2 and USB keyboard).
Comment 1 Arvin Schnell 2007-12-06 13:52:40 UTC
True, and enabling auto-repeat with xset works.

Stefan, did the default value change? Should we run xset
from the yast-start-scripts?
Comment 2 Stefan Dirsch 2007-12-06 14:07:22 UTC
No changes in defaults.

# man kbd
       Option "AutoRepeat" "delay rate"
              sets  the  auto  repeat  behaviour for the keyboard.  This is
              not implemented on all platforms.  delay is the time in
              milliseconds before a key starts repeating.  rate is the 
              number of times a key repeats per second.  Default: "500 30".

Can you attach xorg.conf and Xorg.0.log of installation, please?
Comment 3 Arvin Schnell 2007-12-06 14:21:06 UTC
Created attachment 186183 [details]
xorg.conf
Comment 4 Arvin Schnell 2007-12-06 14:21:27 UTC
Created attachment 186184 [details]
Xorg.0.log
Comment 5 Stefan Dirsch 2007-12-06 14:30:59 UTC
According to the logfile default values for Autorepeat are used.

(**) Option "AutoRepeat" "500 30"

So somebody else turns it off? What's the content of Keyboard Control when running "xset q"?

Comment 6 Arvin Schnell 2007-12-06 15:22:16 UTC
'xset q' reports 'auto repeat: on' but it does not work. I think
this is quite remarkable.
Comment 7 Stefan Dirsch 2007-12-06 15:32:16 UTC
So what are the values? 

Example:
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000002
  auto repeat delay:  250    repeat rate:  30
  auto repeating keys:  00ffffffdffffbbf
                        fadfffdfffdfe5ef
                        ffffffffffffffff
                        ffffffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100

What are the values when turing it on with "xset r on"? Does it work now?

Comment 8 Arvin Schnell 2007-12-06 15:54:46 UTC
Created attachment 186217 [details]
xset -q
Comment 9 Stefan Dirsch 2007-12-06 17:02:59 UTC
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  auto repeat delay:  660    repeat rate:  25
  auto repeating keys:  00ffffffdffffbbf
                        fadfffdfffdfe5ef
                        ffffffffffffffff
                        ffffffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Comment 10 Stefan Dirsch 2007-12-09 12:24:23 UTC
(In reply to comment #7 from Stefan Dirsch)
> What are the values when turing it on with "xset r on"? Does it work now?
Still open issue. To be answered by the reporter Jiri Dluhos.

Comment 11 Jiri Dluhos 2007-12-10 14:38:59 UTC
Confirmed, "xset r on" enables the auto-repeat.
Comment 12 Stefan Dirsch 2007-12-10 14:49:42 UTC
So, according to "xset q" it's enabled, but doesn't work. After enabling with "xset r on" we get the same output of "xset q", but this time it works?
Comment 13 Jiri Dluhos 2007-12-10 15:12:14 UTC
Sorry, I have missed the second part of your question...

the auto-repeat works, and the reply from "xset -q" is:

----

Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  auto repeat delay:  660    repeat rate:  25
  auto repeating keys:  00ffffffdffffbbf
                        fadfffdfffdfe5ef
                        ffffffffffffffff
                        ffffffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  600
Colors:
  default colormap:  0x20    BlackPixel:  0    WhitePixel:  65535
Font Path:
  /usr/share/fonts/truetype/,/usr/share/fonts/uni/,/usr/share/fonts/misc/,/usr/share/fonts/misc/
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
  Standby: 1200    Suspend: 1800    Off: 2400
  DPMS is Enabled
  Monitor is On
Font cache:
  Server does not have the FontCache Extension
File paths:
  Config file:  /etc/X11/xorg.conf
  Modules path: /usr/lib64/xorg/modules
  Log file:     /var/log/Xorg.0.log

----
Comment 14 Stefan Dirsch 2007-12-10 15:29:09 UTC
Ok. It doesn't make any sense, but I'm not aware of any other workaround than YaST2 running "xset r on" to fix this issue.
Comment 15 Jiri Dluhos 2007-12-10 15:39:09 UTC
That would be completely okay, but I wonder why it started to work this way in alpha0? Did the keyboard input subsystem change since openSUSE 10.3?
Comment 16 Stefan Dirsch 2007-12-10 15:56:26 UTC
We have a new Xserver (same keyboard driver as on 10.3), but I doubt that this is the culprit.
Comment 17 Arvin Schnell 2008-01-28 13:40:33 UTC
added workaround