Bug 538741

Summary: xset led 3 does not work
Product: [Fedora] Fedora Reporter: Eduard Vopicka <eduard.vopicka>
Component: xorg-x11-server-utilsAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: eduard.vopicka, mcepl, xgl-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-02 20:39:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eduard Vopicka 2009-11-19 09:37:12 UTC
Description of problem:

'xset led 3' and 'xset -led 3'


Version-Release number of selected component (if applicable):

[root@v5218c3 REST]# rpm -qf `which xset`
xorg-x11-server-utils-7.4-13.fc12.i686
[root@v5218c3 REST]# 


How reproducible:

Always.


Steps to Reproduce:

Just issue 'xset led 3' and 'xset -led' and warth the LED.

  
Actual results:

LED state (on/off) not changed.


Expected results:

LED state should change accordingly to the command issued.


Additional info:

Bad results observed on Dell Optiplex 745 PC, Dell Latitude D630 notebook and on home-made P4 CPU and Intel mobo based PC.

Comment 1 Matěj Cepl 2010-10-06 16:11:51 UTC
Can easily reproduce on Fedora 14.

Comment 2 Eduard Vopicka 2010-10-06 16:38:29 UTC
Hello.

So now I am really amazed.

It works well with up-to-date F13 for a while, I am using it on daily basis in shell script performing keyboard layout switching for fvwm.

So the bug has been re-introduced in F14? This does not sound well to me...

Brgds,

Ed

Comment 3 Eduard Vopicka 2010-10-06 16:41:18 UTC
#!/bin/bash

case "$KbdLayout" in
        us|"")
echo "Exec setxkbmap -model pc105 -layout cz -variant qwerty"
echo "Exec xset led 3"
echo "SetEnv KbdLayout cz-qwerty"
        ;;
        cz-qwerty|*)
echo "Exec setxkbmap -model pc105 -layout us"
echo "Exec xset -led 3"
echo "SetEnv KbdLayout us"
#echo "us<" >>/tmp/kbd.log
        ;;
esac

exit 0