Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-21 Thread Mick
On Monday 21 February 2011 04:07:20 Valmor de Almeida wrote:

 otherwise my keyboard keybindings do not work. I have also tried the
 pointer InputClass outside the xorg.conf file, that is, inside the
 xorg.conf.d/ directory. As long as the 10-synaptics.conf file is read
 first, the keyboard config works so do the usb mouse and trackpoint
 (with inverted buttons). However so far I have not been able to get the
 touchpad buttons to be inverted.
 
 This is a minor thing I can deal with later.

Try, as man synaptics suggest, to set in your synaptics: TapButton1=3 as an 
option and see if that works.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-20 Thread Mick
On Sunday 20 February 2011 00:25:24 Valmor de Almeida wrote:
 On 02/19/2011 06:59 PM, Mick wrote:
 [snip]
 
  On two laptops of mine evdev causes untold confusion with the touchpad
  and second language selection for the keyboard.  I *have* to use the
  synaptics and keyboard input drivers.  I'm also using mouse (because it
  doesn't hurt I guess).
  
  I tried of course to remove them all and leave evdev initially, but it
  all went horribly wrong.  Perhaps evdev will catch up eventually, I just
  hope synaptics and keyboard don't default into being deprecated before
  then.

I think I should at least partly retract some of the above statement - with 
x11-base/xorg-server-1.9.4 I have managed to unmerge x11-drivers/xf86-input-
keyboard and x11-drivers/xf86-input-mouse and evdev seems to still pick up my 
mouse and keyboard.

I had to comment out the following three entries first in my xorg.conf:
#
Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
#   InputDeviceMouse0 CorePointer
#   InputDeviceKeyboard0 CoreKeyboard
#   Option AllowEmptyInput off
EndSection
#

and also added appropriate Section InputClass parts for mouse and keyboard 
in my /etc/X11/xorg.conf, but commented out similar parts in 
/usr/share/X11/xorg.conf.d/10-evdev.conf.

 I am using evdev and synaptics only on a thinkpad t201. Without an
 xorg.conf, all works including when I connect an usb mouse. However I am
 trying to configure the touchpad, trackpoint and extended buttons to
 work as left-hand; that is I would like to have the 3 buttons reversed.
 
 I have not been lucky so far. In fact I've read on the web about some
 new (relative to xorg 1.7) syntax for the xorg.conf file. Does anyone
 know about a site with humanly friendly information on how to write a
 modern xorg.conf file? 

Have you had a look at:

http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml

Also, have a read of the InputClass section in man xorg.conf and the files in 
/usr/share/X11/xorg.conf.d/.


 In addition to the devices I mentioned above I am
 also trying to setup an external monitor as a hotplug virtual screen.
 
 For instance, things like this do not work:
 
 
 Section InputClass
 Identifier TouchPad

Change this line to:

Identifier touchpad catchall

Or, you can also try:

Identifier synaptics touchpad catchall

 MatchIsTouchpad on
 Driver synaptics
 #Option SHMConfig on
 Option VertTwoFingerScroll on
 EndSection
 
 In the past I used
 
 Option ButtonMapping 3 2 1

Do you want this to work for your touchpad with the synaptics driver, or do 
you want this to work with any physical buttons on the laptop, or even an 
external (e.g. USB) mouse?

If the former, then have a look at the NOTES at the end of the man synaptics 
page, where it mentions button mapping.

For non tap buttons you can try setting this option in an InputClass section 
in your xorg.conf for an InputClass device mouse:

Section InputClass
Identifier  mouse catchall
Driver  evdev
MatchIsPointer on
MatchDevicePath /dev/input/event*
Option  Protocol auto
Option ButtonMapping 3 2 1
EndSection

 which apparently does not work here. Last but not least, how do I get
 the good old  ctrl-alt-backspace  keybinding to kill X?

You'll need to define this in the InputClass that deals with the keyboard:

Section InputClass
   Identifier  keyboard catchall
   Driver  evdev
   MatchIsKeyboard on
   MatchDevicePath /dev/input/event*
   Option XkbLayout gb
   Option XkbOptions terminate:ctrl_alt_bksp
EndSection

HTH.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-20 Thread Neil Bothwick
On Sat, 19 Feb 2011 14:48:17 -0500, Valmor de Almeida wrote:

 Thanks for the help. This was less painful than I thought. However it
 exposed a internet connection problem. I am using wicd for wireless and
 wired internet config. This laptop happened to be in a place where no
 wired internet is available. Since I use the wicd-client X config
 utility I was not able to connect to the internet while X was down.
 There is a wicd-cli but the man page is empty. I guess I will have to
 get some info on how to use wicd-cli on an emergency like this.

The man page is empty but wicd-cli --help will shoe that that this is not
what you want. You need wicd-curses, but wicd-client should call that for
you when X is unavailable.

If you have auto-connect enabled for your ESSID, you don't even need
that, wicd will connect as soon as it starts at boot.


-- 
Neil Bothwick

I distinctly remember forgetting that.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-20 Thread Valmor de Almeida
On 02/20/2011 12:53 PM, Neil Bothwick wrote:
 On Sat, 19 Feb 2011 14:48:17 -0500, Valmor de Almeida wrote:
 
 Thanks for the help. This was less painful than I thought. However it
 exposed a internet connection problem. I am using wicd for wireless and
 wired internet config. This laptop happened to be in a place where no
 wired internet is available. Since I use the wicd-client X config
 utility I was not able to connect to the internet while X was down.
 There is a wicd-cli but the man page is empty. I guess I will have to
 get some info on how to use wicd-cli on an emergency like this.
 
 The man page is empty but wicd-cli --help will shoe that that this is not
 what you want. You need wicd-curses, but wicd-client should call that for
 you when X is unavailable.
 
 If you have auto-connect enabled for your ESSID, you don't even need
 that, wicd will connect as soon as it starts at boot.
 
 
Indeed, wicd-curses does the job.

Thanks,

--
Valmor



Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-20 Thread Valmor de Almeida
On 02/20/2011 10:03 AM, Mick wrote:
[snip]
 
 Have you had a look at:
 
 http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml

Yes. Got some info there.

 
 Also, have a read of the InputClass section in man xorg.conf and the files in 
 /usr/share/X11/xorg.conf.d/.

This was helpful.
 
 
[snip]

 In the past I used

 Option ButtonMapping 3 2 1
 
 Do you want this to work for your touchpad with the synaptics driver, or do 
 you want this to work with any physical buttons on the laptop, or even an 
 external (e.g. USB) mouse?

The latter.

 
 If the former, then have a look at the NOTES at the end of the man synaptics 
 page, where it mentions button mapping.

man pages (evdev and xorg.conf) were really helpful.

 
 For non tap buttons you can try setting this option in an InputClass section 
 in your xorg.conf for an InputClass device mouse:
 
 Section InputClass
 Identifier  mouse catchall
 Driver  evdev
 MatchIsPointer on
 MatchDevicePath /dev/input/event*
 Option  Protocol auto
 Option ButtonMapping 3 2 1
 EndSection

I tried the above for the Identifier evdev pointer catchall in the
xorg.conf file and both the usb mouse and trackpoint get their buttons
inverted as desired. However the touchpad buttons do not get inverted. I
am using xorg.conf.d/ with the synaptics file: 10-synaptics.conf

Section InputClass
 Identifier synaptics touchpad catchall
 Driver synaptics
 Option Protocol auto-dev
 Option HorizEdgeScroll true
 Option VertEdgeScroll true
 Option AutoServerLayout on
EndSection

which apparently needs to be read before the keyboard conf: 30-keyboard.conf

Section InputClass
 Identifier evdev keyboard catchall
 MatchIsKeyboard on
 MatchDevicePath /dev/input/event*
 Driver evdev
 Option XkbOptions terminate:ctrl_alt_bksp
 Option AutoSeverLayout on
EndSection

otherwise my keyboard keybindings do not work. I have also tried the
pointer InputClass outside the xorg.conf file, that is, inside the
xorg.conf.d/ directory. As long as the 10-synaptics.conf file is read
first, the keyboard config works so do the usb mouse and trackpoint
(with inverted buttons). However so far I have not been able to get the
touchpad buttons to be inverted.

This is a minor thing I can deal with later.

Thanks,

--
Valmor



 
 which apparently does not work here. Last but not least, how do I get
 the good old  ctrl-alt-backspace  keybinding to kill X?
 
 You'll need to define this in the InputClass that deals with the keyboard:
 
 Section InputClass
Identifier  keyboard catchall
Driver  evdev
MatchIsKeyboard on
MatchDevicePath /dev/input/event*
Option XkbLayout gb
Option XkbOptions terminate:ctrl_alt_bksp
 EndSection
 
 HTH.




[gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Nikos Chantziaras

On 02/19/2011 07:44 PM, Valmor de Almeida wrote:

[...]
I have just updated xorg to 1.9.4 with USE -hal and removed hal in
this order (also needed to remove hal from the default run level).  I
tried startx using the existing xorg.conf and X does not start
correctly, I have no mouse and a frozen screen (no keyboard) with the
arrow cursor placed in the middle of the screen. I also tried to start
X without an xorg.conf; same problem.


Since you removed HAL support, did you enable udev support?



emerge --depclean -vp
Dependencies could not be completely resolved due to
the following required packages not being installed:

sys-apps/hal  pulled in by:
x11-drivers/xf86-input-synaptics-1.2.1


Check your package.use.  Also try to unmerge xf86-input-synaptics and 
then emerge it again.





[gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Nikos Chantziaras

On 02/19/2011 08:24 PM, Valmor de Almeida wrote:

On Sat, Feb 19, 2011 at 1:03 PM, Nikos Chantziarasrea...@arcor.de  wrote:

On 02/19/2011 07:44 PM, Valmor de Almeida wrote:


[...]
I have just updated xorg to 1.9.4 with USE -hal and removed hal in
this order (also needed to remove hal from the default run level).  I
tried startx using the existing xorg.conf and X does not start
correctly, I have no mouse and a frozen screen (no keyboard) with the
arrow cursor placed in the middle of the screen. I also tried to start
X without an xorg.conf; same problem.


Since you removed HAL support, did you enable udev support?


I am not sure how to do this. Is it a matter of adding a USE=udev in
/etc/make.conf ?


It's a USE flag of xorg-server.



emerge --depclean -vp
Dependencies could not be completely resolved due to
the following required packages not being installed:

sys-apps/hal  pulled in by:
x11-drivers/xf86-input-synaptics-1.2.1


Check your package.use.  Also try to unmerge xf86-input-synaptics and then
emerge it again.


Another check on my system shows:

emerge --search xf86-input-synaptics
  Latest version available: 1.3.0
  Latest version installed: 1.2.1

emerge --search xf86-input-evdev
  Latest version available: 2.6.0
  Latest version available: 2.4.0

I don't emerge them directly. They are pulled in by xorg-drivers which
I have re-emerged several times.


xorg-drivers doesn't install files.  It's only a meta-package.



Don't know why the latest versions of
the drivers don't get installed. Is this the way to force the update
without recording into world:

  emerge --oneshot xf86-input-synaptics xf86-input-evdev


The best way it to emerge -auDN world, like always.




Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Dale

Valmor de Almeida wrote:

On Sat, Feb 19, 2011 at 1:03 PM, Nikos Chantziarasrea...@arcor.de  wrote:
   

On 02/19/2011 07:44 PM, Valmor de Almeida wrote:
 

[...]
I have just updated xorg to 1.9.4 with USE -hal and removed hal in
this order (also needed to remove hal from the default run level).  I
tried startx using the existing xorg.conf and X does not start
correctly, I have no mouse and a frozen screen (no keyboard) with the
arrow cursor placed in the middle of the screen. I also tried to start
X without an xorg.conf; same problem.
   

Since you removed HAL support, did you enable udev support?
 

I am not sure how to do this. Is it a matter of adding a USE=udev in
/etc/make.conf ?
  SNIP
Thanks,

--
Valmor
   


That's where mine is.  Just add it and do a emerge -Na world to see what 
changes.


Dale

:-)  :-)



[gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Nikos Chantziaras

On 02/19/2011 08:32 PM, Dale wrote:

Mark Knecht wrote:

On Sat, Feb 19, 2011 at 9:44 AM, Valmor de
Almeidaval.gen...@gmail.com wrote:

[...]
I have just updated xorg to 1.9.4 with USE -hal and removed hal in
this order (also needed to remove hal from the default run level). I
tried startx using the existing xorg.conf and X does not start
correctly, I have no mouse and a frozen screen (no keyboard) with the
arrow cursor placed in the middle of the screen. I also tried to start
X without an xorg.conf; same problem.


I'm guessing that you might need to use the older keyboard and mouse
drivers instead of evdev. Just a guess though.


As some already know, I removed hal a long time ago so basically you
want a set up similar to mine now. This is in my make.conf:

INPUT_DEVICES=keyboard mouse evdev

Don't forget to enable udev as Mike suggested too. I put mine in the USE
line. After all, about all hardware now uses udev to see hardware.


You only need evdev.  keyboard and mouse are deprecated drivers. 
They have bugs that no one appears to be fixing anymore.





Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Valmor de Almeida
On Sat, Feb 19, 2011 at 1:03 PM, Nikos Chantziaras rea...@arcor.de wrote:
 On 02/19/2011 07:44 PM, Valmor de Almeida wrote:

 [...]
 I have just updated xorg to 1.9.4 with USE -hal and removed hal in
 this order (also needed to remove hal from the default run level).  I
 tried startx using the existing xorg.conf and X does not start
 correctly, I have no mouse and a frozen screen (no keyboard) with the
 arrow cursor placed in the middle of the screen. I also tried to start
 X without an xorg.conf; same problem.

 Since you removed HAL support, did you enable udev support?

I am not sure how to do this. Is it a matter of adding a USE=udev in
/etc/make.conf ?



 emerge --depclean -vp
 Dependencies could not be completely resolved due to
 the following required packages not being installed:

    sys-apps/hal  pulled in by:
        x11-drivers/xf86-input-synaptics-1.2.1

 Check your package.use.  Also try to unmerge xf86-input-synaptics and then
 emerge it again.

Another check on my system shows:

emerge --search xf86-input-synaptics
 Latest version available: 1.3.0
 Latest version installed: 1.2.1

emerge --search xf86-input-evdev
 Latest version available: 2.6.0
 Latest version available: 2.4.0

I don't emerge them directly. They are pulled in by xorg-drivers which
I have re-emerged several times. Don't know why the latest versions of
the drivers don't get installed. Is this the way to force the update
without recording into world:

 emerge --oneshot xf86-input-synaptics xf86-input-evdev

Thanks,

--
Valmor






Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Valmor de Almeida
On 02/19/2011 01:24 PM, Valmor de Almeida wrote:
 On Sat, Feb 19, 2011 at 1:03 PM, Nikos Chantziaras rea...@arcor.de wrote:
 On 02/19/2011 07:44 PM, Valmor de Almeida wrote:
[snip]
 emerge --depclean -vp
 Dependencies could not be completely resolved due to
 the following required packages not being installed:

sys-apps/hal  pulled in by:
x11-drivers/xf86-input-synaptics-1.2.1

[snip]
 
  emerge --oneshot xf86-input-synaptics xf86-input-evdev

This fixed the problem of hal being pulled in.

--
Valmor

 
 Thanks,
 
 --
 Valmor







Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Valmor de Almeida
On 02/19/2011 01:46 PM, Nikos Chantziaras wrote:
[snip]

 INPUT_DEVICES=keyboard mouse evdev

 Don't forget to enable udev as Mike suggested too. I put mine in the USE
 line. After all, about all hardware now uses udev to see hardware.
 
 You only need evdev.  keyboard and mouse are deprecated drivers. 
 They have bugs that no one appears to be fixing anymore.
 
 

I am only using evdev and finally got my X Window server working fine.
Need to do some fine tuning to get a left-hand mouse working. Amazing
that the mouse pad works and so does the mouse pointing keyboard stick.

There is little from hal to clean up. Apparently only the /etc/hal
directory with some policy files were left there since they did not
belong to hal originally.

Thanks for the help. This was less painful than I thought. However it
exposed a internet connection problem. I am using wicd for wireless and
wired internet config. This laptop happened to be in a place where no
wired internet is available. Since I use the wicd-client X config
utility I was not able to connect to the internet while X was down.
There is a wicd-cli but the man page is empty. I guess I will have to
get some info on how to use wicd-cli on an emergency like this.

--
Valmor



Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Dale

Nikos Chantziaras wrote:


You only need evdev.  keyboard and mouse are deprecated drivers. 
They have bugs that no one appears to be fixing anymore.





I been wondering about that but never saw emerge  complain so I left it 
in there, after all, it is working so why try to fix it.  I'll remove 
that since it isn't needed and buggy.


Thanks for the update.

Dale

:-)  :-)



[gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Nikos Chantziaras

On 02/19/2011 10:14 PM, Mark Knecht wrote:

On Sat, Feb 19, 2011 at 10:46 AM, Nikos Chantziarasrea...@arcor.de  wrote:

On 02/19/2011 08:32 PM, Dale wrote:


Mark Knecht wrote:



SNIP

Don't forget to enable udev as Mike suggested too. I put mine in the USE
line. After all, about all hardware now uses udev to see hardware.


You only need evdev.  keyboard and mouse are deprecated drivers. They
have bugs that no one appears to be fixing anymore.


That's good to know. As I said, I was guessing. I'll remove them from my setup.

Should I be enabling udev globally in make.conf? I'm currently not. I
do have it on xorg-server so I'm not seeing the OP's issue, but I
never wanted to get into making my own udev rules.


I can only comment on what individual packages do with the udev flag.  I 
can't possibly know what each and every package in portage does when 
udev is enabled globally :-/





Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Valmor de Almeida
On 02/19/2011 03:41 PM, Mark Knecht wrote:
 On Sat, Feb 19, 2011 at 12:35 PM, Nikos Chantziaras rea...@arcor.de wrote:
 On 02/19/2011 10:14 PM, Mark Knecht wrote:
 SNIP
 Should I be enabling udev globally in make.conf? I'm currently not. I
 do have it on xorg-server so I'm not seeing the OP's issue, but I
 never wanted to get into making my own udev rules.

 I can only comment on what individual packages do with the udev flag.  I
 can't possibly know what each and every package in portage does when udev is
 enabled globally :-/
 
 Of course. At the time I really meant the question to ask what people are 
 doing.
 
 On my machines currently the only package with a udev flag is
 xorg-server so it's easy.
 
 Cheers,
 Mark
 

I enabled the udev flag in make.conf and after


emerge --pretend --verbose --newuse --update --tree --with-bdeps=y world

Only vlc needed to be reemerged. Apparently the udev flag was already
set for xorg-server.

--
Valmor



[gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Nikos Chantziaras

On 02/19/2011 10:41 PM, Mark Knecht wrote:

On Sat, Feb 19, 2011 at 12:35 PM, Nikos Chantziarasrea...@arcor.de  wrote:

On 02/19/2011 10:14 PM, Mark Knecht wrote:

SNIP

Should I be enabling udev globally in make.conf? I'm currently not. I
do have it on xorg-server so I'm not seeing the OP's issue, but I
never wanted to get into making my own udev rules.


I can only comment on what individual packages do with the udev flag.  I
can't possibly know what each and every package in portage does when udev is
enabled globally :-/


Of course. At the time I really meant the question to ask what people are doing.

On my machines currently the only package with a udev flag is
xorg-server so it's easy.


If you don't have udev in make.conf, you can usually do:

  USE=udev emerge -pDN world

and see which packages that have a currently disabled udev USE flag 
this triggers.  You can then investigate each package to see what it 
does with udev.  Of course this works for all USE flags.  The reverse 
also works (USE=-udev).


Or, simply pay attention whenever you emerge something or update world, 
and examine the USE flags of the packages :-)  Unfortunately though, 
many ebuild maintainers don't document their USE flags, so in those 
cases you can't tell what a package does with a USE flag without looking 
at the documentation for that package.  Imagine the python USE flag 
for example.  It's impossible to tell what it does most of the time. 
There are many other such examples.


Also note that sometimes udev is enabled by default (in the ebuild 
itself) for some packages; this is mostly done when this is recommended 
by upstream or simply works better with it.





Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Mark Knecht
On Sat, Feb 19, 2011 at 10:46 AM, Nikos Chantziaras rea...@arcor.de wrote:
 On 02/19/2011 08:32 PM, Dale wrote:

 Mark Knecht wrote:

SNIP
 Don't forget to enable udev as Mike suggested too. I put mine in the USE
 line. After all, about all hardware now uses udev to see hardware.

 You only need evdev.  keyboard and mouse are deprecated drivers. They
 have bugs that no one appears to be fixing anymore.

That's good to know. As I said, I was guessing. I'll remove them from my setup.

Should I be enabling udev globally in make.conf? I'm currently not. I
do have it on xorg-server so I'm not seeing the OP's issue, but I
never wanted to get into making my own udev rules.

Thanks,
Mark



Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Mark Knecht
On Sat, Feb 19, 2011 at 12:35 PM, Nikos Chantziaras rea...@arcor.de wrote:
 On 02/19/2011 10:14 PM, Mark Knecht wrote:
SNIP
 Should I be enabling udev globally in make.conf? I'm currently not. I
 do have it on xorg-server so I'm not seeing the OP's issue, but I
 never wanted to get into making my own udev rules.

 I can only comment on what individual packages do with the udev flag.  I
 can't possibly know what each and every package in portage does when udev is
 enabled globally :-/

Of course. At the time I really meant the question to ask what people are doing.

On my machines currently the only package with a udev flag is
xorg-server so it's easy.

Cheers,
Mark



Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Mick
On Saturday 19 February 2011 20:41:42 Mark Knecht wrote:
 On Sat, Feb 19, 2011 at 12:35 PM, Nikos Chantziaras rea...@arcor.de wrote:
  On 02/19/2011 10:14 PM, Mark Knecht wrote:
 SNIP
 
  Should I be enabling udev globally in make.conf? I'm currently not. I
  do have it on xorg-server so I'm not seeing the OP's issue, but I
  never wanted to get into making my own udev rules.
  
  I can only comment on what individual packages do with the udev flag.  I
  can't possibly know what each and every package in portage does when udev
  is enabled globally :-/
 
 Of course. At the time I really meant the question to ask what people are
 doing.
 
 On my machines currently the only package with a udev flag is
 xorg-server so it's easy.

On two laptops of mine evdev causes untold confusion with the touchpad and 
second language selection for the keyboard.  I *have* to use the synaptics and 
keyboard input drivers.  I'm also using mouse (because it doesn't hurt I 
guess).

I tried of course to remove them all and leave evdev initially, but it all 
went horribly wrong.  Perhaps evdev will catch up eventually, I just hope 
synaptics and keyboard don't default into being deprecated before then.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Valmor de Almeida
On 02/19/2011 06:59 PM, Mick wrote:
[snip]
 
 On two laptops of mine evdev causes untold confusion with the touchpad and 
 second language selection for the keyboard.  I *have* to use the synaptics 
 and 
 keyboard input drivers.  I'm also using mouse (because it doesn't hurt I 
 guess).
 
 I tried of course to remove them all and leave evdev initially, but it all 
 went horribly wrong.  Perhaps evdev will catch up eventually, I just hope 
 synaptics and keyboard don't default into being deprecated before then.

I am using evdev and synaptics only on a thinkpad t201. Without an
xorg.conf, all works including when I connect an usb mouse. However I am
trying to configure the touchpad, trackpoint and extended buttons to
work as left-hand; that is I would like to have the 3 buttons reversed.

I have not been lucky so far. In fact I've read on the web about some
new (relative to xorg 1.7) syntax for the xorg.conf file. Does anyone
know about a site with humanly friendly information on how to write a
modern xorg.conf file? In addition to the devices I mentioned above I am
also trying to setup an external monitor as a hotplug virtual screen.

For instance, things like this do not work:


Section InputClass
Identifier TouchPad
MatchIsTouchpad on
Driver synaptics
#Option SHMConfig on
Option VertTwoFingerScroll on
EndSection

In the past I used

Option ButtonMapping 3 2 1

which apparently does not work here. Last but not least, how do I get
the good old  ctrl-alt-backspace  keybinding to kill X?

Thanks,

--
Valmor