Portál AbcLinuxu, 7. května 2025 20:13

Dotaz: Wifi problem lenovo

26.5.2012 11:05 masak
Wifi problem lenovo
Přečteno: 811×
Odpovědět | Admin
Zdravím,
Moje lenovo ma HW přepínač k zapínání wifi. Pokud systém (linux mint - lmde) nabootuju s vypnutým hw přepínačem a zapnu ho už v nabootovaném systému, nedaří se mi rozfungovat wifi.

zkousel jsem:
modprobe -r iwlwifi
modprobe r iwlwifi
dmesg zahlasi:
[ 1314.845445] iwlwifi 0000:03:00.0: PCI INT A disabled
[ 1317.952204] cfg80211: Calling CRDA to update world regulatory domain
[ 1317.960898] Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:
[ 1317.960904] Copyright(c) 2003-2011 Intel Corporation
[ 1317.961060] iwlwifi 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 1317.961099] cfg80211: World regulatory domain updated:
[ 1317.961105] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1317.961110] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1317.961116] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1317.961120] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1317.961125] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1317.961133] iwlwifi 0000:03:00.0: setting latency timer to 64
[ 1317.961141] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1317.961211] iwlwifi 0000:03:00.0: pci_resource_len = 0x00002000
[ 1317.961217] iwlwifi 0000:03:00.0: pci_resource_base = ffffc90011088000
[ 1317.961222] iwlwifi 0000:03:00.0: HW Revision ID = 0x35
[ 1317.961517] iwlwifi 0000:03:00.0: irq 43 for MSI/MSI-X
[ 1317.961682] iwlwifi 0000:03:00.0: Detected Intel(R) Centrino(R) Advanced-N 6200 AGN, REV=0x74
[ 1317.961835] iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
[ 1317.977267] iwlwifi 0000:03:00.0: device EEPROM VER=0x436, CALIB=0x6
[ 1317.977273] iwlwifi 0000:03:00.0: Device SKU: 0X1f0
[ 1317.977317] iwlwifi 0000:03:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
[ 1317.977631] iwlwifi 0000:03:00.0: RF_KILL bit toggled to disable radio.
[ 1317.982484] iwlwifi 0000:03:00.0: loaded firmware version 9.221.4.1 build 25532
[ 1317.982861] Registered led device: phy0-led
[ 1317.982978] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'


takže neúspěšně zkouším:
rfkill list all
1: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: no
	Hard blocked: yes
3: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
4: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: yes

rfkill unblock all

rfkill list all
1: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: no
	Hard blocked: yes
3: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
4: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: yes

Pro úplnost přidávám výpisy z lspci, lshw, lsmod, uname -a:
lspci -vv
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
	Subsystem: Intel Corporation Centrino Advanced-N 6200 2x2 AGN
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort- TAbort- MAbort- >SERR- PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 43
	Region 0: Memory at f0600000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: access denied
	Kernel driver in use: iwlwifi
lshw -C network
*-network DISABLED     
       description: Wireless interface
       product: Centrino Advanced-N 6200
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlan0
       version: 35
       serial: 58:94:6b:1a:10:30
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=3.2.0-2-amd64 firmware=9.221.4.1 build 25532 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
       resources: irq:43 memory:f0600000-f0601fff
  *-network
       description: Ethernet interface
       product: RTL8111/8168B PCI Express Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: eth0
       version: 03
       serial: 60:eb:69:8a:aa:bd
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8168d-2.fw ip=10.0.0.146 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       resources: irq:40 ioport:2000(size=256) memory:f0a04000-f0a04fff memory:f0a00000-f0a03fff memory:f0a20000-f0a3ffff
  *-network
       description: Ethernet interface
       physical id: 1
       logical name: tap1
       serial: 3a:47:6a:c2:3e:cb
       size: 10Mbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full firmware=N/A ip=172.16.1.100 link=yes multicast=yes port=twisted pair speed=10Mbit/s
lsmod |grep iwl
iwlwifi               166703  0 
mac80211              192768  1 iwlwifi
cfg80211              137140  2 iwlwifi,mac80211
uname -a
Linux lenovo 3.2.0-2-amd64 #1 SMP Sun Mar 4 22:48:17 UTC 2012 x86_64 GNU/Linux
Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

26.5.2012 11:43 ewew | skóre: 40 | blog: ewewov_blog
Rozbalit Rozbalit vše Re: Wifi problem lenovo
Odpovědět | | Sbalit | Link | Blokovat | Admin

Vyzerá to tak, že pri vypnutom wifi to system detekuje inak a preto už nemôžeš wifi znovu aktivovať.

Možno v linuxe nie je rutina, ktorá vie dynamický detekovať danú wifi z vypnutého stavu.

rfkill lunblock all je len softvérové odblokovanie.

Ako sa zmení dmesg,keď nabootuje systém s zapnutým wifi ?

Root v linuxe : "Root povedal, linux vykona."
26.5.2012 12:46 masak
Rozbalit Rozbalit vše Re: Wifi problem lenovo
Díky za reakci, přikládám dmesg po startu.
[    8.461890] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    8.461899] i915 0000:00:02.0: setting latency timer to 64
[    8.533465] psmouse serio4: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd047b3/0xb40000/0xa0000
[    8.533480] psmouse serio4: synaptics: serio: Synaptics pass-through port at isa0060/serio4/input0
[    8.569821] i915 0000:00:02.0: irq 42 for MSI/MSI-X
[    8.569826] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    8.569828] [drm] Driver supports precise vblank timestamp query.
[    8.569866] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    8.600070] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input8
[    8.609915] Linux media interface: v0.10
[    8.611623] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.07
[    8.611784] iTCO_wdt: Found a HM55 TCO device (Version=2, TCOBASE=0x0460)
[    8.612007] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    8.771733] Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:
[    8.771737] Copyright(c) 2003-2011 Intel Corporation
[    8.771820] iwlwifi 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    8.771834] iwlwifi 0000:03:00.0: setting latency timer to 64
[    8.771880] iwlwifi 0000:03:00.0: pci_resource_len = 0x00002000
[    8.771886] iwlwifi 0000:03:00.0: pci_resource_base = ffffc90011088000
[    8.771892] iwlwifi 0000:03:00.0: HW Revision ID = 0x35
[    8.771993] iwlwifi 0000:03:00.0: irq 43 for MSI/MSI-X
[    8.772046] iwlwifi 0000:03:00.0: Detected Intel(R) Centrino(R) Advanced-N 6200 AGN, REV=0x74
[    8.772134] iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
[    8.787741] iwlwifi 0000:03:00.0: device EEPROM VER=0x436, CALIB=0x6
[    8.787746] iwlwifi 0000:03:00.0: Device SKU: 0X1f0
[    8.787776] iwlwifi 0000:03:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
[    8.793633] cfg80211: World regulatory domain updated:
[    8.793636] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    8.793639] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.793641] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.793643] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.793645] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.793647] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.794216] Linux video capture interface: v2.00
[    8.814439] uvcvideo: Found UVC 1.00 device Integrated Camera (17ef:4815)
[    8.816026] input: Integrated Camera as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/input/input9
[    8.816146] usbcore: registered new interface driver uvcvideo
[    8.816150] USB Video Class driver (1.1.1)
[    9.009900] iwlwifi 0000:03:00.0: loaded firmware version 9.221.4.1 build 25532
[    9.010231] Registered led device: phy0-led
[    9.093333] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[    9.119115] fbcon: inteldrmfb (fb0) is primary device
[    9.346073] Console: switching to colour frame buffer device 170x48
[    9.349470] fb0: inteldrmfb frame buffer device
[    9.349472] drm: registered panic notifier
[    9.377940] acpi device:07: registered as cooling_device4
[    9.378164] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input10
[    9.378211] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    9.378273] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[    9.378409] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[    9.378501] snd_hda_intel 0000:00:1b.0: irq 44 for MSI/MSI-X
[    9.378534] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[    9.449980] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input11
[    9.476216] HDMI status: Codec=3 Pin=4 Presence_Detect=0 ELD_Valid=0
[    9.476403] HDMI status: Codec=3 Pin=5 Presence_Detect=0 ELD_Valid=0
[    9.476575] HDMI status: Codec=3 Pin=6 Presence_Detect=0 ELD_Valid=0
[    9.476725] input: HDA Intel HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[    9.476819] input: HDA Intel HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[    9.476894] input: HDA Intel HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[    9.477203] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[    9.477274] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
[   10.352223] Adding 4095996k swap on /dev/sda6.  Priority:-1 extents:1 across:4095996k 
[   10.357181] EXT4-fs (sda5): re-mounted. Opts: (null)
[   10.589226] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro
[   11.093987] loop: module loaded
[   11.561447] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[   12.093797] kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not work properly. Using workaround
[   12.396466] RPC: Registered named UNIX socket transport module.
[   12.396472] RPC: Registered udp transport module.
[   12.396475] RPC: Registered tcp transport module.
[   12.396478] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   12.440884] FS-Cache: Loaded
[   12.462149] FS-Cache: Netfs 'nfs' registered for caching
[   12.469446] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   12.832636] intel ips 0000:00:1f.6: i915 driver attached, reenabling gpu turbo
[   13.325846] fuse init (API version 7.17)
[   16.008293] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[   16.293431] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio4/serio5/input/input17
[   17.439738] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   17.439743] Bluetooth: BNEP filters: protocol multicast
[   17.504782] Bluetooth: RFCOMM TTY layer initialized
[   17.504789] Bluetooth: RFCOMM socket layer initialized
[   17.504790] Bluetooth: RFCOMM ver 1.11
[   17.761390] lp: driver loaded but no devices found
[   17.837306] ppdev: user-space parallel port driver
[   19.164745] Ebtables v2.0 registered
[   19.340938] ip_tables: (C) 2000-2006 Netfilter Core Team
[   19.387658] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   23.460737] iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
[   23.467181] iwlwifi 0000:03:00.0: Radio type=0x1-0x3-0x1
[   23.702343] iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
[   23.708807] iwlwifi 0000:03:00.0: Radio type=0x1-0x3-0x1
[   23.735693] tun: Universal TUN/TAP device driver, 1.6
[   23.735696] tun: (C) 1999-2004 Max Krasnyansky maxk@qualcomm.com
[   23.813972] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   24.046811] Bridge firewalling registered
[   24.055076] r8169 0000:04:00.0: eth0: link down
[   24.055086] r8169 0000:04:00.0: eth0: link down
[   24.055756] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   25.657469] r8169 0000:04:00.0: eth0: link up
[   25.657776] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   30.831809] postgres (2285): /proc/2285/oom_adj is deprecated, please use /proc/2285/oom_score_adj instead.
[   34.006877] vboxdrv: Found 4 processor cores.
[   34.007374] vboxdrv: fAsync=0 offMin=0x3e4 offMax=0x2cb0
[   34.007505] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
[   34.007510] vboxdrv: Successfully loaded version 4.1.8_Debian (interface 0x00190000).
[   34.042129] vboxpci: IOMMU not found (not registered)
[   34.112515] tap1: no IPv6 routers present
[   36.119340] eth0: no IPv6 routers present

26.5.2012 16:46 Petr | skóre: 29
Rozbalit Rozbalit vše Re: Wifi problem lenovo
Přílohy:
"Možno v linuxe nie je rutina, ktorá vie dynamický detekovať danú wifi z vypnutého stavu..."

ale je, viz muj vypis dmesg. Po detekci zapnuti nahraje firmware a jede (rozdil ve vypisech pred a po zapnuti je jen v posledni radce)... Mam Lenovo R60 s Debianem.

Nicmene, k autorovi: mas nejaky prakticky duvod HW vypinat wifi? Ja mam svuj notebook asi 6 let a jeste jsem to nepotreboval. Naopak, kdyz jsem si s tim hral a zapomel ho ve vypnutem stavu, nekdy jsem pak (vetsinou kdyz se to nejmin hodilo) dlouze zkoumal proc mi nejde wifi a hledal vselijaka nastaveni..:))
26.5.2012 16:58 masak
Rozbalit Rozbalit vše Re: Wifi problem lenovo
No mě se právě ten vypínač sám vypnul (asi jsem moc házel batohem). A on je docela fail, když máš pak někde vytáhnout notebook a ona ta wifi jako naschvál nejede...
26.5.2012 17:04 Petr | skóre: 29
Rozbalit Rozbalit vše Re: Wifi problem lenovo
Vterinove lepidlo nebo lepici paska Tvuj problem jiste spolehlive poresi...:)
26.5.2012 17:09 masak
Rozbalit Rozbalit vše Re: Wifi problem lenovo
dobrý nápad, ale stejně bych rád věděl v čem je zakopaný pes...

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.