• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
We have new content about Hotkey issue, Click here to check it out!
HP Recommended
t610
Linux

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.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

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.

View solution in original post

1 REPLY 1
HP Recommended

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.

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.