problem with xset

JD jd1008 at gmail.com
Mon May 17 21:02:45 PDT 2010



On 05/17/2010 07:30 PM, Alan Coopersmith wrote:
> Mike Oliver wrote:
>    
>> On 05/17/10 15:09, JD wrote:
>>      
>>> Hi Mike.
>>> I tried it, and it fails.
>>> What's with the Xlib extension error?
>>>
>>>
>>> $ xset r rate 2 500
>>> Xlib: extension "XFree86-Misc" missing on display ":0.0".
>>> xset: unknown option 500
>>>        
>> The 'r' argument section of the 'xset' man page I have here says:
>>
>>    If the server supports the XFree86-Misc extension, or the XKB extension,
>>    then a  parameter of 'rate' is accepted and should be followed by zero,
>>    one or two numeric values.  The first  specifies the delay before
>>    autorepeat starts and the second specifies the repeat rate.   In the
>>    case that  the  server  supports the XKB extension, the delay is the
>>    number of milliseconds before autorepeat starts, and the rate is the
>>    number of repeats per second.
>>
>> Based on the error message, presumably your X server doesn't provide the
>> required extensions, so the 'xset r rate ...' command will fail when run
>> against this server.  (I'm not certain, but I think xset's willingness
>> to use the XKB extension is a recent addition.  If your 'xset' is old
>> then it might not know how to work with XKB and might depend entirely
>> on XFree86-Misc.)
>>      
> Recent versions of Xorg have dropped XFree86-Misc.
>
> Unfortunately, xset versions before last year's 1.1 release had a bug in which
> they checked for it incorrectly and reported the missing extension, even when it
> wasn't present or going to be used (since XKB is preferred if available - and
> since recent versions of Xorg are impossible to compile without XKB, it should
> always be available).
>
> If it actually fails to work, it should print instead:
> 	server does not have extension for "r rate" option
>
> If you don't get that, then either XKB or XFree86-Misc should have accepted the
> change.
>
> As for the "unknown option 500", it appears that xset requires the second
> argument to be<= 255, and if it's not ignores it, letting the rest of the
> option parser choke on it.   (Sorry, the xset option design is absolutely
> horrid, and some day we need to create a new command with a standard CLI to
> replace it.)
>
>    

Guys - this is not helping me any.
I DO need to do something about this.
So far, best thing for me is  xset r off.

I just added the xfree86 option to the keyboard section:

Section "InputDevice"
         Identifier      "Keyboard0"
         Driver          "kbd"
         Option          "XkbRules" "xfree86"
EndSection

I will log out and log back in to see if it helps.
I am at xorg version 7.4.4, which is the latest for Fedora 12.

These all the xorg packages currently installed.
Am I missing anything?

xorg-x11-drv-trident-1.3.3-1.fc12.i686
xorg-x11-drv-ivtv-1.1.1-1.fc12.i686
xorg-x11-drv-keyboard-1.4.0-2.fc12.i686
xorg-x11-drv-ast-0.89.9-1.fc12.i686
xorg-x11-drv-savage-2.3.1-1.fc12.i686
xorg-x11-drv-penmount-1.4.0-4.fc12.i686
xorg-x11-drv-vesa-2.3.0-1.fc12.i686
xorg-x11-server-Xorg-1.7.6-4.fc12.i686
xorg-x11-drv-r128-6.8.1-2.fc12.i686
xorg-x11-xinit-1.0.9-14.fc12.i686
xorg-x11-drv-fbdev-0.4.1-1.fc12.i686
xorg-x11-xkb-utils-7.4-6.fc12.i686
xorg-x11-drv-sis-0.10.2-1.fc12.i686
xorg-x11-drv-mouse-1.5.0-1.fc12.i686
xorg-x11-drv-nouveau-0.0.15-21.20091105gite1c2efd.fc12.i686
xorg-x11-drv-s3-0.6.3-1.fc12.i686
xorg-sgml-doctools-1.1.1-4.fc12.noarch
xorg-x11-xdm-1.1.6-14.fc12.i686
xorg-x11-drv-openchrome-0.2.904-1.fc12.i686
xorg-x11-drv-acecad-1.4.0-1.fc12.i686
xorg-x11-drv-glint-1.2.4-1.fc12.i686
xorg-x11-drv-radeonhd-1.3.0-4.2.20091204git.fc12.i686
xorg-x11-xfwp-1.0.1-10.fc12.i686
xorg-x11-drv-evdev-devel-2.3.3-1.fc12.i686
xorg-x11-drv-evdev-2.3.3-1.fc12.i686
xorg-x11-xtrans-devel-1.2.2-4.fc12.noarch
xorg-x11-drv-sisusb-0.9.3-1.fc12.i686
xorg-x11-drv-elographics-1.2.3-4.fc12.i686
xorg-x11-proto-devel-7.4-35.fc12.noarch
xorg-x11-xsm-1.0.2-12.fc12.i686
xorg-x11-server-common-1.7.6-4.fc12.i686
xorg-x11-util-macros-1.5.0-1.fc12.noarch
xorg-x11-drv-rendition-4.2.2-4.fc12.i686
xorg-x11-drv-voodoo-1.2.3-1.fc12.i686
xorg-x11-font-utils-7.2-11.fc12.i686
xorg-x11-docs-1.3-6.fc12.noarch
xorg-x11-drv-synaptics-devel-1.2.2-1.fc12.i686
xorg-x11-drv-tseng-1.2.2-2.fc12.i686
xorg-x11-drv-siliconmotion-1.7.3-1.fc12.i686
xorg-x11-drv-aiptek-1.3.0-1.fc12.i686
xorg-x11-drivers-7.3-13.fc12.i686
xorg-x11-drv-vmmouse-12.6.5-2.fc12.i686
xorg-x11-drv-mga-1.4.11-1.fc12.i686
xorg-x11-drv-fpit-1.3.0-4.fc12.i686
xorg-x11-drv-ark-0.7.1-4.fc12.i686
xorg-x11-drv-intel-2.9.1-1.fc12.i686
xorg-x11-drv-mutouch-1.2.1-4.fc12.i686
xorg-x11-drv-openchrome-devel-0.2.904-1.fc12.i686
xorg-x11-fonts-ISO8859-1-100dpi-7.2-9.fc12.noarch
xorg-x11-drv-s3virge-1.10.4-1.fc12.i686
xorg-x11-drv-cirrus-1.3.2-1.fc12.i686
xorg-x11-drv-chips-1.2.2-1.fc12.i686
xorg-x11-xauth-1.0.2-7.fc12.i686
xorg-x11-drv-void-1.3.0-2.fc12.i686
xorg-x11-drv-vmware-10.16.7-2.fc12.i686
xorg-x11-fonts-misc-7.2-9.fc12.noarch
xorg-x11-twm-1.0.3-5.fc12.i686
xorg-x11-xbitmaps-1.0.1-9.fc12.i686
xorg-x11-drv-neomagic-1.2.4-2.fc12.i686
xorg-x11-server-utils-7.4-13.fc12.i686
xorg-x11-drv-mach64-6.8.2-1.fc12.i686
xorg-x11-drv-hyperpen-1.3.0-3.fc12.i686
xorg-x11-drv-ati-6.13.0-0.21.20100219gite68d3a389.fc12.i686
xorg-x11-utils-7.4-7.fc12.i686
xorg-x11-drv-v4l-0.2.0-3.fc12.1.i686
xorg-x11-xfs-1.0.5-6.fc12.i686
xorg-x11-resutils-7.1-9.fc12.i686
xorg-x11-drv-geode-2.11.4.1-1.fc12.i686
xorg-x11-drv-i128-1.3.3-1.fc12.i686
xorg-x11-drv-intel-devel-2.9.1-1.fc12.i686
xorg-x11-drv-i740-1.3.2-1.fc12.i686
xorg-x11-drv-apm-1.2.2-1.fc12.i686
xorg-x11-apps-7.4-10.fc12.i686
xorg-x11-drv-ati-firmware-6.13.0-0.21.20100219gite68d3a389.fc12.i686
xorg-x11-drv-wacom-0.10.6-1.fc12.i686
xorg-x11-drv-tdfx-1.4.3-1.fc12.i686
xorg-x11-drv-synaptics-1.2.2-1.fc12.i686
xorg-x11-drv-dummy-0.3.3-1.fc12.i686
xorg-x11-drv-nv-2.1.15-2.fc12.i686



More information about the xorg mailing list