tag:blogger.com,1999:blog-20373908611716133532024-03-05T05:01:19.891-08:00cksumRaphaëlhttp://www.blogger.com/profile/17275379416497169604noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-2037390861171613353.post-28142407618996239572014-09-02T23:42:00.003-07:002014-09-02T23:49:43.948-07:00Temporary fix for Asus touchpad not detected under Ubuntu Linux<div dir="ltr" style="text-align: left;" trbidi="on">
Hans de Goede posted the following comment on <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1323346">Launchpad bug #1323346</a>:<br />
<br />
<pre><div style="font-family: "Courier New",Courier,monospace;">
Hi,
Fixing this is non trivial, supporting these new touchpads likely
needs a signicant amount of work (for details see
https://bugzilla.redhat.com/show_bug.cgi?id=1110011 ).
In the mean time, I can provide a workaround which should make the
touchpad work in ps/2 mouse emulation mode (so no 2 finger scrolling,
etc.), and stop it from interfering with an external mouse.
Sounds good? Try booting with "psmouse.proto=bare" on the kernel cmdline.
See: https://wiki.ubuntu.com/Kernel/KernelBootParameters for how to
add a parameter to the kernel commandline.
Regards,
Hans</div>
</pre>
<br />
<pre> </pre>
To test this workaround, do the following:<br />
<br />
<pre><span style="font-family: "Courier New",Courier,monospace;">$ sudoedit /etc/default/grub</span></pre>
<pre><span style="font-family: "Courier New",Courier,monospace;"> </span></pre>
Change <span style="font-family: "Courier New",Courier,monospace;">GRUB_CMDLINE_LINUX_DEFAULT</span> to add <span style="font-family: "Courier New",Courier,monospace;">psmouse.proto=bare</span> at the end, and save your modifications.<br />
<br />
Then: <br />
<br />
<pre><span style="font-family: "Courier New",Courier,monospace;">$ sudo update-grub</span></pre>
<pre><span style="font-family: "Courier New",Courier,monospace;"> </span></pre>
And finally reboot.
</div>
Raphaëlhttp://www.blogger.com/profile/17275379416497169604noreply@blogger.com0tag:blogger.com,1999:blog-2037390861171613353.post-41365729531365905322014-06-11T07:39:00.002-07:002014-09-02T23:46:51.193-07:00Asus touchpad not detected under Ubuntu Linux<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXanAQFv_WWSp5_vLcJEmpUPN2UkS6k9A0a1iVP392q80ZzQld7iFbtU5c_mmPM4Tohlf3unzhdfgw6HuzuaHFSPDOHK94xwG5zjg-J-_B6P1jm7_ZDsha_e1CnLE1zYCmbf_QPHsjRmAS/s1600/asus_x450cc.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXanAQFv_WWSp5_vLcJEmpUPN2UkS6k9A0a1iVP392q80ZzQld7iFbtU5c_mmPM4Tohlf3unzhdfgw6HuzuaHFSPDOHK94xwG5zjg-J-_B6P1jm7_ZDsha_e1CnLE1zYCmbf_QPHsjRmAS/s1600/asus_x450cc.jpg" height="200" width="200" /></a></div>
<div style="text-align: left;">
</div>
I've bought a new <b>Asus X450CC</b>, wiped out all the partitions, and installed <a href="http://xubuntu.org/">Xubuntu</a>.<br />
<br />
The problem is that the touchpad is <b>not recognized</b> under <b>Linux</b>, although it worked without any problems under <b>Windows</b>, which excludes a hardware problem.<br />
<br />
The touchpad is listed as <span style="font-family: "Courier New",Courier,monospace;">PS/2 Logitech Wheel Mouse</span> in the output of <span style="font-family: "Courier New",Courier,monospace;">xinput</span>, and the following lines can be found in the output of <span style="font-family: "Courier New",Courier,monospace;">dmesg</span>:<br />
<pre> </pre>
<pre>[ 4.007364] input: PS/2 Logitech Wheel Mouse as /devices/platform/i8042/serio4/input/input11
[ 4.035847] psmouse serio4: Failed to enable mouse on isa0060/serio4
</pre>
<br />
I've tried mostly everything :<br />
<ul style="text-align: left;">
<li>With the latest upstream kernel, the problem is still there.<br /><pre>$ cat /proc/version
Linux version 3.15.0-031500rc7-generic (apw@gomeisa) (gcc version 4.6.3
(Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201405251935 SMP Sun May 25 23:36:23 UTC 2014</pre>
</li>
</ul>
<ul style="text-align: left;">
<li> The <b>i8042</b> chip is the keyboard and mouse controller, and <a href="http://lxr.free-electrons.com/source/drivers/input/serio/i8042.c">i8042.c</a> is the source code file in Linux kernel. It can be controlled with <a href="https://www.kernel.org/doc/Documentation/kernel-parameters.txt">kernel parameters</a>:<br /><pre> </pre>
<pre>i8042.debug [HW] Toggle i8042 debug mode
i8042.direct [HW] Put keyboard port into non-translated mode
i8042.dumbkbd [HW] Pretend that controller can only read data from
keyboard and cannot control its state
(Don't attempt to blink the leds)
i8042.noaux [HW] Don't check for auxiliary (== mouse) port
i8042.nokbd [HW] Don't check/create keyboard port
i8042.noloop [HW] Disable the AUX Loopback command while probing
for the AUX port
i8042.nomux [HW] Don't check presence of an active multiplexing
controller
i8042.nopnp [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX
controllers
i8042.notimeout [HW] Ignore timeout condition signalled by controller
i8042.reset [HW] Reset the controller during init and cleanup
i8042.unlock [HW] Unlock (ignore) the keylock</pre>
<br />To pass kernel parameters, edit the following file:<br /><br /><pre>$ sudoedit /etc/default/grub</pre>
<br />and add the desired parameter at the end of <span style="font-family: "Courier New",Courier,monospace;">GRUB_CMDLINE_LINUX_DEFAULT</span>, then:
<br /><br /><pre>$ sudo update-grub</pre>
<br />and reboot.<br /><br />I've tried booting with <span style="font-family: "Courier New",Courier,monospace;">i8042.nomux</span>, then <span style="font-family: "Courier New",Courier,monospace;">i8042.notimeout i8042.nomux</span> and finally <span style="font-family: "Courier New",Courier,monospace;">i8042.notimeout i8042.nomux i8042.reset</span> and it didn't make any difference.</li>
</ul>
<ul style="text-align: left;">
<li>The <span style="font-family: "Courier New",Courier,monospace;">force_elantech</span> module parameter <a href="http://www.spinics.net/lists/linux-input/msg17293.html">has been removed</a>, so I couldn't try it.</li>
</ul>
<ul style="text-align: left;">
<li>I've tried playing with the <span style="font-family: "Courier New",Courier,monospace;">proto</span> module parameter:<br /><br />
<pre>$ sudo modprobe -r psmouse
$ sudo modprobe psmouse proto=imps</pre>
<br />I've tried the following values: <span style="font-family: "Courier New",Courier,monospace;">bare</span>, <span style="font-family: "Courier New",Courier,monospace;">imps</span> and <span style="font-family: "Courier New",Courier,monospace;">exps</span>, none of them made the touchpad work.</li>
</ul>
<ul style="text-align: left;">
<li>I've tried all the patches I could find, when they still applied to the kernel:<br /><br />
<pre>$ wget https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1166442/+attachment/3941591/+files/psmouse-elantech-x551c.tar.gz
$ sudo dkms ldtarball psmouse-elantech-x551c.tar.gz
$ sudo dkms install -m psmouse -v elantech-x551c
$ sudo modprobe -r psmouse
$ sudo modprobe psmouse</pre>
<br />I've also tried <a class="http" href="http://planet76.com/drivers/elantech/psmouse-elantech-v6.tar.bz2" title="psmouse-elantech-v6.tar.bz2">psmouse-elantech-v6.tar.bz2</a> and <a class="http" href="http://www.ouam.fr/~madko/ubuntu/elantech/psmouse-elantech-v7.tar.bz2" title="psmouse-elantech-v7.tar.bz2">psmouse-elantech-v7.tar.bz2</a>. It didn't work either. </li>
</ul>
<br />
So I've filed a bug report on Launchpad, but I'm not the only one:<br />
<br />
<ul style="text-align: left;">
<li><a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1328392">[Asus X550LD] Touchpad not working - Ubuntu 14.04</a></li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1314198">[Asus X550LC] Touchpad not Recognized in ubuntu 14.04</a></li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1323816">[Asus X550CA] Touchpad not working in ubuntu 14.04</a> </li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1325881">[Asus X550LD] Touchpad not working/detected Ubuntu 14.04</a> </li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1323346">[Asus X450CC] Touchpad not working</a> </li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1323371">[Asus X550LB] Touchpad not working </a> </li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/linux-lts-saucy/+bug/1292409">[ASUS X750LB] Touchpad not detected</a> </li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1290517">Asus R751L Notebook - Touchpad not recognized</a><br />
</li>
</ul>
<ul style="text-align: left;">
</ul>
<ul style="text-align: left;">
</ul>
<ul style="text-align: left;">
</ul>
<ul style="text-align: left;">
</ul>
</div>
Raphaëlhttp://www.blogger.com/profile/17275379416497169604noreply@blogger.com7tag:blogger.com,1999:blog-2037390861171613353.post-88125816794579483842014-05-27T01:27:00.000-07:002014-05-27T01:27:15.799-07:00Error : Geany tried to access the Unix Domain socket of another instance running as another user<div dir="ltr" style="text-align: left;" trbidi="on">
If you get the following error when trying to launch Geany :<br />
<i> </i><br />
<span style="font-family: "Courier New",Courier,monospace;">(geany:12755): Geany-WARNING **: Geany tried to access the Unix Domain socket of another instance running as another user.<br />This is a fatal error and Geany will now quit.</span><br />
<br />
the solution is quite simple. Open a terminal and execute the following command:<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">$ rm .config/geany/geany_socket*</span><br />
<br />
Now you can launch Geany without errors!</div>
Raphaëlhttp://www.blogger.com/profile/17275379416497169604noreply@blogger.com0