Page 1 of 6 123 ... LastLast
Results 1 to 10 of 60

Thread: [SOLVED] Fujitsu Lifebook P1510d Touchscreen stopped working in Hardy

  1. #1
    Join Date
    Nov 2007
    Beans
    14

    Unhappy [SOLVED] Fujitsu Lifebook P1510d Touchscreen stopped working in Hardy

    Hey guys,

    As title indicates, Fujitsu touchscreen stopped working for me with the new X that comes with Hardy. I managed to make it work with gutsy using guide at http://www.conan.de/touchscreen/, but with the recent update, I get this when I grep "(EE)" in my /var/log/Xorg.0.log:


    (EE) module ABI major version (0) doesn't match the server's version (2)
    (EE) Failed to load module "fujitsu" (module requirement mismatch, 0)
    (EE) Failed to load module "void" (module does not exist, 0)
    (EE) No Input driver matching `fujitsu'
    (EE) No Input driver matching `void'
    Here is my xorg.conf:

    Section "Files"
    EndSection

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection

    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "ImPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "true"
    # Uncomment to use MIddle Click + Mouse for scroll
    # Option "EmulateWheel" "true"
    # Option "EmulateWheelButton" "2"
    EndSection

    Section "InputDevice"
    Identifier "Synaptics Touchpad"
    Driver "synaptics"
    Option "SendCoreEvents" "true"
    Option "Device" "/dev/psaux"
    Option "Protocol" "auto-dev"
    Option "HorizEdgeScroll" "0"
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "stylus"
    Option "Device" "/dev/input/wacom"
    Option "Type" "stylus"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "eraser"
    Option "Device" "/dev/input/wacom"
    Option "Type" "eraser"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "cursor"
    Option "Device" "/dev/input/wacom"
    Option "Type" "cursor"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    EndSection

    Section "Device"
    Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
    Driver "intel"
    BusID "PCI:0:2:0"
    EndSection

    Section "Monitor"
    Identifier "Generic Monitor"
    Option "DPMS"
    HorizSync 30-70
    VertRefresh 50-160
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
    Monitor "Generic Monitor"
    Option "RandRRotation" "True"
    DefaultDepth 24
    EndSection

    Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Default Screen"
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"
    InputDevice "touchscreen" "CorePointer"
    InputDevice "dummy"

    # Uncomment if you have a wacom tablet
    # InputDevice "stylus" "SendCoreEvents"
    # InputDevice "cursor" "SendCoreEvents"
    # InputDevice "eraser" "SendCoreEvents"
    # InputDevice "Synaptics Touchpad"
    EndSection

    Section "InputDevice"
    Identifier "dummy"
    Driver "void"
    Option "Device" "/dev/input/mice"
    EndSection

    Section "InputDevice"
    Identifier "touchscreen"
    Driver "fujitsu"
    Option "Device" "/dev/ttyS0"
    Option "DeviceName" "touchscreen"
    Option "MinX" "82"
    Option "MinY" "146"
    Option "MaxX" "4036"
    Option "MaxY" "3999"
    Option "SendCoreEvents" "On"
    EndSection
    I would very much like to fix this, but I just don't have an idea how to do this. Can anyone give some insights?


    Also, if I'll fail to fix this, is there an easy re-roll method to Gutsy, or I'll be stuck with reinstalling the whole system with all soft and customizations I did?

    Thanks for you time and advice.

  2. #2
    Join Date
    Nov 2007
    Beans
    14

    Re: Fujitsu Lifebook P1510d Touchscreen stopped working in Hardy

    Shameless bump.

    Anyone got any ideas?

  3. #3
    Join Date
    Nov 2007
    Beans
    27

    Re: Fujitsu Lifebook P1510d Touchscreen stopped working in Hardy

    Quote Originally Posted by CMEPTb View Post
    Shameless bump.

    Anyone got any ideas?
    I have a P1510 with the same problem. The problem is that the driver is not compatible with the new version of Xorg that comes with Hardy. You need to compile from source and this may fix the problem... but I haven't got time.

    I am just going to keep an eye on conan.de for a new version and sort it then.

    Sorry that its not of much help

    Dan

  4. #4
    Join Date
    Aug 2007
    Beans
    16

    Re: Fujitsu Lifebook P1510d Touchscreen stopped working in Hardy

    UPDATE: The script below does not work for Jaunty or any later version of Ubuntu. Please follow the instructions given in message #37 of this thread.


    I have the Fujitsu P-Series driver working on my P1510D under Hardy. I wrote a script to automate the download, compilation, and installation of the driver (see below). First you need to open a Terminal window by clicking on the Applications menu, going to Accessories and selecting Terminal. In the Terminal window type the following on the command line to launch the gedit text editor:

    Code:
    gedit touchscreen.sh
    Next, copy the script code below and paste it into the gedit window. Click the "Save" button and close gedit.

    Code:
    #!/bin/bash
    
    # Change to /tmp to avoid cluttering the current directory.
    cd /tmp
    
    # Install the packages we need for setting up the serial port and compiling the driver's source code.
    sudo apt-get install -y setserial xserver-xorg-dev x11proto-core-dev x11proto-fonts-dev build-essential pkg-config libxrandr-dev
    
    # Configure the serial port to which the touchscreen is attached.
    sudo setserial /dev/ttyS0 port 0x0220 irq 4 autoconfig
    
    # Set it up so that the serial port will be properly configured at boot time.
    echo -e '/dev/ttyS0 irq 4 port 0x220 autoconfig' | sudo tee /etc/serial.conf
    
    # Download the driver's source code from the web site.
    wget http://www.conan.de/touchscreen/xf86-input-fujitouch-0.6.5.tar.bz2
    
    # Extract the source code from the file.
    tar -jxf xf86-input-fujitouch-0.6.5.tar.bz2
    
    # Change to the source code subdirectory.
    cd xf86-input-fujitouch-0.6.5
    
    # Back up the source code file that we need to edit.
    cp fujitsu.c fujitsu.c.original
    
    # Patch the source code to allow the driver to work in Hardy.
    sed	'
    	s:xf86AlwaysCore(local, TRUE);:/*xf86AlwaysCore(local, TRUE);*/:
    	' fujitsu.c.original >fujitsu.c
    
    # Compile the source code and install the driver. 
    ./configure --prefix=/usr && make && sudo make install
    
    exit 0
    Now type the following into the Terminal:

    Code:
    sh touchscreen.sh
    Hit enter, enter your password, and watch the script do its work.


    After executing the script, you'll need to modify your xorg.conf file manually. First, backup your xorg.conf file:

    Code:
    sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
    Next, open your xorg.conf file for editing:

    Code:
    sudo gedit /etc/X11/xorg.conf
    Add the following to the xorg.conf file somewhere near the other "InputDevice" entries:

    Code:
    Section "InputDevice"
        Identifier "touchscreen"
        Driver "fujitsu"
        Option "Device" "/dev/ttyS0"
        Option "DeviceName" "touchscreen"
        Option "MinX" "82"
        Option "MinY" "146"
        Option "MaxX" "4036"
        Option "MaxY" "3999"
        Option "SendCoreEvents" "On"
    EndSection
    (On my P1510D, I have 4020 for MaxX rather than 4036.)

    Then find the "ServerLayout" section of the xorg.conf file and add the following to that section:

    Code:
    InputDevice "touchscreen"
    Once you have finished making the changes, click "Save" and close gedit.

    Now logout of the X session. When the GDM login screen appears, you should be able to move the cursor using the touchscreen.

    I hope this helps!
    Last edited by concertedrxn; February 26th, 2010 at 01:07 AM. Reason: Pointing users of Jaunty and later versions of Ubuntu to message #37.

  5. #5
    Join Date
    Nov 2007
    Beans
    27

    Re: Fujitsu Lifebook P1510d Touchscreen stopped working in Hardy

    Thanks - that worked for me.

    I had to install the following packages first, though:
    sudo apt-get install xserver-xorg-dev x11proto-core-dev x11proto-fonts-dev

  6. #6
    Join Date
    Aug 2007
    Beans
    16

    Re: Fujitsu Lifebook P1510d Touchscreen stopped working in Hardy

    danmiddle2,

    Thanks for catching that. I've included your fix in the script so others won't encounter that problem. I apologize for the oversight.

  7. #7
    Join Date
    Nov 2007
    Beans
    14

    Re: Fujitsu Lifebook P1510d Touchscreen stopped working in Hardy

    Many thanks concertedrxn, worked like a charm.

    You're the best!

  8. #8
    Join Date
    Oct 2007
    Location
    Chicago
    Beans
    41
    Distro
    Ubuntu Studio 9.10 Karmic Koala

    Re: [SOLVED] Fujitsu Lifebook P1510d Touchscreen stopped working in Hardy

    Hi guys,

    I'm trying this on a fujitsu lifebook T4010D. I must not have C configured correctly because when I run your script an error is returned that says
    "configure: error: C compiler cannot create executables". Am I missing a component that I should get using apt?

    Another note: The error tells me to check the config.log for more details. I was going to post the contents of this log however when I try to locate a file called config.log, the only thing that returns is "/var/log/fontconfig.log"

    thanks in advance for your help!

  9. #9
    Join Date
    Nov 2007
    Beans
    27

    Re: [SOLVED] Fujitsu Lifebook P1510d Touchscreen stopped working in Hardy

    have you installed all the build tools

    sudo apt-get install build-essential

  10. #10
    Join Date
    Nov 2007
    Beans
    27

    Re: [SOLVED] Fujitsu Lifebook P1510d Touchscreen stopped working in Hardy

    Quote Originally Posted by djrakun View Post
    Hi guys,

    I'm trying this on a fujitsu lifebook T4010D.
    Does that have the same touchscreen hardware?... I think this driver is just for the fujitsu P series!? have a look at www.conan.de

Page 1 of 6 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
  •