how to make X read /dev/gpmdata?

Forum rules
Before you post please read how to get help

how to make X read /dev/gpmdata?

Postby tqk on Sat Aug 21, 2010 8:26 pm

How do I generate an xorg.conf please? I've just installed on a desktop with which I'd like to use an old serial mouse. I need to tell xorg to read /dev/gmpdata:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "Mouse"
Option "Device" "/dev/gpmdata"
Option "Protocol" "IntelliMouse"
Option "ZAxisMapping" "4 5"
EndSection

How do I do that when /etc/X11/xorg.conf doesn't exist?

Thanks.
tqk
Level 1
Level 1
 
Posts: 4
Joined: Thu Aug 19, 2010 2:02 am

Linux Mint is funded by ads and donations.
 

Re: how to make X read /dev/gpmdata?

Postby dawgdoc on Sat Aug 21, 2010 8:50 pm

In a terminal enter
Code: Select all
sudo gedit /etc/X11/xorg.conf

This will open a text editor with an empty file.

Paste your code and save.

Hope that helps.
Image

SYSTEM: Compaq Presario CQ62 Dual-Boot: Mint 17 Cinnamon, LMDE
READING: Smoke Screen by Dick Francis
User avatar
dawgdoc
Level 9
Level 9
 
Posts: 2723
Joined: Mon Oct 05, 2009 12:53 am
Location: Kentucky, USA the land of Mint Juleps

Re: how to make X read /dev/gpmdata?

Postby tqk on Wed Aug 25, 2010 11:03 pm

No, it doesn't help. I was hoping to find a xorg.conf somewhere that I could tweak. Dumping that fragment into /etc/X11/xorg.conf does nothing.
tqk
Level 1
Level 1
 
Posts: 4
Joined: Thu Aug 19, 2010 2:02 am

Re: how to make X read /dev/gpmdata?

Postby dawgdoc on Thu Aug 26, 2010 2:49 am

This post gives two methods to have your system generate an xorg.conf, rather than just creating a blank file.

If you are wanting a sample, hear is my xorg.conf from Gloria. Remember it will take editing on your part - your hardware is bound to be different. Cut and paste to your heart's content. Other than that, it would mean searching the web for a sample from a system similar to yours.
Code: Select all
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@palmer)  Sun Feb  1 20:21:04 UTC 2009

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Module"
    Load           "glx"
    Load           "dbe"
EndSection

Section "ServerFlags"
    Option         "DontZap" "False"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Configured Monitor"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LPL"
    HorizSync       30.0 - 75.0
    VertRefresh     60.0
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
    Option         "NoLogo" "True"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce Go 6150"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
    DefaultDepth    24
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1280x800 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Image

SYSTEM: Compaq Presario CQ62 Dual-Boot: Mint 17 Cinnamon, LMDE
READING: Smoke Screen by Dick Francis
User avatar
dawgdoc
Level 9
Level 9
 
Posts: 2723
Joined: Mon Oct 05, 2009 12:53 am
Location: Kentucky, USA the land of Mint Juleps


Return to Others

Who is online

Users browsing this forum: Aminga and 1 guest