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

Ronan Hansel's questions

Martin Hope
Ronan Hansel
Asked: 2020-04-29 20:43:15 +0800 CST

我在 Ubuntu 20.04 中不断收到 Spotify“无法播放”错误

  • 0

因此,在第一次安装并实际尝试 Ubuntu 之后。我喜欢它,尤其是现在一切都像我想要的那样。但只有一件事让我感到困扰:Spotify 不断显示错误“无法播放。如果您在本地有文件”每首歌曲。我确定这不是我的高级订阅,也不是我的帐户,因为通过 open.spotify.com 在 chrome 中播放音乐完全没问题。我做了很多研究,发现这个错误我认为与 Ubuntu 的音频系统有关。一定是音频配置搞砸了 Spotify。我已经通过更改为将音频比特率深度和采样率更改为默认值

; default-sample-format = s16le 
; default-sample-rate = 44100

在

etc/pulse/daemon.conf

但这表明什么。除了添加这个之外,我还没有改变任何东西

set-default-sink 3
set-default-source 3

至

etc/pulse/default.pa 

请帮我。感谢您的宝贵时间!

sound pulseaudio google-chrome spotify audio-player
  • 2 个回答
  • 1126 Views
Martin Hope
Ronan Hansel
Asked: 2020-04-27 21:02:52 +0800 CST

请帮助我,我不断收到错误 1

  • 0

当我从 Realtek 网站安装 alsa-driver-RTv5.18rc8 时。由于没有声音,除了数字输出设备之外没有其他输出设备。当我按照说明进行操作这里时,但当我尝试执行sudo make和sudo make install(最后一步)时,我不断收到此信息

make 1 : 进入目录 '/usr/src/linux-headers-5.4.0-26-generic' LEX scripts/kconfig/lexer.lex.c /bin/sh: 1: flex: not found make[3]: * [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] 错误 127 make[2]:[Makefile:594:syncconfig] 错误 2 make 1:[Makefile:704: include/config/auto.conf.cmd] 错误 2 make 1:离开目录 '/usr/src/linux-headers-5.4.0-26-generic' make: * [Makefile:167: compile]错误 2

ronan@ronan-H110M-DS2:~/Downloads/0002-LinuxPkg_5.18rc8/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18rc8/alsa-driver-RTv5.18/alsa$ sudo make install
if [ -L /usr/include/sound ]; then \
    rm -f /usr/include/sound; \
    ln -sf /home/ronan/Downloads/0002-LinuxPkg_5.18rc8/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18rc8/alsa-driver-RTv5.18/alsa/include/sound /usr/include/sound; \
else \
    rm -rf /usr/include/sound; \
    install -d -m 755 -g root -o root /usr/include/sound; \
    for f in include/sound/*.h; do \
        install -m 644 -g root -o root $f /usr/include/sound; \
    done \
fi
find /lib/modules/5.4.0-26-generic/kernel/sound -name 'snd*.*o' | xargs rm -f
find /lib/modules/5.4.0-26-generic/kernel/sound -name 'snd*.*o.gz' | xargs rm -f
find /lib/modules/5.4.0-26-generic/kernel/sound -name 'ac97_bus.*o' | xargs rm -f
find /lib/modules/5.4.0-26-generic/kernel/sound -name 'ac97_bus.*o.gz' | xargs rm -f
make[1]: Entering directory '/home/ronan/Downloads/0002-LinuxPkg_5.18rc8/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18rc8/alsa-driver-RTv5.18/alsa/include'
make[1]: Nothing to be done for 'modules_install'.
make[1]: Leaving directory '/home/ronan/Downloads/0002-LinuxPkg_5.18rc8/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18rc8/alsa-driver-RTv5.18/alsa/include'
make[1]: Entering directory '/home/ronan/Downloads/0002-LinuxPkg_5.18rc8/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18rc8/alsa-driver-RTv5.18/alsa/acore'
mkdir -p /lib/modules/5.4.0-26-generic/kernel/sound/acore
cp snd-hrtimer.ko snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-timer.ko snd.ko /lib/modules/5.4.0-26-generic/kernel/sound/acore
cp: cannot stat 'snd-hrtimer.ko': No such file or directory
cp: cannot stat 'snd-hwdep.ko': No such file or directory
cp: cannot stat 'snd-page-alloc.ko': No such file or directory
cp: cannot stat 'snd-pcm.ko': No such file or directory
cp: cannot stat 'snd-rawmidi.ko': No such file or directory
cp: cannot stat 'snd-timer.ko': No such file or directory
cp: cannot stat 'snd.ko': No such file or directory
make[1]: *** [/home/ronan/Downloads/0002-LinuxPkg_5.18rc8/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18rc8/alsa-driver-RTv5.18/alsa/Rules.make:49: modules_install] Error 1
make[1]: Leaving directory '/home/ronan/Downloads/0002-LinuxPkg_5.18rc8/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18rc8/alsa-driver-RTv5.18/alsa/acore'
make: *** [Makefile:210: install-modules] Error 1
sound drivers realtek alsa
  • 1 个回答
  • 813 Views
Martin Hope
Ronan Hansel
Asked: 2020-04-27 03:40:01 +0800 CST

当我在 alsamixer 中静音或取消静音时,扬声器会弹出一点点 - 我认为这表明发生了一些变化,但我仍然听不到任何声音

  • 0

我有一台装有 realtek 声卡的 PC。Realtek ALC887-VD 我尝试取消静音并将所有音频设置为 in alsamixer,我尝试重新安装 alsamixer sudo apt-get purge --auto-remove gnome-alsamixer,但没有任何效果。PS:alsamixer可以检测到我的声卡(HDA Intel PCH、Realtek ALC887-VD和 puvacontrol 仅显示 1 个端口:数字输出(S/PDIF)。并且仅检测到“内置音频数字立体声(IEC 958) ”请帮助我!感谢您的宝贵时间!

sound realtek alsa audio-jack
  • 1 个回答
  • 78 Views
Martin Hope
Ronan Hansel
Asked: 2020-04-27 02:58:23 +0800 CST

谁能帮我安装 Tp Link TL-WN722N?

  • 4

我使用的是 Ubuntu 20.04,我按照此处的所有说明进行操作,但执行时一直出错

sudo make clean

和

sudo make

它给了我错误2:

    $ sudo make
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.0-26-generic/build 
    M=/home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222  modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-26-generic'
  CC [M]  /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o
In file included from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:46,
                 from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32,
                 from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
/home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:288:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  288 |  ptimer->data = (unsigned long)cntx;
      |        ^~
/home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:289:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  289 |  init_timer(ptimer);
      |  ^~~~~~~~~~
      |  _init_timer
In file included from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:35,
                 from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
/home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/wifi.h: At top level:
/home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/wifi.h:1012: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1012 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:86,
                 from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:46,
                 from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32,
                 from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1451: note: this is the location of the previous definition
 1451 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:275: /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1719: /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-26-generic'
make: *** [Makefile:1911: modules] Error 2

谢谢大家宝贵的时间!

PS:输出lsusb命令:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 011: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy 
series, misc. (MTP mode)
Bus 001 Device 003: ID 09da:2403 A4Tech Co., Ltd. 2.4G Device
Bus 001 Device 002: ID 0cf3:9271 Qualcomm Atheros Communications 
AR9271 802.11n
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
networking drivers tp-link
  • 2 个回答
  • 6016 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