Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Synaptics - Xfce - No xorg.conf
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Sun Apr 29, 2012 6:11 am    Post subject: Synaptics - Xfce - No xorg.conf Reply with quote

Hi,

I am trying to enable tapping on my laptop using the xfce DE but xorg.conf is not available. How could that be possible?
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4550
Location: Spa (Belgium)

PostPosted: Tue May 01, 2012 10:48 am    Post subject: Reply with quote

Xorg can now run without any configuration file, it just loads default values for all its working parameters. If you want to use your touchpad, just create a configuration file (e.g. 10-synaptics.conf) under /etc/X11/xorg.conf.d/ . You might want to take a look under /usr/share/X11/xorg.conf.d/ for the basics. These are default settings so you needn't copy them unless you want to customize them from /etc/X11/xorg.conf.d/ .
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Tue May 01, 2012 11:18 am    Post subject: Reply with quote

VinzC wrote:
Xorg can now run without any configuration file, it just loads default values for all its working parameters. If you want to use your touchpad, just create a configuration file (e.g. 10-synaptics.conf) under /etc/X11/xorg.conf.d/ . You might want to take a look under /usr/share/X11/xorg.conf.d/ for the basics. These are default settings so you needn't copy them unless you want to customize them from /etc/X11/xorg.conf.d/ .

Thanks for your reply but I'm still a bit confused. There is a file 50-synaptics.conf with some basic configuration under /usr/share/X11/xorg.conf.d/. Should I copy that file over to /etc/X11/xorg.conf.d/ and then add the tapping code for synaptics?
Code:
 Option      "TapButton1" "1"
  Option      "TapButton2" "2"
  Option      "TapButton3" "3"
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Tue May 01, 2012 12:40 pm    Post subject: Reply with quote

gentian wrote:
VinzC wrote:
Xorg can now run without any configuration file, it just loads default values for all its working parameters. If you want to use your touchpad, just create a configuration file (e.g. 10-synaptics.conf) under /etc/X11/xorg.conf.d/ . You might want to take a look under /usr/share/X11/xorg.conf.d/ for the basics. These are default settings so you needn't copy them unless you want to customize them from /etc/X11/xorg.conf.d/ .

Thanks for your reply but I'm still a bit confused. There is a file 50-synaptics.conf with some basic configuration under /usr/share/X11/xorg.conf.d/. Should I copy that file over to /etc/X11/xorg.conf.d/ and then add the tapping code for synaptics?
Code:
 Option      "TapButton1" "1"
  Option      "TapButton2" "2"
  Option      "TapButton3" "3"

Ok, I basically added
Code:
Option      "TapButton1" "1"
  Option      "TapButton2" "2"
  Option      "TapButton3" "3"
But I noticed that the tapping is kinda slower that clicking. Any ideas? :/
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4550
Location: Spa (Belgium)

PostPosted: Tue May 01, 2012 12:43 pm    Post subject: Reply with quote

gentian wrote:
Should I copy that file over to /etc/X11/xorg.conf.d/ and then add the tapping code for synaptics?

Yes. Your configuration file will take precedence over the */share/* one.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Tue May 01, 2012 12:45 pm    Post subject: Reply with quote

VinzC wrote:
gentian wrote:
Should I copy that file over to /etc/X11/xorg.conf.d/ and then add the tapping code for synaptics?

Yes. Your configuration file will take precedence over the */share/* one.

I just added the addtional synaptic lines in /usr/share/X11/xorg.conf.d/. however I am noticing a really small lag when tapping. What could be causing this?
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4550
Location: Spa (Belgium)

PostPosted: Tue May 01, 2012 2:02 pm    Post subject: Reply with quote

gentian wrote:
I just added the addtional synaptic lines in /usr/share/X11/xorg.conf.d/. however I am noticing a really small lag when tapping. What could be causing this?

See this post if it can help?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Tue May 01, 2012 3:30 pm    Post subject: Reply with quote

VinzC wrote:
gentian wrote:
I just added the addtional synaptic lines in /usr/share/X11/xorg.conf.d/. however I am noticing a really small lag when tapping. What could be causing this?

See this post if it can help?

No Luck. Could it the evdev driver interfering with synaptics? I found this on the evedev conf:
Code:
Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection
Back to top
View user's profile Send private message
Fitzcarraldo
Guru
Guru


Joined: 30 Aug 2008
Posts: 345
Location: United Kingdom

PostPosted: Tue May 01, 2012 3:43 pm    Post subject: Reply with quote

I don't know whether it's of any help to you, but here are the contents of my /etc/X11/xorg.conf.d/10-synaptics.conf file on one of my laptops, and I find tapping performance OK. Perhaps by adjusting the last three parameters you will find something acceptable.
Code:
Section "InputClass"
   Identifier "touchpad"
   Driver "synaptics"
   MatchIsTouchpad "on"
      Option "TapButton1" "1"
      Option "TapButton2" "2"
      Option "TapButton3" "3"
      Option "VertEdgeScroll" "on"
      Option "VertTwoFingerScroll" "on"
      Option "HorizEdgeScroll" "on"
      Option "HorizTwoFingerScroll" "on"
      Option "CircularScrolling" "on"
      Option "CircScrollTrigger" "2"
      Option "EmulateTwoFingerMinZ" "40"
      Option "EmulateTwoFingerMinW" "8"
      Option "LeftEdge" "1700" # x coord left
      Option "RightEdge" "5300" # x coord right
      Option "TopEdge" "1700" # y coord top
      Option "BottomEdge" "4200" # y coord bottom
      Option "FingerLow" "25" # pressure below this level triggers release
      Option "FingerHigh" "30" # pressure above this level triggers touch
      Option "MaxTapTime" "180" # max time in ms for detecting tap
EndSection

_________________
Fitzcarraldo's blog
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Tue May 01, 2012 5:19 pm    Post subject: Reply with quote

Fitzcarraldo wrote:
I don't know whether it's of any help to you, but here are the contents of my /etc/X11/xorg.conf.d/10-synaptics.conf file on one of my laptops, and I find tapping performance OK. Perhaps by adjusting the last three parameters you will find something acceptable.
Code:
Section "InputClass"
   Identifier "touchpad"
   Driver "synaptics"
   MatchIsTouchpad "on"
      Option "TapButton1" "1"
      Option "TapButton2" "2"
      Option "TapButton3" "3"
      Option "VertEdgeScroll" "on"
      Option "VertTwoFingerScroll" "on"
      Option "HorizEdgeScroll" "on"
      Option "HorizTwoFingerScroll" "on"
      Option "CircularScrolling" "on"
      Option "CircScrollTrigger" "2"
      Option "EmulateTwoFingerMinZ" "40"
      Option "EmulateTwoFingerMinW" "8"
      Option "LeftEdge" "1700" # x coord left
      Option "RightEdge" "5300" # x coord right
      Option "TopEdge" "1700" # y coord top
      Option "BottomEdge" "4200" # y coord bottom
      Option "FingerLow" "25" # pressure below this level triggers release
      Option "FingerHigh" "30" # pressure above this level triggers touch
      Option "MaxTapTime" "180" # max time in ms for detecting tap
EndSection

That defo didn't help me at all.. And when I try to adjust
Code:
synclient option=value.
When I reboot it resets the value back to defaults. So frustrated right now :/
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4550
Location: Spa (Belgium)

PostPosted: Tue May 01, 2012 6:39 pm    Post subject: Reply with quote

gentian wrote:
And when I try to adjust
Code:
synclient option=value.
When I reboot it resets the value back to defaults. So frustrated right now :/

That's how it's supposed to work with synclient as changes aren't made persistent, there's nothing wrong with that. It's just strange that the options, which should make your settings persistent as you want them don't work as suggested by Fitzcarraldo. I don't have my laptop at hand right now but I can check how I did there later and post here.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4550
Location: Spa (Belgium)

PostPosted: Wed May 02, 2012 8:50 am    Post subject: Reply with quote

Ok, here's my configuration file.
/etc/X11/xorg.conf.d/20-input-touchpad.conf:
# Xorg configuration: mouse
Section "InputClass"
   Identifier   "Touchpad0"
   MatchIsTouchpad   "on"
   MatchDevicePath   "/dev/input/event*"
   Driver      "synaptics"
   Option      "TapButton1" "1"
   Option      "VertEdgeScroll" "true"
   Option      "HorizEdgeScroll" "true"
   Option      "RTCornerButton" "3"
   Option      "RBCornerButton" "2"
   Option      "MaxTapMove" "131"
   Option      "EmulateTwoFingerMinZ" "24"
   option      "EmulateTwoFingerMinW" "9"
   Option      "VertTwoFingerScroll" "on"
EndSection

And here's what's in Xorg's default Synaptic configuration file.
/usr/share/X11/xorg.conf.d/50-synaptics.conf:
Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
EndSection

Last, here's what Xorg is logging about that.
grep Synaptics /var/log/Xorg.0.log:
[    39.532] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event6)
[    39.532] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    39.532] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    39.532] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Touchpad0"
[    39.666] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    39.666] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    39.690] (--) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5576
[    39.690] (--) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4684
[    39.690] (--) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    39.690] (--) SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    39.690] (--) SynPS/2 Synaptics TouchPad: buttons: left right double triple
[    39.706] (--) SynPS/2 Synaptics TouchPad: touchpad found
[    39.706] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    39.730] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
[    39.730] (**) SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    39.730] (**) SynPS/2 Synaptics TouchPad: MaxSpeed is now 1.75
[    39.730] (**) SynPS/2 Synaptics TouchPad: AccelFactor is now 0.038
[    39.731] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    39.731] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[    39.731] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    39.731] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    39.731] (--) SynPS/2 Synaptics TouchPad: touchpad found
[    39.732] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    39.732] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    39.732] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    39.732] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    39.732] (--) SynPS/2 Synaptics TouchPad: invalid x-axis range.  defaulting to 1615 - 5685
[    39.732] (--) SynPS/2 Synaptics TouchPad: invalid y-axis range.  defaulting to 1729 - 4171
[    39.732] (--) SynPS/2 Synaptics TouchPad: invalid pressure range.  defaulting to 0 - 256
[    39.732] (--) SynPS/2 Synaptics TouchPad: invalid finger width range.  defaulting to 0 - 16
[    39.752] (EE) Query no Synaptics: 6003C8
[    39.752] (--) SynPS/2 Synaptics TouchPad: no supported touchpad found
[    39.752] (EE) SynPS/2 Synaptics TouchPad Unable to query/initialize Synaptics hardware.
[    39.766] (EE) PreInit returned 11 for "SynPS/2 Synaptics TouchPad"
[  5042.254] (--) SynPS/2 Synaptics TouchPad: touchpad found
...

But it seems to work despite the erroneous ranges (first time I notice that :D ).

Hope this helps.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”


Last edited by VinzC on Wed May 02, 2012 8:58 am; edited 1 time in total
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Wed May 02, 2012 8:53 am    Post subject: Reply with quote

VinzC wrote:
Ok, here's my configuration file.
/etc/X11/xorg.conf.d/20-input-touchpad.conf:
# Xorg configuration: mouse
Section "InputClass"
   Identifier   "Touchpad0"
   MatchIsTouchpad   "on"
   MatchDevicePath   "/dev/input/event*"
   Driver      "synaptics"
   Option      "TapButton1" "1"
   Option      "VertEdgeScroll" "true"
   Option      "HorizEdgeScroll" "true"
   Option      "RTCornerButton" "3"
   Option      "RBCornerButton" "2"
   Option      "MaxTapMove" "131"
   Option      "EmulateTwoFingerMinZ" "24"
   option      "EmulateTwoFingerMinW" "9"
   Option      "VertTwoFingerScroll" "on"
EndSection

Hope this helps.

Thanks, I'll try that later. However, just some more thoughts. Could the problem be due to my synaptics.conf located at usr/share and not etc/X11? When I was using Archlinux on my laptop, the synaptics was automatically configured awesomly. No lags etc. Should I try Installing Arch and then copy the settings?
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4550
Location: Spa (Belgium)

PostPosted: Wed May 02, 2012 9:08 am    Post subject: Reply with quote

gentian wrote:
Thanks, I'll try that later. However, just some more thoughts. Could the problem be due to my synaptics.conf located at usr/share and not etc/X11? When I was using Archlinux on my laptop, the synaptics was automatically configured awesomly. No lags etc. Should I try Installing Arch and then copy the settings?

Damn! You're fast! :lol: I've just updated my post with some more info. Anyway.

Yes, you can try and compare those settings between Arch and Gentoo. I don't know if Arch still uses Hal or not because I've noticed I've had to spend quite some time to make my touchpad work as before when "they" dropped Hal. Just take note of the software + drivers version. For instance I'm using Xorg-x11 7.4-r1, xorg-server 1.10.4-r1 and xf86-input-synaptics 1.4.0.

EDIT: Wait a minute? You said your configuration was stored in /usr/share/X11/blah and not in /etc/X11/xorg.conf.d, right? So yes, it is the reason why your configuration file is ignored. All you have to do is create (if it doesn't exist) /etc/X11/xorg.conf.d and move your configuration file there.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Wed May 02, 2012 6:57 pm    Post subject: Reply with quote

VinzC wrote:
gentian wrote:
Thanks, I'll try that later. However, just some more thoughts. Could the problem be due to my synaptics.conf located at usr/share and not etc/X11? When I was using Archlinux on my laptop, the synaptics was automatically configured awesomly. No lags etc. Should I try Installing Arch and then copy the settings?

Damn! You're fast! :lol: I've just updated my post with some more info. Anyway.

Yes, you can try and compare those settings between Arch and Gentoo. I don't know if Arch still uses Hal or not because I've noticed I've had to spend quite some time to make my touchpad work as before when "they" dropped Hal. Just take note of the software + drivers version. For instance I'm using Xorg-x11 7.4-r1, xorg-server 1.10.4-r1 and xf86-input-synaptics 1.4.0.

EDIT: Wait a minute? You said your configuration was stored in /usr/share/X11/blah and not in /etc/X11/xorg.conf.d, right? So yes, it is the reason why your configuration file is ignored. All you have to do is create (if it doesn't exist) /etc/X11/xorg.conf.d and move your configuration file there.

Still the same c**p.. ARGH!!
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Wed May 02, 2012 7:28 pm    Post subject: Reply with quote

gentian wrote:
VinzC wrote:
gentian wrote:
Thanks, I'll try that later. However, just some more thoughts. Could the problem be due to my synaptics.conf located at usr/share and not etc/X11? When I was using Archlinux on my laptop, the synaptics was automatically configured awesomly. No lags etc. Should I try Installing Arch and then copy the settings?

Damn! You're fast! :lol: I've just updated my post with some more info. Anyway.

Yes, you can try and compare those settings between Arch and Gentoo. I don't know if Arch still uses Hal or not because I've noticed I've had to spend quite some time to make my touchpad work as before when "they" dropped Hal. Just take note of the software + drivers version. For instance I'm using Xorg-x11 7.4-r1, xorg-server 1.10.4-r1 and xf86-input-synaptics 1.4.0.

EDIT: Wait a minute? You said your configuration was stored in /usr/share/X11/blah and not in /etc/X11/xorg.conf.d, right? So yes, it is the reason why your configuration file is ignored. All you have to do is create (if it doesn't exist) /etc/X11/xorg.conf.d and move your configuration file there.

Still the same c**p.. ARGH!!

Ok, some new info. HAL is not used in Archlinux. In Archlinux I always followed the amazing guide and everything worked. Your
Code:
xf86-input-synaptics 1.4.0
suggestion was very crucial.. I didn't install that package prior to installing xorg-server and xfce. Maybe this is why everything got so mesed up?
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4550
Location: Spa (Belgium)

PostPosted: Thu May 03, 2012 7:41 am    Post subject: Reply with quote

gentian wrote:
I didn't install that package prior to installing xorg-server and xfce. Maybe this is why everything got so mesed up?

Aha... you don't have to install that package manually for it gets pulled down as soon as you define the INPUT_DEVICES variable in make.conf. Example:
grep INPUT /etc/make.conf:
INPUT_DEVICES="linuxinput evdev synaptics wacom"

That should sort it all out.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Thu May 03, 2012 7:43 am    Post subject: Reply with quote

VinzC wrote:
gentian wrote:
I didn't install that package prior to installing xorg-server and xfce. Maybe this is why everything got so mesed up?

Aha... you don't have to install that package manually for it gets pulled down as soon as you define the INPUT_DEVICES variable in make.conf. Example:
grep INPUT /etc/make.conf:
INPUT_DEVICES="linuxinput evdev synaptics wacom"

That should sort it all out.

I only have
Code:
INPUT_DEVICES="evdev synaptics"
What's
Code:
INPUT_DEVICES="linuxinput wacom"
for?
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4550
Location: Spa (Belgium)

PostPosted: Thu May 03, 2012 7:49 am    Post subject: Reply with quote

gentian wrote:
I only have
Code:
INPUT_DEVICES="evdev synaptics"

Sounds good. You should have a xf86-input-synaptics installed, preferably the latest version (mine, aka 1.4.0 is still an old one but I know its version does not change much over time so you might still find that version in current portage).

gentian wrote:
What's
Code:
INPUT_DEVICES="linuxinput wacom"
for?

The former is requested by DirectFB IIRC (I might have forgotten to remove it though, I need to check), the latter is for when you have a Wacom tablet.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Thu May 03, 2012 7:50 am    Post subject: Reply with quote

VinzC wrote:
gentian wrote:
I only have
Code:
INPUT_DEVICES="evdev synaptics"

Sounds good. You should have a xf86-input-synaptics installed, preferably the latest version (mine, aka 1.4.0 is still an old one but I know its version does not change much over time so you might still find that version in current portage).

gentian wrote:
What's
Code:
INPUT_DEVICES="linuxinput wacom"
for?

The former is requested by DirectFB IIRC (I might have forgotten to remove it though, I need to check), the latter is for when you have a Wacom tablet.

But I didnt :s I had to emerge the synaptics package manually.
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4550
Location: Spa (Belgium)

PostPosted: Thu May 03, 2012 7:59 am    Post subject: Reply with quote

What about
Code:
emerge -pvuDN --with-bdeps=y xorg-drivers
? Normally the synaptics driver (along with any other INPUT and VIDEO driver you set through make.conf) should not be emerged manually. If you had to then it probably means you changed the INPUT_DEVICES variable after you emerged Xorg and all its dependencies. At least this is the only simple explanation I see.

EDIT: You of course need to unmerge synaptics driver beforehand.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Fri May 04, 2012 12:12 pm    Post subject: Reply with quote

VinzC wrote:
What about
Code:
emerge -pvuDN --with-bdeps=y xorg-drivers
? Normally the synaptics driver (along with any other INPUT and VIDEO driver you set through make.conf) should not be emerged manually. If you had to then it probably means you changed the INPUT_DEVICES variable after you emerged Xorg and all its dependencies. At least this is the only simple explanation I see.

EDIT: You of course need to unmerge synaptics driver beforehand.

This is what happens when I try to run the command that you mentioned:
Code:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] sys-libs/glibc-2.14.1-r3 [2.13-r4] USE="(multilib) -debug -gd (-hardened) -profile (-selinux) -vanilla (-glibc-omitfp%)" 16,059 kB
[ebuild     U  ] sys-devel/gnuconfig-20120116 [20110814] 51 kB
[ebuild     U  ] dev-libs/openssl-1.0.0i [1.0.0h] USE="(sse2) zlib -bindist -gmp -kerberos -rfc3779 -static-libs -test" 3,957 kB
[ebuild  N     ] x11-drivers/xf86-input-synaptics-1.4.0  0 kB

Total: 4 packages (3 upgrades, 1 new), Size of downloads: 20,065 kB

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Here is also my make.conf:
Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=amdfam10 -O2 -pipe -mno-3dnow -mcx16 -mpopcnt -msse3 -msse4a -mmmx"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="mmx sse sse2 -gnome -kde alsa ncurses"

INPUT_DEVICES="evdev synaptics"

ACCEPT_KEYWORDS="amd64"

VIDEO_CARDS="radeon"

ACCEPT_LICENCE="*"

GENTOO_MIRRORS="http://de-mirror.org/gentoo/"

SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4550
Location: Spa (Belgium)

PostPosted: Sun May 06, 2012 9:02 am    Post subject: Reply with quote

This looks more logical indeed. The emerge -p argument stands for --pretend; just replace it with -q (for --quiet output) and run the emerge again. Now your synaptics driver will be pulled down as a dependency of the drivers meta-package:
Code:
emerge -avqDN1 --with-bdeps=y xorg-drivers

And here the -1 argument prevents portage from adding the package to your world file.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
gentian
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2012
Posts: 113

PostPosted: Sun May 06, 2012 9:16 am    Post subject: Reply with quote

VinzC wrote:
This looks more logical indeed. The emerge -p argument stands for --pretend; just replace it with -q (for --quiet output) and run the emerge again. Now your synaptics driver will be pulled down as a dependency of the drivers meta-package:
Code:
emerge -avqDN1 --with-bdeps=y xorg-drivers

And here the -1 argument prevents portage from adding the package to your world file.

Thanks again for your reply. Actually, what is this command suppose to do exactly? It only pulled the synaptics driver :/
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4550
Location: Spa (Belgium)

PostPosted: Sun May 06, 2012 5:01 pm    Post subject: Reply with quote

gentian wrote:
Thanks again for your reply. Actually, what is this command suppose to do exactly? It only pulled the synaptics driver :/

You're quite welcome :) .

Actually this command is what I always use for upgrades/updates -- except the --bdeps thing. You will find detailed info in man portage . With -D portage does a deep update of packages, not just those you're specifying on the command line but also the dependencies. I don't know why exactly the --with-bdeps=y (include back dependencies aka dependencies of dependencies, that's how I understand that but don't ask :D) should be used (IIRC it is implied but you're never too careful). With -N you update/upgrade packages which USE flags have changed. Use -a for emerge to always ask yes/no. With -v and -q combined you have quiet output but with USE flag and version changes. Ah yes, -u stands for upgrade/downgrade if needed. It is normally implied by -N or -D.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”


Last edited by VinzC on Sun May 06, 2012 5:44 pm; edited 2 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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 vote in polls in this forum