我正在尝试让我的 Intuos 绘图板在我的 Chromebook 上运行,由于它与 Google OS 不兼容,因此我选择安装 Ubuntu 13.10 并获取驱动程序。
我这样做了,Ubuntu 13.10 运行良好,我从http://sourceforge.net/projects/linuxwacom/files/xf86-input-wacom/input-wacom/
然后,我尝试按照以下说明操作:http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Input-wacom
但是,我无法通过先决条件部分。对于第一步,当我输入:
sudo apt-get install linux-headers-$(uname -r)
它说:
E: Unable to locate package linux-headers-3.8-11
E: Couldn't find any package by regex 'linux-headers-3.8.11'
我知道我的内核是 3.8.11,因为当我输入时:
uname -r
我得到 3.8.11
这个内核不支持 Intuos 吗?我对 Linux 还很陌生,所以我甚至不知道我在这里问的问题是否正确。我是否需要将标头设置为支持 Intuos 的内核?
有人可以指导我一下吗?
正如我在评论中所说,
apt-get install update
没有用,所以我做了
apt-cache search linux-headers
输出结果如下:
linux-headers-3.11.0-12 - Header files related to Linux kernel version 3.11.0
linux-headers-generic - Generic Linux kernel headers
linux-libc-dev - Linux Kernel headers for development
linux-source-3.11.0 - Linux kernel source for 3.11.0 with Ubuntu patches
linux-headers-3.11.0-12-generic - Linux kernel headers for version 3.11.0 on ARM (hard float) SMP
linux-headers-3.11.0-12-generic-lpae - Linux kernel headers for version 3.11.0 on ARM (hard float) SMP
linux-headers-3.5.0-233 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-233-omap4 - Linux kernel headers for version 3.5.0 on TI OMA p4-based systems
linux-headers-generic-lpae - Generic Linux kernel headers
linux-headers-highbank - Linux kernel headers for the armhf architecture
linux-headers-omap - Linux kernel headers for the armhf architecture
linux-headers-omap4 - Linux kernel headers for the OMAP4 architecture
linux-libc-dev-arm64-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-armel-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-armhf-cross - Linux Kernel Headers for development (for cross-compiling)
linux-libc-dev-powerpc-cross - Linux Kernel Headers for development (for cross-compiling)
linux-headers-3.0.0-3-maguro - Linux kernel headers for version 3.0.0 on Galaxy Nexus
linux-headers-3.1.10-6 - Header files related to Linux kernel version 3.1.10
linux-headers-3.1.10-6-ac100 - Linux kernel headers for version 3.1.10 on Toshiba AC100-based systems
linux-headers-3.1.10-6-grouper - Linux kernel headers for version 3.1.10 on Nexus 7
linux-headers-3.11.0-203-exynos5- Linux kernel headers for version 3.11.0 on ARM (hard float) SMP
linux-headers-3.4.0-1-goldfish - Linux kernel headers for version 3.4.0 on Android touch emulation
linux-headers-3.4.0-3-mako - Linux kenerl headers for version 3.4.0 on Nexus 4
linux-headers-3.4.0-4-manta - Linux kernel headers for version 3.4.0 on Nexus 10
linux-headers-3.4.0-5-chromebook - Linux kernel headers for version 3.4.0 on Samsung Chromebook
linux-headers-ac100 - Linux kernel headers for the ac100 architecture.
linux-headers-chromebook - Linux kernel headers for the Samsung ARM Chromebook.
linux-headers-exynos5 - Linux kernel headers for Exynos5 architecture.
linux-headers-goldfish - Linux kernel headers for the goldfish kernel.
linux-headers-grouper - Linux kernel headers for the Nexus7 (grouper).
linux-headers-maguro - Linux kernel headers for the Galaxy Nexus (maguro).
linux-headers-mako - Linux kernel headers for the Nexus4 (mako).
linux-headers-manta - Linux kernel headers for the Nexus10 (manta).
linux-headers-nexus4 - Transitional package
linux-headers-nexus7 - Transitional package
linux-headers-3.11.0-13 - Header files related to Linux kernel version 3.11.0
linux-headers-3.11.0-14 - Header files related to Linux kernel version 3.11.0
linux-headers-3.11.0-15 - Header files related to Linux kernel version 3.11.0
linux-headers-3.11.0-17 - Header files related to Linux kernel version 3.11.0
linux-headers-3.11.0-18 - Header files related to Linux kernel version 3.11.0
linux-header-3.11.0-13-generic - Linux kernel headers for 3.11.0 on ARM (hard float) SMP
linux-header-3.11.0-13-generic-lpae - Linux kernel headers for 3.11.0 on ARM (hard float) SMP
linux-header-3.11.0-14-generic - Linux kernel headers for 3.11.0 on ARM (hard float) SMP
linux-header-3.11.0-14-generic-lpae - Linux kernel headers for 3.11.0 on ARM (hard float) SMP
linux-header-3.11.0-15-generic - Linux kernel headers for 3.11.0 on ARM (hard float) SMP
linux-header-3.11.0-15-generic-lpae - Linux kernel headers for 3.11.0 on ARM (hard float) SMP
linux-header-3.11.0-17-generic - Linux kernel headers for 3.11.0 on ARM (hard float) SMP
linux-header-3.11.0-17-generic-lpae - Linux kernel headers for 3.11.0 on ARM (hard float) SMP
linux-header-3.11.0-18-generic - Linux kernel headers for 3.11.0 on ARM (hard float) SMP
linux-header-3.11.0-18-generic-lpae - Linux kernel headers for 3.11.0 on ARM (hard float) SMP
linux-headers-3.5.0-234 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-234-omap4 - Header files related to Linux kernel version 3.5.0 on TI OMAP4-based systems
linux-headers-3.5.0-235 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-235-omap4 - Header files related to Linux kernel version 3.5.0 on TI OMAP4-based systems
linux-headers-3.5.0-236 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-236-omap4 - Header files related to Linux kernel version 3.5.0 on TI OMAP4-based systems
linux-headers-3.5.0-237 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-237-omap4 - Header files related to Linux kernel version 3.5.0 on TI OMAP4-based systems
linux-headers-3.5.0-238 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-238-omap4 - Header files related to Linux kernel version 3.5.0 on TI OMAP4-based systems
linux-headers-3.5.0-239 - Header files related to Linux kernel version 3.5.0
linux-headers-3.5.0-239-omap4 - Header files related to Linux kernel version 3.5.0 on TI OMAP4-based systems
linux-headers03.11.0-204-exynos5 - Linux kernel headers for version 3.11.0 on ARM (hard float) SMP
linux-headers03.11.0-205-exynos5 - Linux kernel headers for version 3.11.0 on ARM (hard float) SMP
我正在寻找 ARM 或 exynos 的标头包之一,对吗?我猜是三星 Chromebook 的标头包?
我做到了
sudo apt-get install linux-headers-chromebook
然后进入下一步。不幸的是,当我尝试
./configure
它已完成并阅读
BUILD ENVIRONMENT:
linux kernel - yes
kernel source - no
We could not find the kernel development environment to build the driver. Please install the kernel source or the kernel development package and try again.
在我上面的 pastebin 链接中发布的列表中,没有看到其他 chromebook 标题。
也许 linux-wacom 支持在 Chromebook 上不起作用?
使用以下输出进行更新
apt-cache search chromebook
这里:
vboot-kernel-utils - Chrome OS verified boot utils required to sign kernels
vboot-utils - Chome OS verified boot utils
linux-headers-3.4.0-5-chromebook - Linux kernel headers for version 3.4.0 on Samsung Chromebook
linux-headers-chromebook - Linux kernel image for the Samsung ARM Chromebook.
linux-image-chromebook - Linux kernel image for the Samsung ARM Chromebook
linux-image-chromebook - Linux kernel image for the Samsung ARM Chromebook.
linux-tools-3.4.0-5-chromebook - Linux kernel version specific tools for version 3.4.0-5
更新输出
dpkg --get-selections | grep -i chrome | grep -v deinstall
这里:
linux-headers-3.4.0-5-chromebook install
linux-headers-chromebook install
更新输出
dpkg --get-selections | grep -i linux | grep -v deinstall
这里:
libselinux1:armhf install
linux-headers-3.4.0-5-chromebook install
linux-headers-chromebook install
linux-libc-ev:armhf install
util-linux install
答案1
您的软件包列表可能尚未更新。尝试运行:
sudo apt-get update
sudo apt-get install linux-headers-$(uname -r)
如果仍然不起作用,请运行此命令查看其他可能起作用的软件包:
apt-cache search linux-headers
更新结果,然后我们将从那里开始。
答案2
内核头必须与您正在运行的内核匹配,否则您无法为您的内核编译驱动程序(内核模块)。
我在使用旧内核时也遇到了类似的问题;这意味着发行版中没有与正在运行的内核匹配的头文件。一个相关问题建议重新安装内核的相关元包(在正常安装中是linux-generic
,但我不确定 Chromebook 是否是。也许是linux-headers-chromebook
?)。
给定软件包列表,我会尝试(但这可能很危险...我不是 chromebook 专家)
sudo apt-get install linux-image-chromebook linux-headers-chromebook
sudo apt-get update
sudo apt-get upgrade
然后重新启动前编译驱动程序。我怀疑的是,我没有看到你现在运行的内核在哪个包中……应该有一个linux-chromebook
元包可以为你解决问题。
此后,您可以尝试按照我的回答进行操作:Ubuntu 13.10 中无法检测到 Wacom 绘图板 CTH-480 / CTL-480