Re: Fwd: Re: FocalTech touchpad stops working after suspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everybody,

Thanks to Harris Anggara (harrisanggara) and Daniel Drake (dsdrake)
here, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1490130 , I
could solve my problem by adding this patch to the kernel :
https://marc.info/?l=linux-input&m=144312209020616&w=2

Now i'm using kernel 4.2 for Ubuntu 14.04  with the patch. I had to
change the DMI_PRODUCT_NAME with K501LX (because that is my laptop
model). To identify your laptop model you can run
sudo dmidecode | grep Product\ Name

I tried directly with kernel 4.2 because before that, kernel 3.19 and
so, they need a driver for my touchpad. I followed the instruction here
to obtain the source of kernel 4.2 for Ubuntu 14.04,
https://wiki.ubuntu.com/Kernel/Dev/KernelGitGuide
git clone git://kernel.ubuntu.com/ubuntu/ubuntu-trusty.git
then from inside the folder you've just downloaded (cd ubuntu-trusty)
git tag -l Ubuntu-*
to know what is available for ubuntu 14.04
and then
git checkout -f -b temp Ubuntu-lts-4.2.0-6.6_14.04.1.1

After, to build the kernel, I followed this explanation,
https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
fakeroot debian/rules clean
fakeroot debian/rules binary-headers binary-generic
then
cd ..
ls *.deb
    linux-cloud-tools-4.2.0-6-generic_4.2.0-6.6~14.04.1.1_amd64.deb
    linux-headers-4.2.0-6_4.2.0-6.6~14.04.1.1_all.deb
    linux-headers-4.2.0-6-generic_4.2.0-6.6~14.04.1.1_amd64.deb
    linux-image-4.2.0-6-generic_4.2.0-6.6~14.04.1.1_amd64.deb
    linux-image-extra-4.2.0-6-generic_4.2.0-6.6~14.04.1.1_amd64.deb
    linux-tools-4.2.0-6-generic_4.2.0-6.6~14.04.1.1_amd64.deb

I deleted this two files because I don't need them
    linux-cloud-tools-4.2.0-6-generic_4.2.0-6.6~14.04.1.1_amd64.deb
    linux-tools-4.2.0-6-generic_4.2.0-6.6~14.04.1.1_amd64.deb
and finally,
sudo dpkg -i linux*4.2.0-6.6~14.04.1.1*.deb
sudo reboot

Now it works nicely. The touchpad works fine, without the need to
install any driver and I can suspend the activity of my computer and
resume without loosing the touchpad. I hope the patch will be integrated
soon and I won't loose my touchpad again with updates in the future.

Thank you everybody,
Take care, always smiling,

Thatoo

Le 22/10/2015 12:12, Nathanaël/Thatoo a écrit :
> Hello,
>
> Harakhay, the guy who find a solution in here,
> https://bbs.archlinux.org/viewtopic.php?pid=1572218#p1572218 , told me a
> little bit more how he solved his problem :
>
> Everybody suggested him to add SUSPEND_MODULES="psmouse" in
> /etc/pm/config.d/modules, but it didn't help for him. So he found all
> modules dependent upon psmouse, and some dependent upon those modules as
> well. He had about 6 of them. Then he did this trick with all these
> modules (unload on suspend, load on resume), and he found out that it
> works. Then only thing he needed to do was to find out what module from
> those 6 is needed to be reloaded....
>
> Now, to try his solution, because i8042 doesn't works in my case, I need
> to how to find all modules dependent upon psmouse, and some dependent
> upon those modules as well...
>
> Does anyone can help me with that?
>
> Thank you
>
> Le 19/10/2015 13:37, thatoo@xxxxxxxxxxx a écrit :
>> no, lsmod | grep i8042 , doesn't show anything.
>>
>> I guess everything is because of this sentence you wrote to me that I
>> don't understand, "make sure it is a module and not compiled into
>> kernel". What does it mean??
>>
>> Le 17/10/2015 21:31, Dmitry Torokhov a écrit :
>>> On Sat, Oct 17, 2015 at 09:11:44PM +0330, Nathanaël/Thatoo wrote:
>>>> I tried to follow the solution,
>>>>
>>>> - pm-utils was already installed
>>>>
>>>> - I created the file /etc/pm/config.d/modules
>>>> sudo gedit /etc/pm/config.d/modules
>>>> and I wrote
>>>> SUSPEND_MODULES="i8042"
>>>>
>>>> - Then I tried to suspend using "sudo pm-suspend" or the shortkey etc..
>>>> but nothing change.
>>>>
>>>> Maybe I have to write more inside /etc/pm/config.d/modules to "unload"
>>>> on suspend and then "reload" on resume, no?
>>>> Maybe just the line SUSPEND_MODULES="i8042" is not enough but what
>>>> should I write?
>>>> What means (make sure it is a module and not compiled into kernel)?
>>> Do you see anything if you do "lsmod | grep i8042"?
>>>
>>> Thanks.
>>>
>>>

Attachment: 0x1BA5F17B.asc
Description: application/pgp-keys


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux