Results 1 to 6 of 6

Thread: Help with xorg.conf file

  1. #1
    Maximum Bitrate nasa's Avatar
    Join Date
    Aug 2006
    Location
    PA
    Posts
    696

    Help with xorg.conf file

    Howdy,

    I am trying to create a xorg.conf file to work with my eby701 screen... The monitor doesn't seem to support EDID and/or DDC communications over VGA, so if you want more *correct* modelines you have to add them yourself (or so I think). The xorg.conf file I have come up with (leaving sections I want to work automatically out) follows:

    Section "Monitor"
    Identifier "Monitor0"
    DisplaySize 152 91
    VertRefresh 60-72
    # 800x480 71.50 Hz (CVT) hsync: 35.96 kHz; pclk: 36.25 MHz
    Modeline "800x480_72.00" 36.25 800 832 904 1008 480 483 493 503 -hsync +vsync
    Option "PreferredMode" "800x480_72.00"
    EndSection

    Section "Device"
    Identifier "945GM/GMS"
    Driver "intel"
    Option "UseEDID" "FALSE"
    Option "Monitor0"
    EndSection

    Section "Screen"
    Identifier "Primary Screen"
    Monitor "Monitor0"
    Device "945GM/GMS"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "800x480_72.00"
    EndSubsection
    EndSection

    Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Primary Screen"
    EndSection


    Somethings I have noted: it seems the EDID option doesn't work any more, so I am unsure how to have xorg not try (it's pointless). And xrandr shows the following:

    Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
    VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
    1024x768 60.0*
    800x600 60.3 56.2
    848x480 60.0
    640x480 59.9 59.9
    LVDS1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
    1024x768 60.0*+ 85.0 75.0 70.1 60.0
    832x624 74.6
    800x600 85.1 72.2 75.0 60.3 56.2
    640x480 85.0 72.8 75.0 59.9
    720x400 85.0
    640x400 85.1
    640x350 85.1
    TV1 disconnected (normal left inverted right x axis y axis)

    This confuses me as I am connected via VGA, so why do I have LVDS show up?

    I've attached the X.org.log file for further info...

    As always, I appreciate the help.
    Attached Files Attached Files

  2. #2
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    nasa,

    what did you have to do to get touchscreen working? My mouse cursor seems to be in the upper right.
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  3. #3
    Maximum Bitrate nasa's Avatar
    Join Date
    Aug 2006
    Location
    PA
    Posts
    696
    Three steps...

    1. run (included in post) xinput_calibrator_x11 to find out your calibration points

    2. Create a .rules file, mines looks like thus:

    ACTION!="add|change", GOTO="xorg_touchscreen_end"
    KERNEL!="event*", GOTO="xorg_touchscreen_end"
    ATTRS{product}!="3M 3M USB Touchscreen - EX II", GOTO="xorg_touchscreen_end"
    ENV{x11_options.calibration}="1874 14571 2344 13411"
    ENV{x11_options.InvertY}="on"
    LABEL="xorg_touchscreen_end"

    3. Add/edit a .conf file in xorg.conf.d (I edited the 05-evtouch.conf file) and add the following:
    Section "InputClass"
    Identifier "3M"
    MatchProduct "3M"
    MatchDevicePath "/dev/input/event*"
    #Driver "usbtouchscreen"
    Option "InvertY" "on"
    Option "Calibration" "1874 14571 2344 13411"
    EndSection


    hmmm... after reviewing this, step #2 may not be necessary. Actually, I'm pretty sure it's not -- must check. I'll leave it here, just in case. Note: the calibration numbers come from running the app (and it's the actual app, not a txt file).
    Attached Files Attached Files

  4. #4
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    nasa, is your touchscreen egalax based? Seems like there is a regression in the kernel for egalax based touchscreens...
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  5. #5
    Maximum Bitrate nasa's Avatar
    Join Date
    Aug 2006
    Location
    PA
    Posts
    696
    No,

    It's a 7' capacitive touch screen (3m) over a lilliput eby-701 monitor.

    What problems are you having?

  6. #6
    Newbie
    Join Date
    Jan 2010
    Posts
    20
    i think this should work for you too. look for my last post on that thread. http://forums.openice.org/viewtopic....t=784&start=15

    its a pretty long post with an old pic of my carpc desktop.

Similar Threads

  1. Use Windows Mobile phone as carputer
    By xxxjdoggxxx in forum Windows Mobile Phones
    Replies: 37
    Last Post: 02-12-2010, 04:30 PM
  2. Indexing music in 1.0.9.8 Failed
    By hovalistic in forum StreetDeck
    Replies: 0
    Last Post: 07-07-2007, 11:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •