Announcement

Collapse
No announcement yet.

Application Panel aka media keys not generating a keycode

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Application Panel aka media keys not generating a keycode

    I have a Fujitsu N series 6110, and it has an "application panel" with configurable keys, i can get the normal internet,mail,a and b keys to generate a keycode, but cant get the media keys to generate anything in xev.
    i have tried to install these drivers:
    http://apanel.sourceforge.net/index.php
    i came into a few errors while trying to make the module.
    i have installed gcc, make, linux-source and linux-headers.
    is there another way to get these to generate a keycode?
    here are errors from the linked drivers,
    1.
    seige@Fujitsu:~/apanel-linux-1.3/linux$ make KERNEL_SOURCE=/usr/src/linux-source-2.6.31/
    2.
    make -C /usr/src/linux-source-2.6.31/ SUBDIRS=`pwd` modules
    3.
    make[1]: Entering directory `/usr/src/linux-source-2.6.31'
    4.

    5.
    ERROR: Kernel configuration is invalid.
    6.
    include/linux/autoconf.h or include/config/auto.conf are missing.
    7.
    Run 'make oldconfig && make prepare' on kernel src to fix it.
    8.

    9.

    10.
    WARNING: Symbol version dump /usr/src/linux-source-2.6.31/Module.symvers
    11.
    is missing; modules will have no dependencies and modversions.
    12.

    13.
    CC [M] /home/seige/apanel-linux-1.3/linux/apanel.o
    14.
    cc1: error: include/linux/autoconf.h: No such file or directory
    15.
    In file included from include/linux/prefetch.h:14,
    16.
    from include/linux/list.h:6,
    17.
    from include/linux/module.h:9,
    18.
    from /home/seige/apanel-linux-1.3/linux/apanel.c:21:
    19.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/processor.h:115: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function)
    20.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/processor.h:115: error: requested alignment is not a constant
    21.
    In file included from include/linux/prefetch.h:14,
    22.
    from include/linux/list.h:6,
    23.
    from include/linux/module.h:9,
    24.
    from /home/seige/apanel-linux-1.3/linux/apanel.c:21:
    25.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/processor.h:161:1: warning: "cache_line_size" redefined
    26.
    In file included from /usr/src/linux-source-2.6.31/arch/x86/include/asm/processor.h:28,
    27.
    from include/linux/prefetch.h:14,
    28.
    from include/linux/list.h:6,
    29.
    from include/linux/module.h:9,
    30.
    from /home/seige/apanel-linux-1.3/linux/apanel.c:21:
    31.
    include/linux/cache.h:64:1: warning: this is the location of the previous definition
    32.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/processor.h: In function ‘load_cr3’:
    33.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/processor.h:192: error: ‘CONFIG_PAGE_OFFSETUL’ undeclared (first use in this function)
    34.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/processor.h:192: error: (Each undeclared identifier is reported only once
    35.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/processor.h:192: error: for each function it appears in.)
    36.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/processor.h: At top level:
    37.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/processor.h:241: error: requested alignment is not a constant
    38.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/processor.h:272: error: requested alignment is not a constant
    39.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/processor.h: In function ‘wbinvd_halt’:
    40.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/processor.h:777: error: implicit declaration of function ‘halt’
    41.
    In file included from /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic.h:4,
    42.
    from /usr/src/linux-source-2.6.31/arch/x86/include/asm/thread_info.h:24,
    43.
    from include/linux/thread_info.h:56,
    44.
    from include/linux/preempt.h:9,
    45.
    from include/linux/spinlock.h:50,
    46.
    from include/linux/seqlock.h:29,
    47.
    from include/linux/time.h:8,
    48.
    from include/linux/stat.h:60,
    49.
    from include/linux/module.h:10,
    50.
    from /home/seige/apanel-linux-1.3/linux/apanel.c:21:
    51.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h: At top level:
    52.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:201: warning: type defaults to ‘int’ in declaration of ‘atomic64_t’
    53.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:201: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
    54.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:213: error: expected ‘)’ before ‘*’ token
    55.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:225: error: expected declaration specifiers or ‘...’ before ‘atomic64_t’
    56.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h: In function ‘atomic64_add’:
    57.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:228: error: ‘v’ undeclared (first use in this function)
    58.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:227: error: invalid lvalue in asm output 0
    59.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:227: error: memory input 2 is not directly addressable
    60.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h: At top level:
    61.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:239: error: expected declaration specifiers or ‘...’ before ‘atomic64_t’
    62.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h: In function ‘atomic64_sub’:
    63.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:242: error: ‘v’ undeclared (first use in this function)
    64.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:241: error: invalid lvalue in asm output 0
    65.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:241: error: memory input 2 is not directly addressable
    66.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h: At top level:
    67.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:255: error: expected declaration specifiers or ‘...’ before ‘atomic64_t’
    68.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h: In function ‘atomic64_sub_and_test’:
    69.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:260: error: ‘v’ undeclared (first use in this function)
    70.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:259: error: invalid lvalue in asm output 0
    71.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:259: error: memory input 3 is not directly addressable
    72.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h: At top level:
    73.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:271: error: expected ‘)’ before ‘*’ token
    74.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:284: error: expected ‘)’ before ‘*’ token
    75.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:299: error: expected ‘)’ before ‘*’ token
    76.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:317: error: expected ‘)’ before ‘*’ token
    77.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:336: error: expected declaration specifiers or ‘...’ before ‘atomic64_t’
    78.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h: In function ‘atomic64_add_negative’:
    79.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:341: error: ‘v’ undeclared (first use in this function)
    80.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:340: error: invalid lvalue in asm output 0
    81.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:340: error: memory input 3 is not directly addressable
    82.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h: At top level:
    83.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:353: error: expected declaration specifiers or ‘...’ before ‘atomic64_t’
    84.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h: In function ‘atomic64_add_return’:
    85.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:357: error: ‘v’ undeclared (first use in this function)
    86.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:356: error: invalid lvalue in asm output 1
    87.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:356: error: memory input 3 is not directly addressable
    88.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h: At top level:
    89.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:362: error: expected declaration specifiers or ‘...’ before ‘atomic64_t’
    90.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h: In function ‘atomic64_sub_return’:
    91.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:364: error: ‘v’ undeclared (first use in this function)
    92.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:364: error: too many arguments to function ‘atomic64_add_return’
    93.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h: At top level:
    94.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:370: error: expected ‘)’ before ‘*’ token
    95.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:375: error: expected ‘)’ before ‘*’ token
    96.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/atomic_64.h:425: error: expected ‘)’ before ‘*’ token
    97.
    In file included from include/linux/mmzone.h:16,
    98.
    from include/linux/gfp.h:4,
    99.
    from include/linux/kmod.h:22,
    100.
    from include/linux/module.h:13,
    101.
    from /home/seige/apanel-linux-1.3/linux/apanel.c:21:
    102.
    include/linux/nodemask.h: In function ‘__first_node’:
    103.
    include/linux/nodemask.h:239: error: implicit declaration of function ‘find_first_bit’
    104.
    include/linux/nodemask.h: In function ‘__next_node’:
    105.
    include/linux/nodemask.h:245: error: implicit declaration of function ‘find_next_bit’
    106.
    include/linux/nodemask.h: In function ‘__first_unset_node’:
    107.
    include/linux/nodemask.h:263: error: implicit declaration of function ‘find_first_zero_bit’
    108.
    In file included from include/linux/gfp.h:4,
    109.
    from include/linux/kmod.h:22,
    110.
    from include/linux/module.h:13,
    111.
    from /home/seige/apanel-linux-1.3/linux/apanel.c:21:
    112.
    include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory
    113.
    include/linux/mmzone.h:251:5: warning: "MAX_NR_ZONES" is not defined
    114.
    include/linux/mmzone.h:253:7: warning: "MAX_NR_ZONES" is not defined
    115.
    include/linux/mmzone.h:255:7: warning: "MAX_NR_ZONES" is not defined
    116.
    In file included from include/linux/gfp.h:4,
    117.
    from include/linux/kmod.h:22,
    118.
    from include/linux/module.h:13,
    119.
    from /home/seige/apanel-linux-1.3/linux/apanel.c:21:
    120.
    include/linux/mmzone.h: At top level:
    121.
    include/linux/mmzone.h:288: error: ‘MAX_NR_ZONES’ undeclared here (not in a function)
    122.
    In file included from include/linux/gfp.h:8,
    123.
    from include/linux/kmod.h:22,
    124.
    from include/linux/module.h:13,
    125.
    from /home/seige/apanel-linux-1.3/linux/apanel.c:21:
    126.
    include/linux/mmdebug.h:4:28: error: linux/autoconf.h: No such file or directory
    127.
    In file included from include/linux/elf.h:7,
    128.
    from include/linux/module.h:14,
    129.
    from /home/seige/apanel-linux-1.3/linux/apanel.c:21:
    130.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/elf.h: In function ‘start_ia32_thread’:
    131.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/elf.h:165: error: implicit declaration of function ‘load_gs_index’
    132.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/elf.h: In function ‘elf_common_init’:
    133.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/elf.h:180: error: ‘struct thread_struct’ has no member named ‘fs’
    134.
    In file included from include/linux/tracepoint.h:18,
    135.
    from include/linux/module.h:19,
    136.
    from /home/seige/apanel-linux-1.3/linux/apanel.c:21:
    137.
    include/linux/rcupdate.h:64:2: error: #error "Unknown RCU implementation specified to kernel configuration"
    138.
    In file included from include/linux/module.h:19,
    139.
    from /home/seige/apanel-linux-1.3/linux/apanel.c:21:
    140.
    include/linux/tracepoint.h: In function ‘tracepoint_synchronize_unregister’:
    141.
    include/linux/tracepoint.h:156: error: implicit declaration of function ‘__synchronize_sched’
    142.
    In file included from include/linux/slab_def.h:144,
    143.
    from include/linux/slab.h:166,
    144.
    from include/linux/percpu.h:5,
    145.
    from /usr/src/linux-source-2.6.31/arch/x86/include/asm/local.h:4,
    146.
    from include/linux/module.h:20,
    147.
    from /home/seige/apanel-linux-1.3/linux/apanel.c:21:
    148.
    include/linux/kmalloc_sizes.h:5:5: warning: "CONFIG_X86_L1_CACHE_SHIFT" is not defined
    149.
    include/linux/kmalloc_sizes.h:9:5: warning: "CONFIG_X86_L1_CACHE_SHIFT" is not defined
    150.
    In file included from include/linux/module.h:22,
    151.
    from /home/seige/apanel-linux-1.3/linux/apanel.c:21:
    152.
    /usr/src/linux-source-2.6.31/arch/x86/include/asm/module.h:68:2: error: #error unknown processor family
    153.
    In file included from include/linux/sched.h:55,
    154.
    from include/linux/i2c.h:35,
    155.
    from /home/seige/apanel-linux-1.3/linux/apanel.c:26:
    156.
    include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined
    157.
    include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined
    158.
    include/linux/jiffies.h:22:7: warning: "CONFIG_HZ" is not defined
    159.
    include/linux/jiffies.h:24:7: warning: "CONFIG_HZ" is not defined
    160.
    include/linux/jiffies.h:26:7: warning: "CONFIG_HZ" is not defined
    161.
    include/linux/jiffies.h:28:7: warning: "CONFIG_HZ" is not defined
    162.
    include/linux/jiffies.h:30:7: warning: "CONFIG_HZ" is not defined
    163.
    include/linux/jiffies.h:32:7: warning: "CONFIG_HZ" is not defined
    164.
    include/linux/jiffies.h:34:7: warning: "CONFIG_HZ" is not defined
    165.
    include/linux/jiffies.h:36:7: warning: "CONFIG_HZ" is not defined
    166.
    include/linux/jiffies.h:39:3: error: #error Invalid value of HZ.
    167.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    168.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    169.
    include/linux/jiffies.h:257:31: error: division by zero in #if
    170.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    171.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    172.
    include/linux/jiffies.h:257:31: error: division by zero in #if
    173.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    174.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    175.
    include/linux/jiffies.h:257:31: error: division by zero in #if
    176.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    177.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    178.
    include/linux/jiffies.h:257:31: error: division by zero in #if
    179.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    180.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    181.
    include/linux/jiffies.h:257:31: error: division by zero in #if
    182.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    183.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    184.
    include/linux/jiffies.h:257:31: error: division by zero in #if
    185.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    186.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    187.
    include/linux/jiffies.h:257:31: error: division by zero in #if
    188.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    189.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    190.
    include/linux/jiffies.h:257:31: error: division by zero in #if
    191.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    192.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    193.
    include/linux/jiffies.h:257:31: error: division by zero in #if
    194.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    195.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    196.
    include/linux/jiffies.h:257:31: error: division by zero in #if
    197.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    198.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    199.
    include/linux/jiffies.h:257:31: error: division by zero in #if
    200.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    201.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    202.
    include/linux/jiffies.h:257:31: error: division by zero in #if
    203.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    204.
    include/linux/jiffies.h:257:31: warning: "CONFIG_HZ" is not defined
    205.
    include/linux/jiffies.h:257:31: error: division by zero in #if &nbs

    #2
    Re: Application Panel aka media keys not generating a keycode

    did you try keyTouch? some times it will read inputs other drivers do not see as keys.


    might look at this too
    https://help.ubuntu.com/community/MultimediaKeyshttps://help.ubuntu.com/community/MultimediaKeys

    Comment


      #3
      Re: Application Panel aka media keys not generating a keycode

      i have now tried keytouch with no success, i get the same thing: the internet,mail a and b buttons work but not the media keys, someone said something about something being blacklisted, anyone have any ideas to what they might be?

      Comment

      Working...
      X