Ubuntu日本語フォーラム
ログインしていません。
Ubuntu 20.04.1 LTS を使用しています。
マザーボード: ASUS PRIME X570-PRO (BIOS ver.2407)
CPU: AMD Ryzen 3 PRO 4350G with Radeon Graphics
メモリ: 8192MB (Kingston DDR4 2666MHz 4096MB x2)
バッファロー WI-U3-866DS (販売元URL)をPCに接続しました。
Ubuntu上で「ソフトウェアとアップデート」アプリを開き、追加のドライバーで dkms source for the r8812au network driverをrtl8812au-dkmsから使用します(オープンソース) にチェックを入れ 変更の適用(A) を押し変更を適用したのですが、デスクトップ画面右上のメニューを開いても無線の項目が現れません。
以下、UbuntuTips/Hardware/DetectiveWirelessLanDeviceを参考に試したことです。
lsusb からでは無線LANの内蔵チップが何かは分かりませんでした。
$ lsusb ... Bus 005 Device 002: ID 0411:025d BUFFALO INC. (formerly MelCo., Inc.) WI-U3-866D ...
※接続したものは WI-U3-866DS ですが、lsusb の結果では WI-U3-866D と表示されました。
-vs オプションも試してみましたが内蔵チップを特定できそうなものは見つけられませんでした。-t は Driver の欄が空になっていました。
ネットで調べた限りではチップはRTL8812AUのようです。
$ lsmod Module Size Used by 8812au 1290240 0 cfg80211 704512 1 8812au snd_hda_codec_realtek 126976 1 snd_hda_codec_generic 81920 1 snd_hda_codec_realtek ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek nls_iso8859_1 16384 1 snd_hda_codec_hdmi 61440 1 snd_hda_intel 53248 5 snd_intel_dspcfg 24576 1 snd_hda_intel edac_mce_amd 32768 0 snd_hda_codec 135168 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek snd_hda_core 90112 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek snd_hwdep 20480 1 snd_hda_codec snd_pcm 106496 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core snd_seq_midi 20480 0 ccp 86016 0 snd_seq_midi_event 16384 1 snd_seq_midi amdgpu 4579328 0 kvm 663552 0 snd_rawmidi 36864 1 snd_seq_midi crct10dif_pclmul 16384 1 snd_seq 69632 2 snd_seq_midi,snd_seq_midi_event ghash_clmulni_intel 16384 0 snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi amd_iommu_v2 20480 1 amdgpu snd_timer 36864 2 snd_seq,snd_pcm gpu_sched 32768 1 amdgpu aesni_intel 372736 0 ttm 106496 1 amdgpu crypto_simd 16384 1 aesni_intel eeepc_wmi 16384 0 drm_kms_helper 184320 1 amdgpu snd 90112 21 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi asus_wmi 32768 1 eeepc_wmi cryptd 24576 2 crypto_simd,ghash_clmulni_intel glue_helper 16384 1 aesni_intel fb_sys_fops 16384 1 drm_kms_helper sparse_keymap 16384 1 asus_wmi mxm_wmi 16384 0 wmi_bmof 16384 0 k10temp 16384 0 input_leds 16384 0 soundcore 16384 1 snd syscopyarea 16384 1 drm_kms_helper sysfillrect 16384 1 drm_kms_helper sysimgblt 16384 1 drm_kms_helper mac_hid 16384 0 sch_fq_codel 20480 3 parport_pc 40960 0 ppdev 24576 0 lp 20480 0 parport 53248 3 parport_pc,lp,ppdev drm 491520 4 gpu_sched,drm_kms_helper,amdgpu,ttm ip_tables 32768 0 x_tables 40960 1 ip_tables autofs4 45056 2 hid_logitech_hidpp 45056 0 hid_logitech_dj 24576 0 hid_generic 16384 0 usbhid 57344 1 hid_logitech_dj hid 131072 4 usbhid,hid_generic,hid_logitech_dj,hid_logitech_hidpp crc32_pclmul 16384 0 igb 221184 0 i2c_piix4 28672 0 ahci 40960 2 libahci 32768 1 ahci i2c_algo_bit 16384 2 igb,amdgpu dca 16384 1 igb video 49152 1 asus_wmi wmi 32768 3 asus_wmi,wmi_bmof,mxm_wmi
gnome-system-logのsyslogからコピーした、外付けの無線LANデバイスを接続したときのログ
Sep 25 19:47:36 PC kernel: [ 877.422247] usb 5-1: new high-speed USB device number 2 using xhci_hcd Sep 25 19:47:37 PC kernel: [ 877.573560] usb 5-1: New USB device found, idVendor=0411, idProduct=025d, bcdDevice= 0.00 Sep 25 19:47:37 PC kernel: [ 877.573566] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Sep 25 19:47:37 PC kernel: [ 877.573568] usb 5-1: Product: WI-U3-866D Sep 25 19:47:37 PC kernel: [ 877.573570] usb 5-1: Manufacturer: Buffalo Sep 25 19:47:37 PC kernel: [ 877.573571] usb 5-1: SerialNumber: 123456 Sep 25 19:47:37 PC mtp-probe: checking bus 5, device 2: "/sys/devices/pci0000:00/0000:00:08.1/0000:07:00.3/usb5/5-1" Sep 25 19:47:37 PC mtp-probe: bus: 5, device: 2 was not an MTP device Sep 25 19:47:37 PC kernel: [ 877.602079] cfg80211: Loading compiled-in X.509 certificates for regulatory database Sep 25 19:47:37 PC kernel: [ 877.602218] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' Sep 25 19:47:37 PC kernel: [ 877.626996] 8812au: loading out-of-tree module taints kernel. Sep 25 19:47:37 PC kernel: [ 877.627324] 8812au: module verification failed: signature and/or required key missing - tainting kernel Sep 25 19:47:37 PC kernel: [ 877.628864] RTL871X: module init start Sep 25 19:47:37 PC kernel: [ 877.628865] RTL871X: rtl8812au v4.3.8_12175.20140902 Sep 25 19:47:37 PC kernel: [ 877.628865] RTL871X: build time: Sep 25 2020 10:20:49 Sep 25 19:47:37 PC kernel: [ 877.628933] ------------[ cut here ]------------ Sep 25 19:47:37 PC kernel: [ 877.628946] WARNING: CPU: 0 PID: 3744 at net/wireless/core.c:867 wiphy_register+0x6d1/0x930 [cfg80211] Sep 25 19:47:37 PC kernel: [ 877.628946] Modules linked in: 8812au(OE+) cfg80211 snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio nls_iso8859_1 snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg edac_mce_amd snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi ccp snd_seq_midi_event amdgpu kvm snd_rawmidi crct10dif_pclmul snd_seq ghash_clmulni_intel snd_seq_device amd_iommu_v2 snd_timer gpu_sched aesni_intel ttm crypto_simd eeepc_wmi drm_kms_helper snd asus_wmi cryptd glue_helper fb_sys_fops sparse_keymap mxm_wmi wmi_bmof k10temp input_leds soundcore syscopyarea sysfillrect sysimgblt mac_hid sch_fq_codel parport_pc ppdev lp parport drm ip_tables x_tables autofs4 hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid crc32_pclmul igb i2c_piix4 ahci libahci i2c_algo_bit dca video wmi Sep 25 19:47:37 PC kernel: [ 877.628965] CPU: 0 PID: 3744 Comm: systemd-udevd Tainted: G OE 5.4.0-48-generic #52-Ubuntu Sep 25 19:47:37 PC kernel: [ 877.628965] Hardware name: System manufacturer System Product Name/PRIME X570-PRO, BIOS 2407 07/01/2020 Sep 25 19:47:37 PC kernel: [ 877.628972] RIP: 0010:wiphy_register+0x6d1/0x930 [cfg80211] Sep 25 19:47:37 PC kernel: [ 877.628973] Code: ff e9 78 fa ff ff 0f 0b b8 ea ff ff ff e9 6c fa ff ff 0f 0b b8 ea ff ff ff e9 60 fa ff ff 0f 0b b8 ea ff ff ff e9 54 fa ff ff <0f> 0b b8 ea ff ff ff e9 48 fa ff ff 0f 0b b8 ea ff ff ff e9 3c fa Sep 25 19:47:37 PC kernel: [ 877.628973] RSP: 0018:ffffb28a02fbf970 EFLAGS: 00010246 Sep 25 19:47:37 PC kernel: [ 877.628974] RAX: ffffffffc0ffe690 RBX: ffff959341016300 RCX: ffffffffc0ffe680 Sep 25 19:47:37 PC kernel: [ 877.628975] RDX: ffffffffc0ffe720 RSI: 0000000000000001 RDI: 000000000000001e Sep 25 19:47:37 PC kernel: [ 877.628975] RBP: ffffb28a02fbf9f0 R08: 0000000000000004 R09: 0000000000000003 Sep 25 19:47:37 PC kernel: [ 877.628975] R10: 0000000000000cc0 R11: ffffb28b006c0fc5 R12: ffff959341016300 Sep 25 19:47:37 PC kernel: [ 877.628976] R13: ffff9593034a5000 R14: ffff95933e22fc30 R15: ffff95933e22fc30 Sep 25 19:47:37 PC kernel: [ 877.628976] FS: 00007f97d2255880(0000) GS:ffff959347200000(0000) knlGS:0000000000000000 Sep 25 19:47:37 PC kernel: [ 877.628977] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Sep 25 19:47:37 PC kernel: [ 877.628977] CR2: 00005601aad1eaf0 CR3: 000000018cd96000 CR4: 0000000000340ef0 Sep 25 19:47:37 PC kernel: [ 877.628978] Call Trace: Sep 25 19:47:37 PC kernel: [ 877.628998] ? _rtw_malloc+0x2d/0x2f [8812au] Sep 25 19:47:37 PC kernel: [ 877.629009] ? _rtw_memcpy+0x10/0x12 [8812au] Sep 25 19:47:37 PC kernel: [ 877.629023] ? rtw_5g_rates_init+0x1a/0x1c [8812au] Sep 25 19:47:37 PC kernel: [ 877.629033] ? rtw_spt_band_alloc+0xb0/0xb2 [8812au] Sep 25 19:47:37 PC kernel: [ 877.629043] rtw_wdev_alloc+0xf6/0x29c [8812au] Sep 25 19:47:37 PC kernel: [ 877.629053] rtw_usb_if1_init+0xf0/0x20c [8812au] Sep 25 19:47:37 PC kernel: [ 877.629062] rtw_drv_init+0x246/0x2d3 [8812au] Sep 25 19:47:37 PC kernel: [ 877.629065] usb_probe_interface+0xed/0x290 Sep 25 19:47:37 PC kernel: [ 877.629067] really_probe+0x2b3/0x3e0 Sep 25 19:47:37 PC kernel: [ 877.629068] driver_probe_device+0xbc/0x100 Sep 25 19:47:37 PC kernel: [ 877.629069] device_driver_attach+0x5d/0x70 Sep 25 19:47:37 PC kernel: [ 877.629069] __driver_attach+0x8f/0x150 Sep 25 19:47:37 PC kernel: [ 877.629070] ? device_driver_attach+0x70/0x70 Sep 25 19:47:37 PC kernel: [ 877.629072] bus_for_each_dev+0x7e/0xc0 Sep 25 19:47:37 PC kernel: [ 877.629073] driver_attach+0x1e/0x20 Sep 25 19:47:37 PC kernel: [ 877.629073] bus_add_driver+0x152/0x1f0 Sep 25 19:47:37 PC kernel: [ 877.629074] driver_register+0x74/0xd0 Sep 25 19:47:37 PC kernel: [ 877.629075] usb_register_driver+0x89/0x130 Sep 25 19:47:37 PC kernel: [ 877.629076] ? 0xffffffffc07ee000 Sep 25 19:47:37 PC kernel: [ 877.629084] rtw_drv_entry+0x65/0x1000 [8812au] Sep 25 19:47:37 PC kernel: [ 877.629086] do_one_initcall+0x4a/0x1fa Sep 25 19:47:37 PC kernel: [ 877.629088] ? kfree+0x231/0x250 Sep 25 19:47:37 PC kernel: [ 877.629090] ? _cond_resched+0x19/0x30 Sep 25 19:47:37 PC kernel: [ 877.629090] ? kmem_cache_alloc_trace+0x16c/0x240 Sep 25 19:47:37 PC kernel: [ 877.629092] do_init_module+0x62/0x250 Sep 25 19:47:37 PC kernel: [ 877.629093] load_module+0x10b8/0x1200 Sep 25 19:47:37 PC kernel: [ 877.629095] __do_sys_finit_module+0xbe/0x120 Sep 25 19:47:37 PC kernel: [ 877.629096] ? __do_sys_finit_module+0xbe/0x120 Sep 25 19:47:37 PC kernel: [ 877.629097] __x64_sys_finit_module+0x1a/0x20 Sep 25 19:47:37 PC kernel: [ 877.629098] do_syscall_64+0x57/0x190 Sep 25 19:47:37 PC kernel: [ 877.629099] entry_SYSCALL_64_after_hwframe+0x44/0xa9 Sep 25 19:47:37 PC kernel: [ 877.629100] RIP: 0033:0x7f97d27d789d Sep 25 19:47:37 PC kernel: [ 877.629101] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c3 f5 0c 00 f7 d8 64 89 01 48 Sep 25 19:47:37 PC kernel: [ 877.629102] RSP: 002b:00007ffcada0b5b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 Sep 25 19:47:37 PC kernel: [ 877.629103] RAX: ffffffffffffffda RBX: 00005601aad07df0 RCX: 00007f97d27d789d Sep 25 19:47:37 PC kernel: [ 877.629103] RDX: 0000000000000000 RSI: 00007f97d26b4ded RDI: 000000000000000f Sep 25 19:47:37 PC kernel: [ 877.629103] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000000 Sep 25 19:47:37 PC kernel: [ 877.629104] R10: 000000000000000f R11: 0000000000000246 R12: 00007f97d26b4ded Sep 25 19:47:37 PC kernel: [ 877.629104] R13: 0000000000000000 R14: 00005601aac87690 R15: 00005601aad07df0 Sep 25 19:47:37 PC kernel: [ 877.629105] ---[ end trace ca64e69c733266b0 ]--- Sep 25 19:47:37 PC kernel: [ 877.755075] usb 5-1: reset high-speed USB device number 2 using xhci_hcd Sep 25 19:47:37 PC kernel: [ 877.905365] usbcore: registered new interface driver rtl8812au Sep 25 19:47:37 PC kernel: [ 877.905369] RTL871X: module init ret=0 Sep 25 19:47:37 PC mtp-probe: checking bus 5, device 2: "/sys/devices/pci0000:00/0000:00:08.1/0000:07:00.3/usb5/5-1" Sep 25 19:47:37 PC mtp-probe: bus: 5, device: 2 was not an MTP device Sep 25 19:48:03 PC systemd[1]: Starting Cleanup of Temporary Directories... Sep 25 19:48:03 PC systemd[1]: systemd-tmpfiles-clean.service: Succeeded. Sep 25 19:48:03 PC systemd[1]: Finished Cleanup of Temporary Directories. Sep 25 19:49:01 PC pulseaudio[1336]: ALSA woke us up to write new data to the device, but there was actually nothing to write. Sep 25 19:49:01 PC pulseaudio[1336]: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers. Sep 25 19:49:01 PC pulseaudio[1336]: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
syslogのメッセージから何か原因を突き止められるものはないか調べていましたが結局解決できそうになかったので、追加したドライバーをいったん削除し、自分でドライバーを入れたらWi-fiを認識するようになりました。
色々なドライバーがあったのですが、インストールと削除のコマンドがすぐ分かるここにしました。
https://github.com/aircrack-ng/rtl8812au
上記のドライバを入れて無線子機を挿したまま使っていましたが、起動時間がやたら長くなったので
ほかのドライバも試してみました。
これは動きました。起動時間が長くなることもなく使えました。
https://github.com/gnab/rtl8812au
これはだめでした。Wi-fiを認識しませんでした。
https://github.com/abperiasamy/rtl8812AU_8821AU_linux (Compiling for Ubuntu (16.04) and Debian (9)の手順でインストール)
Ubuntu 20.10 環境で、カーネルをアップデートして再起動した後、マウス操作が激重になりました。無線LANのドライバを入れ直すと解消しました。