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-179816

Trevor Sears's questions

Martin Hope
Trevor Sears
Asked: 2018-09-11 10:00:19 +0800 CST

没有声音 - Debian 9 全新安装上的“虚拟输出”

  • 1

自从我在 Windows 10 之上安装 Debian 以来,我的笔记本电脑没有任何声音。声音在 Windows 中运行良好,但自安装以来我所做的任何事情都无法将其恢复。

我在戴尔 XPS 15 (9570) 上运行 Debian 9,XFCE 在 lightdm 之上。


示例命令:

aplay:

trevor@xps:~$ aplay -l
aplay: device_list:270: no soundcards found...

pacmd:

trevor@xps:~$ pacmd list-cards
0 card(s) available.

lspci:

trevor@xps:~$ lspci -nnk | grep -A1 Audio
00:1f.3 Audio device [0403]: Intel Corporation Device [8086:a348] (rev 10)
    Subsystem: Dell Device [1028:087c]

lsmod:

trevor@xps:~$ lsmod | grep snd
snd_hda_intel          36864  0
snd_hda_codec         135168  1 snd_hda_intel
snd_hda_core           86016  2 snd_hda_intel,snd_hda_codec
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               110592  3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              32768  1 snd_pcm
snd                    86016  5 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_pcm
soundcore              16384  1 snd

groups:

trevor@xps:~$ groups trevor
trevor : trevor cdrom floppy audio dip video plugdev netdev bluetooth lpadmin scanner bumblebee

我看到了杀死pulseaudio并重新启动它的常见修复方法。我已经尝试过了,它什么也没做。PulseAudio 死机、重新启动和行为与以前完全相同。


有人对我的音频为什么不起作用有任何想法吗?

debian audio
  • 2 个回答
  • 4305 Views
Martin Hope
Trevor Sears
Asked: 2018-08-19 20:48:02 +0800 CST

libinput手掌检测不起作用

  • 4

我最近买了一台新的戴尔 XPS 15 并在上面安装了 Debian。它之前运行的是 Windows 10,手掌检测/拒绝功能完美,正如我所预料的那样。但是现在,运行 Debian 并使用libinput手掌检测(据我所知)不存在/完全损坏。

输出xinput | grep -i touchpad:

⎜   ↳ SynPS/2 Synaptics TouchPad                id=13   [slave  pointer  (2)]

输出xinput list-props 13:

Device 'SynPS/2 Synaptics TouchPad':
    Device Enabled (116):   1
    Coordinate Transformation Matrix (118): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Tapping Enabled (269): 1
    libinput Tapping Enabled Default (270): 0
    libinput Tapping Drag Enabled (271):    1
    libinput Tapping Drag Enabled Default (272):    1
    libinput Tapping Drag Lock Enabled (273):   0
    libinput Tapping Drag Lock Enabled Default (274):   0
    libinput Tapping Button Mapping Enabled (275):  1, 0
    libinput Tapping Button Mapping Default (276):  1, 0
    libinput Accel Speed (251): 0.000000
    libinput Accel Speed Default (252): 0.000000
    libinput Natural Scrolling Enabled (256):   0
    libinput Natural Scrolling Enabled Default (257):   0
    libinput Send Events Modes Available (236): 1, 1
    libinput Send Events Mode Enabled (237):    0, 0
    libinput Send Events Mode Enabled Default (238):    0, 0
    libinput Left Handed Enabled (258): 0
    libinput Left Handed Enabled Default (259): 0
    libinput Scroll Methods Available (260):    1, 1, 0
    libinput Scroll Method Enabled (261):   1, 0, 0
    libinput Scroll Method Enabled Default (262):   1, 0, 0
    libinput Click Methods Available (277): 1, 1
    libinput Click Method Enabled (278):    1, 0
    libinput Click Method Enabled Default (279):    1, 0
    libinput Middle Emulation Enabled (265):    0
    libinput Middle Emulation Enabled Default (266):    0
    libinput Disable While Typing Enabled (280):    1
    libinput Disable While Typing Enabled Default (281):    1
    Device Node (239):  "/dev/input/event1"
    Device Product ID (240):    2, 7
    libinput Drag Lock Buttons (267):   <no items>
    libinput Horizontal Scroll Enabled (268):   1

我的/etc/X11/xorg.conf.d/40-libinput.conf文件:

Section "InputClass"
        Identifier      "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver          "libinput"
        Option          "Tapping"                       "on"
        Option          "TappingDrag"                   "on"
EndSection

使用我的手指在触摸板上生成的输入事件示例,sudo evemu-record /dev/input/event1 >> eventlog-finger.log就像我在正常使用期间所做的那样。

使用我的手掌在触摸板上生成的输入事件示例,sudo evemu-record /dev/input/event1 >> eventlog-palm.log就像我尝试键入时发生的那样。

如果您查看事件日志,您会发现它ABS_TOOL_WIDTH仅在每个日志的开头出现一次。根据我在这里和这里的发现,这是一个(有些)已知的问题,ABS_TOOL_WIDTH除了 0 之外,它从未被报告为任何其他值。这显然会破坏使用突触驱动程序的手掌检测,我也假设在 libinput 中。

试图在我的笔记本电脑上做任何事情而不插入外接鼠标并禁用触摸板几乎是不可能的,鼠标跳跃和更麻烦的是,有时我的手掌可以点击触摸板,让我在某个不可预测的地方或根本没有地方打字。

如果有人完全了解如何开始解决此问题,将不胜感激。

编辑1:

我应该提一下,我已经尝试过使用 Synaptics 触摸板驱动程序,包括执行以下操作:

apt install -y xserver-xorg-input-synaptics
synclient PalmDetect=1

然后通过弄乱以下设置无济于事:

synclient PalmMinWidth=4
synclient PalmMinZ=80

我已经尝试了 0 到 15PalmMinWidth和 50 到 150 之间的所有内容PalmMinZ。没有任何效果。但如果还不清楚的话——我已经知道这是因为ABS_TOOL_WIDTH 没有报道。我很确定,因此这不是我的问题的基础 - 我的问题与我将如何着手修复报告ABS_TOOL_WIDTH或其他会产生类似结果的解决方法有关。

debian touchpad
  • 3 个回答
  • 3008 Views
Martin Hope
Trevor Sears
Asked: 2017-12-09 06:54:53 +0800 CST

xrdb 冒号丢失错误

  • 2

我使用我的~/.Xresources文件进行配置URxvt,在向文件添加注释后,似乎导致xrdb停止接受该文件。

我现在明白了:

xrdb: colon missing on line 3, ignoring line
xrdb: colon missing on line 5, ignoring line
xrdb: colon missing on line 7, ignoring line
xrdb: colon missing on line 9, ignoring line
xrdb: colon missing on line 11, ignoring line
xrdb: colon missing on line 13, ignoring line
xrdb: colon missing on line 14, ignoring line
xrdb: colon missing on line 16, ignoring line
xrdb: colon missing on line 18, ignoring line
xrdb: colon missing on line 20, ignoring line
xrdb: colon missing on line 22, ignoring line
xrdb: colon missing on line 24, ignoring line
xrdb: colon missing on line 26, ignoring line

奇怪的是,这些并非都是注释行。其中一些是,其中一些是空白的,其中一些是实际的配置行。它似乎切断了某个点也很奇怪,该文件是 42 行。

我的~/.Xresources文件是

! === URvxt Configuration Section ===:

    ! Turn off the scrollbar.
    URxvt*scrollBar:            true

    ! Set an external border of 4 pixels.
    URxvt*externalBorder:   4

    ! Make the pointer blink.
    URxvt*pointerBlink:     true

    ! Save as many lines as zsh.
    URxvt*saveLines:            100000

    ! Set font to Terminus
    URxvt*font:             xft:Terminus:size=10

    ! === URxvt Colorscheme Section ===

        ! Set the foreground (text) to pure white.
        URxvt.foreground:       #FFFFFF

        ! Set the background to a grey-black.
        URxvt.background:       #151515

        ! Color 0 - Primary Background
        URxvt.color0:           #151515

        ! Color 1 - Primary Foreground
        URxvt.color1:           #FFFFFF

        ! Color 2 - Secondary Background
        URxvt.color2:           #1F1F1F

        ! Color 3 - Secondary Foreground
        URvxt.color3:           #787878

    ! === END URxvt Colorscheme Section

! === END URvxt Configuration Section ===

有谁知道为什么我会收到这些错误?

x11 rxvt
  • 1 个回答
  • 1728 Views

Sidebar

Stats

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

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

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

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve