Page 8 of 8 FirstFirst ... 678
Results 71 to 79 of 79

Thread: HOW TO Setup Fujitsu tablet PC bezel buttons

  1. #71
    Join Date
    Aug 2011
    Beans
    17

    Re: HOW TO Setup Fujitsu tablet PC bezel buttons

    Quote Originally Posted by nema.arpit View Post
    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..

    Hi, thanks again. I followed the instructions in the readme. First it got problems with the linux headers so i installed them. that worked so far and the next step is building it. Well i geot this error(with some steps i did before):
    Code:
    timo@timo-LIFEBOOK-T730:/usr/src$ cd fujitsu-tablet-20120404-gerlach/
    timo@timo-LIFEBOOK-T730:/usr/src/fujitsu-tablet-20120404-gerlach$ sudo dkms add -m fujitsu-tablet -v 20120404-gerlach
    
    Creating symlink /var/lib/dkms/fujitsu-tablet/20120404-gerlach/source ->
                     /usr/src/fujitsu-tablet-20120404-gerlach
    
    DKMS: add completed.
    timo@timo-LIFEBOOK-T730:/usr/src/fujitsu-tablet-20120404-gerlach$ sudo dkms build -m fujitsu-tablet -v 20120404-gerlach
    
    Kernel preparation unnecessary for this kernel.  Skipping...
    
    Building module:
    cleaning build area....
    make KERNELRELEASE=3.8.0-25-generic -C /lib/modules/3.8.0-25-generic/build M=/var/lib/dkms/fujitsu-tablet/20120404-gerlach/build....(bad exit status: 2)
    ERROR (dkms apport): binary package for fujitsu-tablet: 20120404-gerlach not found
    Error! Bad return status for module build on kernel: 3.8.0-25-generic (x86_64)
    Consult /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/make.log for more information.
    timo@timo-LIFEBOOK-T730:/usr/src/fujitsu-tablet-20120404-gerlach$
    i did what it said and looked at the logfile, but for me its not really understandable
    Code:
    at Jun 15 16:48:06 CEST 2013
    make: Entering directory `/usr/src/linux-headers-3.8.0-25-generic'
      LD      /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/built-in.o
      CC [M]  /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.o
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:196:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘input_fujitsu_setup’
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:288:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fujitsu_dmi_common’
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:295:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fujitsu_dmi_lifebook’
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:302:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fujitsu_dmi_stylistic’
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:312:15: error: ‘fujitsu_dmi_lifebook’ undeclared here (not in a function)
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:330:15: error: ‘fujitsu_dmi_stylistic’ undeclared here (not in a function)
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:378:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fujitsu_walk_resources’
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:401:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘acpi_fujitsu_add’
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:443:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘acpi_fujitsu_remove’
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:462:13: error: ‘acpi_fujitsu_add’ undeclared here (not in a function)
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:462:3: error: initializer element is not constant
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:462:3: error: (near initialization for ‘acpi_fujitsu_driver.ops.add’)
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:463:13: error: ‘acpi_fujitsu_remove’ undeclared here (not in a function)
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:463:3: error: initializer element is not constant
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:463:3: error: (near initialization for ‘acpi_fujitsu_driver.ops.remove’)
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:464:3: error: unknown field ‘resume’ specified in initializer
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:240:13: warning: ‘input_fujitsu_remove’ defined but not used [-Wunused-function]
    /var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.c:245:20: warning: ‘fujitsu_interrupt’ defined but not used [-Wunused-function]
    make[1]: *** [/var/lib/dkms/fujitsu-tablet/20120404-gerlach/build/fujitsu-tablet.o] Error 1
    make: *** [_module_/var/lib/dkms/fujitsu-tablet/20120404-gerlach/build] Error 2
    make: Leaving directory `/usr/src/linux-headers-3.8.0-25-generic'
    i guess it would be easier, if i would fully understand what i am doing Again, any help is welcome.

    regards,

  2. #72
    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 turns out that the newer kernel is the culprit (sort-of). Look here:
    https://bbs.archlinux.org/viewtopic....78183#p1278183
    Essentially, remove all instances of "__devinit" or "__init" or "__devexit" in the code.

  3. #73
    Join Date
    Aug 2011
    Beans
    17

    Re: HOW TO Setup Fujitsu tablet PC bezel buttons

    Hello again,

    with the corrections it compiled at least. I still had to "comment out" a .resume field in order to work. Whie doing dkms install, it printed following message:
    Code:
    Error! Module version 2.4 for fujitsu-tablet.ko
    is not newer than what is already found in kernel 3.8.0-25-generic (2.5).
    You may override by specifying --force.
    
    depmod........
    
    DKMS: install completed.
    after rebooting nothing happend. I did an lsmod and there was a fujitsu_tablet entry. So maybe its just not working in Ubuntu 13.04? Well the error message says that there is a newer version, which is a bit confusing...

  4. #74
    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 check if the tablet buttons give any output with xev? If you can already get keycodes in xev (the fujitsu-tablet.ko module should do this), then you don't need to compile anything. Just proceed to assigning appropriate functions using xmodmap.

  5. #75
    Join Date
    Aug 2011
    Beans
    17

    Re: HOW TO Setup Fujitsu tablet PC bezel buttons

    thank you for your patience

    i searched "xev" in a wiki. i used the command " xev | grep keycode" to show only the keycodes. then i pressed the tablet buttons from left to right, which got me:

    Code:
    state 0x0, keycode 186 (keysym 0x1008ff79, XF86ScrollDown), same_screen YES,
        state 0x0, keycode 186 (keysym 0x1008ff79, XF86ScrollDown), same_screen YES,
        state 0x0, keycode 185 (keysym 0x1008ff78, XF86ScrollUp), same_screen YES,
        state 0x0, keycode 185 (keysym 0x1008ff78, XF86ScrollUp), same_screen YES,
        state 0x0, keycode 161 (keysym 0x0, NoSymbol), same_screen YES,
        state 0x0, keycode 161 (keysym 0x0, NoSymbol), same_screen YES,
        state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
        state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
        state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
        state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    strangely the buttons seem to be pressed two times... but interestingly they have functions assigned, which are not working. except for the "alt" button.

  6. #76
    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

    The buttons show up twice because each button has a keypress and a keyrelease event.
    Since the keys show up in xev, you just need to reassign the keys. Either use a keyboard shortcut manager or try xmodmap (see post # 62 in this thread).
    For keycode 161, you might want to assign the unused symbol "XF86Launch5". Then you can use this symbol as a shortcut to launch an application or script (like a rotation script).
    You can make your xmodmap modifications automatic at reboot by adding the entries in the .Xmodmap file (create if does not exist) in your home folder.

  7. #77
    Join Date
    Aug 2011
    Beans
    17

    Re: HOW TO Setup Fujitsu tablet PC bezel buttons

    Quote Originally Posted by nema.arpit View Post
    The buttons show up twice because each button has a keypress and a keyrelease event.
    Since the keys show up in xev, you just need to reassign the keys. Either use a keyboard shortcut manager or try xmodmap (see post # 62 in this thread).
    For keycode 161, you might want to assign the unused symbol "XF86Launch5". Then you can use this symbol as a shortcut to launch an application or script (like a rotation script).
    You can make your xmodmap modifications automatic at reboot by adding the entries in the .Xmodmap file (create if does not exist) in your home folder.
    Thanks alot for your help. I think i learned much here, even the compiling part was not necessary at the end

  8. #78
    Join Date
    Jan 2013
    Beans
    1

    Re: HOW TO Setup Fujitsu tablet PC bezel buttons

    Hi guys,

    A bit late but I would love my t730 to have auto rotate function. My bezel buttons are working,I have xrotate.py binded to my rotate button, Magick is woking and rotating the screen by sensing tablet mode but there is no way in the worl I can get the display to auto rotate. The Magick Rotation log shows rotations are detected but nothing happens.

    23:22:28: cur_state: 3
    23:22:28: old_state: None
    23:22:28: calling rotation b:
    23:22:28: inverted
    23:22:28: Change to Tablet mode
    23:22:28: checking for rotation
    23:22:28: /usr/bin/checkmagick32
    23:23:38: killall checkmagick32
    23:23:39: cur_state: 143

    Please help

  9. #79
    Join Date
    May 2011
    Beans
    1

    Re: HOW TO Setup Fujitsu tablet PC bezel buttons

    You're not alone!
    I try to use magick-rotate with a T4410 (nearly same Hardware) but within a week with a T730 too, with xubuntu 14.04 64bit.
    In this moment, after nearly two hours, the rotation works, but the digitizer does not understand the direction, so it think, i write right down, while really writing left upper.
    The Buttons doesn't react.
    No more time to test now, but i'll be back! (here)

    Mark Broecker

Page 8 of 8 FirstFirst ... 678

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
  •