Page 3 of 11 FirstFirst 12345 ... LastLast
Results 21 to 30 of 104

Thread: multitouch on thinkpad x201?

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

    Re: multitouch on thinkpad x201?

    Hi everyone,

    Can someone tell me if you have a directory called "/sys/devices/platform/thinkpad_acpi"? And in it is there a file called "hotkey_tablet_mode"? If so could you tell me what the value is when in laptop and what it changes to in tablet?

  2. #22
    Join Date
    Jan 2010
    Location
    London
    Beans
    15
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Smile Re: multitouch on thinkpad x201?

    Quote Originally Posted by Favux View Post
    Hi everyone,

    Can someone tell me if you have a directory called "/sys/devices/platform/thinkpad_acpi"? And in it is there a file called "hotkey_tablet_mode"? If so could you tell me what the value is when in laptop and what it changes to in tablet?
    Hi Favux,

    Yes there is a file called "hotkey_tablet_mode" in "/sys/devices/platform/thinkpad_acpi"

    This file contains 0 in normal mode and 1 when the X201 is in tablet mode.

    Hope this helps and let me know if you need any other diagnostics!

    supr0

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

    Re: multitouch on thinkpad x201?

    Thanks supr0,

    Just doodling for now, trying to figure out where things are.

  4. #24
    Join Date
    Oct 2007
    Location
    Germany
    Beans
    96
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: multitouch on thinkpad x201?

    i also can confirm the existence and behavior of that file

    Code:
    :/sys/devices/platform/thinkpad_acpi$ ls -la
    
    total 0
    drwxr-xr-x  7 root root    0 2011-01-17 13:09 .
    drwxr-xr-x 14 root root    0 2011-01-17 14:09 ..
    -rw-r--r--  1 root root 4096 2011-01-17 13:38 bluetooth_enable
    --w-------  1 root root 4096 2011-01-17 13:38 cmos_command
    lrwxrwxrwx  1 root root    0 2011-01-17 13:09 driver -> ../../../bus/platform/drivers/thinkpad_acpi
    -r--r--r--  1 root root 4096 2011-01-17 13:38 hotkey_all_mask
    -r--r--r--  1 root root 4096 2011-01-17 13:38 hotkey_bios_enabled
    -r--r--r--  1 root root 4096 2011-01-17 13:38 hotkey_bios_mask
    -rw-r--r--  1 root root 4096 2011-01-17 13:38 hotkey_enable
    -rw-r--r--  1 root root 4096 2011-01-17 13:38 hotkey_mask
    -rw-r--r--  1 root root 4096 2011-01-17 13:38 hotkey_poll_freq
    -r--r--r--  1 root root 4096 2011-01-17 13:38 hotkey_radio_sw
    -r--r--r--  1 root root 4096 2011-01-17 13:38 hotkey_recommended_mask
    -r--r--r--  1 root root 4096 2011-01-17 13:38 hotkey_report_mode
    -rw-r--r--  1 root root 4096 2011-01-17 13:38 hotkey_source_mask
    -r--r--r--  1 root root 4096 2011-01-17 13:38 hotkey_tablet_mode
    drwxr-xr-x  3 root root    0 2011-01-17 13:09 input
    drwxr-xr-x  6 root root    0 2011-01-17 13:09 leds
    -r--r--r--  1 root root 4096 2011-01-17 13:38 modalias
    drwxr-xr-x  2 root root    0 2011-01-17 13:38 power
    drwxr-xr-x  3 root root    0 2011-01-17 13:09 rfkill
    drwxr-xr-x  3 root root    0 2011-01-17 13:09 sound
    lrwxrwxrwx  1 root root    0 2011-01-17 13:09 subsystem -> ../../../bus/platform
    -rw-r--r--  1 root root 4096 2011-01-17 13:09 uevent
    -r--r--r--  1 root root 4096 2011-01-17 13:38 wakeup_hotunplug_complete
    -r--r--r--  1 root root 4096 2011-01-17 13:38 wakeup_reason

  5. #25
    Join Date
    Oct 2007
    Location
    Germany
    Beans
    96
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: multitouch on thinkpad x201?

    also the hotkey_tablet_mode file only turns to 1 when the pc is in tablet mode (when the display is flatened AND rotated) only flatening the display or only rotating it keeps the value at 0.

    this is interesting since it seems that there are two separate sensors for rotating and flattening

  6. #26
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: multitouch on thinkpad x201?

    Hi supr0, linuxd00 & everyone,

    Not sure where or what the physical switch for tablet is. In the swivel hinge, closure clapse, magnets?

    Could someone show me the output of the following:
    Code:
    ls -l /dev/input/by-id
    
    ls -l /dev/input/by-path
    The following may require install of input-utils:
    Code:
    sudo apt-get install input-utils
    We're looking for the output of:
    Code:
    sudo lsinput
    to verify something posted earlier.

  7. #27
    Join Date
    Jan 2010
    Location
    London
    Beans
    15
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Smile Re: multitouch on thinkpad x201?

    Quote Originally Posted by Favux View Post
    Hi supr0, linuxd00 & everyone,

    Not sure where or what the physical switch for tablet is. In the swivel hinge, closure clapse, magnets?

    Could someone show me the output of the following:
    Code:
    ls -l /dev/input/by-id
    
    ls -l /dev/input/by-path
    The following may require install of input-utils:
    Code:
    sudo apt-get install input-utils
    We're looking for the output of:
    Code:
    sudo lsinput
    to verify something posted earlier.
    Hi Favux,

    Here's the output for the commands you requested:


    Code:
    $ ls -l /dev/input/by-id
    total 0
    lrwxrwxrwx 1 root root 10 2011-01-17 21:24 usb-17ef_Lenovo_Ultraslim_Wireless_Keyboard___Mouse-event-kbd -> ../event10
    lrwxrwxrwx 1 root root 10 2011-01-17 21:24 usb-17ef_Lenovo_Ultraslim_Wireless_Keyboard___Mouse-event-mouse -> ../event11
    lrwxrwxrwx 1 root root  9 2011-01-17 21:24 usb-17ef_Lenovo_Ultraslim_Wireless_Keyboard___Mouse-mouse -> ../mouse3
    lrwxrwxrwx 1 root root  9 2011-01-17 18:49 usb-Chicony_Electronics_Co.__Ltd._Integrated_Camera-event-if00 -> ../event4
    Code:
    $ ls -l /dev/input/by-path
    total 0
    lrwxrwxrwx 1 root root 10 2011-01-17 21:24 pci-0000:00:1a.0-usb-0:1.5.1:1.0-event-kbd -> ../event10
    lrwxrwxrwx 1 root root 10 2011-01-17 21:24 pci-0000:00:1a.0-usb-0:1.5.1:1.1-event-mouse -> ../event11
    lrwxrwxrwx 1 root root  9 2011-01-17 21:24 pci-0000:00:1a.0-usb-0:1.5.1:1.1-mouse -> ../mouse3
    lrwxrwxrwx 1 root root  9 2011-01-17 18:49 pci-0000:00:1a.0-usb-0:1.6:1.0-event -> ../event4
    lrwxrwxrwx 1 root root  9 2011-01-17 18:49 platform-i8042-serio-0-event-kbd -> ../event3
    lrwxrwxrwx 1 root root  9 2011-01-17 21:24 platform-i8042-serio-1-event-mouse -> ../event6
    lrwxrwxrwx 1 root root  9 2011-01-17 21:24 platform-i8042-serio-1-mouse -> ../mouse0
    lrwxrwxrwx 1 root root  9 2011-01-17 21:24 platform-i8042-serio-4-event-mouse -> ../event8
    lrwxrwxrwx 1 root root  9 2011-01-17 21:24 platform-i8042-serio-4-mouse -> ../mouse1
    lrwxrwxrwx 1 root root  9 2011-01-17 21:24 platform-i8042-serio-5-event-mouse -> ../event9
    lrwxrwxrwx 1 root root  9 2011-01-17 21:24 platform-i8042-serio-5-mouse -> ../mouse2
    lrwxrwxrwx 1 root root  9 2011-01-17 18:49 platform-thinkpad_acpi-event -> ../event5
    Code:
    $ sudo lsinput
    /dev/input/event0
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x5
       version : 0
       name    : "Lid Switch"
       phys    : "PNP0C0D/button/input0"
       bits ev : EV_SYN EV_SW
    
    /dev/input/event1
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x3
       version : 0
       name    : "Sleep Button"
       phys    : "PNP0C0E/button/input0"
       bits ev : EV_SYN EV_KEY
    
    /dev/input/event2
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x1
       version : 0
       name    : "Power Button"
       phys    : "LNXPWRBN/button/input0"
       bits ev : EV_SYN EV_KEY
    
    /dev/input/event3
       bustype : BUS_I8042
       vendor  : 0x1
       product : 0x1
       version : 43860
       name    : "AT Translated Set 2 keyboard"
       phys    : "isa0060/serio0/input0"
       bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP
    
    /dev/input/event4
       bustype : BUS_USB
       vendor  : 0x17ef
       product : 0x4816
       version : 9029
       name    : "Integrated Camera"
       phys    : "usb-0000:00:1a.0-1.6/button"
       bits ev : EV_SYN EV_KEY
    
    /dev/input/event5
       bustype : BUS_HOST
       vendor  : 0x17aa
       product : 0x5054
       version : 16641
       name    : "ThinkPad Extra Buttons"
       phys    : "thinkpad_acpi/input0"
       bits ev : EV_SYN EV_KEY EV_MSC EV_SW
    
    /dev/input/event6
       bustype : BUS_I8042
       vendor  : 0x2
       product : 0x7
       version : 433
       name    : "SynPS/2 Synaptics TouchPad"
       phys    : "isa0060/serio1/input0"
       bits ev : EV_SYN EV_KEY EV_ABS
    
    /dev/input/event7
       bustype : BUS_HOST
       vendor  : 0x0
       product : 0x6
       version : 0
       name    : "Video Bus"
       phys    : "LNXVIDEO/video/input0"
       bits ev : EV_SYN EV_KEY
    
    /dev/input/event8
       bustype : BUS_I8042
       vendor  : 0x2
       product : 0xa
       version : 0
       name    : "TPPS/2 IBM TrackPoint"
       phys    : "synaptics-pt/serio0/input0"
       bits ev : EV_SYN EV_KEY EV_REL
    
    /dev/input/event9
       bustype : BUS_I8042
       vendor  : 0x2
       product : 0xa
       version : 0
       name    : "TPPS/2 IBM TrackPoint"
       phys    : "synaptics-pt/serio0/input0"
       bits ev : EV_SYN EV_KEY EV_REL
    
    /dev/input/event10
       bustype : BUS_USB
       vendor  : 0x17ef
       product : 0x600d
       version : 273
       name    : "Lenovo Ultraslim Wireless Keyboa"
       phys    : "usb-0000:00:1a.0-1.5.1/input0"
       uniq    : ""
       bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP
    
    /dev/input/event11
       bustype : BUS_USB
       vendor  : 0x17ef
       product : 0x600d
       version : 273
       name    : "Lenovo Ultraslim Wireless Keyboa"
       phys    : "usb-0000:00:1a.0-1.5.1/input1"
       uniq    : ""
       bits ev : EV_SYN EV_KEY EV_REL EV_ABS EV_MSC

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

    Re: multitouch on thinkpad x201?

    Hi supr0,

    Thanks. Looking good. One more:
    Code:
    ls -l /dev/input/

  9. #29
    Join Date
    Jan 2010
    Location
    London
    Beans
    15
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Smile Re: multitouch on thinkpad x201?

    Quote Originally Posted by Favux View Post
    Hi supr0,

    Thanks. Looking good. One more:
    Code:
    ls -l /dev/input/
    Cheers Favux,

    I should mention I'm using a usb wireless mouse in case it is confusing why there are 3 mice below. I'm also using an UltraBase (a kind of dock for the thinkpad).

    I can remove these before I do tests if its helpful.

    Here's the output for 'ls -l /dev/input/'

    Code:
    $ ls -l /dev/input/
    total 0
    drwxr-xr-x 2 root root    120 2011-01-17 21:56 by-id
    drwxr-xr-x 2 root root    240 2011-01-17 21:56 by-path
    crw-r----- 1 root root 13, 64 2011-01-17 21:56 event0
    crw-r----- 1 root root 13, 65 2011-01-17 21:56 event1
    crw-r----- 1 root root 13, 74 2011-01-17 21:56 event10
    crw-r----- 1 root root 13, 66 2011-01-17 21:56 event2
    crw-r----- 1 root root 13, 67 2011-01-17 21:56 event3
    crw-r----- 1 root root 13, 68 2011-01-17 21:56 event4
    crw-r----- 1 root root 13, 69 2011-01-17 21:56 event5
    crw-r----- 1 root root 13, 70 2011-01-17 21:56 event6
    crw-r----- 1 root root 13, 71 2011-01-17 21:56 event7
    crw-r----- 1 root root 13, 72 2011-01-17 21:56 event8
    crw-r----- 1 root root 13, 73 2011-01-17 21:56 event9
    crw-r----- 1 root root 13, 63 2011-01-17 21:56 mice
    crw-r----- 1 root root 13, 32 2011-01-17 21:56 mouse0
    crw-r----- 1 root root 13, 33 2011-01-17 21:56 mouse1
    crw-r----- 1 root root 13, 34 2011-01-17 21:56 mouse2

  10. #30
    Join Date
    Jan 2010
    Location
    London
    Beans
    15
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Smile Re: multitouch on thinkpad x201?

    Quote Originally Posted by Favux View Post
    Hi supr0,

    Thanks. Looking good. One more:
    Code:
    ls -l /dev/input/
    Cheers Favux,

    I should mention I'm using a usb wireless mouse in case it is confusing why there are 3 mice below. I'm also using an UltraBase (a kind of dock for the thinkpad).

    I can remove these before I do tests if its helpful.

    Here's the output for 'ls -l /dev/input/'

    Code:
    $ ls -l /dev/input/
    total 0
    drwxr-xr-x 2 root root    120 2011-01-17 21:56 by-id
    drwxr-xr-x 2 root root    240 2011-01-17 21:56 by-path
    crw-r----- 1 root root 13, 64 2011-01-17 21:56 event0
    crw-r----- 1 root root 13, 65 2011-01-17 21:56 event1
    crw-r----- 1 root root 13, 74 2011-01-17 21:56 event10
    crw-r----- 1 root root 13, 66 2011-01-17 21:56 event2
    crw-r----- 1 root root 13, 67 2011-01-17 21:56 event3
    crw-r----- 1 root root 13, 68 2011-01-17 21:56 event4
    crw-r----- 1 root root 13, 69 2011-01-17 21:56 event5
    crw-r----- 1 root root 13, 70 2011-01-17 21:56 event6
    crw-r----- 1 root root 13, 71 2011-01-17 21:56 event7
    crw-r----- 1 root root 13, 72 2011-01-17 21:56 event8
    crw-r----- 1 root root 13, 73 2011-01-17 21:56 event9
    crw-r----- 1 root root 13, 63 2011-01-17 21:56 mice
    crw-r----- 1 root root 13, 32 2011-01-17 21:56 mouse0
    crw-r----- 1 root root 13, 33 2011-01-17 21:56 mouse1
    crw-r----- 1 root root 13, 34 2011-01-17 21:56 mouse2

Page 3 of 11 FirstFirst 12345 ... LastLast

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
  •