or does this return anything:
Code: Select all
lsmod|grep panasonic_hbtn
Code: Select all
lsmod|grep panasonic_hbtn
Code: Select all
xev
Code: Select all
state 0x0, keycode 161 (keysm 0x1008ff74, XF86RotateWindows), same_screen Y
Code: Select all
lsmod | grep panasonic_hbtn
Code: Select all
make clean
make
insmod panasonic-hbtn.ko
It did nothing.kode-niner wrote:
A few steps back it is, then. I'd check to see if the module is loaded withCode: Select all
lsmod | grep panasonic_hbtn
Okay, let's see...kode-niner wrote:If that does nothing, then I'd go for a manual install of the module and check for errors.
cd into the directory where you unzipped the files, then:Code: Select all
make clean
Code: Select all
ed@ed-CF-18KHHMXBM:~/panasonic-hbtn$ sudo make clean
[sudo] password for ed:
make -C /lib/modules/4.4.0-21-generic/build M= clean
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-21-generic'
fs/aufs/Makefile:2: fs/aufs/magic.mk: No such file or directory
make[3]: *** No rule to make target 'fs/aufs/magic.mk'. Stop.
scripts/Makefile.clean:86: recipe for target 'fs/aufs' failed
make[2]: *** [fs/aufs] Error 2
Makefile:1202: recipe for target '_clean_fs' failed
make[1]: *** [_clean_fs] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-21-generic'
Makefile:6: recipe for target 'clean' failed
make: *** [clean] Error 2
ed@ed-CF-18KHHMXBM:~/panasonic-hbtn$
tra-la-la...kode-niner wrote:Code: Select all
make
Code: Select all
ed@ed-CF-18KHHMXBM:~/panasonic-hbtn$ sudo make
make -C /lib/modules/4.4.0-21-generic/build M= modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-21-generic'
make[2]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h'. Stop.
arch/x86/Makefile:199: recipe for target 'archheaders' failed
make[1]: *** [archheaders] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-21-generic'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2
ed@ed-CF-18KHHMXBM:~/panasonic-hbtn$
kode-niner wrote:Code: Select all
insmod panasonic-hbtn.ko
Code: Select all
ed@ed-CF-18KHHMXBM:~/panasonic-hbtn$ sudo insmod panasonic-hbtn.ko
ed@ed-CF-18KHHMXBM:~/panasonic-hbtn$
Code: Select all
ed@ed-CF-18KHHMXBM:~$ lsmod | grep panasonic_hbtn
panasonic_hbtn 16384 0
sparse_keymap 16384 2 panasonic_laptop,panasonic_hbtn
ed@ed-CF-18KHHMXBM:~$
Code: Select all
sudo apt-get update
sudo apt-cache search linux-headers
I'm down to work on this as long as people are willing to help me. I'm hoping to write a tutorial and make a video once I get it figured out. The harder it is to do, the more useful the tutorial will be.kode-niner wrote:Looks like some kernel 4.4 funkiness. Unfortunately I haven't migrated to that yet on any of my systems so I can't test anything at the moment. I am guessing that aufs support ain't right. Welcome to the bleeding edge!
Does your package manager have any variations of linux-headers-4.4.0-21-* as available downloads?
I know at this point that this could be annoying to try to fix and may go beyond your level of patience as each thing we try or fix brings up other obstacles. Personally I am used to this kind of stuff but don't worry if you want to quit now and do something more important with your life.Code: Select all
sudo apt-get update sudo apt-cache search linux-headers
This is kind of like that other CF-19 thread where Karl Klammer was trying to port navit to OpenBSD.
I'll be here if you want more help, though.
Code: Select all
ed@ed-CF-18KHHMXBM:~$ sudo apt-cache search linux-headers
linux-headers-4.4.0-21 - Header files related to Linux kernel version 4.4.0
linux-headers-generic - Generic Linux kernel headers
linux-headers-generic-lts-utopic - Generic Linux kernel headers (dummy transitional package)
linux-headers-generic-lts-vivid - Generic Linux kernel headers (dummy transitional package)
linux-headers-generic-lts-wily - Generic Linux kernel headers (dummy transitional package)
linux-headers-generic-lts-xenial - Generic Linux kernel headers (dummy transitional package)
linux-headers-lowlatency - lowlatency Linux kernel headers
linux-headers-lowlatency-lts-utopic - lowlatency Linux kernel headers (dummy transitional package)
linux-headers-lowlatency-lts-vivid - lowlatency Linux kernel headers (dummy transitional package)
linux-headers-lowlatency-lts-wily - lowlatency Linux kernel headers (dummy transitional package)
linux-headers-lowlatency-lts-xenial - lowlatency Linux kernel headers (dummy transitional package)
linux-headers-virtual - Transitional package.
linux-headers-virtual-lts-utopic - Transitional package. (dummy transitional package)
linux-headers-virtual-lts-vivid - Transitional package. (dummy transitional package)
linux-headers-virtual-lts-wily - Transitional package. (dummy transitional package)
linux-headers-virtual-lts-xenial - Transitional package. (dummy transitional package)
linux-libc-dev - Linux Kernel Headers for development
linux-libc-dev-arm64-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-armhf-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-powerpc-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-ppc64el-cross - Linux Kernel Headers for development (for cross-compiling)
linux-source-4.4.0 - Linux kernel source for version 4.4.0 with Ubuntu patches
linux-virtual - Minimal Generic Linux kernel and headers
linux-headers-4.4.0-21-generic - Linux kernel headers for version 4.4.0 on 32 bit x86 SMP
linux-headers-4.4.0-21-lowlatency - Linux kernel headers for version 4.4.0 on 32 bit x86 SMP
linux-libc-dev-alpha-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-armel-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-hppa-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-m68k-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-mips-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-mips64-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-mips64el-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-mipsel-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-powerpcspe-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-ppc64-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-s390x-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-sh4-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-sparc64-cross - Linux Kernel Headers for development (for cross-compiling)
linux-headers-3.4.0-4-goldfish - Linux kernel headers for version 3.4.0 on Android touch emulation
linux-headers-goldfish - Linux kernel headers for the goldfish kernel.
linux-headers-4.4.0-22 - Header files related to Linux kernel version 4.4.0
linux-headers-4.4.0-24 - Header files related to Linux kernel version 4.4.0
linux-headers-4.4.0-22-generic - Linux kernel headers for version 4.4.0 on 32 bit x86 SMP
linux-headers-4.4.0-22-lowlatency - Linux kernel headers for version 4.4.0 on 32 bit x86 SMP
linux-headers-4.4.0-24-generic - Linux kernel headers for version 4.4.0 on 32 bit x86 SMP
linux-headers-4.4.0-24-lowlatency - Linux kernel headers for version 4.4.0 on 32 bit x86 SMP
ed@ed-CF-18KHHMXBM:~$
Code: Select all
uname -a
Code: Select all
ls /usr/src/linux-headers-`uname -r`/include/linux/version.h
Code: Select all
dpkg --list linux-libc-dev
Code: Select all
dpkg --list gcc
I'm looking forward to the part where I have to start over from scratch to make the video.kode-niner wrote: And we are masochists.
Code: Select all
ed@ed-CF-18KHHMXBM:~$ uname -a
Linux ed-CF-18KHHMXBM 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:34:49 UTC 2016 i686 i686 i686 GNU/Linux
Code: Select all
ed@ed-CF-18KHHMXBM:~$ ls /usr/src/linux-headers-`uname -r`/include/linux/version.h
ls: cannot access '/usr/src/linux-headers-4.4.0-21-generic/include/linux/version.h': No such file or directory
Code: Select all
ed@ed-CF-18KHHMXBM:~$ dpkg --list linux-libc-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=============================-===================-===================-================================================================
ii linux-libc-dev:i386 4.4.0-24.43 i386 Linux Kernel Headers for development
Code: Select all
ed@ed-CF-18KHHMXBM:~$ dpkg --list gcc
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=============================-===================-===================-================================================================
ii gcc 4:5.3.1-1ubuntu1 i386 GNU C compiler