It is currently Mon May 20, 2013 12:23 am

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: touchpad and resolution on zenwalk 7.0 [solved]
PostPosted: Sun May 01, 2011 6:48 am 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Wed Sep 01, 2010 6:25 pm
Posts: 60
Location: dago
hello all,

i have two problems with a fresh installation of zenwalk 7.0 on dell vostro 1015. the two problems are related to the xorg.conf file.

first : the vertical and horizontal scroll of the touchpad don't work. i tried adding :
- Option "VertEdgeScroll" "on" or Option "VertEdgeScroll" "1" and
- Option "HorizEdgeScroll" "on" or Option "HorizEdgeScroll" "1".
but no success.
it worked on zenwalk 6.4

second : my resolution is only 1024x768. with zenwalk 6.4, i had 1366x768.

my xorg.conf :
Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by videoconfig, the Zenwalk X Configurator.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command from runlevel 3:
# videoconfig


# Files          ( File pathnames )
#_______________________________________________________________________


# ServerFlags    ( Server flags )
#_______________________________________________________________________

Section "ServerFlags"
#   Option      "NoTrapSignals"
#   Option      "DontVTSwitch"
   Option       "DontZap"      "off"
#   Option      "DontZoom"
#   Option      "DisableVidModeExtension"
#   Option      "AllowNonLocalXvidtune"
#   Option      "DisableModInDev"
#   Option      "AllowNonLocalModInDev"
#   Option      "blank time"      "10"      # 10 minutes
#   Option      "standby time"      "20"
#   Option      "suspend time"      "30"
#   Option      "off time"         "60"
#   Option      "EstimateSizesAggresively" "0"
   Option      "AutoEnableDevices"   "false"
   Option      "AutoAddDevices"   "false"
   Option      "AllowEmptyInput"   "false"
#   Option      "AccelMethod"      "exa"   
EndSection


# **********************************************************************
# Module section ( Dynamically loadable modules )
#_______________________________________________________________________


# Extensions     ( Extension enabling )
#_______________________________________________________________________

Section "Extensions"
        Option "Composite" "enable"
EndSection


# InputDevice    ( Input device description )
#_______________________________________________________________________

Section "InputDevice"
   Identifier   "Keyboard1"
   Driver   "kbd"
#   Option     "Protocol"      "Xqueue"
#   Option     "AutoRepeat"    "500 5"
#   Option     "Xleds" "1 2 3"
#   Option     "XkbDisable"
   Option     "XkbRules"      "xorg"
   Option     "XkbModel"      "pc105"
   Option     "XkbLayout"     "fr"
#   Option     "XkbVariant"    "us"
   Option     "XkbOptions"    "terminate:ctrl_alt_bksp"
EndSection

Section "InputDevice"

# Identifier and driver
   Identifier "Mouse1"
   Driver        "mouse"
   Option        "Protocol" "Auto"
   Option        "Device" "/dev/input/mice"
#   Option     "Protocol" "Xqueue"
#   Option     "BaudRate" "9600"
#   Option     "SampleRate"   "150"
#   Option     "Emulate3Buttons"
#   Option     "Emulate3Timeout" "50"
#   Option     "ChordMiddle"
   Option     "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
   Identifier    "Pad1"
   Driver        "synaptics"
   Option        "Protocol" "auto-dev"
   Option        "Device" "/dev/tp1"
   Option        "TapButton1" "1"
#   Option        "VertEdgeScroll" "1"
#   Option        "HorizEdgeScroll" "1"
#   Option        "LeftEdge"      "1700"
#   Option        "RightEdge"     "5300"
#   Option        "TopEdge"       "1700"
#   Option        "BottomEdge"    "4200"
#   Option        "FingerLow"     "25"
#   Option        "FingerHigh"    "30"
#   Option        "MaxTapTime"    "180"
#   Option        "MaxTapMove"    "220"
#   Option        "VertScrollDelta" "100"
#   Option        "MinSpeed"      "0.09"
#   Option        "MaxSpeed"      "0.18"
#   Option        "AccelFactor"   "0.0015"
   Option        "SHMConfig"     "on"
EndSection


# Device         ( Graphics device description )
#_______________________________________________________________________

# Any number of graphic devices sections may be present

Section "Device"
   Identifier     "Videocard1"
#   VendorName  "Unknown Vendor"
#    BoardName   ""
#    Driver     "vesa"
#   BusID       ""
#    Option "RenderAccel" "true"
#    Option "XaaNoOffscreenPixmaps" "on"
#   Option "AllowGLXWithComposite" "true"
EndSection


# Monitor        ( Monitor description )
#_______________________________________________________________________

Section "Monitor"
   Identifier     "Monitor1"

#   Modeline "1366x768_60.064" 71.560000 1366 1414 1446 1510 768 770 775 789 -HSync +VSync   
   
#      HorizSync 31.5 - 50.0
#      VertRefresh 40-90
#        Option "UseEdidFreqs" "1"
#   Option       "DPMS"
#   Option "ReducedBlanking"
   
EndSection


# Screen         ( Screen configuration )
#_______________________________________________________________________

Section "Screen"
    Identifier  "Zenwalk"
    Device      "Videocard1"
    Monitor     "Monitor1"

   DefaultDepth 24

#    Subsection "Display"
#        Depth       8
#        Modes "1366x768_60.064" "2560x1600" "2048x1536" "1920x1440" "1920x1200" "1920x1080" "1680x1050" "1600x1200" "1600x1024" "1440x900" "1400x1050" "1400x900" "1360x768" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x720" "1200x900" "1152x864" "1152x768" "1024x768" "1024x600" "854x480" "848x480" "800x600"
#   EndSubsection
#    Subsection "Display"
#        Depth       16
#        Modes "1366x768_60.064" "2560x1600" "2048x1536" "1920x1440" "1920x1200" "1920x1080" "1680x1050" "1600x1200" "1600x1024" "1440x900" "1400x1050" "1400x900" "1360x768" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x720" "1200x900" "1152x864" "1152x768" "1024x768" "1024x600" "854x480" "848x480" "800x600"
#   EndSubsection
#    Subsection "Display"
#        Depth       24
#        Modes "1366x768_60.064" "2560x1600" "2048x1536" "1920x1440" "1920x1200" "1920x1080" "1680x1050" "1600x1200" "1600x1024" "1440x900" "1400x1050" "1400x900" "1360x768" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x720" "1200x900" "1152x864" "1152x768" "1024x768" "1024x600" "854x480" "848x480" "800x600"
#   EndSubsection
#    Subsection "Display"
#        Depth       32
#        Modes "1366x768_60.064" "2560x1600" "2048x1536" "1920x1440" "1920x1200" "1920x1080" "1680x1050" "1600x1200" "1600x1024" "1440x900" "1400x1050" "1400x900" "1360x768" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x720" "1200x900" "1152x864" "1152x768" "1024x768" "1024x600" "854x480" "848x480" "800x600"
#   EndSubsection
EndSection


# ServerLayout   ( Overall layout )
#_______________________________________________________________________

Section "ServerLayout"
   Identifier      "Simple Layout"
   Screen         "Zenwalk"
   InputDevice      "Mouse1" "CorePointer"
   InputDevice      "Pad1" "SendCoreEvents"
   InputDevice      "Keyboard1" "CoreKeyboard"
EndSection


# DRI            ( DRI-specific configuration )
#_______________________________________________________________________

Section "dri"
# Access to OpenGL ICD is allowed for all users:
    Mode      0666
# Access to OpenGL ICD is restricted to a specific user group:
#    Group      100    # users
EndSection


my graphics card :
Code:
root[azertyh]# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)


thanks.

_________________
it's better to ask stupid questions than to do something stupid.
don't worry, be zen.


Last edited by azertyh on Mon May 16, 2011 6:06 pm, edited 1 time in total.

 Profile Send private message  
 
 Post subject: Re: touchpad and resolution on zenwalk 7.0
PostPosted: Sun May 01, 2011 9:42 am 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Tue Oct 06, 2009 4:18 pm
Posts: 156
Location: Hungary
Code:
root[a]# xrandr
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 4096 x 4096
VGA disconnected (normal left inverted right x axis y axis)
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800       59.9*+
   1024x768       60.0 
   800x600        60.3 
   640x480        59.9 


Type xrandr as root, like me. It list your available screen dimensions, according to your xorg.conf it should contain a 1366x768 resolution. Then type e.g.:

xrandr -s 0

Numbering is up from down so here 1280x800 is zero 1024x768 is one and so on.
I hope it helps you.

_________________
Linux is friendly. :)


 Profile Send private message  
 
 Post subject: Re: touchpad and resolution on zenwalk 7.0
PostPosted: Sun May 01, 2011 9:46 am 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Oct 06, 2006 5:12 am
Posts: 2423
Location: India - Silicon City
Hey i have vostro 3500, and synaptic touchpad. Every thing works fine here w.r.t mouse.
Heres my xorg.

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 260.19.44  (buildmeister@swio-display-x86-rhel47-04.nvidia.com)  Sun Feb 27 21:50:39 PST 2011


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

Section "Files"
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 "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "SHMConfig"             "on"
        Option          "HorizScrollDelta"      "0"
EndSection

Section "InputDevice"

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

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Option  "Coolbits" "1"
    Option  "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2233; PowerMizerDefault=0x3"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection



Btw, your xong is using mesa driver. Try intel

_________________
Happiness is REAL, when SHARED
Christopher mcCandles

Software is like sex: it's better when it's free.
Linus Torvalds


 Profile Send private message  
 
 Post subject: Re: touchpad and resolution on zenwalk 7.0
PostPosted: Sun May 01, 2011 1:39 pm 
Experienced Zenwalker
Experienced Zenwalker

Joined: Fri Mar 19, 2010 3:34 am
Posts: 126
Location: Sydney, Australia
Better still delete /etc/X11/xorg.conf entirely.
Your touchpad can be configured in /etc/X11/xorg.conf.d/ (example files in /usr/share/X11/xorg.conf.d/ )

Your intel graphics card shouldn't need xorg.conf


 Profile Send private message  
 
 Post subject: Re: touchpad and resolution on zenwalk 7.0
PostPosted: Sun May 01, 2011 7:23 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Wed Sep 01, 2010 6:25 pm
Posts: 60
Location: dago
thanks for your replies.


@aiszisz
the output of xrandr :
Code:
azertyh[~]$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768        0.0*


i dont know if these are useful but i see these lines in the Xorg.0.log :
Code:
[   420.426] (II) VESA(0): Supported detailed timing:
[   420.426] (II) VESA(0): clock: 71.6 MHz   Image Size:  344 x 194 mm
[   420.426] (II) VESA(0): h_active: 1366  h_sync: 1414  h_sync_end 1446 h_blank_end 1510 h_border: 0
[   420.426] (II) VESA(0): v_active: 768  v_sync: 770  v_sync_end 775 v_blanking: 789 v_border: 0


and
Code:
[   420.426] (II) VESA(0): Modeline "1366x768"x0.0   71.56  1366 1414 1446 1510  768 770 775 789 +hsync -vsync (47.4 kHz)



@Zenwalk addict
i copy your xorg.conf (actually the lines concerning the touchpad) but the scrolls don't work.


@aurlaent
i delete the xorg.conf, reboot the X server, same problem.
and i don't understand the "Your touchpad can be configured in /etc/X11/xorg.conf.d/ (example files in /usr/share/X11/xorg.conf.d/ )". i see a file about touchpad configuration in /usr/share/X11/xorg.conf.d/, but what to do with it?


i did some search. they advise to change the driver "vesa" to "intel". i did it and i got an error that the driver "intel" doesn't exist.

i changed also "vesa" to "i810", but same error : the driver "i810" doesn't exist. i tried "i810" because i see this line in the Xorg.0.log :
Code:
azertyh[~]$ cat /var/log/Xorg.0.log | grep Chipset
[   420.395] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,


i changed also "vesa" to "i915", but same error : the driver "i915" doesn't exist. i tried "i915" because i see that :
Code:
root[azertyh]# lsmod | grep intel
snd_hda_intel          14020  2
snd_hda_codec          34996  2 snd_hda_codec_conexant,snd_hda_intel
snd_pcm                33828  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
intel_agp               6532  1 i915
intel_gtt               7560  3 i915,intel_agp
snd                    27052  12 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
agpgart                15204  3 drm,intel_agp,intel_gtt
snd_page_alloc          3872  2 snd_hda_intel,snd_pcm



so, i'm there.
i download some files explaining xorg.conf. i will read them tomorrow.

_________________
it's better to ask stupid questions than to do something stupid.
don't worry, be zen.


 Profile Send private message  
 
 Post subject: Re: touchpad and resolution on zenwalk 7.0
PostPosted: Sun May 01, 2011 8:32 pm 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Tue Oct 06, 2009 4:18 pm
Posts: 156
Location: Hungary
Its from the end of xrandr man page
Code:
Forces to use a 1024x768 mode on an output called VGA:
              xrandr --newmode "1024x768" 63.50  1024 1072 1176 1328  768  771
               775 798 -hsync +vsync
              xrandr --addmode VGA 1024x768
              xrandr --output VGA --mode 1024x768
I would try this with that values from your Xorg.0.log.
Btw Im just guessing :/

_________________
Linux is friendly. :)


 Profile Send private message  
 
 Post subject: Re: touchpad and resolution on zenwalk 7.0
PostPosted: Mon May 02, 2011 2:55 am 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Oct 06, 2006 5:12 am
Posts: 2423
Location: India - Silicon City
Just try looking at this https://wiki.archlinux.org/index.php/Touchpad_Synaptics

_________________
Happiness is REAL, when SHARED
Christopher mcCandles

Software is like sex: it's better when it's free.
Linus Torvalds


 Profile Send private message  
 
 Post subject: Re: touchpad and resolution on zenwalk 7.0
PostPosted: Mon May 02, 2011 6:50 am 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Dec 28, 2007 2:36 pm
Posts: 1285
viewtopic.php?f=10&t=31404
-------------------------------------
Try to remove xorg.conf and reboot
I supose that you have modeset.
If not
run liloconfig again
at boot parametres write
i915.modeset=1
choose standard linux console
delete xorg.conf from /etc/X11
and reboot
-----------------------------------
If you don't have modeset the kernel will not load the intel driver and you keep using vesa
If you choose a console whit higher resolution
ctrl-alt-F2 will not work
deleting xorg.conf probably will enable scroll
or follow aurlaent post
------------------
please read all the posts about intel graphic.and synaptics


 Profile Send private message  
 
 Post subject: Re: touchpad and resolution on zenwalk 7.0
PostPosted: Tue May 03, 2011 3:56 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Wed Sep 01, 2010 6:25 pm
Posts: 60
Location: dago
hello,

thanks franco.

run liloconfig
add i915.modeset=1 to the parameters
delete xorg.conf
reboot

first thing : the keyboard is qwerty, i use azerty.
second thing : the resolution is ok, i have 1366x768
third thing : vertical scrolling works but horizontal scrolling not.

how to have a french keyboard?

_________________
it's better to ask stupid questions than to do something stupid.
don't worry, be zen.


 Profile Send private message  
 
 Post subject: Re: touchpad and resolution on zenwalk 7.0
PostPosted: Tue May 03, 2011 4:38 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Oct 06, 2006 5:12 am
Posts: 2423
Location: India - Silicon City
Please refer to old threads or search wiki. There is a section for a localization for keyboard.

_________________
Happiness is REAL, when SHARED
Christopher mcCandles

Software is like sex: it's better when it's free.
Linus Torvalds


 Profile Send private message  
 
 Post subject: Re: touchpad and resolution on zenwalk 7.0
PostPosted: Mon May 16, 2011 6:05 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Wed Sep 01, 2010 6:25 pm
Posts: 60
Location: dago
hello all,

solved

to have the french keyboard :
- i copy the 90-keyboard-layout.conf from /usr/share/X11/xorg.conf.d to /etc/X11/xorg.conf.d
- and i modify the line Option "XkbLayout" "us" to Option "XkbLayout" "fr"

to have the horizontal scrolling to work :
- i copy the 50-synaptics.conf from /usr/share/X11/xorg.conf.d to /etc/X11/xorg.conf.d
- and i add the line Option "VertEdgeScroll" "1"

thanks.

_________________
it's better to ask stupid questions than to do something stupid.
don't worry, be zen.


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC


 Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: