-
×InformationWindows update impacting certain printer icons and names. Microsoft is working on a solution.
Click here to learn moreInformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center.
-
×InformationWindows update impacting certain printer icons and names. Microsoft is working on a solution.
Click here to learn moreInformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center.
- HP Community
- Desktops
- Business PCs, Workstations and Point of Sale Systems
- THINPRO 5.2 linux-headers-3.8.13-hp
Create an account on the HP Community to personalize your profile and ask a question
11-17-2016 10:11 PM
Hello guys!
I need linux-headers for THINPRO 5.2, for installing some external device drivers.
uname -r
3.8.13-hp
Please, help, i already tried some Ubuntu headers, but still cant find suitable.
Solved! Go to Solution.
Accepted Solutions
11-21-2016 12:59 AM
Ok, i do it myself. Please take a look. I think it can be useful to someone.
Use resize-image command to add some free space on thin client.
Then you need to download kernel source "linux_3.8.13-hp.tgz" from ftp://ftp.hp.com/pub/tcdebian/pool/thinpro52/source/
Put it in /home/user/Downloads folder
Uncomment ubuntu repositories in /etc/apt/sources.list
Then open terminal:
1)ставим зависимости
fsunlock
apt-get update
apt-get install dpkg-dev gcc make libc6-dev kernel-package
(и apt-get install ncurses-dev если хочется как то изменить текущий конфиг (make menuconfig))
2)извлекаем архив
tar -zxvf linux_3.8.13-hp.tgz
dpkg-source -x linux-lts-raring_3.8.0-32.47~precise1.dsc
3)применяем патчи, подсовываем текущий конфиг ядра, изменяем имя ядра на такое-же как и сейчас
cp ./patches/* ./linux-lts-raring-3.8.0/
cd linux-lts-raring-3.8.0/
в команде patch можно использовать ключ --dry-run чтобы убедиться что патч сработал
patch -p1 -i hid_quanta_touchscreen.patch
patch -p1 -i btrfs_subvol_modify.patch
patch -p1 -i xhci.patch
rm ./*.patch
cp /boot/config-3.8.13-hp ./.config
запускаем make menuconfig если нужно внести изменения в текущий конфиг
открываем редактором файл ./makefile и меняем переменную EXTRAVERSION = .10 на EXTRAVERSION =
(^ open ./makefile and change EXTRAVERSION = .10 to EXTRAVERSION = )
4)собираем ядро и хидеры
make-kpkg --initrd --append-to-version=-hp kernel_image kernel_headers
cd ..
dpkg-deb -x linux-headers-3.8.13-hp_3.8.13-hp-10.00.Custom_i386.deb ./temp
dpkg-deb --control linux-headers-3.8.13-hp_3.8.13-hp-10.00.Custom_i386.deb ./temp/DEBIAN
mkdir -p ./temp/lib/modules/3.8.13-hp
ln -s /usr/src/linux-headers-3.8.13-hp/ ./temp/lib/modules/3.8.13-hp/build
dpkg -b ./temp/linux-headers-3.8.13-hp.deb
Ready. Now you can install linux-headers-3.8.13-hp.deb where you need it, and everything should be good.
11-21-2016 12:59 AM
Ok, i do it myself. Please take a look. I think it can be useful to someone.
Use resize-image command to add some free space on thin client.
Then you need to download kernel source "linux_3.8.13-hp.tgz" from ftp://ftp.hp.com/pub/tcdebian/pool/thinpro52/source/
Put it in /home/user/Downloads folder
Uncomment ubuntu repositories in /etc/apt/sources.list
Then open terminal:
1)ставим зависимости
fsunlock
apt-get update
apt-get install dpkg-dev gcc make libc6-dev kernel-package
(и apt-get install ncurses-dev если хочется как то изменить текущий конфиг (make menuconfig))
2)извлекаем архив
tar -zxvf linux_3.8.13-hp.tgz
dpkg-source -x linux-lts-raring_3.8.0-32.47~precise1.dsc
3)применяем патчи, подсовываем текущий конфиг ядра, изменяем имя ядра на такое-же как и сейчас
cp ./patches/* ./linux-lts-raring-3.8.0/
cd linux-lts-raring-3.8.0/
в команде patch можно использовать ключ --dry-run чтобы убедиться что патч сработал
patch -p1 -i hid_quanta_touchscreen.patch
patch -p1 -i btrfs_subvol_modify.patch
patch -p1 -i xhci.patch
rm ./*.patch
cp /boot/config-3.8.13-hp ./.config
запускаем make menuconfig если нужно внести изменения в текущий конфиг
открываем редактором файл ./makefile и меняем переменную EXTRAVERSION = .10 на EXTRAVERSION =
(^ open ./makefile and change EXTRAVERSION = .10 to EXTRAVERSION = )
4)собираем ядро и хидеры
make-kpkg --initrd --append-to-version=-hp kernel_image kernel_headers
cd ..
dpkg-deb -x linux-headers-3.8.13-hp_3.8.13-hp-10.00.Custom_i386.deb ./temp
dpkg-deb --control linux-headers-3.8.13-hp_3.8.13-hp-10.00.Custom_i386.deb ./temp/DEBIAN
mkdir -p ./temp/lib/modules/3.8.13-hp
ln -s /usr/src/linux-headers-3.8.13-hp/ ./temp/lib/modules/3.8.13-hp/build
dpkg -b ./temp/linux-headers-3.8.13-hp.deb
Ready. Now you can install linux-headers-3.8.13-hp.deb where you need it, and everything should be good.
Didn't find what you were looking for? Ask the community