小编Sul*_*van的帖子

如何使用 USB 将 Android 7.1 连接到 Ubuntu Linux?

我正在尝试使用 mtp-tools 将带有 android 7.1 的 Google Pixel 手机连接到带有 USB 电缆的 Ubuntu 16.04 笔记本电脑。但是 mtp 没有看到电话文件系统并给出错误消息“获取存储信息失败”。

然后尝试 mtp 工具...

# mtp-detect
libmtp version: 1.1.10

Listing raw device(s)
Device 0 (VID=18d1 and PID=4ee1) is a Google Inc (for LG Electronics/Samsung) Nexus 4/5/7/10 (MTP).
   Found 1 device(s):
   Google Inc (for LG Electronics/Samsung): Nexus 4/5/7/10 (MTP) (18d1:4ee1) @ bus 2, dev 17
Attempting to connect device(s)
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.                 ***** ???
USB low-level …
Run Code Online (Sandbox Code Playgroud)

usb android mtp 16.04

27
推荐指数
2
解决办法
11万
查看次数

snap 出现恐慌:运行时错误:ubuntu 22.04 上的内存地址无效

# snap --version
snap    2.57.1
snapd   2.57.1
series  16
ubuntu  22.04
kernel  5.15.0-48-generic

# snap --list
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
    panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x5559c824c645]

goroutine 1 [running]:
main.main.func1()
    /build/snapd/parts/snapd-deb/build/cmd/snap/main.go:492 +0x95
panic(0x5559c88ef040, 0x5559c8f658f0)
    /usr/lib/go-1.13/src/runtime/panic.go:679 +0x1b6
main.run(0xc0003bbdb8, 0xe)
    /build/snapd/parts/snapd-deb/build/cmd/snap/main.go:559 +0x375
main.main()
    /build/snapd/parts/snapd-deb/build/cmd/snap/main.go:497 +0x371

# uname -a
Linux helios 5.15.0-48-generic #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

# …
Run Code Online (Sandbox Code Playgroud)

snap 22.04

3
推荐指数
1
解决办法
1388
查看次数

标签 统计

16.04 ×1

22.04 ×1

android ×1

mtp ×1

snap ×1

usb ×1