Touchscreen not working in debian, anybody knows how to fix?

Discussion in 'Panasonic' started by r0tati0n, Apr 27, 2018.

Thread Status:
Not open for further replies.
  1. r0tati0n

    r0tati0n Notebook Enthusiast

    Reputations:
    0
    Messages:
    22
    Likes Received:
    4
    Trophy Points:
    6
  2. Shawn

    Shawn Crackpot Search Ninja and Options Whore

    Reputations:
    1,541
    Messages:
    8,304
    Likes Received:
    2,047
    Trophy Points:
    331
    Install Windows....

    Ha ha ha

    @SHEEPMAN! will be along to assist. He is the resident Linux man.
     
    Last edited by a moderator: Apr 27, 2018
  3. safn1949

    safn1949 I'm sure I'm on the wrong planet

    Reputations:
    141
    Messages:
    1,175
    Likes Received:
    374
    Trophy Points:
    101
    Just for the fun of it try a live boot with mint to see what happens. I'm curious but Sheepman will be here soon.:D
     
  4. r0tati0n

    r0tati0n Notebook Enthusiast

    Reputations:
    0
    Messages:
    22
    Likes Received:
    4
    Trophy Points:
    6
    Ah, the automatic switching (touchscreen-tablet) does not work.
    setting it to touchscreen and it works, but the calibration from xinput_calibrator pasted into 99-calibration.conf is ignored.

    €dit:
    tablet mode does not work in debian
    touchscreen mode does work in debian
    auto does not work in debian

    both modes work in Windows 8, but touchscreen is miscalibrated - so it switches automatically to tablet in Windows 8.

    What is responsible for switching that does not work in my debian system?

    €dit:
    in mint, touchscreen works, it is as off as in debian/windows 8 on touchscreen.
    after calibration the touch with stylus is OK, even with simply running xinput_calibration, no permanent settings done.

    I did the calibration in kali too, but after calibration the touchscreen stays uncalibrated. putting it into 99-calibration.conf does not change it.
     
    Last edited: Apr 28, 2018
  5. r0tati0n

    r0tati0n Notebook Enthusiast

    Reputations:
    0
    Messages:
    22
    Likes Received:
    4
    Trophy Points:
    6
    Ok...
    it works...

    because I have more than 5 OS on this machine (and more are coming) the touchscreen mode constantly switched from touchscreen to tablet and vice versa.
    Everytime it switches a reboot has to be done into the same OS to get it applied and the touchscreen working in this mode.

    Kali was a bit uncooperative...

    Things I did:

    apt-get install xinput_calibrator xserver-xorg-input-evdev evtest python-evdev

    Deleted from /usr/share/X11/xorg.conf.d/40-libinput.conf:
    Section "InputClass"
    Identifier "libinput tablet catchall"
    MatchIsTablet "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"
    Endsection


    is there a chance to get the touchscreen in tablet mode working in Windows XP?
     
  6. SHEEPMAN!

    SHEEPMAN! Freelance

    Reputations:
    879
    Messages:
    2,666
    Likes Received:
    517
    Trophy Points:
    131
    XP is very doubtful in tablet mode unless you can hack the driver. fidtpu?

    What it might be is out of range error as tablet and touchscreen calibration numbers are quite different and/or serial?? based rather than usb based issues. Ummm I think touch actually shares the PS/2 driver.

    Touch uses fujitsu driver and tablet use two hid drivers. (shown in device manager on a switchable bios unit like CF-30 MK2 and newer)

    In the case of the CF-30 MK1 the bios had to be flashed before Vista and W7 would play with the touchscreen.

    It looks like you covered a lot of ground with Linux/Debian. Well done.

    I'm finishing a new install of MX-17 and will do some checking before pulling any more wild statements out of the air. :)

    AntiX17 works out of the box (touch) but won't save calibration data. Maybe use /usr/share/X11/xorg.conf.d/99-calibration.conf rather than /etc/X11/xorg.conf.d/99-calibration.conf.......

    FWIW
     
    Shawn likes this.
  7. r0tati0n

    r0tati0n Notebook Enthusiast

    Reputations:
    0
    Messages:
    22
    Likes Received:
    4
    Trophy Points:
    6
    thanks :)

    I think the resolution is 0-4096 for touchscreen and 0-65535 in tablet mode.
    It might be a thing to keep it on touchscreen permanently as there are drivers for Win 8 for this mode.

    BTW:
    There is only one location of xorg.conf.d either /usr/share or /etc
    If you had to create the directory its wrong.
     
  8. SHEEPMAN!

    SHEEPMAN! Freelance

    Reputations:
    879
    Messages:
    2,666
    Likes Received:
    517
    Trophy Points:
    131
    I went ahead and used /usr/share just as a test. Works fine and remembers. In the past I used /etcX11. As you say, one or the other. Not both.
    I have "several"machines running MX-17.
    CF-54 was spot on with no calibration necessary.....however it's a Wacom panel.
    I have screenshots that I will post when I put the MX drive back in here. (CF-31MK1)

    You mentioned above where auto requires two boots if I am understanding you. I've seen that before....in fact I saw it tonight when I re-booted MX17. No touch/tablet at all on install run. Touch showed up on re-boot. Way back when, Ohlip (Teo) mentioned this in a post....XP days I think.

    My screenshots are taken with bios set physically to either touch or tablet.

    Updated before sending:
    I ran two W7 drives through this machine looking for something so set bios to defaults...resetting touch to auto.. Then when I just switched back to the MX17 drive it selected tablet which happens to be the numbers I saved in /usr/share/X11/xorg.conf.d/99-calibration.conf. Touch is spot on.
    I usually run xinput_calibrator twice to fine tune it, hence the extra lines.
    As you say the smaller numbers are tablet.
     

    Attached Files:

    UNCNDL1 and Shawn like this.
  9. r0tati0n

    r0tati0n Notebook Enthusiast

    Reputations:
    0
    Messages:
    22
    Likes Received:
    4
    Trophy Points:
    6
    Do you notice any difference in precision between touchscreen and tablet mode?

    Do you normally have the setting in auto or fixed to one?
     
  10. SHEEPMAN!

    SHEEPMAN! Freelance

    Reputations:
    879
    Messages:
    2,666
    Likes Received:
    517
    Trophy Points:
    131
    Normally auto and I just don't think about it unless something breaks.
    Touch SHOULD be more precise, mathematically speaking....hadn't noticed.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page