From owner-freebsd-mobile@FreeBSD.ORG Sun Jun 9 13:53:39 2013 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D5ACC8AF; Sun, 9 Jun 2013 13:53:39 +0000 (UTC) (envelope-from l.yotov@gmail.com) Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [IPv6:2607:f8b0:400d:c01::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 7911B1A66; Sun, 9 Jun 2013 13:53:39 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id m15so2036832qcq.33 for ; Sun, 09 Jun 2013 06:53:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=I1Ki+F3gzyZeapuRyZjl5TY+T2XUC+nabkGDKqoj3Jg=; b=TfIDrdtbSQAo6/sJzDFjsrJfjnxg7DKDED5wviNTGmg13RR92XRGh/OL6WvQryKoOw PPQ/nYcWpfGqDYqYUf+NuG62kL2vrt6uDtBm2I2wr6W+B+EItvI67iEGMuidqdXR+9rj cpN9X6uf7W2MlTCbLQ14KZieavtzd+JonAejLnZ+6BtZiyz9s5a9L33aUsZnJiC0ICpC MhROO6cYNuTgFPD3HZv4MNW3jcMjc2vnRJiD26RtzOaBs+8lyGc71BLHRLSLs+CTJcKH RvcsZIUfDNJR64EQBOrHXz0ye7ZrbhoHnEDK+AHfTJig90vVyVuv9ap4Nggv7VlJG5rl LODA== MIME-Version: 1.0 X-Received: by 10.224.45.197 with SMTP id g5mr10412971qaf.21.1370786019027; Sun, 09 Jun 2013 06:53:39 -0700 (PDT) Received: by 10.224.55.194 with HTTP; Sun, 9 Jun 2013 06:53:38 -0700 (PDT) In-Reply-To: References: Date: Sun, 9 Jun 2013 16:53:38 +0300 Message-ID: Subject: Re: Thinkpad T60 with Atheros working only after restart from Windows From: Lyubomir Yotov To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-wireless@freebsd.org, freebsd-mobile@freebsd.org X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 13:53:39 -0000 Hi, After restart from Windows and working wireless the number of interrupts increases and the rate increases. After next restart (the ath0 times out) the interrupts increase but the rate is going down. I noticed that after restart from Windows and working wifi if I restart /etc/rc.d/netif the wifi is working again. If I shutdown wlan0 and bring it up again then I wlan0 doesn't get address but ath0 is not timing out. I can still get a list with the available APs around. Regards, Lyubo On 8 June 2013 18:28, Adrian Chadd wrote: > Hm! > > Ok, this should be working. I frequently test (read: every other day) > with the AR5416. But you're not the first person to report this bug. > > > Unfortunately when this happens, the interrupts aren't actually making > it to the OS. > > Can you check the output of vmstat -i whilst you're doing it? The ath0 > counter should be increasing. > > > > adrian > > On 8 June 2013 06:49, Lyubomir Yotov wrote: > > Hello, > > I have a Thinkpad T60 with dual boot between Windows XP and FreeBSD > > 9.1-Release: > > > > uname -a > > FreeBSD T60.workgroup 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec > > 4 06:55:39 UTC 2012 > > root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > > i386 > > > > I am trying to use my wifi card which is: > > > > dmesg > > .... > > ath0: mem 0xedf00000-0xedf0ffff irq 17 at device 0.0 on > pci3 > > ath0: AR5418 mac 12.10 RF5133 phy 8.1 > > .... > > > > pciconf -lv > > .... > > ath0@pci0:3:0:0: class=0x028000 card=0x0033168c chip=0x0024168c > > rev=0x01 hdr=0x00 > > vendor = 'Atheros Communications Inc.' > > device = 'AR5008 Wireless Network Adapter' > > class = network > > ..... > > > > I followed several HOW-TOs in order to make it work. Unfortunately I it > is > > working only after I reboot from my Windows installation (regardless of > the > > position of the wifi switch on the front panel of the notebook). After > > restart from Windows everything is fine - the wifi associates with the AP > > and I can use it. If I reboot the system during the boot and afterwards I > > constantly get: > > > > ath0: device timeout > > > > When I get the device status through ifconfig I can see that ath0 is > > associated but wlan0 is not associated. > > > > ifconfig ath0 > > ath0: flags=8843 metric 0 mtu > 2290 > > ether 00:19:7e:91:xx:xx > > nd6 options=29 > > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > > status: associated > > > > ifconfig wlan0 > > wlan0: flags=8843 metric 0 mtu > 1500 > > ether 00:19:7e:91:xx:xx > > nd6 options=29 > > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > > status: no carrier > > ssid "" channel 5 (2432 MHz 11g) > > regdomain 98 indoor ecm authmode WPA privacy ON deftxkey UNDEF > > txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 > bgscanidle > > 250 > > roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL > > > > > > In /var/log/messages I get: > > > > Jun 8 16:39:16 PC wpa_supplicant[3463]: Trying to associate with > > 54:e6:fc:ae:xx:xx (SSID='access1' freq=2432 MHz) > > Jun 8 16:39:20 PC kernel: ath0: device timeout > > Jun 8 16:39:26 PC wpa_supplicant[3463]: Authentication with > > 54:e6:fc:ae:xx:xx timed out. > > > > If I scan for wireless networks I get a list and my ap is in the list > > > > ifconfig wlan0 scan > > SSID/MESH ID BSSID CHAN RATE S:N INT CAPS > > net1 00:11:11:01:xx:xx 6 54M -68:-96 100 EP > > 5edf9c 70:71:bc:26:xx:xx 11 54M -68:-96 100 EP WPS WPA > WME > > access1 54:e6:fc:ae:xx:xx 5 54M -66:-96 100 EP WPA HTCAP > WME > > > > > > In rc.local I have: > > > > wlans_ath0="wlan0" > > ifconfig_wlan0="WPA DHCP" > > > > In wpa_supplicant I have: > > > > ctrl_interface=/var/run/wpa_supplicant > > eapol_version=2 > > ap_scan=1 > > fast_reauth=1 > > > > network={ > > ssid="access1" > > psk="secret1" > > priority=5 > > } > > network={ > > ssid="access2" > > psk="secret2" > > priority=5 > > } > > > > I searched the net for solution to my problem but I couldn't find one. > Can > > you help me with this? > > > > > > Regards, > > > > Lyubomir > > _______________________________________________ > > freebsd-mobile@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org > " > From owner-freebsd-mobile@FreeBSD.ORG Sun Jun 9 15:28:19 2013 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 646661D9; Sun, 9 Jun 2013 15:28:19 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qa0-x230.google.com (mail-qa0-x230.google.com [IPv6:2607:f8b0:400d:c00::230]) by mx1.freebsd.org (Postfix) with ESMTP id 182971E00; Sun, 9 Jun 2013 15:28:19 +0000 (UTC) Received: by mail-qa0-f48.google.com with SMTP id cm16so1869051qab.7 for ; Sun, 09 Jun 2013 08:28:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=NlSJz0is95AChsTgnzyHG0y15v1QOfFU3P5wBWMlZtA=; b=QOZia3Bna23vrqrTGi+WYYikVLrOXy4OA+g1UNGkqmuzJKQDd7QGe2msbmO66MQjFP CtqyJnzR/PL39j0zX6Dk91sfS0uMjLjGkTH/SWuGt0lteKL+LTbAV59rgSRXAw/sGsuo 9yHN9jcEsfZOG3B/nytX1w39lbowsW0rmOgEVSmiBKuVaQEpdwhbO3AIYnHoprNbMync pD9iAvNJHLEWqP8GFKv+ugy/vPlaR+uy5lHjvlUuJSXu0Hz1/I+fYmTTrs4Eo2SdD42o cy2jJaG/w1Tt+t9dxa9tFo9nSGvK2SgzJt349fKIWJWMv6N2NYgCnox/ZvRHGjPa0zoy ZpEg== MIME-Version: 1.0 X-Received: by 10.49.49.167 with SMTP id v7mr7420114qen.10.1370791698600; Sun, 09 Jun 2013 08:28:18 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.5.65 with HTTP; Sun, 9 Jun 2013 08:28:18 -0700 (PDT) In-Reply-To: References: Date: Sun, 9 Jun 2013 08:28:18 -0700 X-Google-Sender-Auth: jzNeHT728z48ZO0PPQeT7orAa7w Message-ID: Subject: Re: Thinkpad T60 with Atheros working only after restart from Windows From: Adrian Chadd To: Lyubomir Yotov Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org, freebsd-mobile@freebsd.org X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 15:28:19 -0000 Can you please paste the vmstat -i output? adrian On 9 June 2013 06:53, Lyubomir Yotov wrote: > Hi, > > After restart from Windows and working wireless the number of interrupts > increases and the rate increases. After next restart (the ath0 times out) > the interrupts increase but the rate is going down. > I noticed that after restart from Windows and working wifi if I restart > /etc/rc.d/netif the wifi is working again. If I shutdown wlan0 and bring it > up again then I wlan0 doesn't get address but ath0 is not timing out. I can > still get a list with the available APs around. > > Regards, > > Lyubo > > > > > > > On 8 June 2013 18:28, Adrian Chadd wrote: >> >> Hm! >> >> Ok, this should be working. I frequently test (read: every other day) >> with the AR5416. But you're not the first person to report this bug. >> >> >> Unfortunately when this happens, the interrupts aren't actually making >> it to the OS. >> >> Can you check the output of vmstat -i whilst you're doing it? The ath0 >> counter should be increasing. >> >> >> >> adrian >> >> On 8 June 2013 06:49, Lyubomir Yotov wrote: >> > Hello, >> > I have a Thinkpad T60 with dual boot between Windows XP and FreeBSD >> > 9.1-Release: >> > >> > uname -a >> > FreeBSD T60.workgroup 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue >> > Dec >> > 4 06:55:39 UTC 2012 >> > root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC >> > i386 >> > >> > I am trying to use my wifi card which is: >> > >> > dmesg >> > .... >> > ath0: mem 0xedf00000-0xedf0ffff irq 17 at device 0.0 on >> > pci3 >> > ath0: AR5418 mac 12.10 RF5133 phy 8.1 >> > .... >> > >> > pciconf -lv >> > .... >> > ath0@pci0:3:0:0: class=0x028000 card=0x0033168c chip=0x0024168c >> > rev=0x01 hdr=0x00 >> > vendor = 'Atheros Communications Inc.' >> > device = 'AR5008 Wireless Network Adapter' >> > class = network >> > ..... >> > >> > I followed several HOW-TOs in order to make it work. Unfortunately I it >> > is >> > working only after I reboot from my Windows installation (regardless of >> > the >> > position of the wifi switch on the front panel of the notebook). After >> > restart from Windows everything is fine - the wifi associates with the >> > AP >> > and I can use it. If I reboot the system during the boot and afterwards >> > I >> > constantly get: >> > >> > ath0: device timeout >> > >> > When I get the device status through ifconfig I can see that ath0 is >> > associated but wlan0 is not associated. >> > >> > ifconfig ath0 >> > ath0: flags=8843 metric 0 mtu >> > 2290 >> > ether 00:19:7e:91:xx:xx >> > nd6 options=29 >> > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >> > status: associated >> > >> > ifconfig wlan0 >> > wlan0: flags=8843 metric 0 mtu >> > 1500 >> > ether 00:19:7e:91:xx:xx >> > nd6 options=29 >> > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >> > status: no carrier >> > ssid "" channel 5 (2432 MHz 11g) >> > regdomain 98 indoor ecm authmode WPA privacy ON deftxkey UNDEF >> > txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 >> > bgscanidle >> > 250 >> > roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL >> > >> > >> > In /var/log/messages I get: >> > >> > Jun 8 16:39:16 PC wpa_supplicant[3463]: Trying to associate with >> > 54:e6:fc:ae:xx:xx (SSID='access1' freq=2432 MHz) >> > Jun 8 16:39:20 PC kernel: ath0: device timeout >> > Jun 8 16:39:26 PC wpa_supplicant[3463]: Authentication with >> > 54:e6:fc:ae:xx:xx timed out. >> > >> > If I scan for wireless networks I get a list and my ap is in the list >> > >> > ifconfig wlan0 scan >> > SSID/MESH ID BSSID CHAN RATE S:N INT CAPS >> > net1 00:11:11:01:xx:xx 6 54M -68:-96 100 EP >> > 5edf9c 70:71:bc:26:xx:xx 11 54M -68:-96 100 EP WPS WPA >> > WME >> > access1 54:e6:fc:ae:xx:xx 5 54M -66:-96 100 EP WPA HTCAP >> > WME >> > >> > >> > In rc.local I have: >> > >> > wlans_ath0="wlan0" >> > ifconfig_wlan0="WPA DHCP" >> > >> > In wpa_supplicant I have: >> > >> > ctrl_interface=/var/run/wpa_supplicant >> > eapol_version=2 >> > ap_scan=1 >> > fast_reauth=1 >> > >> > network={ >> > ssid="access1" >> > psk="secret1" >> > priority=5 >> > } >> > network={ >> > ssid="access2" >> > psk="secret2" >> > priority=5 >> > } >> > >> > I searched the net for solution to my problem but I couldn't find one. >> > Can >> > you help me with this? >> > >> > >> > Regards, >> > >> > Lyubomir >> > _______________________________________________ >> > freebsd-mobile@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >> > To unsubscribe, send any mail to >> > "freebsd-mobile-unsubscribe@freebsd.org" > > From owner-freebsd-mobile@FreeBSD.ORG Mon Jun 10 13:06:29 2013 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 09C6D2BE; Mon, 10 Jun 2013 13:06:29 +0000 (UTC) (envelope-from l.yotov@gmail.com) Received: from mail-qe0-f53.google.com (mail-qe0-f53.google.com [209.85.128.53]) by mx1.freebsd.org (Postfix) with ESMTP id 98A7516CF; Mon, 10 Jun 2013 13:06:27 +0000 (UTC) Received: by mail-qe0-f53.google.com with SMTP id 1so3974423qee.26 for ; Mon, 10 Jun 2013 06:06:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=p3zyfQ12SG1amjTb1gprM+B57Xw4oNEZsirQZzAi0Cs=; b=V5rqwktDji+0KuK5RwJ2aJX2hyFHxLxx43s0HktATSHvKChGUAvi765s3IkmrZ67f9 FABZjRHR0ztTOC39YifpEzo8LvD+DWTHIZmGP3sB9OyZqW8aSjdDhKFVqENgJAZamrjh ZJ00Oh5OBnq9W+7lp2KxXSAIRA831c+indl0YWSGqysiC6Q7HbWxhSxPYMliR1JQ93w5 KDKUQeVQd2tr4z5aCzGB/ut6tkJ8KuOKIqWxQyIIc+wj3hnyJp/d14GLHwgksxpel+6F jEs+6sECdszWPmo9OmzxtY7Ykv1VazedKqPme0J6vaz9OiGS+oKztmvuksfeYqXOtYMF 3ccA== MIME-Version: 1.0 X-Received: by 10.224.45.197 with SMTP id g5mr13665730qaf.21.1370869581523; Mon, 10 Jun 2013 06:06:21 -0700 (PDT) Received: by 10.224.55.194 with HTTP; Mon, 10 Jun 2013 06:06:21 -0700 (PDT) In-Reply-To: References: Date: Mon, 10 Jun 2013 16:06:21 +0300 Message-ID: Subject: Re: Thinkpad T60 with Atheros working only after restart from Windows From: Lyubomir Yotov To: Adrian Chadd Content-Type: multipart/mixed; boundary=001a11c35d1470b52904decc72c3 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-wireless@freebsd.org, freebsd-mobile@freebsd.org X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 13:06:29 -0000 --001a11c35d1470b52904decc72c3 Content-Type: text/plain; charset=ISO-8859-1 Hello Adrian, Attached are files with consecutive vmstat -i when the wlan is working (vmstat-i_working.txt) and when the wlan is not working (vmstat-i_not_working.txt). There is also output from ifconfig when the wlan is not working (ifconfig.txt). After some more deeper investigation it seems to me that the problem appears after starting X with Gnome. I will continue investigating with "reboot"/"halt -p" and inform you. BTW do you think that starting Gnome session (using startx, as I haven't set auto start of X if this is of any importance) can cause problems - in Gnome I have no settings for the network in the "System->Network" application and I start it with normal user? Regards, Lyubo On 9 June 2013 18:28, Adrian Chadd wrote: > Can you please paste the vmstat -i output? > > > > adrian > > On 9 June 2013 06:53, Lyubomir Yotov wrote: > > Hi, > > > > After restart from Windows and working wireless the number of interrupts > > increases and the rate increases. After next restart (the ath0 times out) > > the interrupts increase but the rate is going down. > > I noticed that after restart from Windows and working wifi if I restart > > /etc/rc.d/netif the wifi is working again. If I shutdown wlan0 and bring > it > > up again then I wlan0 doesn't get address but ath0 is not timing out. I > can > > still get a list with the available APs around. > > > > Regards, > > > > Lyubo > > > > > > > > > > > > > > On 8 June 2013 18:28, Adrian Chadd wrote: > >> > >> Hm! > >> > >> Ok, this should be working. I frequently test (read: every other day) > >> with the AR5416. But you're not the first person to report this bug. > >> > >> > >> Unfortunately when this happens, the interrupts aren't actually making > >> it to the OS. > >> > >> Can you check the output of vmstat -i whilst you're doing it? The ath0 > >> counter should be increasing. > >> > >> > >> > >> adrian > >> > >> On 8 June 2013 06:49, Lyubomir Yotov wrote: > >> > Hello, > >> > I have a Thinkpad T60 with dual boot between Windows XP and FreeBSD > >> > 9.1-Release: > >> > > >> > uname -a > >> > FreeBSD T60.workgroup 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue > >> > Dec > >> > 4 06:55:39 UTC 2012 > >> > root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > >> > i386 > >> > > >> > I am trying to use my wifi card which is: > >> > > >> > dmesg > >> > .... > >> > ath0: mem 0xedf00000-0xedf0ffff irq 17 at device 0.0 on > >> > pci3 > >> > ath0: AR5418 mac 12.10 RF5133 phy 8.1 > >> > .... > >> > > >> > pciconf -lv > >> > .... > >> > ath0@pci0:3:0:0: class=0x028000 card=0x0033168c > chip=0x0024168c > >> > rev=0x01 hdr=0x00 > >> > vendor = 'Atheros Communications Inc.' > >> > device = 'AR5008 Wireless Network Adapter' > >> > class = network > >> > ..... > >> > > >> > I followed several HOW-TOs in order to make it work. Unfortunately I > it > >> > is > >> > working only after I reboot from my Windows installation (regardless > of > >> > the > >> > position of the wifi switch on the front panel of the notebook). After > >> > restart from Windows everything is fine - the wifi associates with the > >> > AP > >> > and I can use it. If I reboot the system during the boot and > afterwards > >> > I > >> > constantly get: > >> > > >> > ath0: device timeout > >> > > >> > When I get the device status through ifconfig I can see that ath0 is > >> > associated but wlan0 is not associated. > >> > > >> > ifconfig ath0 > >> > ath0: flags=8843 metric 0 mtu > >> > 2290 > >> > ether 00:19:7e:91:xx:xx > >> > nd6 options=29 > >> > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > >> > status: associated > >> > > >> > ifconfig wlan0 > >> > wlan0: flags=8843 metric 0 mtu > >> > 1500 > >> > ether 00:19:7e:91:xx:xx > >> > nd6 options=29 > >> > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > >> > status: no carrier > >> > ssid "" channel 5 (2432 MHz 11g) > >> > regdomain 98 indoor ecm authmode WPA privacy ON deftxkey UNDEF > >> > txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 > >> > bgscanidle > >> > 250 > >> > roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL > >> > > >> > > >> > In /var/log/messages I get: > >> > > >> > Jun 8 16:39:16 PC wpa_supplicant[3463]: Trying to associate with > >> > 54:e6:fc:ae:xx:xx (SSID='access1' freq=2432 MHz) > >> > Jun 8 16:39:20 PC kernel: ath0: device timeout > >> > Jun 8 16:39:26 PC wpa_supplicant[3463]: Authentication with > >> > 54:e6:fc:ae:xx:xx timed out. > >> > > >> > If I scan for wireless networks I get a list and my ap is in the list > >> > > >> > ifconfig wlan0 scan > >> > SSID/MESH ID BSSID CHAN RATE S:N INT CAPS > >> > net1 00:11:11:01:xx:xx 6 54M -68:-96 100 EP > >> > 5edf9c 70:71:bc:26:xx:xx 11 54M -68:-96 100 EP WPS WPA > >> > WME > >> > access1 54:e6:fc:ae:xx:xx 5 54M -66:-96 100 EP WPA HTCAP > >> > WME > >> > > >> > > >> > In rc.local I have: > >> > > >> > wlans_ath0="wlan0" > >> > ifconfig_wlan0="WPA DHCP" > >> > > >> > In wpa_supplicant I have: > >> > > >> > ctrl_interface=/var/run/wpa_supplicant > >> > eapol_version=2 > >> > ap_scan=1 > >> > fast_reauth=1 > >> > > >> > network={ > >> > ssid="access1" > >> > psk="secret1" > >> > priority=5 > >> > } > >> > network={ > >> > ssid="access2" > >> > psk="secret2" > >> > priority=5 > >> > } > >> > > >> > I searched the net for solution to my problem but I couldn't find one. > >> > Can > >> > you help me with this? > >> > > >> > > >> > Regards, > >> > > >> > Lyubomir > >> > _______________________________________________ > >> > freebsd-mobile@freebsd.org mailing list > >> > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > >> > To unsubscribe, send any mail to > >> > "freebsd-mobile-unsubscribe@freebsd.org" > > > > > --001a11c35d1470b52904decc72c3 Content-Type: text/plain; charset=US-ASCII; name="vmstat-i_working.txt" Content-Disposition: attachment; filename="vmstat-i_working.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hhro58820 IyB2bXN0YXQgLWkKaW50ZXJydXB0ICAgICAgICAgICAgICAgICAgICAgICAgICB0b3RhbCAgICAg ICByYXRlCmlycTE6IGF0a2JkMCAgICAgICAgICAgICAgICAgICAgICAgICAyMTUgICAgICAgICAg MgppcnE5OiBhY3BpMCAgICAgICAgICAgICAgICAgICAgICAgICAgNTA1ICAgICAgICAgIDUKaXJx MTQ6IGF0YTAgICAgICAgICAgICAgICAgICAgICAgICAgIDEyOSAgICAgICAgICAxCmlycTE3OiBh dGgwIHVoY2kxICAgICAgICAgICAgICAgICAgICA4MjYgICAgICAgICAgOAppcnExOTogdWhjaTMg ZWhjaTAgICAgICAgICAgICAgICAgICAgIDE1ICAgICAgICAgIDAKaXJxMjA6IGhwZXQwICAgICAg ICAgICAgICAgICAgICAgIDE5MzA1MyAgICAgICAyMDk4CmlycTI1NjogaGRhYzAgICAgICAgICAg ICAgICAgICAgICAgICAgNDcgICAgICAgICAgMAppcnEyNTc6IGVtMCAgICAgICAgICAgICAgICAg ICAgICAgICAgMjk5ICAgICAgICAgIDMKaXJxMjU4OiBhaGNpMCAgICAgICAgICAgICAgICAgICAg ICAgMjc1NyAgICAgICAgIDI5ClRvdGFsICAgICAgICAgICAgICAgICAgICAgICAgICAgICAxOTc4 NDYgICAgICAgMjE1MAojIHZtc3RhdCAtaQppbnRlcnJ1cHQgICAgICAgICAgICAgICAgICAgICAg ICAgIHRvdGFsICAgICAgIHJhdGUKaXJxMTogYXRrYmQwICAgICAgICAgICAgICAgICAgICAgICAg IDIyMSAgICAgICAgICAyCmlycTk6IGFjcGkwICAgICAgICAgICAgICAgICAgICAgICAgICA1MDUg ICAgICAgICAgNQppcnExNDogYXRhMCAgICAgICAgICAgICAgICAgICAgICAgICAgMTM4ICAgICAg ICAgIDEKaXJxMTc6IGF0aDAgdWhjaTEgICAgICAgICAgICAgICAgICAgIDg3NSAgICAgICAgICA4 CmlycTE5OiB1aGNpMyBlaGNpMCAgICAgICAgICAgICAgICAgICAgMTUgICAgICAgICAgMAppcnEy MDogaHBldDAgICAgICAgICAgICAgICAgICAgICAgMTkzNjU4ICAgICAgIDE5NzYKaXJxMjU2OiBo ZGFjMCAgICAgICAgICAgICAgICAgICAgICAgICA0NyAgICAgICAgICAwCmlycTI1NzogZW0wICAg ICAgICAgICAgICAgICAgICAgICAgICAzMTEgICAgICAgICAgMwppcnEyNTg6IGFoY2kwICAgICAg ICAgICAgICAgICAgICAgICAyNzg0ICAgICAgICAgMjgKVG90YWwgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIDE5ODU1NCAgICAgICAyMDI2CiMgdm1zdGF0IC1pCmludGVycnVwdCAgICAgICAg ICAgICAgICAgICAgICAgICAgdG90YWwgICAgICAgcmF0ZQppcnExOiBhdGtiZDAgICAgICAgICAg ICAgICAgICAgICAgICAgMjI3ICAgICAgICAgIDIKaXJxOTogYWNwaTAgICAgICAgICAgICAgICAg ICAgICAgICAgIDUwNSAgICAgICAgICA1CmlycTE0OiBhdGEwICAgICAgICAgICAgICAgICAgICAg ICAgICAxNDEgICAgICAgICAgMQppcnExNzogYXRoMCB1aGNpMSAgICAgICAgICAgICAgICAgICAg ODkzICAgICAgICAgIDkKaXJxMTk6IHVoY2kzIGVoY2kwICAgICAgICAgICAgICAgICAgICAxNSAg ICAgICAgICAwCmlycTIwOiBocGV0MCAgICAgICAgICAgICAgICAgICAgICAxOTM4NjYgICAgICAg MTk1OAppcnEyNTY6IGhkYWMwICAgICAgICAgICAgICAgICAgICAgICAgIDQ3ICAgICAgICAgIDAK aXJxMjU3OiBlbTAgICAgICAgICAgICAgICAgICAgICAgICAgIDMxNyAgICAgICAgICAzCmlycTI1 ODogYWhjaTAgICAgICAgICAgICAgICAgICAgICAgIDI3ODkgICAgICAgICAyOApUb3RhbCAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgMTk4ODAwICAgICAgIDIwMDgKIyB2bXN0YXQgLWkKaW50 ZXJydXB0ICAgICAgICAgICAgICAgICAgICAgICAgICB0b3RhbCAgICAgICByYXRlCmlycTE6IGF0 a2JkMCAgICAgICAgICAgICAgICAgICAgICAgICAyMzMgICAgICAgICAgMgppcnE5OiBhY3BpMCAg ICAgICAgICAgICAgICAgICAgICAgICAgNTExICAgICAgICAgIDUKaXJxMTQ6IGF0YTAgICAgICAg ICAgICAgICAgICAgICAgICAgIDE0NCAgICAgICAgICAxCmlycTE3OiBhdGgwIHVoY2kxICAgICAg ICAgICAgICAgICAgICA5MTEgICAgICAgICAgOQppcnExOTogdWhjaTMgZWhjaTAgICAgICAgICAg ICAgICAgICAgIDE1ICAgICAgICAgIDAKaXJxMjA6IGhwZXQwICAgICAgICAgICAgICAgICAgICAg IDE5NDEyMiAgICAgICAxOTIyCmlycTI1NjogaGRhYzAgICAgICAgICAgICAgICAgICAgICAgICAg NDcgICAgICAgICAgMAppcnEyNTc6IGVtMCAgICAgICAgICAgICAgICAgICAgICAgICAgMzIwICAg ICAgICAgIDMKaXJxMjU4OiBhaGNpMCAgICAgICAgICAgICAgICAgICAgICAgMjc5MCAgICAgICAg IDI3ClRvdGFsICAgICAgICAgICAgICAgICAgICAgICAgICAgICAxOTkwOTMgICAgICAgMTk3MQoj IHZtc3RhdCAtaQppbnRlcnJ1cHQgICAgICAgICAgICAgICAgICAgICAgICAgIHRvdGFsICAgICAg IHJhdGUKaXJxMTogYXRrYmQwICAgICAgICAgICAgICAgICAgICAgICAgIDIzOSAgICAgICAgICAy CmlycTk6IGFjcGkwICAgICAgICAgICAgICAgICAgICAgICAgICA1MTEgICAgICAgICAgNQppcnEx NDogYXRhMCAgICAgICAgICAgICAgICAgICAgICAgICAgMTQ0ICAgICAgICAgIDEKaXJxMTc6IGF0 aDAgdWhjaTEgICAgICAgICAgICAgICAgICAgIDkyMiAgICAgICAgICA5CmlycTE5OiB1aGNpMyBl aGNpMCAgICAgICAgICAgICAgICAgICAgMTUgICAgICAgICAgMAppcnEyMDogaHBldDAgICAgICAg ICAgICAgICAgICAgICAgMTk0MjgyICAgICAgIDE5MDQKaXJxMjU2OiBoZGFjMCAgICAgICAgICAg ICAgICAgICAgICAgICA0NyAgICAgICAgICAwCmlycTI1NzogZW0wICAgICAgICAgICAgICAgICAg ICAgICAgICAzMjEgICAgICAgICAgMwppcnEyNTg6IGFoY2kwICAgICAgICAgICAgICAgICAgICAg ICAyNzkwICAgICAgICAgMjcKVG90YWwgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDE5OTI3 MSAgICAgICAxOTUzCiMgdm1zdGF0IC1pCmludGVycnVwdCAgICAgICAgICAgICAgICAgICAgICAg ICAgdG90YWwgICAgICAgcmF0ZQppcnExOiBhdGtiZDAgICAgICAgICAgICAgICAgICAgICAgICAg MjQ1ICAgICAgICAgIDEKaXJxOTogYWNwaTAgICAgICAgICAgICAgICAgICAgICAgICAgIDU0OCAg ICAgICAgICA0CmlycTE0OiBhdGEwICAgICAgICAgICAgICAgICAgICAgICAgICAxODAgICAgICAg ICAgMQppcnExNzogYXRoMCB1aGNpMSAgICAgICAgICAgICAgICAgICAxMTU2ICAgICAgICAgIDkK aXJxMTk6IHVoY2kzIGVoY2kwICAgICAgICAgICAgICAgICAgICAxNSAgICAgICAgICAwCmlycTIw OiBocGV0MCAgICAgICAgICAgICAgICAgICAgICAxOTcxNTMgICAgICAgMTU2NAppcnEyNTY6IGhk YWMwICAgICAgICAgICAgICAgICAgICAgICAgIDQ3ICAgICAgICAgIDAKaXJxMjU3OiBlbTAgICAg ICAgICAgICAgICAgICAgICAgICAgIDM3MiAgICAgICAgICAyCmlycTI1ODogYWhjaTAgICAgICAg ICAgICAgICAgICAgICAgIDI4ODcgICAgICAgICAyMgpUb3RhbCAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgMjAyNjAzICAgICAgIDE2MDcKIyB2bXN0YXQgLWkKaW50ZXJydXB0ICAgICAgICAg ICAgICAgICAgICAgICAgICB0b3RhbCAgICAgICByYXRlCmlycTE6IGF0a2JkMCAgICAgICAgICAg ICAgICAgICAgICAgICAyNTEgICAgICAgICAgMQppcnE5OiBhY3BpMCAgICAgICAgICAgICAgICAg ICAgICAgICAgNTQ4ICAgICAgICAgIDQKaXJxMTQ6IGF0YTAgICAgICAgICAgICAgICAgICAgICAg ICAgIDE4NiAgICAgICAgICAxCmlycTE3OiBhdGgwIHVoY2kxICAgICAgICAgICAgICAgICAgIDEx OTggICAgICAgICAgOQppcnExOTogdWhjaTMgZWhjaTAgICAgICAgICAgICAgICAgICAgIDE1ICAg ICAgICAgIDAKaXJxMjA6IGhwZXQwICAgICAgICAgICAgICAgICAgICAgIDE5NzY2MCAgICAgICAx NTA4CmlycTI1NjogaGRhYzAgICAgICAgICAgICAgICAgICAgICAgICAgNDcgICAgICAgICAgMApp cnEyNTc6IGVtMCAgICAgICAgICAgICAgICAgICAgICAgICAgMzc4ICAgICAgICAgIDIKaXJxMjU4 OiBhaGNpMCAgICAgICAgICAgICAgICAgICAgICAgMjg4NyAgICAgICAgIDIyClRvdGFsICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAyMDMxNzAgICAgICAgMTU1MAojIHZtc3RhdCAtaQppbnRl cnJ1cHQgICAgICAgICAgICAgICAgICAgICAgICAgIHRvdGFsICAgICAgIHJhdGUKaXJxMTogYXRr YmQwICAgICAgICAgICAgICAgICAgICAgICAgIDI1NyAgICAgICAgICAxCmlycTk6IGFjcGkwICAg ICAgICAgICAgICAgICAgICAgICAgICA1NTQgICAgICAgICAgNAppcnExNDogYXRhMCAgICAgICAg ICAgICAgICAgICAgICAgICAgMTg5ICAgICAgICAgIDEKaXJxMTc6IGF0aDAgdWhjaTEgICAgICAg ICAgICAgICAgICAgMTIxOSAgICAgICAgICA5CmlycTE5OiB1aGNpMyBlaGNpMCAgICAgICAgICAg ICAgICAgICAgMTUgICAgICAgICAgMAppcnEyMDogaHBldDAgICAgICAgICAgICAgICAgICAgICAg MTk3OTM2ICAgICAgIDE0ODgKaXJxMjU2OiBoZGFjMCAgICAgICAgICAgICAgICAgICAgICAgICA0 NyAgICAgICAgICAwCmlycTI1NzogZW0wICAgICAgICAgICAgICAgICAgICAgICAgICAzODAgICAg ICAgICAgMgppcnEyNTg6IGFoY2kwICAgICAgICAgICAgICAgICAgICAgICAyODk0ICAgICAgICAg MjEKVG90YWwgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDIwMzQ5MSAgICAgICAxNTMwCiMK --001a11c35d1470b52904decc72c3 Content-Type: text/plain; charset=US-ASCII; name="vmstat-i_not_working.txt" Content-Disposition: attachment; filename="vmstat-i_not_working.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hhroawl32 CiMgdm1zdGF0IC1pCmludGVycnVwdCAgICAgICAgICAgICAgICAgICAgICAgICAgdG90YWwgICAg ICAgcmF0ZQppcnExOiBhdGtiZDAgICAgICAgICAgICAgICAgICAgICAgICAgMjc0ICAgICAgICAg IDMKaXJxOTogYWNwaTAgICAgICAgICAgICAgICAgICAgICAgICAgIDQ4OSAgICAgICAgICA2Cmly cTEyOiBwc20wICAgICAgICAgICAgICAgICAgICAgICAgICAgMTIgICAgICAgICAgMAppcnExNDog YXRhMCAgICAgICAgICAgICAgICAgICAgICAgICAgMTI5ICAgICAgICAgIDEKaXJxMTc6IGF0aDAg dWhjaTEgICAgICAgICAgICAgICAgICAgMTg5OCAgICAgICAgIDI3CmlycTE5OiB1aGNpMyBlaGNp MCAgICAgICAgICAgICAgICAgICAgMTUgICAgICAgICAgMAppcnEyMDogaHBldDAgICAgICAgICAg ICAgICAgICAgICAgMTkyMDExICAgICAgIDI3NDMKaXJxMjU2OiBoZGFjMCAgICAgICAgICAgICAg ICAgICAgICAgICA0NyAgICAgICAgICAwCmlycTI1NzogZW0wICAgICAgICAgICAgICAgICAgICAg ICAgICAgNTkgICAgICAgICAgMAppcnEyNTg6IGFoY2kwICAgICAgICAgICAgICAgICAgICAgICAy NjgyICAgICAgICAgMzgKVG90YWwgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDE5NzYxNiAg ICAgICAyODIzCiMgdm1zdGF0IC1pCmludGVycnVwdCAgICAgICAgICAgICAgICAgICAgICAgICAg dG90YWwgICAgICAgcmF0ZQppcnExOiBhdGtiZDAgICAgICAgICAgICAgICAgICAgICAgICAxMDEw ICAgICAgICAgIDQKaXJxOTogYWNwaTAgICAgICAgICAgICAgICAgICAgICAgICAgIDcxMCAgICAg ICAgICAzCmlycTEyOiBwc20wICAgICAgICAgICAgICAgICAgICAgICAgIDQxNDUgICAgICAgICAx OAppcnExNDogYXRhMCAgICAgICAgICAgICAgICAgICAgICAgICAgMzU3ICAgICAgICAgIDEKaXJx MTc6IGF0aDAgdWhjaTEgICAgICAgICAgICAgICAgICAgMjc4NCAgICAgICAgIDEyCmlycTE5OiB1 aGNpMyBlaGNpMCAgICAgICAgICAgICAgICAgICAgMTUgICAgICAgICAgMAppcnEyMDogaHBldDAg ICAgICAgICAgICAgICAgICAgICAgMjExNTY0ICAgICAgICA5NTIKaXJxMjU2OiBoZGFjMCAgICAg ICAgICAgICAgICAgICAgICAgICA0NyAgICAgICAgICAwCmlycTI1NzogZW0wICAgICAgICAgICAg ICAgICAgICAgICAgICAyMTIgICAgICAgICAgMAppcnEyNTg6IGFoY2kwICAgICAgICAgICAgICAg ICAgICAgICAyOTIzICAgICAgICAgMTMKVG90YWwgICAgICAgICAgICAgICAgICAgICAgICAgICAg IDIyMzc2NyAgICAgICAxMDA3CiMgdm1zdGF0IC1pCmludGVycnVwdCAgICAgICAgICAgICAgICAg ICAgICAgICAgdG90YWwgICAgICAgcmF0ZQppcnExOiBhdGtiZDAgICAgICAgICAgICAgICAgICAg ICAgICAxMTMzICAgICAgICAgIDQKaXJxOTogYWNwaTAgICAgICAgICAgICAgICAgICAgICAgICAg IDc1MyAgICAgICAgICAyCmlycTEyOiBwc20wICAgICAgICAgICAgICAgICAgICAgICAgIDU1NTUg ICAgICAgICAyMgppcnExNDogYXRhMCAgICAgICAgICAgICAgICAgICAgICAgICAgNDAyICAgICAg ICAgIDEKaXJxMTc6IGF0aDAgdWhjaTEgICAgICAgICAgICAgICAgICAgMzA2NiAgICAgICAgIDEy CmlycTE5OiB1aGNpMyBlaGNpMCAgICAgICAgICAgICAgICAgICAgMTUgICAgICAgICAgMAppcnEy MDogaHBldDAgICAgICAgICAgICAgICAgICAgICAgMjE0NjEwICAgICAgICA4NTEKaXJxMjU2OiBo ZGFjMCAgICAgICAgICAgICAgICAgICAgICAgICA0NyAgICAgICAgICAwCmlycTI1NzogZW0wICAg ICAgICAgICAgICAgICAgICAgICAgICAyNDEgICAgICAgICAgMAppcnEyNTg6IGFoY2kwICAgICAg ICAgICAgICAgICAgICAgICAyOTUyICAgICAgICAgMTEKVG90YWwgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIDIyODc3NCAgICAgICAgOTA3CiMgdm1zdGF0IC1pCmludGVycnVwdCAgICAgICAg ICAgICAgICAgICAgICAgICAgdG90YWwgICAgICAgcmF0ZQppcnExOiBhdGtiZDAgICAgICAgICAg ICAgICAgICAgICAgICAxMTYyICAgICAgICAgIDQKaXJxOTogYWNwaTAgICAgICAgICAgICAgICAg ICAgICAgICAgIDc4NCAgICAgICAgICAyCmlycTEyOiBwc20wICAgICAgICAgICAgICAgICAgICAg ICAgIDc4OTUgICAgICAgICAyOQppcnExNDogYXRhMCAgICAgICAgICAgICAgICAgICAgICAgICAg NDI2ICAgICAgICAgIDEKaXJxMTc6IGF0aDAgdWhjaTEgICAgICAgICAgICAgICAgICAgMzE0MyAg ICAgICAgIDExCmlycTE5OiB1aGNpMyBlaGNpMCAgICAgICAgICAgICAgICAgICAgMTUgICAgICAg ICAgMAppcnEyMDogaHBldDAgICAgICAgICAgICAgICAgICAgICAgMjE2ODY5ICAgICAgICA4MDkK aXJxMjU2OiBoZGFjMCAgICAgICAgICAgICAgICAgICAgICAgICA0NyAgICAgICAgICAwCmlycTI1 NzogZW0wICAgICAgICAgICAgICAgICAgICAgICAgICAyNTcgICAgICAgICAgMAppcnEyNTg6IGFo Y2kwICAgICAgICAgICAgICAgICAgICAgICAyOTU0ICAgICAgICAgMTEKVG90YWwgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIDIzMzU1MiAgICAgICAgODcxCiMgdm1zdGF0IC1pCmludGVycnVw dCAgICAgICAgICAgICAgICAgICAgICAgICAgdG90YWwgICAgICAgcmF0ZQppcnExOiBhdGtiZDAg ICAgICAgICAgICAgICAgICAgICAgICAxMjA3ICAgICAgICAgIDQKaXJxOTogYWNwaTAgICAgICAg ICAgICAgICAgICAgICAgICAgIDc5NiAgICAgICAgICAyCmlycTEyOiBwc20wICAgICAgICAgICAg ICAgICAgICAgICAgIDk5NTkgICAgICAgICAzNQppcnExNDogYXRhMCAgICAgICAgICAgICAgICAg ICAgICAgICAgNDUwICAgICAgICAgIDEKaXJxMTc6IGF0aDAgdWhjaTEgICAgICAgICAgICAgICAg ICAgMzgzNiAgICAgICAgIDEzCmlycTE5OiB1aGNpMyBlaGNpMCAgICAgICAgICAgICAgICAgICAg MTUgICAgICAgICAgMAppcnEyMDogaHBldDAgICAgICAgICAgICAgICAgICAgICAgMjE4MzUzICAg ICAgICA3NjgKaXJxMjU2OiBoZGFjMCAgICAgICAgICAgICAgICAgICAgICAgICA0NyAgICAgICAg ICAwCmlycTI1NzogZW0wICAgICAgICAgICAgICAgICAgICAgICAgICAyNzMgICAgICAgICAgMApp cnEyNTg6IGFoY2kwICAgICAgICAgICAgICAgICAgICAgICAyOTYwICAgICAgICAgMTAKVG90YWwg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIDIzNzg5NiAgICAgICAgODM3Cg== --001a11c35d1470b52904decc72c3 Content-Type: text/plain; charset=US-ASCII; name="ifconfig.txt" Content-Disposition: attachment; filename="ifconfig.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hhrobhut2 IyBpZmNvbmZpZyBhdGgwCmF0aDA6IGZsYWdzPTg4NDM8VVAsQlJPQURDQVNULFJVTk5JTkcsU0lN UExFWCxNVUxUSUNBU1Q+IG1ldHJpYyAwIG10dSAyMjkwCiAgICAgICAgZXRoZXIgMDA6MTk6N2U6 OTE6eHg6eHgKICAgICAgICBuZDYgb3B0aW9ucz0yOTxQRVJGT1JNTlVELElGRElTQUJMRUQsQVVU T19MSU5LTE9DQUw+CiAgICAgICAgbWVkaWE6IElFRUUgODAyLjExIFdpcmVsZXNzIEV0aGVybmV0 IGF1dG9zZWxlY3QgbW9kZSAxMWEKICAgICAgICBzdGF0dXM6IGFzc29jaWF0ZWQKIyBpZmNvbmZp ZyB3bGFuMAp3bGFuMDogZmxhZ3M9ODg0MzxVUCxCUk9BRENBU1QsUlVOTklORyxTSU1QTEVYLE1V TFRJQ0FTVD4gbWV0cmljIDAgbXR1IDE1MDAKICAgICAgICBldGhlciAwMDoxOTo3ZTo5MTp4eDp4 eAogICAgICAgIG5kNiBvcHRpb25zPTI5PFBFUkZPUk1OVUQsSUZESVNBQkxFRCxBVVRPX0xJTktM T0NBTD4KICAgICAgICBtZWRpYTogSUVFRSA4MDIuMTEgV2lyZWxlc3MgRXRoZXJuZXQgYXV0b3Nl bGVjdCAoYXV0b3NlbGVjdCkKICAgICAgICBzdGF0dXM6IG5vIGNhcnJpZXIKICAgICAgICBzc2lk IGZhbGNhdGEgY2hhbm5lbCAxMSAoMjQ2MiBNSHogMTFnKQogICAgICAgIHJlZ2RvbWFpbiA5OCBp bmRvb3IgZWNtIGF1dGhtb2RlIFdQQSBwcml2YWN5IE9OIGRlZnR4a2V5IFVOREVGCiAgICAgICAg dHhwb3dlciAyMCBibWlzcyA3IHNjYW52YWxpZCA0NTAgYmdzY2FuIGJnc2NhbmludHZsIDMwMCBi Z3NjYW5pZGxlIDI1MAogICAgICAgIHJvYW06cnNzaSA3IHJvYW06cmF0ZSA1IHByb3Rtb2RlIENU UyB3bWUgYnVyc3Qgcm9hbWluZyBNQU5VQUwKcm9vdEBUNjA6L2hvbWUvbHl1YmQgIyBhdGgwOiBk ZXZpY2UgdGltZW91dAoK --001a11c35d1470b52904decc72c3-- From owner-freebsd-mobile@FreeBSD.ORG Thu Jun 13 05:03:45 2013 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E740D848; Thu, 13 Jun 2013 05:03:45 +0000 (UTC) (envelope-from l.yotov@gmail.com) Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com [IPv6:2a00:1450:4010:c03::22b]) by mx1.freebsd.org (Postfix) with ESMTP id E8863185E; Thu, 13 Jun 2013 05:03:44 +0000 (UTC) Received: by mail-la0-f43.google.com with SMTP id gw10so8638426lab.16 for ; Wed, 12 Jun 2013 22:03:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tHTnQk8TwBoeFqfWKc6Nbl1qk9vdflo/8rzwFI7/Om4=; b=ag90ni9XFTWs0I8nMtEEvo6q2ECnqOnfykpdBtbfro/VXrPWzc322gmFky/XH/KJyV ZyL0kPUIcKLrjQK+kYi+/NYqar7rukAYJfb6Li8X8+vhos5HBlXcOQshEi6A0iMDcmvX xZgw7XQ9W5ZsuwYC990DOTkC8T2PvOnAQZ9jE8bBKRT1A2HBzKDlWovnW/HHGN+Djv2+ NO2FzFjHwZAYYqEwTFiszbi0KCt6Z83noaif6XYHNjNDUxxVCU51rLqD2X+UiHbiIGQt KGR5O2blLRpNQ6yf3/n8q7LwmFs+f8kcASptCygylrxsRzsBTxeMLYJKVQJ+QE/SAvyo unBQ== MIME-Version: 1.0 X-Received: by 10.152.4.137 with SMTP id k9mr11204177lak.11.1371099823550; Wed, 12 Jun 2013 22:03:43 -0700 (PDT) Received: by 10.114.78.193 with HTTP; Wed, 12 Jun 2013 22:03:43 -0700 (PDT) In-Reply-To: References: Date: Thu, 13 Jun 2013 08:03:43 +0300 Message-ID: Subject: Re: Thinkpad T60 with Atheros working only after restart from Windows From: Lyubomir Yotov To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-wireless@freebsd.org, freebsd-mobile@freebsd.org X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 05:03:46 -0000 Hello Adrian, I did some tests and discovered that the problem is related to "halt"/"shutdown" of system. If "reboot" is carried out than there is no problem and the wifi works properly (even if done from Gnome - Gnome seems to have no relation to the problem). So what could lead to "ath0: time out" after shutting down or halting the system? I noticed that there are irq storms on irq 17 which is the wifi irq (interrupt storm detected on "irq17:"; throttling interrupt source). Something else that I am not sure to have relevance - after shutdown during the start-up ath0 is reported to use autoselect mode 11g: (below is from dmesg) ath0: flags=8843 metric 0 mtu 2290 ether 00:19:7e:91:xx:xx nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated After the boot has finished the mode changes to 11a: #ifconfig ath0 ath0: flags=8843 metric 0 mtu 2290 ether 00:19:7e:91:xx:xx nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11a status: associated Do you have any idea where to look for now? Regards, Lyubomir P.S. I will try to play with acpi_ibm.ko and see if things change if I make it auto-load. On 10 June 2013 16:06, Lyubomir Yotov wrote: > Hello Adrian, > > Attached are files with consecutive vmstat -i when the wlan is working > (vmstat-i_working.txt) and when the wlan is not working > (vmstat-i_not_working.txt). There is also output from ifconfig when the > wlan is not working (ifconfig.txt). > After some more deeper investigation it seems to me that the problem > appears after starting X with Gnome. I will continue investigating with > "reboot"/"halt -p" and inform you. > BTW do you think that starting Gnome session (using startx, as I haven't > set auto start of X if this is of any importance) can cause problems - in > Gnome I have no settings for the network in the "System->Network" > application and I start it with normal user? > > Regards, > > Lyubo > > > On 9 June 2013 18:28, Adrian Chadd wrote: > >> Can you please paste the vmstat -i output? >> >> >> >> adrian >> >> On 9 June 2013 06:53, Lyubomir Yotov wrote: >> > Hi, >> > >> > After restart from Windows and working wireless the number of interrupts >> > increases and the rate increases. After next restart (the ath0 times >> out) >> > the interrupts increase but the rate is going down. >> > I noticed that after restart from Windows and working wifi if I restart >> > /etc/rc.d/netif the wifi is working again. If I shutdown wlan0 and >> bring it >> > up again then I wlan0 doesn't get address but ath0 is not timing out. I >> can >> > still get a list with the available APs around. >> > >> > Regards, >> > >> > Lyubo >> > >> > >> > >> > >> > >> > >> > On 8 June 2013 18:28, Adrian Chadd wrote: >> >> >> >> Hm! >> >> >> >> Ok, this should be working. I frequently test (read: every other day) >> >> with the AR5416. But you're not the first person to report this bug. >> >> >> >> >> >> Unfortunately when this happens, the interrupts aren't actually making >> >> it to the OS. >> >> >> >> Can you check the output of vmstat -i whilst you're doing it? The ath0 >> >> counter should be increasing. >> >> >> >> >> >> >> >> adrian >> >> >> >> On 8 June 2013 06:49, Lyubomir Yotov wrote: >> >> > Hello, >> >> > I have a Thinkpad T60 with dual boot between Windows XP and FreeBSD >> >> > 9.1-Release: >> >> > >> >> > uname -a >> >> > FreeBSD T60.workgroup 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue >> >> > Dec >> >> > 4 06:55:39 UTC 2012 >> >> > root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC >> >> > i386 >> >> > >> >> > I am trying to use my wifi card which is: >> >> > >> >> > dmesg >> >> > .... >> >> > ath0: mem 0xedf00000-0xedf0ffff irq 17 at device 0.0 >> on >> >> > pci3 >> >> > ath0: AR5418 mac 12.10 RF5133 phy 8.1 >> >> > .... >> >> > >> >> > pciconf -lv >> >> > .... >> >> > ath0@pci0:3:0:0: class=0x028000 card=0x0033168c >> chip=0x0024168c >> >> > rev=0x01 hdr=0x00 >> >> > vendor = 'Atheros Communications Inc.' >> >> > device = 'AR5008 Wireless Network Adapter' >> >> > class = network >> >> > ..... >> >> > >> >> > I followed several HOW-TOs in order to make it work. Unfortunately I >> it >> >> > is >> >> > working only after I reboot from my Windows installation (regardless >> of >> >> > the >> >> > position of the wifi switch on the front panel of the notebook). >> After >> >> > restart from Windows everything is fine - the wifi associates with >> the >> >> > AP >> >> > and I can use it. If I reboot the system during the boot and >> afterwards >> >> > I >> >> > constantly get: >> >> > >> >> > ath0: device timeout >> >> > >> >> > When I get the device status through ifconfig I can see that ath0 is >> >> > associated but wlan0 is not associated. >> >> > >> >> > ifconfig ath0 >> >> > ath0: flags=8843 metric 0 mtu >> >> > 2290 >> >> > ether 00:19:7e:91:xx:xx >> >> > nd6 options=29 >> >> > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >> >> > status: associated >> >> > >> >> > ifconfig wlan0 >> >> > wlan0: flags=8843 metric 0 >> mtu >> >> > 1500 >> >> > ether 00:19:7e:91:xx:xx >> >> > nd6 options=29 >> >> > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >> >> > status: no carrier >> >> > ssid "" channel 5 (2432 MHz 11g) >> >> > regdomain 98 indoor ecm authmode WPA privacy ON deftxkey >> UNDEF >> >> > txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 >> >> > bgscanidle >> >> > 250 >> >> > roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL >> >> > >> >> > >> >> > In /var/log/messages I get: >> >> > >> >> > Jun 8 16:39:16 PC wpa_supplicant[3463]: Trying to associate with >> >> > 54:e6:fc:ae:xx:xx (SSID='access1' freq=2432 MHz) >> >> > Jun 8 16:39:20 PC kernel: ath0: device timeout >> >> > Jun 8 16:39:26 PC wpa_supplicant[3463]: Authentication with >> >> > 54:e6:fc:ae:xx:xx timed out. >> >> > >> >> > If I scan for wireless networks I get a list and my ap is in the list >> >> > >> >> > ifconfig wlan0 scan >> >> > SSID/MESH ID BSSID CHAN RATE S:N INT CAPS >> >> > net1 00:11:11:01:xx:xx 6 54M -68:-96 100 EP >> >> > 5edf9c 70:71:bc:26:xx:xx 11 54M -68:-96 100 EP WPS >> WPA >> >> > WME >> >> > access1 54:e6:fc:ae:xx:xx 5 54M -66:-96 100 EP WPA >> HTCAP >> >> > WME >> >> > >> >> > >> >> > In rc.local I have: >> >> > >> >> > wlans_ath0="wlan0" >> >> > ifconfig_wlan0="WPA DHCP" >> >> > >> >> > In wpa_supplicant I have: >> >> > >> >> > ctrl_interface=/var/run/wpa_supplicant >> >> > eapol_version=2 >> >> > ap_scan=1 >> >> > fast_reauth=1 >> >> > >> >> > network={ >> >> > ssid="access1" >> >> > psk="secret1" >> >> > priority=5 >> >> > } >> >> > network={ >> >> > ssid="access2" >> >> > psk="secret2" >> >> > priority=5 >> >> > } >> >> > >> >> > I searched the net for solution to my problem but I couldn't find >> one. >> >> > Can >> >> > you help me with this? >> >> > >> >> > >> >> > Regards, >> >> > >> >> > Lyubomir >> >> > _______________________________________________ >> >> > freebsd-mobile@freebsd.org mailing list >> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >> >> > To unsubscribe, send any mail to >> >> > "freebsd-mobile-unsubscribe@freebsd.org" >> > >> > >> > > From owner-freebsd-mobile@FreeBSD.ORG Thu Jun 13 07:10:00 2013 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 05EEA475; Thu, 13 Jun 2013 07:10:00 +0000 (UTC) (envelope-from l.yotov@gmail.com) Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 1B9C51C30; Thu, 13 Jun 2013 07:09:58 +0000 (UTC) Received: by mail-la0-f46.google.com with SMTP id eg20so8773618lab.33 for ; Thu, 13 Jun 2013 00:09:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7tJ1vDlMR2Q50zBTfANZr0HyyxFZVYhXWYbqxfBC0g0=; b=b70NAV/njupLCVZB0dlHqbEzfnsitTZg5UK4nLEotsSYv9GwY+WyPyFZKlXu3+AVB6 EnOUeYKIGIULeU0EvTf2+4XoHZCCozXvncM/8LIpQ0NBpMY16AwMCFKmE9yXslSYNrCV EgHEv93/JNnMtq1WxkaLDJns2u0mRTMmuJAmF27N1n9j+XJZJWpTeUd63R577gGeaeuL PbnMv7OSMG+h32ftZD7V5J3MSMdyJjW9comw/+y2IxKEUmDAbQM3mOGVzK3Pvzwbfd6r OM9TvQahFd1xpYkPZSB6TQi21/aYH2QEAEfBgtbZE14VBwjKhdLUeM6Ho+ZWkHs8kqaT 53FQ== MIME-Version: 1.0 X-Received: by 10.152.43.82 with SMTP id u18mr11001001lal.86.1371107398066; Thu, 13 Jun 2013 00:09:58 -0700 (PDT) Received: by 10.114.78.193 with HTTP; Thu, 13 Jun 2013 00:09:57 -0700 (PDT) In-Reply-To: References: Date: Thu, 13 Jun 2013 10:09:57 +0300 Message-ID: Subject: Re: Thinkpad T60 with Atheros working only after restart from Windows From: Lyubomir Yotov To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-wireless@freebsd.org, freebsd-mobile@freebsd.org X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 07:10:00 -0000 Hello Adrian, I enabled acpi_ibm.ko but this didn't help and after "halt" the wifi is not working again. Regards, Lyubomir On 13 June 2013 08:03, Lyubomir Yotov wrote: > Hello Adrian, > I did some tests and discovered that the problem is related to > "halt"/"shutdown" of system. If "reboot" is carried out than there is no > problem and the wifi works properly (even if done from Gnome - Gnome seems > to have no relation to the problem). So what could lead to "ath0: time out" > after shutting down or halting the system? I noticed that there are irq > storms on irq 17 which is the wifi irq (interrupt storm detected on > "irq17:"; throttling interrupt source). Something else that I am not sure > to have relevance - after shutdown during the start-up ath0 is reported to > use autoselect mode 11g: > (below is from dmesg) > > ath0: flags=8843 metric 0 mtu 2290 > > ether 00:19:7e:91:xx:xx > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > > After the boot has finished the mode changes to 11a: > > #ifconfig ath0 > > ath0: flags=8843 metric 0 mtu 2290 > ether 00:19:7e:91:xx:xx > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11a > status: associated > > Do you have any idea where to look for now? > > Regards, > > > Lyubomir > P.S. I will try to play with acpi_ibm.ko and see if things change if I > make it auto-load. > > > On 10 June 2013 16:06, Lyubomir Yotov wrote: > >> Hello Adrian, >> >> Attached are files with consecutive vmstat -i when the wlan is working >> (vmstat-i_working.txt) and when the wlan is not working >> (vmstat-i_not_working.txt). There is also output from ifconfig when the >> wlan is not working (ifconfig.txt). >> After some more deeper investigation it seems to me that the problem >> appears after starting X with Gnome. I will continue investigating with >> "reboot"/"halt -p" and inform you. >> BTW do you think that starting Gnome session (using startx, as I haven't >> set auto start of X if this is of any importance) can cause problems - in >> Gnome I have no settings for the network in the "System->Network" >> application and I start it with normal user? >> >> Regards, >> >> Lyubo >> >> >> On 9 June 2013 18:28, Adrian Chadd wrote: >> >>> Can you please paste the vmstat -i output? >>> >>> >>> >>> adrian >>> >>> On 9 June 2013 06:53, Lyubomir Yotov wrote: >>> > Hi, >>> > >>> > After restart from Windows and working wireless the number of >>> interrupts >>> > increases and the rate increases. After next restart (the ath0 times >>> out) >>> > the interrupts increase but the rate is going down. >>> > I noticed that after restart from Windows and working wifi if I restart >>> > /etc/rc.d/netif the wifi is working again. If I shutdown wlan0 and >>> bring it >>> > up again then I wlan0 doesn't get address but ath0 is not timing out. >>> I can >>> > still get a list with the available APs around. >>> > >>> > Regards, >>> > >>> > Lyubo >>> > >>> > >>> > >>> > >>> > >>> > >>> > On 8 June 2013 18:28, Adrian Chadd wrote: >>> >> >>> >> Hm! >>> >> >>> >> Ok, this should be working. I frequently test (read: every other day) >>> >> with the AR5416. But you're not the first person to report this bug. >>> >> >>> >> >>> >> Unfortunately when this happens, the interrupts aren't actually making >>> >> it to the OS. >>> >> >>> >> Can you check the output of vmstat -i whilst you're doing it? The ath0 >>> >> counter should be increasing. >>> >> >>> >> >>> >> >>> >> adrian >>> >> >>> >> On 8 June 2013 06:49, Lyubomir Yotov wrote: >>> >> > Hello, >>> >> > I have a Thinkpad T60 with dual boot between Windows XP and FreeBSD >>> >> > 9.1-Release: >>> >> > >>> >> > uname -a >>> >> > FreeBSD T60.workgroup 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: >>> Tue >>> >> > Dec >>> >> > 4 06:55:39 UTC 2012 >>> >> > root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC >>> >> > i386 >>> >> > >>> >> > I am trying to use my wifi card which is: >>> >> > >>> >> > dmesg >>> >> > .... >>> >> > ath0: mem 0xedf00000-0xedf0ffff irq 17 at device 0.0 >>> on >>> >> > pci3 >>> >> > ath0: AR5418 mac 12.10 RF5133 phy 8.1 >>> >> > .... >>> >> > >>> >> > pciconf -lv >>> >> > .... >>> >> > ath0@pci0:3:0:0: class=0x028000 card=0x0033168c >>> chip=0x0024168c >>> >> > rev=0x01 hdr=0x00 >>> >> > vendor = 'Atheros Communications Inc.' >>> >> > device = 'AR5008 Wireless Network Adapter' >>> >> > class = network >>> >> > ..... >>> >> > >>> >> > I followed several HOW-TOs in order to make it work. Unfortunately >>> I it >>> >> > is >>> >> > working only after I reboot from my Windows installation >>> (regardless of >>> >> > the >>> >> > position of the wifi switch on the front panel of the notebook). >>> After >>> >> > restart from Windows everything is fine - the wifi associates with >>> the >>> >> > AP >>> >> > and I can use it. If I reboot the system during the boot and >>> afterwards >>> >> > I >>> >> > constantly get: >>> >> > >>> >> > ath0: device timeout >>> >> > >>> >> > When I get the device status through ifconfig I can see that ath0 is >>> >> > associated but wlan0 is not associated. >>> >> > >>> >> > ifconfig ath0 >>> >> > ath0: flags=8843 metric 0 >>> mtu >>> >> > 2290 >>> >> > ether 00:19:7e:91:xx:xx >>> >> > nd6 options=29 >>> >> > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>> >> > status: associated >>> >> > >>> >> > ifconfig wlan0 >>> >> > wlan0: flags=8843 metric 0 >>> mtu >>> >> > 1500 >>> >> > ether 00:19:7e:91:xx:xx >>> >> > nd6 options=29 >>> >> > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>> >> > status: no carrier >>> >> > ssid "" channel 5 (2432 MHz 11g) >>> >> > regdomain 98 indoor ecm authmode WPA privacy ON deftxkey >>> UNDEF >>> >> > txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 >>> >> > bgscanidle >>> >> > 250 >>> >> > roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming >>> MANUAL >>> >> > >>> >> > >>> >> > In /var/log/messages I get: >>> >> > >>> >> > Jun 8 16:39:16 PC wpa_supplicant[3463]: Trying to associate with >>> >> > 54:e6:fc:ae:xx:xx (SSID='access1' freq=2432 MHz) >>> >> > Jun 8 16:39:20 PC kernel: ath0: device timeout >>> >> > Jun 8 16:39:26 PC wpa_supplicant[3463]: Authentication with >>> >> > 54:e6:fc:ae:xx:xx timed out. >>> >> > >>> >> > If I scan for wireless networks I get a list and my ap is in the >>> list >>> >> > >>> >> > ifconfig wlan0 scan >>> >> > SSID/MESH ID BSSID CHAN RATE S:N INT CAPS >>> >> > net1 00:11:11:01:xx:xx 6 54M -68:-96 100 EP >>> >> > 5edf9c 70:71:bc:26:xx:xx 11 54M -68:-96 100 EP WPS >>> WPA >>> >> > WME >>> >> > access1 54:e6:fc:ae:xx:xx 5 54M -66:-96 100 EP WPA >>> HTCAP >>> >> > WME >>> >> > >>> >> > >>> >> > In rc.local I have: >>> >> > >>> >> > wlans_ath0="wlan0" >>> >> > ifconfig_wlan0="WPA DHCP" >>> >> > >>> >> > In wpa_supplicant I have: >>> >> > >>> >> > ctrl_interface=/var/run/wpa_supplicant >>> >> > eapol_version=2 >>> >> > ap_scan=1 >>> >> > fast_reauth=1 >>> >> > >>> >> > network={ >>> >> > ssid="access1" >>> >> > psk="secret1" >>> >> > priority=5 >>> >> > } >>> >> > network={ >>> >> > ssid="access2" >>> >> > psk="secret2" >>> >> > priority=5 >>> >> > } >>> >> > >>> >> > I searched the net for solution to my problem but I couldn't find >>> one. >>> >> > Can >>> >> > you help me with this? >>> >> > >>> >> > >>> >> > Regards, >>> >> > >>> >> > Lyubomir >>> >> > _______________________________________________ >>> >> > freebsd-mobile@freebsd.org mailing list >>> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >>> >> > To unsubscribe, send any mail to >>> >> > "freebsd-mobile-unsubscribe@freebsd.org" >>> > >>> > >>> >> >> > From owner-freebsd-mobile@FreeBSD.ORG Fri Jun 14 14:05:16 2013 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 62821682 for ; Fri, 14 Jun 2013 14:05:16 +0000 (UTC) (envelope-from freebsd-mobile@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 28B631136 for ; Fri, 14 Jun 2013 14:05:15 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UnUch-0002Em-Bz for freebsd-mobile@freebsd.org; Fri, 14 Jun 2013 16:05:03 +0200 Received: from dynamic34-29.dynamic.dal.ca ([129.173.34.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Jun 2013 16:05:03 +0200 Received: from jrm by dynamic34-29.dynamic.dal.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Jun 2013 16:05:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-mobile@freebsd.org From: Joseph Mingrone Subject: Lenovo T530 - Battery Warnings Date: Fri, 14 Jun 2013 10:58:11 -0300 Lines: 12 Message-ID: <86sj0krdzg.fsf@gly.ath.cx> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dynamic34-29.dynamic.dal.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) Cancel-Lock: sha1:Fho19q2w2zSbsQV+RXo0wlOlq7M= X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 14:05:16 -0000 I convinced a friend to try FreeBSD (9-STABLE amd64) on her Lenovo T530 and things are running quite well. One problem is that, unlike other IBM/Lenovos, there is no beep to warn her when the battery is about to die. There is also no beep when (un)plugging the power. Beeping does work before the OS is loaded (e.g. in the BIOS setup). The BIOS version is 2.04. Is there a fix for this? Thanks, Joseph From owner-freebsd-mobile@FreeBSD.ORG Sat Jun 15 13:53:25 2013 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 865F7357 for ; Sat, 15 Jun 2013 13:53:25 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 0577E189D for ; Sat, 15 Jun 2013 13:53:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r5FDrG39075703; Sat, 15 Jun 2013 23:53:16 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 15 Jun 2013 23:53:16 +1000 (EST) From: Ian Smith To: Joseph Mingrone Subject: Re: Lenovo T530 - Battery Warnings In-Reply-To: <86sj0krdzg.fsf@gly.ath.cx> Message-ID: <20130615230808.N59753@sola.nimnet.asn.au> References: <86sj0krdzg.fsf@gly.ath.cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-mobile@freebsd.org X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 13:53:25 -0000 On Fri, 14 Jun 2013 10:58:11 -0300, Joseph Mingrone wrote: > I convinced a friend to try FreeBSD (9-STABLE amd64) on her Lenovo T530 > and things are running quite well. One problem is that, unlike other > IBM/Lenovos, there is no beep to warn her when the battery is about to > die. There is also no beep when (un)plugging the power. Beeping does > work before the OS is loaded (e.g. in the BIOS setup). The BIOS version > is 2.04. > > Is there a fix for this? For AC<->battery changes, /etc/devd.conf already has devd perform: # Switch power profiles when the AC line state changes. notify 10 { match "system" "ACPI"; match "subsystem" "ACAD"; action "/etc/rc.d/power_profile $notify"; }; You won't need to mess with power_profile but it's instructive and logs power changes to /var/log/messages. If you made that, say: action "/etc/rc.d/power_profile $notify && /root/my_script $notify"; then my_script can do whatever, with or without using parameter $notify if '# kldload speaker && spkrtest' makes useful noises on the speaker, then it's easy to make up a couple of satisfactory and noticeable alert 'tunes'. See speaker(4). I used these for years on an old Compaq with APM, which also could be configured to run alerts at every 10% battery level change, charging or discharging, enabling such as suspend on low battery where that wasn't built in, or other actions to save power. devd.conf(5) as well as /etc/devd.conf shows: ACPI Events related to the ACPI subsystem. Subsystem ACAD AC line state ($notify=0x00 is offline, 0x01 is online). Button Button state ($notify=0x00 is power, 0x01 is sleep). CMBAT Battery events. Lid Lid state ($notify=0x00 is closed, 0x01 is open). Thermal Thermal zone events. with an example also for thermal overheating pending shutdown, but I'm yet to find examples of any CMBAT battery events, regarding your first concern. That is, I've wondered about this myself .. Can anyone say, or point to, which ACPI CMBAT events get to devd? cheers, Ian From owner-freebsd-mobile@FreeBSD.ORG Sat Jun 15 14:11:02 2013 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D94B99C2 for ; Sat, 15 Jun 2013 14:11:02 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: from mail-qa0-x229.google.com (mail-qa0-x229.google.com [IPv6:2607:f8b0:400d:c00::229]) by mx1.freebsd.org (Postfix) with ESMTP id 996AB1944 for ; Sat, 15 Jun 2013 14:11:00 +0000 (UTC) Received: by mail-qa0-f41.google.com with SMTP id f14so700132qak.0 for ; Sat, 15 Jun 2013 07:10:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=CXHNyclb93G1Popvig9EjNcKOaT3+QC2IXg2B3Smqe8=; b=GPoqsL74CNq/DVtL2KnohvpxXRt5V6B2bGRBflhq5001y8jsSBKVzC/0LxcVqPcvwo Xsra89uLTn8zr+wFQeKs5fXdpSKD+Ovz9qk/3VnTD/N0s6OtSzHKlWEFlGX+P/4nNbYm N01dufOQPGuv6oHuO9dC5ydS1j7t7vSEp3VA8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:x-gm-message-state; bh=CXHNyclb93G1Popvig9EjNcKOaT3+QC2IXg2B3Smqe8=; b=Gv8qLNjTa514L5f465M+c5hFvX/fhLGD37qpufKTYCgO6Jt/7q8kpu/FloUUeVpfin a2giZuj+USXVcYr2NgjY7nGDNZvfd2b6vE7pkxb3jWkPKd/rGUsPOo8guwhMYc9FZw9y WNwHQsWIuxJNj1Fq0UG708BUYkOWSbwI2IBy6mLgjNzbi+EXh5PJrHr9rdfYPg46ueGb WDtrHL9mH9aWodRPxtiUHQTeqCEN+9rFHULwiNUhCbUfRet3msyNYlY4D/6vtQes4UsX TnVcqMHZl+lCqxOSzmi85b8meGkmyjlW0Hi7D0ZSUwzKtW33y1I5La84gMUXrQ+zjYMX SAfw== X-Received: by 10.224.38.74 with SMTP id a10mr7470326qae.42.1371305459820; Sat, 15 Jun 2013 07:10:59 -0700 (PDT) Received: from gly.ath.cx.ftfl.ca (Dynamic34-29.Dynamic.Dal.Ca. [129.173.34.203]) by mx.google.com with ESMTPSA id 11sm9356549qek.1.2013.06.15.07.10.58 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 15 Jun 2013 07:10:58 -0700 (PDT) From: Joseph Mingrone To: Ian Smith Subject: Re: Lenovo T530 - Battery Warnings References: <86sj0krdzg.fsf@gly.ath.cx> <20130615230808.N59753@sola.nimnet.asn.au> Date: Sat, 15 Jun 2013 11:10:52 -0300 In-Reply-To: <20130615230808.N59753@sola.nimnet.asn.au> (Ian Smith's message of "Sat, 15 Jun 2013 23:53:16 +1000 (EST)") Message-ID: <86sj0jo45v.fsf@gly.ath.cx> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Gm-Message-State: ALoCoQm/uNaFAgf5SoznQ3QPv1we1BaL2/U0V0tXqPnI2EVgl+JLf12Rd42JBmt2GxdfSw5ySzzQ Cc: freebsd-mobile@freebsd.org X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 14:11:02 -0000 Ian Smith writes: > if '# kldload speaker && spkrtest' makes useful noises on the > speaker... Maybe this is the source of the problem. After loading speaker.ko and running spkrtest I didn't hear anything. I verified in mixer that the speaker was at 100:100. When unplugging / plugging in AC I only see the following in /var/log/messages: Jun 15 10:58:15 bravo power_profile: changed to 'economy' Jun 15 10:58:19 bravo power_profile: changed to 'performance'. Thanks for your reply, Joseph From owner-freebsd-mobile@FreeBSD.ORG Sat Jun 15 14:37:47 2013 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 500A0E72 for ; Sat, 15 Jun 2013 14:37:47 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id C904C1A00 for ; Sat, 15 Jun 2013 14:37:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r5FEbjBg077298; Sun, 16 Jun 2013 00:37:45 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 16 Jun 2013 00:37:45 +1000 (EST) From: Ian Smith To: Joseph Mingrone Subject: Re: Lenovo T530 - Battery Warnings In-Reply-To: <86sj0jo45v.fsf@gly.ath.cx> Message-ID: <20130616001459.G59753@sola.nimnet.asn.au> References: <86sj0krdzg.fsf@gly.ath.cx> <20130615230808.N59753@sola.nimnet.asn.au> <86sj0jo45v.fsf@gly.ath.cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-mobile@freebsd.org X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 14:37:47 -0000 On Sat, 15 Jun 2013 11:10:52 -0300, Joseph Mingrone wrote: > Ian Smith writes: > > if '# kldload speaker && spkrtest' makes useful noises on the > > speaker... > > Maybe this is the source of the problem. After loading speaker.ko and > running spkrtest I didn't hear anything. I verified in mixer that the > speaker was at 100:100. Ok, so the speaker is muted. The 'normal' IBM/Lenovo sound up/down/mute buttons don't do anything? If so that's possibly an ACPI / BIOS issue I know nothing about. It is running acpi_ibm.ko I suppose? If so, what does 'sysctl dev.acpi_ibm' have to say? > When unplugging / plugging in AC I only see the following in > /var/log/messages: > > Jun 15 10:58:15 bravo power_profile: changed to 'economy' > Jun 15 10:58:19 bravo power_profile: changed to 'performance'. That's all you'll see, indicating relevant performance|economy settings for cx_lowest and cpu_freq from /etc/defaults/rc.conf being applied. I have a T500 on loan with broken keyboard. If I get that fixed or find a USB keyboard this week I'll check if it behaves the same as your T530. Good luck, Ian From owner-freebsd-mobile@FreeBSD.ORG Sat Jun 15 16:26:21 2013 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F3A6AEB6 for ; Sat, 15 Jun 2013 16:26:20 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 6F8F51DC7 for ; Sat, 15 Jun 2013 16:26:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r5FGQHFc080934; Sun, 16 Jun 2013 02:26:18 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 16 Jun 2013 02:26:17 +1000 (EST) From: Ian Smith To: Joseph Mingrone Subject: Re: Lenovo T530 - Battery Warnings (fwd) Message-ID: <20130616021813.C59753@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-mobile@freebsd.org X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 16:26:21 -0000 Sorry, thought I was replying to the list too. Maybe this could be relevant to others who'll likely have the same issues, hope that's ok. ---------- Forwarded message ---------- Date: Sun, 16 Jun 2013 01:55:14 +1000 (EST) From: Ian Smith To: Joseph Mingrone Subject: Re: Lenovo T530 - Battery Warnings On Sat, 15 Jun 2013 12:03:14 -0300, Joseph Mingrone wrote: > Ian Smith writes: > > > On Sat, 15 Jun 2013 11:10:52 -0300, Joseph Mingrone wrote: > > > Ian Smith writes: > > > > if '# kldload speaker && spkrtest' makes useful noises on the > > > > speaker... > > > > > > Maybe this is the source of the problem. After loading speaker.ko and > > > running spkrtest I didn't hear anything. I verified in mixer that the > > > speaker was at 100:100. > > > > Ok, so the speaker is muted. The 'normal' IBM/Lenovo sound up/down/mute > > buttons don't do anything? > > The mute button does work. The volume up/down buttons work in X only after I put > the following in ~/.xbinkeyssrc: > > "/usr/sbin/mixer vol -5 pcm -5" > XF86AudioLowerVolume > "/usr/sbin/mixer vol +5 pcm +5" > XF86AudioRaiseVolume > > The microphone mute button isn't recognized by xev. > > > If so that's possibly an ACPI / BIOS issue I > > know nothing about. It is running acpi_ibm.ko I suppose? If so, what > > does 'sysctl dev.acpi_ibm' have to say? > > The acpi_ibm kernel module is loaded, it shows up in kldstat, but no message is > given in /var/run/dmesg.boot and nothing relevant appears in sysctl. Right; there's been quite a lot about this issue in freebsd-acpi for the last year and more, and various Lenovo *530 have come up (Y530 & E530). The bottom line seems to be that you need to patch acpi_ibm, or run stable/9 to pick up the patched version. I suggest browsing the acpi@ archives esp. for thread: "what is required to support a new laptop?" which highlights some differences between [45]20 and 530 series; I'm not sure anything I can find on a T500 is likely to help, but I'll see. A lot of the above is folks trying to get brightness controls working, but maybe if you get acpi_ibm loaded and functional it may help this? cheers (and out for now, Ian