[問題] wifi usb dongle 在 ubuntu 22.04

看板Linux作者 (ggyy)時間1年前 (2022/10/15 15:45), 1年前編輯推噓5(5019)
留言24則, 6人參與, 1年前最新討論串1/1
在蝦皮買一張usb wifi 300M 如下圖 https://ibb.co/2sywsVQ 店家告知是 rtl8192eu 可是插入 ubuntu 22.04 卻顯示 Bus 002 Device 017: ID 0e8d:7603 MediaTek Inc. 802.11 n WLAN 所以我也不知道到底是MediaTek 還是 Realtek chip 我上網搜尋rtl8192eu linux driver 裝了也似乎無用 有網友知道如何解決嗎 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 106.1.107.225 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1665819903.A.7FA.html ※ 編輯: gamehome (106.1.107.225 臺灣), 10/15/2022 15:46:34

10/15 16:20, 1年前 , 1F
都寫mediatek了還會是realtek?
10/15 16:20, 1F

10/15 16:20, 1年前 , 2F
google得出這是mt7603 你google不就知道了
10/15 16:20, 2F

10/15 16:24, 1年前 , 3F
lsmod輸出貼一下
10/15 16:24, 3F
$ lsmod Module Size Used by 8021q 36864 0 garp 20480 1 8021q mrp 20480 1 8021q stp 16384 1 garp llc 16384 2 stp,garp cpuid 16384 0 tls 114688 1 snd_hda_codec_hdmi 77824 1 snd_hda_codec_realtek 159744 1 snd_hda_codec_generic 102400 1 snd_hda_codec_realtek ledtrig_audio 16384 1 snd_hda_codec_generic intel_rapl_msr 20480 0 intel_rapl_common 40960 1 intel_rapl_msr x86_pkg_temp_thermal 20480 0 intel_powerclamp 20480 0 snd_hda_intel 53248 3 coretemp 24576 0 snd_intel_dspcfg 28672 1 snd_hda_intel snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg snd_hda_codec 163840 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek kvm_intel 372736 0 snd_hda_core 110592 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek mei_hdcp 24576 0 kvm 1028096 1 kvm_intel snd_hwdep 16384 1 snd_hda_codec crct10dif_pclmul 16384 1 ghash_clmulni_intel 16384 0 aesni_intel 376832 0 nls_iso8859_1 16384 1 snd_pcm 143360 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core crypto_simd 16384 1 aesni_intel cryptd 24576 2 crypto_simd,ghash_clmulni_intel rapl 20480 0 snd_seq_midi 20480 0 i915 3104768 18 snd_seq_midi_event 16384 1 snd_seq_midi snd_rawmidi 49152 1 snd_seq_midi ttm 86016 1 i915 intel_cstate 20480 0 snd_seq 77824 2 snd_seq_midi,snd_seq_midi_event drm_kms_helper 311296 1 i915 cec 61440 2 drm_kms_helper,i915 rc_core 65536 1 cec snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi at24 24576 0 i2c_algo_bit 16384 1 i915 fb_sys_fops 16384 1 drm_kms_helper snd_timer 40960 2 snd_seq,snd_pcm syscopyarea 16384 1 drm_kms_helper snd 106496 17 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 sysfillrect 20480 1 drm_kms_helper mei_me 40960 1 sysimgblt 16384 1 drm_kms_helper soundcore 16384 1 snd mei 135168 3 mei_hdcp,mei_me intel_smartconnect 16384 0 mac_hid 16384 0 sch_fq_codel 20480 4 8192eu 1638400 0 cfg80211 974848 1 8192eu ipmi_devintf 20480 0 ipmi_msghandler 122880 1 ipmi_devintf msr 16384 0 parport_pc 49152 0 ppdev 24576 0 lp 28672 0 ramoops 32768 0 parport 69632 3 parport_pc,lp,ppdev reed_solomon 28672 1 ramoops drm 622592 15 drm_kms_helper,i915,ttm mtd 77824 0 pstore_blk 16384 0 efi_pstore 16384 0 pstore_zone 32768 1 pstore_blk ip_tables 32768 0 x_tables 53248 1 ip_tables autofs4 49152 2 hid_logitech_hidpp 49152 0 r8153_ecm 16384 0 cdc_ether 24576 1 r8153_ecm usbnet 53248 2 r8153_ecm,cdc_ether hid_logitech_dj 28672 0 r8152 114688 1 r8153_ecm mii 16384 2 usbnet,r8152 hid_generic 16384 0 usbhid 65536 1 hid_logitech_dj hid 151552 4 usbhid,hid_generic,hid_logitech_dj,hid_logitech_hidpp ahci 45056 2 i2c_i801 36864 0 xhci_pci 24576 0 r8169 102400 0 crc32_pclmul 16384 0 lpc_ich 28672 0 i2c_smbus 20480 1 i2c_i801 libahci 45056 1 ahci realtek 32768 1 xhci_pci_renesas 20480 1 xhci_pci video 61440 1 i915 ※ 編輯: gamehome (106.1.107.225 臺灣), 10/15/2022 16:49:11

10/15 18:05, 1年前 , 4F
你這應該是mtk的晶片,所以要找mtk的驅動
10/15 18:05, 4F

10/15 18:06, 1年前 , 5F
從lsmod輸出可知該驅動沒有在你當前的kernel tree中
10/15 18:06, 5F

10/15 18:07, 1年前 , 6F
所以你可能要到github上找找看
10/15 18:07, 6F

10/15 18:10, 1年前 , 7F
突然想到另一個可能,你可以觀察一下插拔網卡前後的
10/15 18:10, 7F

10/15 18:11, 1年前 , 8F
dmesg輸出,看是不是缺少firmware
10/15 18:11, 8F

10/15 18:36, 1年前 , 9F
輸入 lsusb會印出一組8位數
10/15 18:36, 9F

10/15 18:36, 1年前 , 10F
中間有冒號的一組英數,把那組數字拿去google就可以得知
10/15 18:36, 10F

10/15 18:37, 1年前 , 11F
確切晶片型號
10/15 18:37, 11F

10/15 18:42, 1年前 , 12F
找了一下這個晶片好像沒有人開發驅動...聯發科給的是很
10/15 18:42, 12F

10/15 18:42, 1年前 , 13F
舊核心的版本
10/15 18:42, 13F
https://github.com/atvcaptain/mt7603u 有找到 但在linux-5.15.0-48-generic 似乎不太容易build成功 冏

10/15 20:36, 1年前 , 14F
lsmod 不是都有寫 8192eu 了?
10/15 20:36, 14F

10/15 21:45, 1年前 , 15F
有是有 used by 是空的 他有裝驅動所以會在裡面正常
10/15 21:45, 15F
※ 編輯: gamehome (106.1.107.225 臺灣), 10/15/2022 22:14:20

10/15 22:41, 1年前 , 16F

10/15 22:42, 1年前 , 17F
試試這個吧 還有在更新 但unstable 可能kernel panic
10/15 22:42, 17F

10/15 23:37, 1年前 , 18F
換一支Linux支援度佳的無線網卡可能會是比較好的選擇
10/15 23:37, 18F

10/16 01:44, 1年前 , 19F
除非他自己下 modprobe/insmod 不然 udev 不會 load 吧
10/16 01:44, 19F

10/16 15:07, 1年前 , 20F
看起來他是自己手動load的?然後這應該是聯發科的,因
10/16 15:07, 20F

10/16 15:07, 1年前 , 21F
為記得那顆螃蟹驅動有內建
10/16 15:07, 21F

10/16 15:08, 1年前 , 22F
所以如果是螃蟹應該會直接可用才是
10/16 15:08, 22F

10/16 17:20, 1年前 , 23F
但螃蟹的內建驅動好像是在windows下才可用?
10/16 17:20, 23F

10/16 17:23, 1年前 , 24F
喔喔 是指有內建在kernel中 還以為是指網卡自帶的驅動
10/16 17:23, 24F
文章代碼(AID): #1ZIcJ_Vw (Linux)
文章代碼(AID): #1ZIcJ_Vw (Linux)