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

lrkwz's questions

Martin Hope
lrkwz
Asked: 2020-07-09 04:00:23 +0800 CST

Ubuntu 焦点 fossa 和 Sony A7RII usb 网络共享

  • 0

除了文件传输,我无法连接我的索尼 A7RII 相机;lsusb显示与相机无关的输出。

安装了最新gphoto2版本并gphoto2 --list-cameras| grep -i "A7R II"声称支持相机(libgphoto2 网页粗体显示“图像捕捉、触发捕捉、实时取景、配置”功能)。

远程文档警告使用libgphoto2 2.5.13 或更新版本(我已经检查过)。

以下是is的env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --config输出

*** Error ***              
Could not detect any camera
*** Error (-105: 'Unknown model') ***  
0.000002 main                        (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000033 main                        (2): gphoto2 2.5.23
0.000058 main                        (2): gphoto2 has been compiled with the following options:
0.000060 main                        (2):  + gcc (C compiler used)
0.000061 main                        (2):  + popt (mandatory, for handling command-line parameters)
0.000063 main                        (2):  + exif (for displaying EXIF information)
0.000065 main                        (2):  + cdk (for accessing configuration options)
0.000066 main                        (2):  + aa (for displaying live previews)
0.000068 main                        (2):  + jpeg (for displaying live previews in JPEG format)
0.000089 main                        (2):  + readline (for easy navigation in the shell)
0.000093 main                        (2): libgphoto2 2.5.24
0.000112 main                        (2): libgphoto2 has been compiled with the following options:
0.000115 main                        (2):  + standard camlib set SKIPPING SOME (ax203 canon digigr8 dimagev directory jl2005a jl2005c kodak_dc240 mars pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 topfield tp6801 SKIPPING lumix)
0.000116 main                        (2):  + gcc (C compiler used)
0.000118 main                        (2):  + ltdl (for portable loading of camlibs)
0.000120 main                        (2):  + EXIF (for special handling of EXIF files)
0.000122 main                        (2): libgphoto2_port 0.12.0
0.000124 main                        (2): libgphoto2_port has been compiled with the following options:
0.000126 main                        (2):  + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi
0.000128 main                        (2):  + gcc (C compiler used)
0.000129 main                        (2):  + ltdl (for portable loading of iolibs)
0.000131 main                        (2):  + EXIF (for vusb)
0.000133 main                        (2):  + USB (libusb1, for USB cameras)
0.000134 main                        (2):  + serial (for serial cameras)
0.000136 main                        (2):  + no resmgr (serial port access and locking)
0.000137 main                        (2):  + no ttylock (serial port locking)
0.000139 main                        (2):  + no lockdev (serial port locking)
0.000141 main                        (2): CAMLIBS env var not set, using compile-time default instead
0.000143 main                        (2): IOLIBS env var not set, using compile-time default instead
0.000144 main                        (2): invoked with following arguments:
0.000146 main                        (2):   --debug
0.000148 main                        (2):   --debug-logfile=my-logfile.txt
0.000149 main                        (2):   --config
0.000171 load_settings               (2): Creating gphoto config directory ('/home/lrkwz/.gphoto')
0.000204 load_settings               (2): Loading settings from file '/home/lrkwz/.gphoto/settings'.
0.000258 main                        (2): The user has not specified both a model and a port. Try to figure them out.
(...)
usb camera 20.04 gphoto2
  • 1 个回答
  • 223 Views
Martin Hope
lrkwz
Asked: 2020-05-27 04:49:21 +0800 CST

Ubuntu 焦点 fossa gnome 执行滞后

  • 1

我的 gnome 会话发生了什么?它每 10 秒执行一次延迟冻结。

在此处输入图像描述

它是在配备 NVIDIA + 4k 显示器的戴尔 XPS 15 9750 Intel I9 上全新安装的。

$ gnome-shell --version
GNOME Shell 3.36.2
$ lsb_release -a       
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:    20.04
Codename:   focal
$ uname -a
Linux lrkwz-XPS-15-7590 5.4.0-31-generic #35-Ubuntu SMP Thu May 7 20:20:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ prime-select query
intel
$ gsettings get org.gnome.shell enabled-extensions
['[email protected]', 'nvidiautil@ethanwharris', '[email protected]', '[email protected]', '[email protected]']

进程视图

禁用/启用 gnome 扩展没有任何区别。

如何诊断谁是罪魁祸首?

gnome-shell 20.04
  • 1 个回答
  • 579 Views
Martin Hope
lrkwz
Asked: 2019-07-06 09:24:05 +0800 CST

ubuntu 18.04 通过 4g 路由器间歇性上网

  • 0

通过我的移动路由器(tplink mifi m7350)的连接不再起作用,我不明白为什么。使用“家庭路由器”或手机网络共享时,wifi 连接正常。

手机(android)使用的同一路由器完美运行:

  • 连接到路由器本身http://192.168.0.1显示管理应用程序,它声明已连接到 PC 和手机)
  • 手机可以上网

从 Ubuntu 我可以看到路由器已连接,已分配 ip

$ nmcli device show wlp3s0 
GENERAL.DEVICE:                         wlp3s0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         C0:CB:38:37:80:CE
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.CONNECTION:                     TP-Link_8B6B
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/28
IP4.ADDRESS[1]:                         192.168.0.136/24
IP4.GATEWAY:                            192.168.0.1
IP4.ROUTE[1]:                           dst = 0.0.0.0/0, nh = 192.168.0.1, mt = 600
IP4.ROUTE[2]:                           dst = 192.168.0.0/24, nh = 0.0.0.0, mt = 600
IP4.ROUTE[3]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                             192.168.0.1
IP6.ADDRESS[1]:                         fe80::5a50:d171:52d3:a730/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[2]:                           dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[3]:                           dst = fe80::/64, nh = ::, mt = 600

路由表似乎没问题:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         lrkwz-Precision 0.0.0.0         UG    0      0        0 wlp3s0
link-local      0.0.0.0         255.255.0.0     U     1000   0        0 wlp3s0
(...)
192.168.0.0     0.0.0.0         255.255.255.0   U     600    0        0 wlp3s0
192.168.0.0     0.0.0.0         255.255.240.0   U     0      0        0 br-5a71a323fc97
192.168.16.0    0.0.0.0         255.255.240.0   U     0      0        0 br-9155247a5500
192.168.32.0    0.0.0.0         255.255.240.0   U     0      0        0 br-72b41f5e1bf7
192.168.48.0    0.0.0.0         255.255.240.0   U     0      0        0 br-04bf5a3cdf1e
192.168.64.0    0.0.0.0         255.255.240.0   U     0      0        0 br-63c28b3c6d04
192.168.80.0    0.0.0.0         255.255.240.0   U     0      0        0 br-0ab70b5d8d47

...但是互联网访问是断断续续的:即我可以请求一个页面,但我不能请求两个,甚至在同一个页面加载会话中,有些资源被获取,有些则没有。我可以 ping 一次,但第二次失败并显示“无法到达主机”消息。

前几天apt upgrade升级了博通的驱动:

Log started: 2019-06-28  17:15:16
Selecting previously unselected package linux-modules-4.15.0-54-generic.
(...)
Removing linux-image-4.15.0-52-generic (4.15.0-52.56) ...
/etc/kernel/prerm.d/dkms:
dkms: removing: bcmwl 6.30.223.271+bdcom (4.15.0-52-generic) (x86_64)
-------- Uninstall Beginning --------
Module:  bcmwl
Version: 6.30.223.271+bdcom
Kernel:  4.15.0-52-generic (x86_64)
-------------------------------------
(...)
Setting up linux-headers-4.15.0-54-generic (4.15.0-54.58) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 4.15.0-54-generic

Kernel preparation unnecessary for this kernel.  Skipping...
applying patch 0002-Makefile.patch...patching file Makefile
Hunk #1 succeeded at 113 with fuzz 1.
Hunk #2 succeeded at 132 with fuzz 2 (offset 1 line).

applying patch 0003-Make-up-for-missing-init_MUTEX.patch...patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 111 with fuzz 2 (offset 12 lines).

applying patch 0010-change-the-network-interface-name-from-eth-to-wlan.patch...patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 221 (offset -14 lines).

applying patch 0013-gcc.patch...patching file Makefile

applying patch 0019-broadcom-sta-6.30.223.248-3.18-null-pointer-fix.patch...patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 2169 (offset 12 lines).

恢复到基本驱动程序没有区别(除了“设备不工作”而不是“此设备正在使用替代驱动程序”注释)

软件和更新 - 其他驱动程序

编辑:

Tplink 路由器绝对适用于其他 PC(我恢复了旧的 Windows Vista 机器和 Android 手机)。

ubuntu PC 上的 Wifi 使用另一个路由器工作:

$ iwconfig wlp3s0
wlp3s0    IEEE 802.11  ESSID:"lrlwz-A5"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: D4:AE:05:90:F8:DF   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

但 Tplink wifi 仍然没有运气(即使在硬件重置和交换 sim 卡之后):

$ iwconfig wlp3s0
wlp3s0    IEEE 802.11  ESSID:"TP-Link_8B6B"  
          Mode:Managed  Frequency:2.442 GHz  Access Point: C4:71:54:EB:8B:6B   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

关于卡的一般信息:

$ sudo lshw -class network
(...) 
  *-network
       description: Wireless interface
       product: BCM43224 802.11a/b/g/n
       vendor: Broadcom Inc. and subsidiaries
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: 01
       serial: c0:cb:38:37:80:ce
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=wl0 driverversion=6.30.223.271 (r587334) ip=192.168.43.43 latency=0 multicast=yes wireless=IEEE 802.11
       resources: irq:17 memory:e6e00000-e6e03fff

如何诊断问题?

networking internet mobile-broadband
  • 1 个回答
  • 852 Views
Martin Hope
lrkwz
Asked: 2018-08-26 05:52:38 +0800 CST

ubuntu 18.04 登录后黑屏

  • 2

在 ubuntu 18.04 中,在发现错误的 nvidia 驱动程序污染了我的 kernel.log 后,我尝试了不同的 nvidia 驱动程序组合,但没有成功。

当我sudo service gdm start出现登录屏幕但登录后黑页阻止一切时,

4.15.0-33-generic

nvidia-340:
  Installed: 340.106-0ubuntu3
  Candidate: 340.107-0ubuntu0~gpu18.04.1
  Version table:
     340.107-0ubuntu0~gpu18.04.1 500
        500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 Packages
 *** 340.106-0ubuntu3 500
        500 mirror://mirrors.ubuntu.com/mirrors.txt bionic/restricted amd64 Packages
        100 /var/lib/dpkg/status

我该如何诊断/解决这个问题?

更新:

安装 nvidia 推荐的驱动程序后,全新安装也会出现同样的问题。解决了避免使用 nvidia 驱动程序的问题。

这应该是硬件错误吗?

顺便说一句,显卡在 Windows 中运行没有问题。

nvidia ubuntu-gnome 18.04 nvidia-geforce
  • 2 个回答
  • 2495 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