Page 7 of 8 FirstFirst ... 5678 LastLast
Results 61 to 70 of 79

Thread: HOW TO Setup Fujitsu tablet PC bezel buttons

  1. #61
    Join Date
    Mar 2007
    Beans
    5

    Re: HOW TO Setup Fujitsu tablet PC bezel buttons

    Did this ever work? I'm also getting "x11 initialisation failed"

    that said I know nothing. Not even how to debug, which brings me to: http://sourceforge.net/projects/fjbt.../topic/4022196
    I wanted to see if the error was in the same place but I don't know to debug. How do I debug? Could this help?

  2. #62
    Join Date
    Jun 2009
    Location
    San Diego,California
    Beans
    65
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO Setup Fujitsu tablet PC bezel buttons

    I recently got the bezel buttons to work. It turns out everything is ok in the driver; the issue is that the X symbols linked to the buttons have no attached actions.
    The fix is to reassign the actions associated with the buttons. One way would be to use xmodmap:
    Code:
    xmodmap -e "keycode 186 = Next"
    As an example, the above code will assign page-down action to the A key.
    The numerical value after keycode can be found in xev. The symbol after = should be for the action that needs to be performed (look in the keymap , "xmodmap -pke")
    This can also be used to execute scripts/binaries. Eg: assign XF86Launch5 to the rotate button and then assign the keyboard shortcut XF86Launch5 to run the desired script ( in the display manager's keyboard settings like Application Shortcuts under xfce).
    Hope this helps.

  3. #63
    Join Date
    Apr 2010
    Beans
    78
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO Setup Fujitsu tablet PC bezel buttons

    Someone sent me something similar for the Fujitsu T902 I got a couple of month ago. The bezel buttons on the T902 differ, the printed symbols are from left to right:
    Windows Button/Volume down/Volume up/Screen Rotation/A/B

    Only the Windows Button/A/B seem to be recognized. Create a hidden text file in the home folder an name it ".Xmodmap". Put the following content in it:
    ! for the panel keys (not all supported

    ! Windows button
    keycode 161 = F20
    ! Button A
    ! keycode 186 = XF86ScrollDown
    keycode 186 = F24
    ! Button B
    ! keycode 185 = XF86ScrollUp
    keycode 185 = F25
    Then just like nema.arpit mentioned you can assign actions to this. E.g. I assigned "Unity Grab Handles" to the Windows button.

  4. #64
    Join Date
    Jun 2009
    Location
    San Diego,California
    Beans
    65
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO Setup Fujitsu tablet PC bezel buttons

    Hi Cobuntu
    I have good news!!
    I was able to modify the fujitsu-tablet.c to get all three buttons working.
    DISCLAIMER : You do this at your own risk, I'm not responsible if something bad happens.

    Edit the fujitsu-tablet.c in /usr/src/fujitsu-tablet-20120404-gerlach folder
    Code:
    sudo nano /usr/src/fujitsu-tablet-20120404-gerlach/fujitsu-tablet.c
    Change the following :
    Code:
    static unsigned short keymap_Lifebook_Tseries[KEYMAP_LEN] __initconst = {
        KEY_RESERVED,
        KEY_RESERVED,
        KEY_RESERVED,
        KEY_RESERVED,
        KEY_SCROLLDOWN,
        KEY_SCROLLUP,
        KEY_DIRECTION,
        KEY_LEFTCTRL,
        KEY_BRIGHTNESSUP,
        KEY_BRIGHTNESSDOWN,
        KEY_BRIGHTNESS_ZERO,
        KEY_RESERVED,
        KEY_RESERVED,
        KEY_RESERVED,
        KEY_RESERVED,
        KEY_LEFTALT
    };
    to
    Code:
    static unsigned short keymap_Lifebook_Tseries[KEYMAP_LEN] __initconst = {
        KEY_RESERVED,
        KEY_VOLUMEDOWN,
        KEY_VOLUMEUP,
        KEY_DIRECTION,
        KEY_SCROLLDOWN,
        KEY_SCROLLUP,
        KEY_DIRECTION,
        KEY_LEFTCTRL,
        KEY_BRIGHTNESSUP,
        KEY_BRIGHTNESSDOWN,
        KEY_BRIGHTNESS_ZERO,
        KEY_RESERVED,
        KEY_RESERVED,
        KEY_RESERVED,
        KEY_RESERVED,
        KEY_LEFTALT
    };
    then do a dkms remove; dkms build and dkms install again as per the fujitsu-tablet_README. And modprobe fujitsu-tablet
    Code:
    sudo rmmod fujitsu_tablet
    sudo dkms remove -m fujitsu-tablet -v 20120404-gerlach --all
    sudo dkms build -m fujitsu-tablet -v 20120404-gerlach
    sudo dkms install -m fujitsu-tablet -v 20120404-gerlach
    sudo modprobe fujitsu-tablet
    The three keys should now show up in showkey -s or xev

    Cheers!!
    Last edited by nema.arpit; May 21st, 2013 at 10:23 AM.

  5. #65
    Join Date
    Aug 2011
    Beans
    17

    Re: HOW TO Setup Fujitsu tablet PC bezel buttons

    Hi!
    I got a Lifebook T730 with Ubuntu 13.04 running. Now i try to get the buttons working, but im stuck while i try to install fjbtndrv. Terminal says:
    Code:
    /Desktop/fjbtndrv-2.3.2$ make
    make  all-recursive
    make[1]: Entering directory `/home/timo/Desktop/fjbtndrv-2.3.2'
    Making all in src
    make[2]: Entering directory `/home/timo/Desktop/fjbtndrv-2.3.2/src'
    Making all in linux
    make[3]: Entering directory `/home/timo/Desktop/fjbtndrv-2.3.2/src/linux'
    make -C /lib/modules/3.8.0-24-generic/build M=/home/timo/Desktop/fjbtndrv-2.3.2/src/linux modules
    make: Entering an unknown directory
    make: *** /lib/modules/3.8.0-24-generic/build: No such file or directory.  Stop.
    make: Leaving an unknown directory
    make[3]: *** [fujitsu-tablet.ko] Error 2
    make[3]: Leaving directory `/home/timo/Desktop/fjbtndrv-2.3.2/src/linux'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/timo/Desktop/fjbtndrv-2.3.2/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/timo/Desktop/fjbtndrv-2.3.2'
    make: *** [all] Error 2
    Well, i'm more or less unexperienced with Ubuntu/Linux so any help would be nice

    Regards,

  6. #66
    Join Date
    Jun 2009
    Location
    San Diego,California
    Beans
    65
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO Setup Fujitsu tablet PC bezel buttons

    It seems that you do not have the kernel headers
    Code:
    make: *** /lib/modules/3.8.0-24-generic/build: No such file or directory. Stop.
    See here
    http://crunchbang.org/forums/viewtopic.php?id=8463
    Change the kernel version to your own (3.8.0-24-generic)

  7. #67
    Join Date
    Aug 2011
    Beans
    17

    Re: HOW TO Setup Fujitsu tablet PC bezel buttons

    Quote Originally Posted by nema.arpit View Post
    It seems that you do not have the kernel headers
    Code:
    make: *** /lib/modules/3.8.0-24-generic/build: No such file or directory. Stop.
    See here
    http://crunchbang.org/forums/viewtopic.php?id=8463
    Change the kernel version to your own (3.8.0-24-generic)
    Hi,
    thanks for your reply. It worked, but now im getting another error
    Code:
    make
    make  all-recursive
    make[1]: Entering directory `/home/timo/Desktop/fjbtndrv-2.3.2'
    Making all in src
    make[2]: Entering directory `/home/timo/Desktop/fjbtndrv-2.3.2/src'
    Making all in linux
    make[3]: Entering directory `/home/timo/Desktop/fjbtndrv-2.3.2/src/linux'
    make -C /lib/modules/3.8.0-24-generic/build M=/home/timo/Desktop/fjbtndrv-2.3.2/src/linux modules
    make[4]: Entering directory `/usr/src/linux-headers-3.8.0-24-generic'
      CC [M]  /home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.o
    /home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.c:200:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘input_fujitsu_setup’
    /home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.c:289:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fujitsu_dmi_matched’
    /home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.c:299:15: error: ‘fujitsu_dmi_matched’ undeclared here (not in a function)
    /home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.c:364:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fujitsu_walk_resources’
    /home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.c:387:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘acpi_fujitsu_add’
    /home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.c:425:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘acpi_fujitsu_remove’
    /home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.c:444:13: error: ‘acpi_fujitsu_add’ undeclared here (not in a function)
    /home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.c:444:3: error: initializer element is not constant
    /home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.c:444:3: error: (near initialization for ‘acpi_fujitsu_driver.ops.add’)
    /home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.c:445:13: error: ‘acpi_fujitsu_remove’ undeclared here (not in a function)
    /home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.c:445:3: error: initializer element is not constant
    /home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.c:445:3: error: (near initialization for ‘acpi_fujitsu_driver.ops.remove’)
    /home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.c:446:3: error: unknown field ‘resume’ specified in initializer
    /home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.c:243:13: error: ‘input_fujitsu_remove’ defined but not used [-Werror=unused-function]
    /home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.c:249:20: error: ‘fujitsu_interrupt’ defined but not used [-Werror=unused-function]
    cc1: all warnings being treated as errors
    make[5]: *** [/home/timo/Desktop/fjbtndrv-2.3.2/src/linux/fujitsu-tablet.o] Error 1
    make[4]: *** [_module_/home/timo/Desktop/fjbtndrv-2.3.2/src/linux] Error 2
    make[4]: Leaving directory `/usr/src/linux-headers-3.8.0-24-generic'
    make[3]: *** [fujitsu-tablet.ko] Error 2
    make[3]: Leaving directory `/home/timo/Desktop/fjbtndrv-2.3.2/src/linux'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/timo/Desktop/fjbtndrv-2.3.2/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/timo/Desktop/fjbtndrv-2.3.2'
    make: *** [all] Error 2
    sadly, i'm too tired at the moment to investigate more on this(mabe tomorrow). If anyone has an idea where to go next, please don't hesitate
    Regards,

  8. #68
    Join Date
    Jun 2009
    Location
    San Diego,California
    Beans
    65
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO Setup Fujitsu tablet PC bezel buttons

    Can you try compiling the fujitsu-tablet.ko from the Magick-Rotation tarball instead of from the fjbtndrv? I have not installed the fjbtndrv version.
    Magick Rotation can be found here : https://launchpad.net/magick-rotation.
    Follow the instructions from fujitsu-tablet_README.txt in the folder magick-rotation-1.6.2/MagickExtras/

  9. #69
    Join Date
    Aug 2011
    Beans
    17

    Re: HOW TO Setup Fujitsu tablet PC bezel buttons

    Sorry for the late reply. It seems that magic rotation is not compatible with ubuntu 13.04.. I'm considering switching back to 12.10.

  10. #70
    Join Date
    Jun 2009
    Location
    San Diego,California
    Beans
    65
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO Setup Fujitsu tablet PC bezel buttons

    You don't need to install magic rotation, just the fujitsu-tablet from the Magic Extras. I am reasonably sure that should install. It worked on my Debian Unstable install..

Page 7 of 8 FirstFirst ... 5678 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
  •