2010-07-20

Linux on a Fujitsu U810, P1620, T1010 - Touchscreen IX

Following the request from several users, and a little bit late, I have adapted the driver to work on systems with kernel-compiled usbhid module.


The problem was that, in certain cases (fedora and other distributions) the usbhid module is compiled in the kernel, not compiled as a module. In these cases, the prior script that performs the correct binding of the device to the fujitsu_usb_touchscreen module was not working. Also, the previous script, even it was working, was not very polite and was not following correct computer initialization procedures.

You can find the new driver here.

To follow installation instructions, go read this previous post.

8 comments:

  1. A couple changes need to be made to the touchscreen driver for Ubuntu Maverick:
    I made a patch here: http://pastebin.com/cxUvW9Tr
    or just download the whole thing: http://www.mediafire.com/?hpj3z6hjdijhdqi

    ReplyDelete
  2. Hi nerd65536,

    next week, when 10.10 is released, I'll check your changes and upgrade to your proposed version.


    Many thanks!

    ReplyDelete
  3. Happy release day!

    I found a typo I made, and I made a few more changes:
    Patch: http://pastebin.com/PWuHRmgS
    Download: http://www.mediafire.com/?z4yau45l7a2sbep

    Changelog:
    * Module needs to be reloaded after resuming from suspend/hibernate
    fujitsu_touchscreen: Modified to allow being called from pm
    Makefile: 'make install' adds fujitsu_touchscreen to the resume list

    * Kernel versions >= 2.6.35 have renamed usb_buffer_alloc and usb_buffer_free
    fujitsu_usb_touchscreen.c: Make the name changes, and add logic to switch between names depending on kernel version

    * 'make install' fails if the symlinks it creates already exist.
    Makefile: Use 'ln -fs' instead of 'ln -s'

    * Updated README for Ubuntu 10.10, added instructions for installing fjbtndrv

    ReplyDelete
  4. I just upgraded to Maverick, unpacked 0.3.7 and ran

    sed -i 's/usb_buffer_alloc/usb_alloc_coherent/g' fujitsu_usb_touchscreen.c
    sed -i 's/usb_buffer_free/usb_free_coherent/g' fujitsu_usb_touchscreen.c

    then followed the regular instructions, make, sudo make install. Everything works great.

    Thanks!

    ReplyDelete
  5. i have a problem installing it on my opensuse 11.3
    if i type sudo make install i get
    this back:
    make -C /lib/modules/2.6.34.7-0.5-desktop/build M=/home/BigViper/Downloads/fujitsu-usb-touchscreen-0.3.8 modules
    make: *** /lib/modules/2.6.34.7-0.5-desktop/build: Datei oder Verzeichnis nicht gefunden. Schluss.
    make: *** [fujitsu_usb_touchscreen.ko] Fehler 2

    Datei oder Verzeichnuis nicht gefunden = data or path not found
    schluss = end

    can someone help me out? cause i don´t have the /kernel/build path. i´m using the 64bit system of opensuse.

    ReplyDelete
  6. Thank you so much! With my u810 being over 4 years old, i thought the touch screen died. I couldn't see it under lsusb, however it did work (shoddily) in tablet mode. I couldn't find a fix for the life of me, till I found this page while looking to calibrate the tablet mode touchscreen i had reluctantly resigned to.

    I'm on easypeasy and happily using the usb touch screen. You have saved my tablet!

    ReplyDelete
  7. Thank you so much! With my u810 being over 4 years old, i thought the touch screen died. I couldn't see it under lsusb, however it did work (shoddily) in tablet mode. I couldn't find a fix for the life of me, till I found this page while looking to calibrate the tablet mode touchscreen i had reluctantly resigned to.

    I'm on easypeasy and happily using the usb touch screen. You have saved my tablet!

    ReplyDelete