web-dev-qa-db-ja.com

Ubuntu 17.10でUSB-Cイーサネットアダプターを動作させるにはどうすればよいですか?

始める方法については手がかりがありません(私はLinuxの専門家ではありません)が、調査からsyslogの出力を表示してこの問題を報告しました。これが私のものです:

[   37.776184] usb 1-3: new high-speed USB device number 5 using xhci_hcd
[   37.921014] usb 1-3: New USB device found, idVendor=05e3, idProduct=0610
[   37.921020] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   37.921024] usb 1-3: Product: USB2.0 Hub
[   37.921027] usb 1-3: Manufacturer: GenesysLogic
[   37.922385] hub 1-3:1.0: USB hub found
[   37.924065] hub 1-3:1.0: 4 ports detected
[   38.036247] usb 2-3: new SuperSpeed USB device number 4 using xhci_hcd
[   38.059830] usb 2-3: New USB device found, idVendor=05e3, idProduct=0612
[   38.059835] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   38.059839] usb 2-3: Product: USB3.0 Hub
[   38.059842] usb 2-3: Manufacturer: GenesysLogic
[   38.062473] hub 2-3:1.0: USB hub found
[   38.062827] hub 2-3:1.0: 4 ports detected
[   38.904259] usb 2-3.1: new SuperSpeed USB device number 5 using xhci_hcd
[   38.925001] usb 2-3.1: New USB device found, idVendor=0bda, idProduct=8153
[   38.925007] usb 2-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[   38.925011] usb 2-3.1: Product: USB 10/100/1000 LAN
[   38.925014] usb 2-3.1: Manufacturer: Realtek
[   38.925017] usb 2-3.1: SerialNumber: 000001000000
[   39.777550] usb 1-3-port2: Cannot enable. Maybe the USB cable is bad?
libinput error: libinput bug: timer: offset negative (-30854)
[   43.996238] usb 2-3.1: Disable of device-initiated U1 failed.
[   44.000181] usb 2-3.1: Disable of device-initiated U2 failed.
checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1"
bus: 2, device: 5 was not an MTP device
Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service'

どうか、次に何をすればいいですか?

@ chili555の要求どおり、出力lsusbコマンドは次のとおりです。

Bus 002 Device 003: ID 0bda:8153 Realtek Semiconductor Corp. 
Bus 002 Device 002: ID 05e3:0612 Genesys Logic, Inc. 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0a2a Intel Corp. 
Bus 001 Device 003: ID 0bda:58e6 Realtek Semiconductor Corp. 
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsmodの出力:

r8152                  57344  0
mii                    16384  2 usbnet,r8152

dmesgの出力:

[    8.163559] r8152 2-3.1:2.0: Unknown version 0x0000
[    8.170641] usbcore: registered new interface driver r8152

また、イーサネットインターフェイスが表示されません。

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<Host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 3086  bytes 303137 (303.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3086  bytes 303137 (303.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.26  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fda0:8d16:89c3:fc00:e49a:863b:d6e2:86ae  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::b2bf:16eb:35f3:40ee  prefixlen 64  scopeid 0x20<link>
        inet6 fda0:8d16:89c3:fc00:11f4:4de3:5c3e:ef9d  prefixlen 64  scopeid 0x0<global>
        ether 90:61:ae:6c:53:ae  txqueuelen 1000  (Ethernet)
        RX packets 89776  bytes 82124598 (82.1 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 40081  bytes 5131880 (5.1 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

@shadowbqの出力は次のとおりです。

modinfo /lib/modules/4.*-generic/kernel/drivers/net/usb/r8152.ko |grep version

version:        v1.09.9
srcversion:     EFE9F0107512003CA9626F7
version:        v1.09.9
srcversion:     EFE9F0107512003CA9626F7
2
Marco Dufal

チャットセッションで、いくつかのことを試してみましたが、ここからメインラインカーネルバージョン4.15をインストールすることで問題が解決したことを最終的に発見しました: http://kernel.ubuntu.com/~kernel-ppa/mainline/ v4.15 /

2
chili555