LINUX.ORG.RU

отключить встроенный wi-fi

 ,


0

1

привет!

в некотором нонейм планшете есть сетевуха и встроенный wi-fi. нужно отключить встроенный wi-fi. я подумал просто выгрузить его модуль ядра, но проблема в том, что я не могу идентифицировать девайс.

вывод 'lspci -nnk':

00:00.0 Host bridge [0600]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register [8086:0f00] (rev 0f)
	Subsystem: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register [8086:0f31]
	Kernel driver in use: iosf_mbi_pci
00:02.0 VGA compatible controller [0300]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display [8086:0f31] (rev 0f)
	Subsystem: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display [8086:0f31]
	Kernel driver in use: i915
	Kernel modules: i915
00:14.0 USB controller [0c03]: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI [8086:0f35] (rev 0f)
	Subsystem: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI [8086:0f35]
	Kernel driver in use: xhci_hcd
00:1a.0 Encryption controller [1080]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine [8086:0f18] (rev 0f)
	Subsystem: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine [8086:0f18]
	Kernel driver in use: mei_txe
	Kernel modules: mei_txe
00:1f.0 ISA bridge [0601]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit [8086:0f1c] (rev 0f)
	Subsystem: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit [8086:0f1c]
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
тут, насколько я понимаю, никакого сетевого девайса нет.

вывод 'lsusb':

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 006: ID 1546:01a7 U-Blox AG <<<<<<<<<<<<<<<<<< GPS receiver
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 005: ID 7392:b822 Edimax Technology Co., Ltd <<<<<<<<<<<<<<<<<<< это внешний usb wifi, его я и хочу использовать вместо
Bus 001 Device 009: ID 046d:c534 Logitech, Inc. Unifying Receiver <<<<<<<<<<<<<<<<< 
Bus 001 Device 007: ID 0bda:8152 Realtek Semiconductor Corp. 
Bus 001 Device 004: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
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
тут нас интересует только это:
0bda:8152 Realtek Semiconductor Corp
ок, ищу модуль ядра(lsmod | grep 8152) и получаю 'r8152'. ок, выгружаю его и пропадает сетевуха. ребут, сетевуха вернулась.

но где же встроенный wi-fi?

спасибо.

★★★

Последнее исправление: niXman (всего исправлений: 1)

В блеклист киньте, должно сработать.

Вот сюда:

/etc/modprobe.d/blacklist.conf

добавить следующую строку:

blacklist *название модуля*
Korchevatel ★★★★★
()

он может быть не на PCI или USB

Harald ★★★★★
()
...вместо
Bus 001 Device 009: ID 046d:c534 Logitech, Inc. Unifying Receiver <<<<<<<<<<<<<<<<< 
grep 8152

все празднуете?

why
()
Ответ на: комментарий от Harald

вот вывод lsmod:

Module                  Size  Used by
r8152                  65536  0
rfcomm                 81920  4
bnep                   24576  2
nls_iso8859_1          16384  1
snd_hdmi_lpe_audio     28672  2
snd_soc_sst_bytcr_rt5640    40960  0
intel_rapl             24576  0
intel_soc_dts_thermal    20480  0
intel_powerclamp       20480  0
coretemp               20480  0
gpio_keys              20480  0
kvm_intel             233472  0
axp288_charger         24576  0
extcon_axp288          20480  0
axp288_fuel_gauge      24576  0
axp20x_pek             16384  0
roles                  16384  1 extcon_axp288
axp288_adc             16384  0
kvm                   626688  1 kvm_intel
irqbypass              16384  1 kvm
punit_atom_debug       16384  0
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
aesni_intel           372736  0
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper            16384  1 aesni_intel
intel_cstate           20480  0
btsdio                 20480  0
snd_soc_rt5670        155648  0
brcmfmac              331776  0
snd_soc_rt5651        102400  0
snd_intel_sst_acpi     20480  1
snd_soc_rt5645        167936  0
rtsx_usb_ms            24576  0
88x2bu               2605056  0
brcmutil               16384  1 brcmfmac
snd_intel_sst_core     53248  1 snd_intel_sst_acpi
memstick               20480  1 rtsx_usb_ms
snd_soc_sst_atom_hifi2_platform   110592  2 snd_intel_sst_core
snd_soc_acpi_intel_match    28672  1 snd_intel_sst_acpi
snd_soc_rt5640        143360  2 snd_soc_sst_bytcr_rt5640
snd_soc_acpi           16384  3 snd_soc_sst_bytcr_rt5640,snd_soc_acpi_intel_match,snd_intel_sst_acpi
snd_soc_rl6231         20480  4 snd_soc_rt5651,snd_soc_rt5670,snd_soc_rt5640,snd_soc_rt5645
input_leds             16384  0
snd_soc_core          233472  6 snd_soc_rt5651,snd_soc_sst_bytcr_rt5640,snd_soc_rt5670,snd_soc_rt5640,snd_soc_sst_atom_hifi2_platform,snd_soc_rt5645
joydev                 24576  0
cdc_ether              20480  0
snd_compress           24576  1 snd_soc_core
usbnet                 45056  1 cdc_ether
mac_hid                16384  0
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
cdc_acm                32768  0
snd_seq_midi           20480  0
cfg80211              684032  2 88x2bu,brcmfmac
mii                    16384  2 usbnet,r8152
snd_seq_midi_event     16384  1 snd_seq_midi
i915                 1802240  17
snd_rawmidi            36864  1 snd_seq_midi
snd_pcm               102400  10 snd_soc_rt5651,snd_soc_sst_bytcr_rt5640,snd_soc_rt5670,snd_soc_rt5640,snd_hdmi_lpe_audio,snd_soc_sst_atom_hifi2_platform,snd_soc_core,snd_soc_rt5645,snd_pcm_dmaengine
mei_txe                24576  0
drm_kms_helper        180224  1 i915
mei                   102400  1 mei_txe
hci_uart              118784  0
lpc_ich                24576  0
btqca                  20480  1 hci_uart
snd_seq                69632  2 snd_seq_midi,snd_seq_midi_event
drm                   471040  10 drm_kms_helper,i915
int3406_thermal        16384  0
btbcm                  16384  1 hci_uart
btintel                24576  1 hci_uart
dw_dmac                16384  2
dw_dmac_core           28672  1 dw_dmac
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
dptf_power             16384  0
bluetooth             561152  34 btqca,btsdio,btintel,hci_uart,btbcm,bnep,rfcomm
snd_timer              36864  2 snd_seq,snd_pcm
soc_button_array       20480  0
kxcjk_1013             24576  0
int3403_thermal        16384  0
i2c_algo_bit           16384  1 i915
industrialio_triggered_buffer    16384  1 kxcjk_1013
processor_thermal_device    16384  0
fb_sys_fops            16384  1 drm_kms_helper
int3400_thermal        20480  0
syscopyarea            16384  1 drm_kms_helper
int340x_thermal_zone    16384  2 int3403_thermal,processor_thermal_device
intel_int0002_vgpio    16384  1
intel_soc_dts_iosf     20480  2 intel_soc_dts_thermal,processor_thermal_device
acpi_thermal_rel       16384  1 int3400_thermal
ecdh_generic           28672  1 bluetooth
goodix                 24576  0
axp20x_i2c             16384  0
kfifo_buf              16384  1 industrialio_triggered_buffer
sysfillrect            16384  1 drm_kms_helper
axp20x                 32768  1 axp20x_i2c
snd                    81920  13 snd_seq,snd_soc_sst_bytcr_rt5640,snd_seq_device,snd_timer,snd_compress,snd_hdmi_lpe_audio,snd_soc_sst_atom_hifi2_platform,snd_soc_core,snd_pcm,snd_rawmidi
industrialio           73728  5 axp288_adc,industrialio_triggered_buffer,kfifo_buf,axp288_fuel_gauge,kxcjk_1013
sysimgblt              16384  1 drm_kms_helper
soundcore              16384  1 snd
acpi_pad              180224  0
pwm_lpss_platform      16384  0
pwm_lpss               16384  2 pwm_lpss_platform
8250_dw                20480  0
sch_fq_codel           20480  7
parport_pc             36864  0
ppdev                  24576  0
lp                     20480  0
parport                53248  3 parport_pc,lp,ppdev
ip_tables              32768  0
x_tables               40960  1 ip_tables
autofs4                45056  2
hid_generic            16384  0
usbhid                 53248  0
hid                   126976  2 usbhid,hid_generic
rtsx_usb_sdmmc         28672  0
rtsx_usb               24576  2 rtsx_usb_sdmmc,rtsx_usb_ms
mmc_block              49152  3
video                  45056  2 int3406_thermal,i915
sdhci_acpi             24576  0
sdhci                  57344  1 sdhci_acpi

где лежит конфиг фдра?

niXman ★★★
() автор топика
Ответ на: комментарий от why

писал же, если выгружаю этот модуль отваливается проводная сетевуха, но она нужна.

niXman ★★★
() автор топика
Последнее исправление: niXman (всего исправлений: 1)
Ответ на: комментарий от niXman

А кто его знает, что китайцы умудрились запихнуть внутрь устройства.

Гуглите модель планшета, список использованого оборудования должен же где-то быть.

Korchevatel ★★★★★
()
Ответ на: комментарий от niXman

Почему бы просто не запретить поднятие устройства при включении? Нужно именно удаление из сетевых адаптеров?

rumgot ★★★★★
()
Ответ на: комментарий от niXman
$ lsmod | grep 80211

смотри все показанные модули. Еще модули могут быть вкомпилены в ядро и не видны через lsmod

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.