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

Due to overwhelming demand, we have created a forum just dedicated to Toughbook users who use Linux!
Message
Author
User avatar
kode-niner
Posts: 700
Joined: Sat Jun 07, 2014 7:39 am
Location: Canada

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

#41 Post 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
Daily drives a CF-31

EdFromBJCS
Posts: 71
Joined: Thu Apr 03, 2014 2:28 pm

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

#42 Post 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"

User avatar
kode-niner
Posts: 700
Joined: Sat Jun 07, 2014 7:39 am
Location: Canada

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

#43 Post 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.
Daily drives a CF-31

EdFromBJCS
Posts: 71
Joined: Thu Apr 03, 2014 2:28 pm

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

#44 Post 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$ 


User avatar
kode-niner
Posts: 700
Joined: Sat Jun 07, 2014 7:39 am
Location: Canada

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

#45 Post 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
Daily drives a CF-31

EdFromBJCS
Posts: 71
Joined: Thu Apr 03, 2014 2:28 pm

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

#46 Post 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:~$ 

User avatar
kode-niner
Posts: 700
Joined: Sat Jun 07, 2014 7:39 am
Location: Canada

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

#47 Post 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?
Daily drives a CF-31

EdFromBJCS
Posts: 71
Joined: Thu Apr 03, 2014 2:28 pm

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

#48 Post 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.

User avatar
kode-niner
Posts: 700
Joined: Sat Jun 07, 2014 7:39 am
Location: Canada

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

#49 Post 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.
Attachments
grubbygrubgrub.jpg
grubbygrubgrub.jpg (13.29 KiB) Viewed 28225 times
Daily drives a CF-31

EdFromBJCS
Posts: 71
Joined: Thu Apr 03, 2014 2:28 pm

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

#50 Post 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.

Post Reply

Return to “The LINUX forum!!!”