Page 5 of 8

Re: A quest, get the CF-19 front keys working!

Posted: Fri Jun 24, 2016 5:33 pm
by kode-niner
Hmm, try this

Code: Select all

sudo ln -s /usr/src/linux-headers-`uname -r`/include/generated/uapi/linux/version.h /usr/src/linux-headers-`uname -r`/include/linux/version.h
then run a make again in the panasonic_hbtn source directory and check for errors

Re: A quest, get the CF-19 front keys working!

Posted: Mon Jun 27, 2016 11:21 am
by EdFromBJCS

Code: Select all

ed@ed-CF-18KHHMXBM:~$ sudo ln -s /usr/src/linux-headers-`uname -r`/include/generated/uapi/linux/version.h /usr/src/linux-headers-`uname -r`/include/linux/version.h
[sudo] password for ed: 
ed@ed-CF-18KHHMXBM:~$ cd panasonic-hbtn
ed@ed-CF-18KHHMXBM:~/panasonic-hbtn$ make
make -C /lib/modules/4.4.0-24-generic/build M=/home/ed/panasonic-hbtn modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-24-generic'
rm: cannot remove '/home/ed/panasonic-hbtn/.tmp_versions/panasonic-hbtn.mod': Permission denied
Makefile:1389: recipe for target 'crmodverdir' failed
make[1]: *** [crmodverdir] Error 1
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-24-generic'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2
ed@ed-CF-18KHHMXBM:~/panasonic-hbtn$ 

Did I cd into the wrong directory? I noticed you used an underscore rather than a hyphen in "panasonic_hbtn"

Re: A quest, get the CF-19 front keys working!

Posted: Mon Jun 27, 2016 3:47 pm
by kode-niner

Code: Select all

rm: cannot remove '/home/ed/panasonic-hbtn/.tmp_versions/panasonic-hbtn.mod': Permission denied
Nah, you got the directory right. I think the last time you compiled it you sudo'ed the command so you have root-owned files in it. Try again with sudo.

Re: A quest, get the CF-19 front keys working!

Posted: Tue Jun 28, 2016 1:06 pm
by EdFromBJCS

Code: Select all

ed@ed-CF-18KHHMXBM:~$ cd panasonic-hbtn
ed@ed-CF-18KHHMXBM:~/panasonic-hbtn$ sudo make
[sudo] password for ed: 
make -C /lib/modules/4.4.0-24-generic/build M= modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-24-generic'
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/bin2c
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --silentoldconfig Kconfig
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-24-generic'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2
ed@ed-CF-18KHHMXBM:~/panasonic-hbtn$ 


Re: A quest, get the CF-19 front keys working!

Posted: Tue Jun 28, 2016 5:48 pm
by kode-niner
Something isn't right with your kernel and headers. Your latest kernel version for your distro seems to be 4.4.0-24 yet you are running 4.4.0-21 and your libc is 4.4.0-24. Did you purposely downgrade your kernel at one time or another or have you configured grub to boot or are manually booting the older version?

Lets confirm what versions you have installed for both.

Code: Select all

dpkg --list|grep linux-image
dpkg --list|grep linux-headers

Re: A quest, get the CF-19 front keys working!

Posted: Wed Jun 29, 2016 12:36 pm
by EdFromBJCS

Code: Select all

ed@ed-CF-18KHHMXBM:~$ dpkg --list|grep linux-image
ii  linux-image-4.4.0-21-generic         4.4.0-21.37                                         i386         Linux kernel image for version 4.4.0 on 32 bit x86 SMP
ii  linux-image-4.4.0-24-generic         4.4.0-24.43                                         i386         Linux kernel image for version 4.4.0 on 32 bit x86 SMP
ii  linux-image-extra-4.4.0-21-generic   4.4.0-21.37                                         i386         Linux kernel extra modules for version 4.4.0 on 32 bit x86 SMP
ii  linux-image-extra-4.4.0-24-generic   4.4.0-24.43                                         i386         Linux kernel extra modules for version 4.4.0 on 32 bit x86 SMP
ii  linux-image-generic                  4.4.0.24.25                                         i386         Generic Linux kernel image
ed@ed-CF-18KHHMXBM:~$ dpkg --list|grep linux-headers
ii  linux-headers-4.4.0-21               4.4.0-21.37                                         all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-21-generic       4.4.0-21.37                                         i386         Linux kernel headers for version 4.4.0 on 32 bit x86 SMP
ii  linux-headers-4.4.0-24               4.4.0-24.43                                         all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-24-generic       4.4.0-24.43                                         i386         Linux kernel headers for version 4.4.0 on 32 bit x86 SMP
ii  linux-headers-generic                4.4.0.24.25                                         i386         Generic Linux kernel headers
ed@ed-CF-18KHHMXBM:~$ 

Re: A quest, get the CF-19 front keys working!

Posted: Wed Jun 29, 2016 5:18 pm
by kode-niner
kode-niner wrote:Did you purposely downgrade your kernel at one time or another or have you configured grub to boot or are manually booting the older version?
You have kernel and headers version 4.4.0.24.43 installed. Why are you booting 4.4.0.21?

Re: A quest, get the CF-19 front keys working!

Posted: Thu Jun 30, 2016 7:36 am
by EdFromBJCS
kode-niner wrote:
kode-niner wrote:Did you purposely downgrade your kernel at one time or another or have you configured grub to boot or are manually booting the older version?
You have kernel and headers version 4.4.0.24.43 installed. Why are you booting 4.4.0.21?
I honestly have no idea. That was not a deliberate choice.

Re: A quest, get the CF-19 front keys working!

Posted: Fri Jul 01, 2016 12:57 pm
by kode-niner
Next time you boot, try and choose the latest kernel at the grub menu. It might appear by selecting "Advanced Options for ...." if it's not already in a visible list at the grub menu. Note that this change is not permanent and will only apply to this one time boot, in case for some reason booting another kernel causes your system to crap out. If everything works, we'll worry later about making it permanent.

Re: A quest, get the CF-19 front keys working!

Posted: Fri Jul 01, 2016 2:11 pm
by EdFromBJCS
Okay. I had to look up how to get to the grub menu, but I have now successfully (I think) booted with the latest kernel.