Page 1 of 4 123 ... LastLast
Results 1 to 10 of 36

Thread: Touchscreen X11 driver missing

  1. #1
    Join Date
    Mar 2005
    Beans
    63

    Touchscreen X11 driver missing

    Hey folks,

    Just acquired an Acer Aspire 1825PTZ tablet and loaded 10.04 on it. Not only does the touchscreen not work, but it's not even properly recognized as an input device.

    "xinput list" does not list the touchscreen as a pointer device:

    Code:
    ⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
    ⎜   ↳ SynPS/2 Synaptics TouchPad              	id=12	[slave  pointer  (2)]
    ⎜   ↳ Macintosh mouse button emulation        	id=13	[slave  pointer  (2)]
    ⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
        ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
        ↳ Power Button                            	id=6	[slave  keyboard (3)]
        ↳ Video Bus                               	id=7	[slave  keyboard (3)]
        ↳ Power Button                            	id=8	[slave  keyboard (3)]
        ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
        ↳ CNF9011                                 	id=10	[slave  keyboard (3)]
        ↳ AT Translated Set 2 keyboard            	id=11	[slave  keyboard (3)]
    The relevant section from a "cat /proc/bus/input/devices".

    Code:
    I: Bus=0019 Vendor=0000 Product=0006 Version=0000
    N: Name="Video Bus"
    P: Phys=LNXVIDEO/video/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input8
    U: Uniq=
    H: Handlers=kbd event8 
    B: EV=3
    B: KEY=3f000b00000000 0 0 0

    The relevant section from dmesg:

    Code:
    [12.901155] USB Video Class driver (v0.1.0)
    [13.980995] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input8
    [13.981061] ACPI: Video Device [OVGA] (multi-head: yes  rom: no  post: no)
    This is bad. Very bad. It requires somebody skilled in the obscure art of kernel drivers to solve.

  2. #2
    Join Date
    Mar 2005
    Beans
    63

    Re: Touchscreen X11 driver missing

    Ok. So I had to load Win7 to check the touchscreen model. Turns out the touchscreen driver is from ST Microelectronics. I'm clueless about how to find the model, but there shouldn't be many 11.6" multitouch capacitive touchscreen from them.
    Last edited by lixy; May 15th, 2010 at 09:42 PM.

  3. #3
    Join Date
    Mar 2005
    Beans
    63

    Re: Touchscreen X11 driver missing

    So...it looks like there's a bug filed for this already.

    https://bugs.launchpad.net/ubuntu/+s...ch/+bug/511747

    Guessing that it's the same model, since it's a 11.6" multitouch capacitive touchscreen in an Acer.

  4. #4
    Join Date
    Mar 2005
    Beans
    63

    Re: Touchscreen X11 driver missing

    .
    Last edited by lixy; May 15th, 2010 at 09:41 PM.

  5. #5
    Join Date
    Mar 2005
    Beans
    63

    Re: Touchscreen X11 driver missing

    So there's a patch in the wild.

    https://patchwork.kernel.org/patch/94542/

    I spent two hours looking for a newer kernel that included that patch in vain. So I tried it the hard way, but no success on that front either. I downloaded Steph's patch from the link above. The error message from running the patch is listed below.

    Code:
    ali@ali-tablet:/usr/src/linux-headers-2.6.32-21$ sudo patch p0 < Support-for-the-11.6-Cando-panel-found-on-the-Acer-1825PTZ.patch 
    patching file p0
    Hunk #1 FAILED at 235.
    1 out of 1 hunk FAILED -- saving rejects to file p0.rej
    patching file p0
    Hunk #1 FAILED at 1274.
    1 out of 1 hunk FAILED -- saving rejects to file p0.rej
    patching file p0
    Hunk #1 FAILED at 118.
    1 out of 1 hunk FAILED -- saving rejects to file p0.rej
    Anyone who can apply patches care to chime in?

  6. #6
    Join Date
    Jan 2010
    Beans
    8

    Re: Touchscreen X11 driver missing

    This patch is really simple and nearly human readable (basically, it is the addition of a couple of lines in three different files). I was going to suggest that you apply it by hand.

    But actually, your issue is worse than I thought: if you have a vanilla Lucid kernel, then:
    1) there's no hid-cando.c file at all
    2) you need a patch to {linux}/include/linux/hid.h

    I *believe* the following patches should be enough:

    - 8b0e58a70a7a41443c779de074288035b014cb94, which I can't find in patchwork
    - https://patchwork.kernel.org/patch/92471/
    - https://patchwork.kernel.org/patch/93203/
    - https://patchwork.kernel.org/patch/94542/

    St.

  7. #7
    Join Date
    Mar 2005
    Beans
    63

    Re: Touchscreen X11 driver missing

    I hunted down the patch 8b0e58a70a7a41443c779de074288035b014cb94 and attached it here.

    Then, I applied all four patches and compiled a new kernel. Upon rebooting, I get the following error:

    Code:
    Kernel panic - not syncing: VFS Unable to mount root fs on unknown-block(0,0)
    Probably more related to my lack of expertise in the area than to the patches.

    Oh well...I gave it a shot anyway. Will have to patiently wait for this to be fixed upstream. I hope the kernel crew will not leave us hanging for too long.
    Attached Files Attached Files

  8. #8
    Join Date
    Jan 2010
    Beans
    8

    Re: Touchscreen X11 driver missing

    Wow! I suspect that the boot problem does not come from the driver

    In theory you don't need to re-compile the whole kernel. You just need to go to drivers/hid and (re)build the hid and hid-cando modules. The command is "make -C ../.. SUBDIRS=`pwd`modules". Then you need to copy hid.ko and hid-cando.ko to /lib/modules/{your-kernel}/kernel/drivers/hid, and use rmmod/modprobe/insmod (plus a touch of depmod).

    What might happen though is that you get warnings at compile time about missing files (such as Module.symvers). As far as I remember you can find them for your kernel somewhere in /lib/modules or in /boot. Or you can rebuild the whole kernel to produce them, but you don't need to install the resulting kernel.

  9. #9
    Join Date
    Dec 2007
    Beans
    17

    Re: Touchscreen X11 driver missing

    does everything else work out of the box? webcam, wifi, screen rotation etc?

  10. #10
    Join Date
    Mar 2005
    Beans
    63

    Re: Touchscreen X11 driver missing

    Quote Originally Posted by nearo View Post
    does everything else work out of the box? webcam, wifi, screen rotation etc?
    You'll need a tiny script for the touchpad to be multitouch. But other than that, it works fine.

    I don't know what "screen rotation" means though. I can rotate the screen through system > preferences > display if that's what you mean.

Page 1 of 4 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •