First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 251093
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo X packagers <x11@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Francois Chenier <belgix@kern.com.au>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
x11 upgrade guide.txt x11 upgrade guide v1 text/plain Rémi Cardona 2009-03-27 23:33 0000 2.99 KB Details
11-trackpoint.fdi basic trackpoint-specific configuration to get scroll function application/xml Andreas Sturmlechner 2009-03-29 15:36 0000 326 bytes Details
x11 upgrade guide.txt x11 upgrade guide v2 text/plain Rémi Cardona 2009-03-29 23:27 0000 4.49 KB Details
upgrading-to-xorg-1.5.xml xml-ified version of remi's guide text/plain Łukasz Damentko 2009-03-30 03:15 0000 6.10 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 251093 depends on: Show dependency tree
Bug 251093 blocks: 251832
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-12-16 00:39 0000
Thanks this mate
(http://lists.ibiblio.org/pipermail/sm-users/2008-November/001184.html) but if
after upgrading xorg-server to 1.5.3 your keyboard or mouse does not work any
more, just do this ...

> All,
>
> If, after updating to xorg-server 1.5.3, you no longer have the use of
> a standard keyboard or mouse (using the kbd or mouse drivers), you will
> want to add the following to /etc/X11/xorg.conf:
>
> Section "ServerFlags"
>        Option  "AllowEmptyInput"       "false"
> EndSection
>
> 
> Otherwise devices using the kbd and mouse drivers will be disabled.
> Devices using other inputs (e.g. synaptics or evdev) will continue to
> work fine (with or without the above).
>
> -sandalle

Reproducible: Always

Steps to Reproduce:
1.sudo emerge =x11-base/xorg-server-1.5.3
2.logoff
3.reboot (or restart X11) et voilà !!!

------- Comment #1 From Federico Fissore 2008-12-16 09:48:25 0000 -------
I confirm problem and solution

thank you

------- Comment #2 From Jeff Kowalczyk 2008-12-16 14:09:20 0000 -------
Also confirming problem and fix. Thinkpad T61p Nvidia Fx 570M.

------- Comment #3 From Rémi Cardona 2008-12-16 16:36:14 0000 -------
Well, that's not a bug per se. It's how Xorg now works if you have USE=hal.

You have 3 possibilities :
1) rebuild xorg-server with USE=-hal
2) use the AutoAddDevices/AutoEnableDevices/AllowEmptyInput options in your
xorg.conf
3) remove all input sections from your xorg.conf and properly set-up HAL

Basically, I think we/I need to document this.

Thanks

------- Comment #4 From Marcin Deranek 2008-12-16 22:42:52 0000 -------
Bear in mind that setting AllowEmptyInput to false while using evdev-2.1 will
cause xorg to crach while pressing ctrl+c:

http://bugs.archlinux.org/task/12372

------- Comment #5 From Francois Chenier 2008-12-17 00:53:07 0000 -------
(In reply to comment #3)

> Basically, I think we/I need to document this.

I agree. Because of the severity of this issue (I had to reboot my kernel with
nox option), just add a warning to this ebuild and close this bug.

Regards

------- Comment #6 From Arfrever Frehtes Taifersar Arahesis 2008-12-25 21:22:05 0000 -------
*** Bug 252480 has been marked as a duplicate of this bug. ***

------- Comment #7 From Arfrever Frehtes Taifersar Arahesis 2008-12-25 21:41:16 0000 -------
*** Bug 252433 has been marked as a duplicate of this bug. ***

------- Comment #8 From ray keung 2009-01-09 06:03:08 0000 -------
Here is what worked for me (no need to remove input sections from xorg.conf):
in xorg.conf 
1.change driver for Mouse from "mouse" to "evdev"
2.change driver for Keyboard from "kbd" to "evdev"

i tried removing all input sections and having hald adding the devices for me
automatically but the keyboard repeat rate was bonkers.

------- Comment #9 From Frossie 2009-01-13 10:30:03 0000 -------
(In reply to comment #8)
> Here is what worked for me (no need to remove input sections from xorg.conf):
> in xorg.conf 
> 1.change driver for Mouse from "mouse" to "evdev"
> 2.change driver for Keyboard from "kbd" to "evdev"

That is what did the trick for me, but I also needed to add evdev to
INPUT_DEVICES in make.conf

Also, another thing to check if you are using hal is to make sure you are
starting hald as a boot service.

I think adding a URL to this bug report at least as a comment at the end of the
xorg-server build would be useful. 

------- Comment #10 From Andreas Sturmlechner 2009-03-11 00:40:01 0000 -------
I think we can only solve this 'bug' by an upgrade guide and a big red flashing
warning at the end of emerge xorg-server.

------- Comment #11 From Balint Dobai-Pataky 2009-03-11 06:31:49 0000 -------
reemerging x11-base/xorg-server-1.5.3-r3 with -hal does not do the trick for
me.
i can't switch to evdev for mouse:( #261989
control-c crashes X with evdev-2.2.0-r1

------- Comment #12 From Rémi Cardona 2009-03-11 10:13:48 0000 -------
(In reply to comment #11)
> reemerging x11-base/xorg-server-1.5.3-r3 with -hal does not do the trick for
> me.
> i can't switch to evdev for mouse:( #261989
> control-c crashes X with evdev-2.2.0-r1

Let's keep bugs on topic, please. Open a new bug.

Thanks

------- Comment #13 From Rémi Cardona 2009-03-27 23:33:15 0000 -------
Created an attachment (id=186497) [details]
x11 upgrade guide v1

Sigh, finally! A small upgrade guide.

If anyone wants to pitch in ideas, comments, text, I'm all ears.

Donnie, how do we proceed with the stabilization ?

Thanks

------- Comment #14 From Pacho Ramos 2009-03-28 08:45:44 0000 -------
I think that would be interesting add specific information about setting keymap
with "hal way", as most of users will need to do it. In summary, I did the
following:
cp /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi /etc/hal/fdi/policy/

And modify:
<merge key="input.xkb.layout" type="string">us</merge>

as needed (in my case, "es")

I think that this guide should also include information for solving bug 236983
, but we need, at first, to know what exact options will allow most of users
recover past synaptics behavior (we can discuss it in related bug)

Thanks! :-)

------- Comment #15 From Andreas Sturmlechner 2009-03-29 15:36:29 0000 -------
Created an attachment (id=186659) [details]
basic trackpoint-specific configuration to get scroll function

Added a basic configuration for trackpoint devices found on IBM/Lenovo Thinkpad
notebooks. It makes scrolling via the trackpoint+3rd button possible as it is
intended for use. I couldn't find an existing template for that in
/usr/share/hal/fdi/policy/10osvendor and looked that one up on the web. Apart
from that the standard 10-x11-input.fdi file works, loading evdev for the
trackpoint.

Imo we should either add that information to the manual, or include it in the
list of templates.

------- Comment #16 From Rémi Cardona 2009-03-29 23:01:51 0000 -------
(In reply to comment #14)
> I think that would be interesting add specific information about setting keymap
> with "hal way", as most of users will need to do it. In summary, I did the
> following:
> cp /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi /etc/hal/fdi/policy/
> 
> And modify:
> <merge key="input.xkb.layout" type="string">us</merge>
> 
> as needed (in my case, "es")

Right, it makes sense to have these instructions directly in the upgrade guide.

> I think that this guide should also include information for solving bug 236983
> , but we need, at first, to know what exact options will allow most of users
> recover past synaptics behavior (we can discuss it in related bug)

Not yet, I'll only put 2.1.3 on the upgrade list, we can do >=2.2.1 later on.

(In reply to comment #15)
> Created an attachment (id=186659) [edit] [details]
> basic trackpoint-specific configuration to get scroll function
> 
> Added a basic configuration for trackpoint devices found on IBM/Lenovo Thinkpad
> notebooks. It makes scrolling via the trackpoint+3rd button possible as it is
> intended for use. I couldn't find an existing template for that in
> /usr/share/hal/fdi/policy/10osvendor and looked that one up on the web. Apart
> from that the standard 10-x11-input.fdi file works, loading evdev for the
> trackpoint.
> 
> Imo we should either add that information to the manual, or include it in the
> list of templates.

I guess trackpoint users needed to do that before evdev came to light. I'm not
sure it's worth patching the driver to include those options. I'll add a note
about evdev's man page though.

Thanks

------- Comment #17 From Rémi Cardona 2009-03-29 23:27:30 0000 -------
Created an attachment (id=186694) [details]
x11 upgrade guide v2

Here's an updated version of the upgrade guide. I think we're good for
stabilization. All the basics are nicely covered.

Banzai!

------- Comment #18 From Łukasz Damentko 2009-03-30 03:15:51 0000 -------
Created an attachment (id=186706) [details]
xml-ified version of remi's guide

I converted remi's guide to GuideXML so he can post it to desktop/X project
space.

Source is in the attachment. Online version is available for preview here:

http://dev.gentoo.org/~rane/other/upgrading-to-xorg-1.5.xml

------- Comment #19 From Rémi Cardona 2009-03-30 06:42:48 0000 -------
Brilliant, thanks a bunch Łukasz!

------- Comment #20 From Pacho Ramos 2009-03-30 06:47:35 0000 -------
(In reply to comment #16
> > I think that this guide should also include information for solving bug 236983
> > , but we need, at first, to know what exact options will allow most of users
> > recover past synaptics behavior (we can discuss it in related bug)
> 
> Not yet, I'll only put 2.1.3 on the upgrade list, we can do >=2.2.1 later on.

But, isn't it a x11-drivers/xf86-input-synaptics "problem"? (not a
x11-drivers/xf86-input-evdev one)

Best regards :-)

------- Comment #21 From Frederik 'Freso' S. Olesen 2009-03-30 19:45:48 0000 -------
Just a note that the current guide lists
> INPUT_DRIVER="evdev"
which really should say
> INPUT_DEVICES="evdev"
instead. (Unless, of course, this has changed since the last stable Xorg
release... but then I guess this should be documented as well.)

------- Comment #22 From Rémi Cardona 2009-03-31 09:20:40 0000 -------
(In reply to comment #20)
> But, isn't it a x11-drivers/xf86-input-synaptics "problem"? (not a
> x11-drivers/xf86-input-evdev one)

Indeed, and I've added links on how to configure the synaptics driver. If you
want to contribute an official "synatpics HOWTO", I'm sure we can work it out
:)

(In reply to comment #21)
> Just a note that the current guide lists
> > INPUT_DRIVER="evdev"
> which really should say
> > INPUT_DEVICES="evdev"
> instead. (Unless, of course, this has changed since the last stable Xorg
> release... but then I guess this should be documented as well.)

Thanks for catching this. Fixed in cvs.

I consider this bug to be solved. If you have any more issues with the upgrade
guide, please open new bug reports.

Thanks

------- Comment #23 From Zhang, Hongjiu 2009-06-23 05:07:46 0000 -------
*** Bug 274087 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug