Page 2 of 7 FirstFirst 1234 ... LastLast
Results 11 to 20 of 65

Thread: Need help with fpit (Ubuntu 11.4)

  1. #11
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Need help with fpit (Ubuntu 11.4)

    Thanks. Do you mind posting the entire xinput list? I'm thinking it shouldn't be reported as a floating slave so I want to see everything.

    We could also try a few more modifications of the xorg.conf. You are backing up your current working xorg.conf in case we break X, right?

  2. #12
    Join Date
    Apr 2011
    Beans
    67
    Distro
    Ubuntu Studio 13.04 Raring Ringtail

    Re: Need help with fpit (Ubuntu 11.4)

    Code:
    ⎡ Virtual core pointer                        id=2    [master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
    ⎜   ↳ Jing-Mold USB K/B+Mouse                     id=11    [slave  pointer  (2)]
    ⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
        ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
        ↳ Power Button                                id=7    [slave  keyboard (3)]
        ↳ Video Bus                                   id=8    [slave  keyboard (3)]
        ↳ Power Button                                id=9    [slave  keyboard (3)]
        ↳ Jing-Mold USB K/B+Mouse                     id=10    [slave  keyboard (3)]
        ↳ AT Translated Set 2 keyboard                id=12    [slave  keyboard (3)]
    ∼ TOUCHSCREEN                                 id=6    [floating slave]
    You are backing up your current working xorg.conf in case we break X, right?
    My last backup was when I removed the video sections

  3. #13
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Need help with fpit (Ubuntu 11.4)

    Ok, let me take a peak. Could you post your current xorg.conf too?

  4. #14
    Join Date
    Apr 2011
    Beans
    67
    Distro
    Ubuntu Studio 13.04 Raring Ringtail

    Re: Need help with fpit (Ubuntu 11.4)

    I haven't changed it since the last time I posted it.

  5. #15
    Join Date
    Apr 2011
    Beans
    67
    Distro
    Ubuntu Studio 13.04 Raring Ringtail

    Re: Need help with fpit (Ubuntu 11.4)

    looks like TOUCHSCREEN is not being recognized as a pointer (xinput list is showing it as a floating slave) I tried using xinput reattach to attach it to the master pointer but it didn't seem to work...

    edit: here's my xorg.conf, it hasn't changed much

    Code:
    Section "InputDevice"
     Identifier "pen"
     Driver "fpit"
     Option "Device" "/dev/ttyS0" 
     Option "BaudRate" "19200"
     Option "MaximumXPosition" "8600"
     Option "MaximumYPosition" "6485"
     Option "MinimumXPosition" "154"           
     Option "MinimumYPosition" "110" 
     Option "InvertY"
     Option "TrackRandR" 
     Option "ReportingMode" "Scaled"
    EndSection    
    
    Section "Module"
     Load    "glx" 
    EndSection   
    
    Section "ServerLayout"
     Identifier     "Default Layout"
     InputDevice    "pen" 
     EndSection 
    
    Section "Extensions"
     Option         "Composite"
    "Enable"  
    EndSection
    another interesting point is that xrandr is still not working, is it compatible with noveau?
    Last edited by linuxlover42; June 15th, 2011 at 03:30 AM.

  6. #16
    Join Date
    Apr 2011
    Beans
    67
    Distro
    Ubuntu Studio 13.04 Raring Ringtail

    Re: Need help with fpit (Ubuntu 11.4)

    I'm going to bump this thread just because I'm still interested in it.

  7. #17
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Need help with fpit (Ubuntu 11.4)

    Well maybe a couple of ways to go. We could try changing it from a floating slave to a slave pointer with whatever man xinput tells us to use. Maybe it's detached for some reason (made a float) and we need to reattach it. I can't tell if TOUCHSCREEN is the "device name" or not. But if it is what does:
    Code:
    xinput list-props "TOUCHSCREEN"
    show?

    It looks like I was trying to compile fpit and see if that is the problem before I got distracted. I assume you did sudo apt-get install xserver-xorg-input-fpit? From my notes I managed to compile in Lucid and Maverick using the fpit git repository. I'll have to check the notes to see if there were any problems, but I don't see any errors. Also I'll have to boot into Natty and try it there and see what happens.

    another interesting point is that xrandr is still not working, is it compatible with noveau?
    I thought it was. Remind me the proprietary Nvidia driver doesn't work? And where did you get those video sections from in your xorg.conf?
    Code:
    Section "Module"
     Load    "glx" 
    EndSection   
    
    Section "Extensions"
     Option         "Composite"
    "Enable"  
    EndSection
    And by the way the last section is wrong if it is really that way. It should be:
    Code:
    Section "Extensions"
     Option         "Composite"    "Enable"  
    EndSection

    Edit: If TOUCHSCREEN is the "device name" try:
    Code:
    xinput reattach "TOUCHSCREEN" "Virtual core pointer"
    To detach it you should have had to run:
    Code:
    xinput float "TOUCHSCREEN"
    Edit 2: Never mind. Just spent some hopefully fruitful time and we may be able to get the stupid thing to work. I need a break and then I'll write it up.
    Last edited by Favux; July 20th, 2011 at 06:13 PM.

  8. #18
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Need help with fpit (Ubuntu 11.4)

    Alright, it looks like Natty is using an fpit version 1.3+ with the last commit on 12-6-10: http://packages.ubuntu.com/natty/xse...org-input-fpit It turns out there has been a fair amount of activity, mainly by Peter Hutterer, and v. 1.4 was released about 3 weeks ago and also there have been a couple of useful looking commits since: http://cgit.freedesktop.org/xorg/dri...86-input-fpit/ The commit log: http://cgit.freedesktop.org/xorg/dri...nput-fpit/log/

    So lets try v. 1.4+ and see if the new version of the driver works in Natty. It has a new .conf file so hopefully you'll no longer need to configure the tablet PC through your xorg.conf. First we have to update xorg macros from Natty's default 1.11 to 1.12. We'll work on the Desktop. Copy and paste each line/command in a terminal and enter the command. One line extends past the right edge of the box, be sure to get it all.
    Code:
    cd ./Desktop
    
    wget http://xorg.freedesktop.org/releases/individual/util/util-macros-1.12.0.tar.bz2
    
    sudo cp /usr/share/aclocal/xorg-macros.m4 /usr/share/aclocal/xorg-macros.m4.bak
    
    tar xjvf util-macros-1.12.0.tar.bz2
    
    cd util-macros-1.12.0
    
    ./configure --prefix=/usr
    
    make
    
    sudo make install
    
    cd ..
    Then clone the fpit git repository and compile the driver:
    Code:
    git clone git://anongit.freedesktop.org/xorg/driver/xf86-input-fpit
    
    sudo apt-get update
    
    sudo apt-get install build-essential libxrandr-dev x11proto-input-dev xserver-xorg-dev autoconf libtool pkg-config
    
    sudo apt-get upgrade
    
    cd xf86-input-fpit
    
    ./autogen.sh --prefix=/usr
    
    make
    
    sudo make install
    
    (Now reboot.)
    Good luck! And remember to comment out (#) the fpit stuff in your xorg.conf including the "pen" line in "ServerLayout" before rebooting.
    Last edited by Favux; July 20th, 2011 at 07:34 PM.

  9. #19
    Join Date
    Apr 2011
    Beans
    67
    Distro
    Ubuntu Studio 13.04 Raring Ringtail

    Re: Need help with fpit (Ubuntu 11.4)

    when I try to make either of the packages it tells me
    Code:
    make: Nothing to be done for `all'.

  10. #20
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Need help with fpit (Ubuntu 11.4)

    That doesn't matter as long as you see a line like:
    libtool: install: /usr/bin/install -c .libs/fpit_drv.so /usr/lib/xorg/modules/input/fpit_drv.so
    You can check and see if there is a new fpit_drv.so located in /usr/lib/xorg/modules/input with the same date and time as when you compiled.

Page 2 of 7 FirstFirst 1234 ... 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
  •