XFree Local Multi-User HOWTO
Prev | Appendix D. Experimental Backstreet Ruby configuration Script/ Service | Next

# D.2. The global configuration file `/etc/sysconfig/ruby.conf`

In `/etc/sysconfig/ruby.conf` are stored all configuration options for the Input subsystem of a Backstreet ruby kernel and wether certain actions/ services should be run when such kernel is used.

    # /etc/sysconfig/ruby.conf
    # This file contains defaults for bruby_init

    #
    # HACK_VIDEO_ENABLE controls wether the ruby kernel shoukd
    # ignore certain XFree commands.
    #
    # Set to yes in case you are not running the XFree-PrefBusID
    # but XFree from your distribution
    #

    HACK_VIDEO_ENABLE=yes

    # HOTPLUG_RC_input controls whether the input subsystem is started by
    # hotplug rc script ("cold plugging")
    #

    HOTPLUG_RC_input=yes

    #
    # AUTO_DM controls wether the display manager configuration files
    # is adjusted upon the boot argument dumbcon=[number]
    #
    # AUTO_XFree controls wether the XFree configuration file is
    # adjusted upon XFree=[string] argument.
    # For Mandrake users this always activated in /etc/rc.d/rc.sysinit
    # and can not be disabled.
    #

    AUTO_DM=no
    AUTO_XFree=no

    #
    # LOAD_MODULES controls wether the additional modules listed below
    # should be loaded when a ruby kernel is running.

    LOAD_MODULES=yes

    #
    # input modules configuration
    #
    # module arguments

    # needed for all mice
    mousedev

    # for USB input
    hid

    # for PS2 input
    serio
    i8042
    atkbd
    psmouse

    #
    # keyboard devices configuration
    #
    # vt_name device_physicaly_location
    VT0     isa0060/serio0/input0
    VT1     usb-00:10.1-1.1/input0
    #VT0     isa0060/serio0/input0
    #VT2    usb-*.*-1/input0

    #
    # multimedia keys configuration
    #
    # vt_name device_physicaly_location
    #VT1     usb-00:10.1-1.1/input1
    #VT2    usb-*.*-1/input0

    #
    # mouse devices configuration
    #
    # sym_link device_physicaly_location
    mouse0br        isa0060/serio1/input0
    mouse1br        usb-00:10.1-1.2/input0
    #mouse2br        usb-00:10.1-2.7.*/input0
    #mouse1br        usb-00:10.1-2.2/input0

    #
    # event devices configuration
    #
    # sym_link device_physicaly_location
    #event0br        isa0060/serio1/input0
    #event1br        usb-00:10.1-1.1/input0
    #event2br        usb-00:10.1-1.1/input1
    #event3br        usb-00:10.1-1.2/input0

    #
    # end input device configuration
    #

Prev | Home | Next
`README.ruby_init` explains how to configure and use the service. | Up | The ruby_init service `/etc/init.d/ruby_init`