LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs > PalmerStudios
User Name
Password

Notices


PalmerStudios contains info on Linux, Arch and Kali specifically. In addition to thos two, GIMP and C programming will also be covered.
Rate this Entry

Kernel Patch for Wacom Tablet Crashes System

Posted 02-07-2016 at 08:19 PM by tpalmerstudios
Updated 02-17-2016 at 01:37 PM by tpalmerstudios

If you have a computer that freezes when you touch your Wacom tablet when you touch it, you will need to install a kernel patch. This should work on any version of linux.
Requirements:
1. Computer running any version of linux
2. A Wacom tablet that crashes linux when used
3. Working internet to get source code of linux and patch
4. Willingness to spend 1 day to get it to work
5. Knowledge of the command line
6. Root access
7. Development tools and bc (apt-get install bc, pacman -S bc, etc.)
How to fix it:
Code:
uname -r 
# From this command, change the version number from here on out. 
# The output of this for me is 4.4.1-ARCH. So, I have version 4.4.1.
cd /root
wget https://cdn.kernel.org/pub/linux/ker...x-4.4.1.tar.xz
# Not working? Go to http://kernel.org and find it manually.
tar xf linux-4.4.1.tar.xz
mv linux-4.4.1 /usr/src/
cd /usr/src/linux-4.4.1
make mrproper
cd /root
wget https://lkml.org/lkml/diff/2015/ll/20/690/1
mv 1 hid.patch
vim hid.patch
# Here you must type Shift-G, then dd
# Or just delete the last line in your favorite editor
patch < hid.patch
# enter /usr/src/linux-4.4.1/drivers/hid/usbhid/hid-core.c as the file to patch
cp /proc/config.gz .
gunzip config.gz
mv config /usr/src/linux-4.4.1/.config
cd /usr/src/linux-4.4.1/
make menuconfig
# Select “General Setup” And under that “Local Version – append to kernel release”
# Enter your name or a name you will know is not the default
# I used -PalmerStudios replace with your text in the following steps
make
make modules_install
make vmlinux
make install
uname -a
# From the output, see if you have x86 or x86_64 or something else
# And replace the command with the appropriate architecture
cp arch/x86/boot/bzImage /boot/vmlinux-4.4.1-PalmerStudios
mkinitcpio -k 4.4.1-PalmerStudios -c /etc/mkinitcpio.conf -g /boot/initramfs-4.4.1-PalmerStudios.img
# If you have GRUB...
grub-mkconfig -o /boot/grub/grub.cfg
# If you don't, I'm sorry. Working on it.
Remember to use the right kernel on boot.
If you use GRUB:
When you turn your computer on and get to the GRUB menu (hold shift right after power onif it doesn't automatically show up,) use your arrow keys to highlight Advanced Options for OS-name. Then use arrow keys to highlight the kernel with the name you chose and press enter.
(I plan to make this a seperate tutorial)

If you have any trouble, email me at tpalmerstudios@gmail.com.
I hope this works for all of you.
PalmerStudios
Basic info from
https://wiki.archlinux.org/index.php...on/Traditional
https://wiki.archlinux.org/index.php...roubleshooting
https://lkml.org/lkml/2015/11/20/690
kernel.org
and other sites.
Posted in Uncategorized
Views 2777 Comments 1
« Prev     Main     Next »
Total Comments 1

Comments

  1. Old Comment
    I would appreciate feedback from anyone who tries this...
    Posted 02-11-2016 at 11:45 PM by tpalmerstudios tpalmerstudios is offline
 

  



All times are GMT -5. The time now is 01:58 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration