public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
@ 2011-02-19 17:44 Valmor de Almeida
  2011-02-19 18:03 ` [gentoo-user] " Nikos Chantziaras
  2011-02-19 18:07 ` [gentoo-user] " Mark Knecht
  0 siblings, 2 replies; 23+ messages in thread
From: Valmor de Almeida @ 2011-02-19 17:44 UTC (permalink / raw
  To: gentoo-user

Hello,

I had a working laptop with xorg 1.7 using hal; including usb mouse
(left hand swapped buttons), synaptics for a mouse pad, hotplug
monitors in a virtual screen, etc. For this to work I had a
hand-configured xorg.conf file and additional hal policy
configurations.

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.

Here are the outputs of some commands:

emerge --info
Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.4.4,
glibc-2.11.2.-r3, 2.6.36-gentoo-r5 x86_64)

emerge -pv --newuse --update --tree --with-bdeps=y world
Total: 0 packages, Size of downloads: 0 kB

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

In make.conf  I have:

 USE="-hal ...."

 INPUT_DEVICES="evdev synaptics"
 VIDEO_CARDS="intel"

Thanks for your help.

--
Valmor



^ permalink raw reply	[flat|nested] 23+ messages in thread

* [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 17:44 [gentoo-user] help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X Valmor de Almeida
@ 2011-02-19 18:03 ` Nikos Chantziaras
  2011-02-19 18:24   ` Valmor de Almeida
  2011-02-19 18:07 ` [gentoo-user] " Mark Knecht
  1 sibling, 1 reply; 23+ messages in thread
From: Nikos Chantziaras @ 2011-02-19 18:03 UTC (permalink / raw
  To: gentoo-user

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.




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 17:44 [gentoo-user] help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X Valmor de Almeida
  2011-02-19 18:03 ` [gentoo-user] " Nikos Chantziaras
@ 2011-02-19 18:07 ` Mark Knecht
  2011-02-19 18:32   ` Dale
  1 sibling, 1 reply; 23+ messages in thread
From: Mark Knecht @ 2011-02-19 18:07 UTC (permalink / raw
  To: gentoo-user; +Cc: Valmor de Almeida

On Sat, Feb 19, 2011 at 9:44 AM, Valmor de Almeida <val.gentoo@gmail.com> wrote:
> Hello,
>
> I had a working laptop with xorg 1.7 using hal; including usb mouse
> (left hand swapped buttons), synaptics for a mouse pad, hotplug
> monitors in a virtual screen, etc. For this to work I had a
> hand-configured xorg.conf file and additional hal policy
> configurations.
>
> 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.
>
> Here are the outputs of some commands:
>
> emerge --info
> Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.4.4,
> glibc-2.11.2.-r3, 2.6.36-gentoo-r5 x86_64)
>
> emerge -pv --newuse --update --tree --with-bdeps=y world
> Total: 0 packages, Size of downloads: 0 kB
>
> 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
>
> In make.conf  I have:
>
>  USE="-hal ...."
>
>  INPUT_DEVICES="evdev synaptics"
>  VIDEO_CARDS="intel"
>
> Thanks for your help.
>
> --
> Valmor

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

- Mark



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 18:03 ` [gentoo-user] " Nikos Chantziaras
@ 2011-02-19 18:24   ` Valmor de Almeida
  2011-02-19 18:43     ` Nikos Chantziaras
                       ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Valmor de Almeida @ 2011-02-19 18:24 UTC (permalink / raw
  To: gentoo-user

On Sat, Feb 19, 2011 at 1:03 PM, Nikos Chantziaras <realnc@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
>
>
>



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 18:07 ` [gentoo-user] " Mark Knecht
@ 2011-02-19 18:32   ` Dale
  2011-02-19 18:46     ` [gentoo-user] " Nikos Chantziaras
  0 siblings, 1 reply; 23+ messages in thread
From: Dale @ 2011-02-19 18:32 UTC (permalink / raw
  To: gentoo-user

Mark Knecht wrote:
> On Sat, Feb 19, 2011 at 9:44 AM, Valmor de Almeida<val.gentoo@gmail.com>  wrote:
>    
>> Hello,
>>
>> I had a working laptop with xorg 1.7 using hal; including usb mouse
>> (left hand swapped buttons), synaptics for a mouse pad, hotplug
>> monitors in a virtual screen, etc. For this to work I had a
>> hand-configured xorg.conf file and additional hal policy
>> configurations.
>>
>> 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.
>>
>> Here are the outputs of some commands:
>>
>> emerge --info
>> Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.4.4,
>> glibc-2.11.2.-r3, 2.6.36-gentoo-r5 x86_64)
>>
>> emerge -pv --newuse --update --tree --with-bdeps=y world
>> Total: 0 packages, Size of downloads: 0 kB
>>
>> 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
>>
>> In make.conf  I have:
>>
>>   USE="-hal ...."
>>
>>   INPUT_DEVICES="evdev synaptics"
>>   VIDEO_CARDS="intel"
>>
>> Thanks for your help.
>>
>> --
>> Valmor
>>      
> I'm guessing that you might need to use the older keyboard and mouse
> drivers instead of evdev. Just a guess though.
>
> - Mark
>
>    

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.

Hope this helps a little.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 23+ messages in thread

* [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 18:24   ` Valmor de Almeida
@ 2011-02-19 18:43     ` Nikos Chantziaras
  2011-02-19 18:45     ` Dale
  2011-02-19 19:38     ` Valmor de Almeida
  2 siblings, 0 replies; 23+ messages in thread
From: Nikos Chantziaras @ 2011-02-19 18:43 UTC (permalink / raw
  To: gentoo-user

On 02/19/2011 08:24 PM, Valmor de Almeida wrote:
> On Sat, Feb 19, 2011 at 1:03 PM, Nikos Chantziaras<realnc@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.




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 18:24   ` Valmor de Almeida
  2011-02-19 18:43     ` Nikos Chantziaras
@ 2011-02-19 18:45     ` Dale
  2011-02-19 19:38     ` Valmor de Almeida
  2 siblings, 0 replies; 23+ messages in thread
From: Dale @ 2011-02-19 18:45 UTC (permalink / raw
  To: gentoo-user

Valmor de Almeida wrote:
> On Sat, Feb 19, 2011 at 1:03 PM, Nikos Chantziaras<realnc@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

:-)  :-)



^ permalink raw reply	[flat|nested] 23+ messages in thread

* [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 18:32   ` Dale
@ 2011-02-19 18:46     ` Nikos Chantziaras
  2011-02-19 19:32       ` Dale
                         ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Nikos Chantziaras @ 2011-02-19 18:46 UTC (permalink / raw
  To: gentoo-user

On 02/19/2011 08:32 PM, Dale wrote:
> Mark Knecht wrote:
>> On Sat, Feb 19, 2011 at 9:44 AM, Valmor de
>> Almeida<val.gentoo@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.




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 18:46     ` [gentoo-user] " Nikos Chantziaras
@ 2011-02-19 19:32       ` Dale
  2011-02-19 19:48       ` Valmor de Almeida
  2011-02-19 20:14       ` Mark Knecht
  2 siblings, 0 replies; 23+ messages in thread
From: Dale @ 2011-02-19 19:32 UTC (permalink / raw
  To: gentoo-user

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

:-)  :-)



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 18:24   ` Valmor de Almeida
  2011-02-19 18:43     ` Nikos Chantziaras
  2011-02-19 18:45     ` Dale
@ 2011-02-19 19:38     ` Valmor de Almeida
  2 siblings, 0 replies; 23+ messages in thread
From: Valmor de Almeida @ 2011-02-19 19:38 UTC (permalink / raw
  To: gentoo-user

On 02/19/2011 01:24 PM, Valmor de Almeida wrote:
> On Sat, Feb 19, 2011 at 1:03 PM, Nikos Chantziaras <realnc@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
>>
>>
>>




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 18:46     ` [gentoo-user] " Nikos Chantziaras
  2011-02-19 19:32       ` Dale
@ 2011-02-19 19:48       ` Valmor de Almeida
  2011-02-20 17:53         ` Neil Bothwick
  2011-02-19 20:14       ` Mark Knecht
  2 siblings, 1 reply; 23+ messages in thread
From: Valmor de Almeida @ 2011-02-19 19:48 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 18:46     ` [gentoo-user] " Nikos Chantziaras
  2011-02-19 19:32       ` Dale
  2011-02-19 19:48       ` Valmor de Almeida
@ 2011-02-19 20:14       ` Mark Knecht
  2011-02-19 20:35         ` Nikos Chantziaras
  2 siblings, 1 reply; 23+ messages in thread
From: Mark Knecht @ 2011-02-19 20:14 UTC (permalink / raw
  To: gentoo-user; +Cc: Nikos Chantziaras

On Sat, Feb 19, 2011 at 10:46 AM, Nikos Chantziaras <realnc@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



^ permalink raw reply	[flat|nested] 23+ messages in thread

* [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 20:14       ` Mark Knecht
@ 2011-02-19 20:35         ` Nikos Chantziaras
  2011-02-19 20:41           ` Mark Knecht
  0 siblings, 1 reply; 23+ messages in thread
From: Nikos Chantziaras @ 2011-02-19 20:35 UTC (permalink / raw
  To: gentoo-user

On 02/19/2011 10:14 PM, Mark Knecht wrote:
> On Sat, Feb 19, 2011 at 10:46 AM, Nikos Chantziaras<realnc@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 :-/




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 20:35         ` Nikos Chantziaras
@ 2011-02-19 20:41           ` Mark Knecht
  2011-02-19 20:53             ` Valmor de Almeida
                               ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Mark Knecht @ 2011-02-19 20:41 UTC (permalink / raw
  To: gentoo-user; +Cc: Nikos Chantziaras

On Sat, Feb 19, 2011 at 12:35 PM, Nikos Chantziaras <realnc@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



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 20:41           ` Mark Knecht
@ 2011-02-19 20:53             ` Valmor de Almeida
  2011-02-19 20:59             ` Nikos Chantziaras
  2011-02-19 23:59             ` Mick
  2 siblings, 0 replies; 23+ messages in thread
From: Valmor de Almeida @ 2011-02-19 20:53 UTC (permalink / raw
  To: gentoo-user

On 02/19/2011 03:41 PM, Mark Knecht wrote:
> On Sat, Feb 19, 2011 at 12:35 PM, Nikos Chantziaras <realnc@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



^ permalink raw reply	[flat|nested] 23+ messages in thread

* [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 20:41           ` Mark Knecht
  2011-02-19 20:53             ` Valmor de Almeida
@ 2011-02-19 20:59             ` Nikos Chantziaras
  2011-02-19 23:59             ` Mick
  2 siblings, 0 replies; 23+ messages in thread
From: Nikos Chantziaras @ 2011-02-19 20:59 UTC (permalink / raw
  To: gentoo-user

On 02/19/2011 10:41 PM, Mark Knecht wrote:
> On Sat, Feb 19, 2011 at 12:35 PM, Nikos Chantziaras<realnc@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.




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 20:41           ` Mark Knecht
  2011-02-19 20:53             ` Valmor de Almeida
  2011-02-19 20:59             ` Nikos Chantziaras
@ 2011-02-19 23:59             ` Mick
  2011-02-20  0:25               ` Valmor de Almeida
  2 siblings, 1 reply; 23+ messages in thread
From: Mick @ 2011-02-19 23:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1279 bytes --]

On Saturday 19 February 2011 20:41:42 Mark Knecht wrote:
> On Sat, Feb 19, 2011 at 12:35 PM, Nikos Chantziaras <realnc@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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 23:59             ` Mick
@ 2011-02-20  0:25               ` Valmor de Almeida
  2011-02-20 15:03                 ` Mick
  0 siblings, 1 reply; 23+ messages in thread
From: Valmor de Almeida @ 2011-02-20  0:25 UTC (permalink / raw
  To: gentoo-user

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




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-20  0:25               ` Valmor de Almeida
@ 2011-02-20 15:03                 ` Mick
  2011-02-21  4:07                   ` Valmor de Almeida
  0 siblings, 1 reply; 23+ messages in thread
From: Mick @ 2011-02-20 15:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 4054 bytes --]

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
#       InputDevice    "Mouse0" "CorePointer"
#       InputDevice    "Keyboard0" "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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-19 19:48       ` Valmor de Almeida
@ 2011-02-20 17:53         ` Neil Bothwick
  2011-02-21  3:43           ` Valmor de Almeida
  0 siblings, 1 reply; 23+ messages in thread
From: Neil Bothwick @ 2011-02-20 17:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 938 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-20 17:53         ` Neil Bothwick
@ 2011-02-21  3:43           ` Valmor de Almeida
  0 siblings, 0 replies; 23+ messages in thread
From: Valmor de Almeida @ 2011-02-21  3:43 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-20 15:03                 ` Mick
@ 2011-02-21  4:07                   ` Valmor de Almeida
  2011-02-21  8:10                     ` Mick
  0 siblings, 1 reply; 23+ messages in thread
From: Valmor de Almeida @ 2011-02-21  4:07 UTC (permalink / raw
  To: gentoo-user

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.




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
  2011-02-21  4:07                   ` Valmor de Almeida
@ 2011-02-21  8:10                     ` Mick
  0 siblings, 0 replies; 23+ messages in thread
From: Mick @ 2011-02-21  8:10 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 645 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2011-02-21 20:07 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-19 17:44 [gentoo-user] help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X Valmor de Almeida
2011-02-19 18:03 ` [gentoo-user] " Nikos Chantziaras
2011-02-19 18:24   ` Valmor de Almeida
2011-02-19 18:43     ` Nikos Chantziaras
2011-02-19 18:45     ` Dale
2011-02-19 19:38     ` Valmor de Almeida
2011-02-19 18:07 ` [gentoo-user] " Mark Knecht
2011-02-19 18:32   ` Dale
2011-02-19 18:46     ` [gentoo-user] " Nikos Chantziaras
2011-02-19 19:32       ` Dale
2011-02-19 19:48       ` Valmor de Almeida
2011-02-20 17:53         ` Neil Bothwick
2011-02-21  3:43           ` Valmor de Almeida
2011-02-19 20:14       ` Mark Knecht
2011-02-19 20:35         ` Nikos Chantziaras
2011-02-19 20:41           ` Mark Knecht
2011-02-19 20:53             ` Valmor de Almeida
2011-02-19 20:59             ` Nikos Chantziaras
2011-02-19 23:59             ` Mick
2011-02-20  0:25               ` Valmor de Almeida
2011-02-20 15:03                 ` Mick
2011-02-21  4:07                   ` Valmor de Almeida
2011-02-21  8:10                     ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox