Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
Am 17.08.2013 03:22, schrieb Polytropon: On Fri, 16 Aug 2013 18:07:25 -0700, Adrian Chadd wrote: What keyboard / laptop has the key code '150' map to 'go to sleep' ? My Sun Type 7 USB keyboard has the Copy key at code 150... :-) In my case it is a Lenovo X121e. Regards, Matthias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
At the moment it is not clear to me at which layer the issue is originated. In fact the acpi_ibm module doesn't work completely for the Lenovo X121e (brightness control with Fn+F8/F7 nonfunctional), so the issue might be related to this. I shall file a PR during the day. Kind regards, Matthias Zitat von Adrian Chadd adr...@freebsd.org: Right, but this sounds like some bug to send upstream. Or at least patch in our port(s) for this stuff. What keyboard / laptop has the key code '150' map to 'go to sleep' ? -adiran On 16 August 2013 17:09, Matthias Petermann matth...@d2ux.org wrote: Hi, a short update on this. I just found out: at least in Gnome 2 the behavior can be prevented by using the gconf-settings tool, changing the value of the key /apps/gnome-power-manager/buttons/suspend from suspend to nothing. Seems like some ubuntu users had the same issue as I found the workaround there. Kind regards, Matthias Am 16.08.2013 08:44, schrieb Adrian Chadd: Hi! I'm glad someone else is seeing this! I have the same behaviour with KDE4 on my T60 and T400. If I go to run amiwm (because hey, Workbench is awesome!) it doesn't happen. .. and bah, I wish the resume worked for you. It works fine for me on T42i, T60, T400. -adrian On 15 August 2013 23:32, Matthias Petermann matth...@d2ux.org wrote: Hello, I have a Lenovo X121e running Current with X and the Gnome desktop. Beside other issues[1] there is a strange behavior of Gnome-Desktop (and GDM too). When I press Fn without any additional key, the device immediately goes to sleep. As the X121e cannot resume properly from sleep, this forces me to reboot. This problem appears to be only exist when using Gnome / GDM. Pure X with TWM doesn't have this issue. I already tried to re-map the Fn key (I found in some mailing this might have the keycode 150) to a less dangerous key: $ xmodmap -e keycode 150 = Delete this brought no change. Has anyone an idea if Gnome re-maps the keys in some way or how I can disable this? At the moment this is the only blocker to use this Laptop for daily work, as I tend to accidently touch the Fn key more often than I want to reboot ;-) Thanks in advance kind regards, Matthias [1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Matthias Petermann matth...@d2ux.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Laptop Fn key causes X (Gnome 2) to sleep immediately
Hello, I have a Lenovo X121e running Current with X and the Gnome desktop. Beside other issues[1] there is a strange behavior of Gnome-Desktop (and GDM too). When I press Fn without any additional key, the device immediately goes to sleep. As the X121e cannot resume properly from sleep, this forces me to reboot. This problem appears to be only exist when using Gnome / GDM. Pure X with TWM doesn't have this issue. I already tried to re-map the Fn key (I found in some mailing this might have the keycode 150) to a less dangerous key: $ xmodmap -e keycode 150 = Delete this brought no change. Has anyone an idea if Gnome re-maps the keys in some way or how I can disable this? At the moment this is the only blocker to use this Laptop for daily work, as I tend to accidently touch the Fn key more often than I want to reboot ;-) Thanks in advance kind regards, Matthias [1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Laptop Fn key causes X (Gnome 2) to sleep immediately
Hello, I have a Lenovo X121e running Current with X and the Gnome desktop. Beside other issues[1] there is a strange behavior of Gnome-Desktop (and GDM too). When I press Fn without any additional key, the device immediately goes to sleep. As the X121e cannot resume properly from sleep, this forces me to reboot. This problem appears to be only exist when using Gnome / GDM. Pure X with TWM doesn't have this issue. I already tried to re-map the Fn key (I found in some mailing this might have the keycode 150) to a less dangerous key: $ xmodmap -e keycode 150 = Delete this brought no change. Has anyone an idea if Gnome re-maps the keys in some way or how I can disable this? At the moment this is the only blocker to use this Laptop for daily work, as I tend to accidently touch the Fn key more often than I want to reboot ;-) Thanks in advance kind regards, Matthias [1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
Hi! I'm glad someone else is seeing this! I have the same behaviour with KDE4 on my T60 and T400. If I go to run amiwm (because hey, Workbench is awesome!) it doesn't happen. .. and bah, I wish the resume worked for you. It works fine for me on T42i, T60, T400. -adrian On 15 August 2013 23:32, Matthias Petermann matth...@d2ux.org wrote: Hello, I have a Lenovo X121e running Current with X and the Gnome desktop. Beside other issues[1] there is a strange behavior of Gnome-Desktop (and GDM too). When I press Fn without any additional key, the device immediately goes to sleep. As the X121e cannot resume properly from sleep, this forces me to reboot. This problem appears to be only exist when using Gnome / GDM. Pure X with TWM doesn't have this issue. I already tried to re-map the Fn key (I found in some mailing this might have the keycode 150) to a less dangerous key: $ xmodmap -e keycode 150 = Delete this brought no change. Has anyone an idea if Gnome re-maps the keys in some way or how I can disable this? At the moment this is the only blocker to use this Laptop for daily work, as I tend to accidently touch the Fn key more often than I want to reboot ;-) Thanks in advance kind regards, Matthias [1] http://docs.freebsd.org/cgi/**getmsg.cgi?fetch=544740+** 551865+/usr/local/www/db/text/**2013/freebsd-current/20130707.** freebsd-currenthttp://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
Hi Adrian, Zitat von Adrian Chadd adr...@freebsd.org: Hi! I'm glad someone else is seeing this! I have the same behaviour with KDE4 on my T60 and T400. If I go to run amiwm (because hey, Workbench is awesome!) it doesn't happen. .. and bah, I wish the resume worked for you. It works fine for me on T42i, T60, T400. Thanks for your response. The fact it happens also in KDE appears interesting... so the root cause might exist in a component on top of pure X which is shared by Gnome and KDE. I will definitely do more investigation on this at the weekend. Hopefully some time suspend/resume will also work on the newer Lenovo models (I would be curious if the wakeup problem is Intel/KMS only or if also the NVidia models e.g. T430 NVS are affected). Kind regards, Matthias -- Matthias Petermann matth...@d2ux.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
On Fri, 16 Aug 2013 13:25:41 +0200, Matthias Petermann wrote: Hi Adrian, Zitat von Adrian Chadd adr...@freebsd.org: Hi! I'm glad someone else is seeing this! I have the same behaviour with KDE4 on my T60 and T400. If I go to run amiwm (because hey, Workbench is awesome!) it doesn't happen. .. and bah, I wish the resume worked for you. It works fine for me on T42i, T60, T400. Thanks for your response. The fact it happens also in KDE appears interesting... so the root cause might exist in a component on top of pure X which is shared by Gnome and KDE. I have tested a Lenovo R61i running Xfce, and I don't experience the strange behaviour desribed. However, using the xev event tester, the keycode for the Fn key is being displayed as 227, and the KeyPress event is held (!) until the key is released, which means KeyPress and KeyRelease happen immediately after each other. Because my IBM T60p is still in the ICU, I can't test this, but I would assume to get a similar result. Hopefully some time suspend/resume will also work on the newer Lenovo models (I would be curious if the wakeup problem is Intel/KMS only or if also the NVidia models e.g. T430 NVS are affected). It would also be nice if as much as possible would work on the older models (including the docking stations), because Thinkpads seem to live much longer (and therefore will probably many more years in productive use), compared to their crappy competitors on the laptop market. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
Hi, I also had problem with Fn key. I'm using Lenovo T430 and Enlightenment desktop environment. I resolved this issue by unbinding XF86Sleep in Enlightenment settings. Cheers, Grzegorz Blach ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
... xf86sleep as a keypress id? -adrian On 16 August 2013 04:48, Grzegorz Blach ma...@roorback.net wrote: Hi, I also had problem with Fn key. I'm using Lenovo T430 and Enlightenment desktop environment. I resolved this issue by unbinding XF86Sleep in Enlightenment settings. Cheers, Grzegorz Blach ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
On Fri, 16 Aug 2013 11:24:51 -0700, Adrian Chadd wrote: ... xf86sleep as a keypress id? Yes, there are many of XF86... key symbols that can be associated to key codes. Probably this is some setting in Gnome or KDE (but not in other environments). You can use xev to check which symbol is associated to which key (or key combination, if this creates a new unique key event). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
Hi, Am 16.08.2013 13:58, schrieb Polytropon: I have tested a Lenovo R61i running Xfce, and I don't experience the strange behaviour desribed. However, using the xev event tester, the keycode for the Fn key is being displayed as 227, and the KeyPress event is held (!) until the key is released, which means KeyPress and KeyRelease happen immediately after each other. Because my IBM T60p is still in the ICU, I can't test this, but I would assume to get a similar result. thanks, I just used xev (with X and only TWM). It reports the Fn key as keycode 150. Looks like this is different across the Thinkpad models. It would also be nice if as much as possible would work on the older models (including the docking stations), because Thinkpads seem to live much longer (and therefore will probably many more years in productive use), compared to their crappy competitors on the laptop market. :-) Agree :-) Regards, Matthias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
Hi, a short update on this. I just found out: at least in Gnome 2 the behavior can be prevented by using the gconf-settings tool, changing the value of the key /apps/gnome-power-manager/buttons/suspend from suspend to nothing. Seems like some ubuntu users had the same issue as I found the workaround there. Kind regards, Matthias Am 16.08.2013 08:44, schrieb Adrian Chadd: Hi! I'm glad someone else is seeing this! I have the same behaviour with KDE4 on my T60 and T400. If I go to run amiwm (because hey, Workbench is awesome!) it doesn't happen. .. and bah, I wish the resume worked for you. It works fine for me on T42i, T60, T400. -adrian On 15 August 2013 23:32, Matthias Petermann matth...@d2ux.org mailto:matth...@d2ux.org wrote: Hello, I have a Lenovo X121e running Current with X and the Gnome desktop. Beside other issues[1] there is a strange behavior of Gnome-Desktop (and GDM too). When I press Fn without any additional key, the device immediately goes to sleep. As the X121e cannot resume properly from sleep, this forces me to reboot. This problem appears to be only exist when using Gnome / GDM. Pure X with TWM doesn't have this issue. I already tried to re-map the Fn key (I found in some mailing this might have the keycode 150) to a less dangerous key: $ xmodmap -e keycode 150 = Delete this brought no change. Has anyone an idea if Gnome re-maps the keys in some way or how I can disable this? At the moment this is the only blocker to use this Laptop for daily work, as I tend to accidently touch the Fn key more often than I want to reboot ;-) Thanks in advance kind regards, Matthias [1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current ___ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org mailto:freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
Right, but this sounds like some bug to send upstream. Or at least patch in our port(s) for this stuff. What keyboard / laptop has the key code '150' map to 'go to sleep' ? -adiran On 16 August 2013 17:09, Matthias Petermann matth...@d2ux.org wrote: Hi, a short update on this. I just found out: at least in Gnome 2 the behavior can be prevented by using the gconf-settings tool, changing the value of the key /apps/gnome-power-manager/buttons/suspend from suspend to nothing. Seems like some ubuntu users had the same issue as I found the workaround there. Kind regards, Matthias Am 16.08.2013 08:44, schrieb Adrian Chadd: Hi! I'm glad someone else is seeing this! I have the same behaviour with KDE4 on my T60 and T400. If I go to run amiwm (because hey, Workbench is awesome!) it doesn't happen. .. and bah, I wish the resume worked for you. It works fine for me on T42i, T60, T400. -adrian On 15 August 2013 23:32, Matthias Petermann matth...@d2ux.org wrote: Hello, I have a Lenovo X121e running Current with X and the Gnome desktop. Beside other issues[1] there is a strange behavior of Gnome-Desktop (and GDM too). When I press Fn without any additional key, the device immediately goes to sleep. As the X121e cannot resume properly from sleep, this forces me to reboot. This problem appears to be only exist when using Gnome / GDM. Pure X with TWM doesn't have this issue. I already tried to re-map the Fn key (I found in some mailing this might have the keycode 150) to a less dangerous key: $ xmodmap -e keycode 150 = Delete this brought no change. Has anyone an idea if Gnome re-maps the keys in some way or how I can disable this? At the moment this is the only blocker to use this Laptop for daily work, as I tend to accidently touch the Fn key more often than I want to reboot ;-) Thanks in advance kind regards, Matthias [1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Laptop Fn key causes X (Gnome 2) to sleep immediately
On Fri, 16 Aug 2013 18:07:25 -0700, Adrian Chadd wrote: What keyboard / laptop has the key code '150' map to 'go to sleep' ? My Sun Type 7 USB keyboard has the Copy key at code 150... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org