Re: Lenovo Ideapad S10-3t
I am running the latest kernel 2.6.32-21 and this is the error I get when I try to patch the kernel.
patch -p1 < /home/ehab/Documents/touchscreen.patch
patching file drivers/hid/hid-cando.c
patching file drivers/hid/hid-core.c
Hunk #1 FAILED at 1295.
1 out of 1 hunk FAILED -- saving rejects to file drivers/hid/hid-core.c.rej
patching file drivers/hid/hid-ids.h
Hunk #1 FAILED at 123.
1 out of 1 hunk FAILED -- saving rejects to file drivers/hid/hid-ids.h.rej
patching file drivers/hid/Kconfig
Hunk #1 FAILED at 86.
1 out of 1 hunk FAILED -- saving rejects to file drivers/hid/Kconfig.rej
patching file drivers/hid/Makefile
Hunk #1 FAILED at 26.
1 out of 1 hunk FAILED -- saving rejects to file drivers/hid/Makefile.rej
t
and the reject file for ......
cat drivers/hid/hid-ids.h.rej
--- drivers/hid/hid-ids.h 2010-04-14 13:35:09.000000000 +0200
+++ drivers/hid/hid-ids.h 2010-04-07 23:14:25.000000000 +0200
@@ -123,6 +123,9 @@
#define USB_VENDOR_ID_BERKSHIRE 0x0c98
#define USB_DEVICE_ID_BERKSHIRE_PCWD 0x1140
+#define USB_VENDOR_ID_CANDO 0x2087
+#define USB_DEVICE_ID_CANDO_MULTI_TOUCH 0x0a01
+
#define USB_VENDOR_ID_CH 0x068e
#define USB_DEVICE_ID_CH_PRO_PEDALS 0x00f2
#define USB_DEVICE_ID_CH_COMBATSTICK 0x00f4
Quote:
Originally Posted by
floem
You'll need to install the Ubuntu kernel source first (see here:
https://help.ubuntu.com/community/Kernel/Compile ) Then, change to the source directory and use patch -p1 < touchscreen.patch to apply. After that, rebuild the kernel once and install it (I've used the "old-fashioned Debian way" described on that page).
Note: around line 218 in hid-cando.c, you might need to change
ret = hid_hw_start(hdev,HID_CONNECT_DEFAULT);
to
ret = hid_hw_start(hdev,HID_CONNECT_DEFAULT|HID_CONNECT_ HIDINPUT_FORCE);
This somewhat depends on the base kernel version you're using - I had to add the FORCE flag for 2.6.31.9.
Floe
Re: Lenovo Ideapad S10-3t
Quote:
Originally Posted by
ehabh
Whenever i try to download the file, it downloads zero bytes. Can you possibly upload it elsewhere?
hm.. i tried to download it, right now and it was downloaded normally.
anyway, here is new link: http://url.file.am/?CaGAA.
when i compiled kernel with suggested edit of hid-cando.c (which was on 9 page) and added /etc/hal/fdi/policy/preferences.fdi touchscreen worked normal.
but when i restarted something went wrong.
when i touch to screen mouse pointer goes to upper-left corner of screen.
also, lshal | grep -i input.x11_driver has no output.
it means that hald doesn't read fdi file correctly?
Re: Lenovo Ideapad S10-3t
Thanks for the new upload the file just downloaded now :)
Re: Lenovo Ideapad S10-3t
I am on the KDE version of netbook remix, I think this is why the installation does nothing for me, or should it?
Re: Lenovo Ideapad S10-3t
Quote:
Originally Posted by
ehabh
I am on the KDE version of netbook remix, I think this is why the installation does nothing for me, or should it?
it makes no difference you're running on gnome, kde, xfce, icewm or self-written desktop environment. the point is to patch kernel for supporting this device, then, with hal, reassign device's driver to evdev. there is no dependency on gnome, .... , as you can see.
Re: Lenovo Ideapad S10-3t
Ok got that.
Now I am still a bit confused.
The script provided here what does it do?
Also can someone upload a working kernel that would ease things a lot for others like me who are having trouble patching the kernel.
www.elmotaheda-web.com
Re: Lenovo Ideapad S10-3t
I tried something new, since the patches where included in kernel 2.6.34 i downloaded it and its headers ( in total 3 debs ) from this ubuntu page of experimental kernels
http://kernel.ubuntu.com/~kernel-ppa....34-rc5-lucid/
I installed them and booted.
Voila touchscreen works, but only tap, that is on first press the cursor goes to where my finger is, but as I move my finger the cursor does not move with it.
But this is not the only problem, wifi is gone, seems that the binary packages of the wifi driver do not have the bindings for this new kernel.
Hope this helps someone.
Re: Lenovo Ideapad S10-3t
have you tried compiling the wifi driver from source? if the touchscreen is recognized by the kernel i'm hopeful it can be made to work like it should but no wifi is a deal breaker at least for now.
my s10 is the only one of my four computers running windows (albeit dual booting) and it's infuriating.
Re: Lenovo Ideapad S10-3t
Quote:
Originally Posted by
ehabh
Ok got that.
Now I am still a bit confused.
The script provided here what does it do?
Also can someone upload a working kernel that would ease things a lot for others like me who are having trouble patching the kernel.
www.elmotaheda-web.com
if you have already patched kernel, then this package is not for you.
it is just compiling hidtouch module for xserver and patches netbook-launcher, then making it's xorg.conf, installing it. and voila, you've got working (but single touch) touchscreen.
Quote:
Originally Posted by ehabh
But this is not the only problem, wifi is gone, seems that the binary packages of the wifi driver do not have the bindings for this new kernel.
Hope this helps someone.
you can compile it from source. here is link for source package. and here is very detailed instruction for compiling driver.
Re: Lenovo Ideapad S10-3t
very often, even when i'm not doing anything serious on laptop, i heard that fan is noising like a beast.
i've installed tool for monitoring cpu temperature and found that it's temperature is >50 C.
so, i have some questions.
1. why if i'm not working on it, and it stays alone for about hour or two it's temperature grows over 50?
2. do anyone have same problem?
3. is it dangerous? i mean does it affect on lifetime of laptop?