AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-821648

brett stevens's questions

Martin Hope
brett stevens
Asked: 2021-04-03 10:29:58 +0800 CST

回滚到内核 5.8.0-44 或引导到焦点建议的 5.8.0-49 后触控板和 wifi 损坏

  • 1

我有一台运行 Ubuntu 20.04 的联想 Yoga 730。最近的一个 wacom 驱动程序问题促使我尝试使用较旧的内核,因此我安装了 5.8.0-44

apt install linux-image-5.8.0-44-generic
apt install linux-headers-5.8.0-44-generic

但是当我启动到这个内核时,触控板、触控、触控笔和 wifi 都无法正常工作。是否需要安装更多才能让这个旧内核完全工作?

当我尝试从focal-proposed 安装5.8.0-49 时,也会发生同样的事情。

wireless
  • 1 个回答
  • 81 Views
Martin Hope
brett stevens
Asked: 2021-03-04 13:21:55 +0800 CST

Ubuntu 20.04 中的 gstreamer faac

  • 3

有谁知道如何在 Ubuntu 20.04 上安装 gstreamer 的 faac 插件

我跑了

$ sudo apt install gstreamer1.0*

其中安装了插件-good、-base、-bad 和 -ugly。我正进入(状态

$gst-inspect-1.0 faac
No such element or plugin 'faac'
20.04
  • 1 个回答
  • 834 Views
Martin Hope
brett stevens
Asked: 2020-11-25 09:23:30 +0800 CST

Thunderbird“在对话中打开消息”有时会打开不同的线程

  • 1

我在 Ubuntu 20.04 笔记本电脑上运行 Thunderbird 68.10.0。我经常使用“在对话中打开消息”来减少电子邮件所在的整个对话(线程)。大约一个月前,当我要求 Thunderbird 在对话中打开消息时,它偶尔会打开错误的电子邮件线程。我不确定如何开始诊断问题。我可以在此处提供哪些有助于识别和解决问题的信息?

谢谢布雷特

thunderbird email
  • 2 个回答
  • 195 Views
Martin Hope
brett stevens
Asked: 2020-09-23 16:57:27 +0800 CST

hplip 不适用于全新的 Ubuntu 20.04 安装

  • 2

我刚刚在联想 Yoga 730 上完成了 Ubuntu 20.04.1 的全新安装。我有一个无线 HP Photosmart C4780,我已经在另一台 Ubuntu 20.04 和 Ubuntu 18.04 机器上成功安装,只需使用

hp-setup 192.168.0.22

当我第一次登录到我使用的新安装时

apt list --installed

这向我展示了 hplip 和 hplip-data 已安装。我跑了

apt install hplip-gui

然后尝试

hp-setup 192.168.0.22

失败并出现错误

error:  Printer queue setup failed.   Error : successful-ok-ignored-or-substituted-attributes

为了检查出了什么问题,我跑了

hp-doctor

这使

HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

 

Checking for Deprecated items....
No Deprecated items are found


Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility


Checking for Dependencies....
warning: ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 GNU/Linux
 Host: nell
 Proc: 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 GNU/Linux
 Distribution: ubuntu 20.04
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.20.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro  20.04 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.20.3

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.20.3
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no


Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.20.3



Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = hp:/net/Photosmart_C4700_series?ip=192.168.0.22

[installation]
date_time = 09/22/20 18:30:55
version = 3.20.3


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

-------------------------
| External Dependencies |
-------------------------

 error: cups          CUPS - Common Unix Printing System                           REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'
 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.50            OK         -
 error: xsane         xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.29          OK         -
 error: dbus          DBus - Message bus system                                    REQUIRED        -               1.12.16         MISSING    'DBUS may not be installed or not running'
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 network              network -wget                                                OPTIONAL        -               1.20.3          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.7             OK         -

------------------------
| General Dependencies |
------------------------

 error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
 error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 error: libpthread    libpthread - POSIX threads library                           REQUIRED        -               b'2.31'         MISSING    'libpthread needs to be installed'
 error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           MISSING    'libcrypto needs to be installed'
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.8.2           OK         -
 python3-notify2      Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt4-dbus needs to be installed'
 error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 needs to be installed'
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.16          OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.2.9           OK         -
 error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.8.2           MISSING    'python3-devel needs to be installed'
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               7.0.0           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.5.34          OK         -

--------------
| COMPILEDEP |
--------------

 error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to be installed'
 error: gcc           gcc - GNU Project C and C++ Compiler                         REQUIRED        -               -               MISSING    'gcc needs to be installed'
 error: make          make - GNU make utility to maintain groups of programs       REQUIRED        3.0             -               MISSING    'make needs to be installed'

---------------------
| Python Extentions |
---------------------

 cupsext              CUPS-Extension                                               REQUIRED        -               3.20.3          OK         -
 hpmudext             IO-Extension                                                 REQUIRED        -               3.20.3          OK         -

----------------------
| Scan Configuration |
----------------------

'/etc/sane.d/dll.d/hpaio' not found.
 hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.20.3          OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.20.3          OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
lpstat
------
Type: Unknown
Device URI: No destinations added.


--------------
| PERMISSION |
--------------

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'libdbus-1-dev' package is missing/incompatible 
error: 'libjpeg-dev' package is missing/incompatible 
error: 'libcups2-dev' package is missing or 'cups' service is not running.
error: 'cups-bsd' package is missing or 'cups' service is not running.
error: 'cups-client' package is missing or 'cups' service is not running.
error: 'libcupsimage2-dev' package is missing or 'cups' service is not running.
error: 'build-essential' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libusb-0.1-4' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 
error: 'snmp-mibs-downloader' package is missing/incompatible 
error: 'openssl' package is missing/incompatible 
error: 'python3-pyqt4' package is missing/incompatible 
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
error: 'python3-dev' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libtool-bin' package is missing/incompatible 
error: 'build-essential' package is missing/incompatible 
error: 'build-essential' package is missing/incompatible 
Missing Optional Dependencies
-----------------------------
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
error: 'xsane' package is missing/incompatible 
error: 'python3-dbus.mainloop.qt' package is missing/incompatible 


ENTER SUDO PASSWORD
-------------------
Please enter the sudoer password: 
 

Checking Permissions....


Checking for Configured Queues....
No Queue added

warning: No Queue(s) configured.


Checking for HP Properitery Plugin's....
No plug-in printers are configured.
 
Diagnose completed...



More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html

首先看起来很奇怪的是,据报道 Ubuntu 20.04 上的 hplip-gui 是针对 qt5 编译的。此外,许多报告丢失/不兼容的软件包已经安装(通过 apt)。

在我全新安装之前,我试图apt purge摆脱所有 hplip 并重新安装它们,但从未成功。我尝试了几次,最终以某种方式破坏了我的系统,导致了全新的安装。

我不确定要从这里做什么才能使 hplip 正常工作。

apt hplip 20.04
  • 4 个回答
  • 7386 Views
Martin Hope
brett stevens
Asked: 2020-04-10 07:15:23 +0800 CST

19.10:Thinkpad X1 Tablet gen 2 跟踪点不工作

  • 0

我有两台 Thinkpad X1 平板电脑 gen 2。一台运行 Ubuntu 19.04,另一台运行 Ubuntu 19.10。这台机器有一个可拆卸的键盘,其中包含一个触控板和轨迹点。触控板的左下角和右下角有两个按钮。空格键下方是三个鼠标按钮。

当我购买机器时,trackpoint 无法正常工作,但它的补丁最终进入了内核(我认为是 17.10),请参阅这个线程和另一个. 它已经工作了几年,但昨天我注意到空格键下方的轨迹点和左右按钮在我的 19.10 机器上不起作用。我一个月前升级到 19.10,恐怕我没有注意到它是否停止工作,因为在过去一个月的大部分时间里,我一直用鼠标将它连接到扩展坞上。我昨天做的另一件事是从一个连接的驱动器短暂地将计算机启动到 Windows,这会破坏启动,所以我安装了一个实时的 Ubuntu 19.10 来修复 grub。在实时 Ubuntu 19.10 中,trackpoint 工作正常。

在跟踪点工作的 19.04 机器上,当我对以下任何文件进行分类时,我会收到跟踪点和按钮事件

/开发/输入/鼠标2

/dev/input/event9

/dev/input/event10

/dev/hidraw3

前两个不显示触控板及其按钮的事件,但 event10 和 hidraw 显示触控板、轨迹点和所有按钮的事件。

event9 和 event 10 的 xinput 设备分别是“PRIMAX ThinkPad X1 Tablet Thin Keyboard Gen 2 Mouse”和“PRIMAX ThinkPad X1 Tablet Thin Keyboard Gen 2 Touchpad”。

当我跑

xinput --test "PRIMAX ThinkPad X1 Tablet Thin Keyboard Gen 2 Mouse"

我得到了跟踪点及其三个按钮的事件,但没有得到触控板的事件。当我跑

xinput --test "PRIMAX ThinkPad X1 Tablet Thin Keyboard Gen 2 Touchpad",

我得到触控板及其按钮的事件,而不是轨迹点或其按钮。

在跟踪点不起作用的运行 19.10 的机器上,两个相同的 xinput 设备都存在。它们的属性与xinput --list-props我的 19.04 机器上的相同。我从“PRIMAX ThinkPad X1 Tablet Thin Keyboard Gen 2 Touchpad”获得触控板和按钮事件,而我从“PRIMAX ThinkPad X1 Tablet Thin Keyboard Gen 2 Mouse”仅获得按钮 2 事件。当我cat /dev/input/mouse[n]或/dev/input/event9我一无所获时。 cat /dev/input/event10并/dev/hidraw3给我触控板、轨迹点和所有按钮的事件。

2020-05-11 更新

这是一些内核数据。

跟踪点在我的内核 5.0.0-38-generic 的 Ubuntu 19.04 X1 平板电脑上运行

它适用于内核分别为 5.3.0-28-generic 和 5.3.0.18-generic 的 Ubuntu live USB 18.04 和 19.10。

它不适用于内核为 5.4.0-26-generic 的 Ubuntu live USB 20.04。

thinkpad evdev trackpoint xinput
  • 2 个回答
  • 1426 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve