From owner-freebsd-mobile@FreeBSD.ORG Sun Sep 6 01:55:14 2009 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C70031065670 for ; Sun, 6 Sep 2009 01:55:14 +0000 (UTC) (envelope-from scrubby@scrubtheweb.com) Received: from scrubby.scrubtheweb.com (scrubby.scrubtheweb.com [66.93.156.36]) by mx1.freebsd.org (Postfix) with ESMTP id 9CECD8FC08 for ; Sun, 6 Sep 2009 01:55:14 +0000 (UTC) Received: from scrubby.scrubtheweb.com (scrubby.scrubtheweb.com [66.93.156.36]) by scrubby.scrubtheweb.com (8.13.8/8.13.8) with ESMTP id n861t4qJ030431 for ; Sat, 5 Sep 2009 18:55:04 -0700 Received: (from scrubweb@localhost) by scrubby.scrubtheweb.com (8.13.8/8.13.8/Submit) id n861t374030430; Sat, 5 Sep 2009 18:55:03 -0700 Message-Id: <200909060155.n861t374030430@scrubby.scrubtheweb.com> From: "Scrub The Web" To: mobile@freebsd.org Date: Sat, 5 Sep 2009 18:55:03 -0700 MIME-Version: 1.0 X-ID: d9b43e446ed04115572c05497fec41e3 X-Mailer: Scrubby Mail (http://www.scrubtheweb.com/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Confirmation Required X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 01:55:15 -0000 CONFIRMATION IS REQUIRED BY SEP 12, 2009 - SEE BELOW! Thanks again for submitting your URL to ScrubTheWeb(tm). Please read this entire email message to complete your no cost submission. The following URL was submitted to ScrubTheWeb.com(tm): http://www.polysemantic.info/media/feb_0051.html The IP address of the "user" who submitted the above URL was: 83.233.165.74. If you wish to CONFIRM, EDIT or DELETE this submission point your browser to: http://www.scrubtheweb.com/confirm/id/d9b43e446ed04115572c05497fec41e3/ IMPORTANT: We do NOT maintain a mailing list of any kind and we do NOT sell, rent or use your email address for any other purpose than this confirmation email. Note: Please do not reply to this email, as your reply will not be received. If you need to contact us for any reason please point your browser to: http://www.scrubtheweb.com/feedback/ Thanks again, Scrub The Web http://www.scrubtheweb.com/ Meta Tag Analyzer http://www.scrubtheweb.com/abs/meta-check.html Meta Tag Builder http://www.scrubtheweb.com/abs/builder.html ------------------- End of Document ------------------- From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 8 08:37:06 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E21A8106566B for ; Tue, 8 Sep 2009 08:37:06 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id A610E8FC0A for ; Tue, 8 Sep 2009 08:37:06 +0000 (UTC) Received: by mail.0x20.net (Postfix, from userid 1002) id C1379398B3; Tue, 8 Sep 2009 10:21:23 +0200 (CEST) Date: Tue, 8 Sep 2009 10:21:23 +0200 From: Lars Engels To: Matthias Apitz Message-ID: <20090908082123.GR38884@e.0x20.net> References: <20090820081055.GA2962@current.Sisis.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="reI/iBAAp9kzkmX4" Content-Disposition: inline In-Reply-To: <20090820081055.GA2962@current.Sisis.de> X-Editor: VIM - Vi IMproved 7.2 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-mobile@freebsd.org Subject: Re: Dell M4400 && power-off the display on Lid close (8-CURRENT / Xorg) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 08:37:07 -0000 --reI/iBAAp9kzkmX4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 20, 2009 at 10:10:55AM +0200, Matthias Apitz wrote: >=20 > Hello, >=20 > I'm running 8-CURRENT and Xorg on the above mentioned laptop. >=20 > I'd like to have powered off the display on Lid close, and powered on > again on open; I watched the devd(8) events in both cases: >=20 > close: > setting system=3DACPI > setting subsystem=3DLid > setting type=3D\_SB_.LID_ > setting notify=3D0x00 > Processing notify event > ... >=20 > open: > setting system=3DACPI > setting subsystem=3DLid > setting type=3D\_SB_.LID_ > setting notify=3D0x01 > Processing notify event > ... >=20 > but they are not estimated in /etc/devd.conf. Any hint for a good > devd.conf entry to make that working? Thx in advance >=20 > Btw: I don't want suspend/resume. Try this: notify 10 { match "system" "ACPI"; match "subsystem" "Lid"; action"$PATH_TO_YOUR_SCRIPT $notify"; }; And in your script you turn off the backlight with xbacklight -set 0 when notify is 0x00 and xbacklight -set 100 for 0x01. HTH Lars --reI/iBAAp9kzkmX4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkqmFAMACgkQKc512sD3afintACfa9QKipA41WQCny1CRpa+5FsZ Ui4AoKYRugaqJOujYkGbzfVbHPzSPLuA =UMRV -----END PGP SIGNATURE----- --reI/iBAAp9kzkmX4-- From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 8 14:40:53 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69C7B106568F for ; Tue, 8 Sep 2009 14:40:53 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id 26E3B8FC0A for ; Tue, 8 Sep 2009 14:40:53 +0000 (UTC) Received: from current.Sisis.de (cazador.sisis.de [193.31.11.193]) by dd12710.kasserver.com (Postfix) with ESMTP id 8E740184A8C37; Tue, 8 Sep 2009 16:40:54 +0200 (CEST) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id n88EeoiZ006031; Tue, 8 Sep 2009 16:40:50 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Tue, 8 Sep 2009 16:40:50 +0200 From: Matthias Apitz To: Lars Engels Message-ID: <20090908144050.GA6014@current.Sisis.de> References: <20090820081055.GA2962@current.Sisis.de> <20090908082123.GR38884@e.0x20.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090908082123.GR38884@e.0x20.net> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Cc: freebsd-mobile@freebsd.org Subject: Re: Dell M4400 && power-off the display on Lid close (8-CURRENT / Xorg) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 14:40:53 -0000 El día Tuesday, September 08, 2009 a las 10:21:23AM +0200, Lars Engels escribió: > > but they are not estimated in /etc/devd.conf. Any hint for a good > > devd.conf entry to make that working? Thx in advance > > > > Btw: I don't want suspend/resume. > > Try this: > > notify 10 { > match "system" "ACPI"; > match "subsystem" "Lid"; > action"$PATH_TO_YOUR_SCRIPT $notify"; > }; > > And in your script you turn off the backlight with > xbacklight -set 0 > when notify is 0x00 and > xbacklight -set 100 > for 0x01. Thanks for your hint; I'm using since some time now: cat /usr/local/etc/devd/lid.conf # # When the the Lid is open / closed .... # # , August 2009 # notify 10 { match "system" "ACPI"; match "subsystem" "Lid"; match "notify" "0x00"; action "/usr/local/bin/xset -display :0.0 s 1"; }; notify 10 { match "system" "ACPI"; match "subsystem" "Lid"; match "notify" "0x01"; action "/usr/local/bin/xset -display :0.0 s 120"; }; Thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From owner-freebsd-mobile@FreeBSD.ORG Tue Sep 8 23:46:44 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A80C1065679 for ; Tue, 8 Sep 2009 23:46:44 +0000 (UTC) (envelope-from marka@isc.org) Received: from farside.isc.org (farside.isc.org [IPv6:2001:4f8:3:bb::5]) by mx1.freebsd.org (Postfix) with ESMTP id 5347E8FC3A for ; Tue, 8 Sep 2009 23:46:44 +0000 (UTC) Received: from drugs.dv.isc.org (drugs.dv.isc.org [IPv6:2001:470:1f00:820:214:22ff:fed9:fbdc]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "drugs.dv.isc.org", Issuer "ISC CA" (not verified)) by farside.isc.org (Postfix) with ESMTP id 5973DE6023; Tue, 8 Sep 2009 23:46:42 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.14.3/8.14.3) with ESMTP id n88NkaLv040439; Wed, 9 Sep 2009 09:46:37 +1000 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200909082346.n88NkaLv040439@drugs.dv.isc.org> To: Matthias Apitz From: Mark Andrews References: <20090820081055.GA2962@current.Sisis.de> <20090908082123.GR38884@e.0x20.net> <20090908144050.GA6014@current.Sisis.de> In-reply-to: Your message of "Tue, 08 Sep 2009 16:40:50 +0200." <20090908144050.GA6014@current.Sisis.de> Date: Wed, 09 Sep 2009 09:46:36 +1000 Sender: marka@isc.org Cc: Lars Engels , freebsd-mobile@freebsd.org Subject: Re: Dell M4400 && power-off the display on Lid close (8-CURRENT / Xorg) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 23:46:44 -0000 In message <20090908144050.GA6014@current.Sisis.de>, Matthias Apitz writes: > El día Tuesday, September 08, 2009 a las 10:21:23AM +0200, Lars Engels escribió > : > > > > but they are not estimated in /etc/devd.conf. Any hint for a good > > > devd.conf entry to make that working? Thx in advance > > > > > > Btw: I don't want suspend/resume. > > > > Try this: > > > > notify 10 { > > match "system" "ACPI"; > > match "subsystem" "Lid"; > > action"$PATH_TO_YOUR_SCRIPT $notify"; > > }; > > > > And in your script you turn off the backlight with > > xbacklight -set 0 > > when notify is 0x00 and > > xbacklight -set 100 > > for 0x01. > > Thanks for your hint; I'm using since some time now: > > cat /usr/local/etc/devd/lid.conf > # > # When the the Lid is open / closed .... > # > # , August 2009 > # > notify 10 { > match "system" "ACPI"; > match "subsystem" "Lid"; > match "notify" "0x00"; > action "/usr/local/bin/xset -display :0.0 s 1"; > }; > notify 10 { > match "system" "ACPI"; > match "subsystem" "Lid"; > match "notify" "0x01"; > action "/usr/local/bin/xset -display :0.0 s > 120"; > }; > > Thx I call this on lid events which works even when X isn't running. :-) Mark notify 10 { match "system" "ACPI"; match "subsystem" "Lid"; action "/etc/rc.lid $notify"; }; /etc/rc.lid: #!/bin/sh # deal with lid switch events if [ "x$1" = x0x00 ]; then /usr/bin/logger -t Lid Closed at `/bin/date` /sbin/sysctl hw.acpi.video.lcd0.active=0 else /usr/bin/logger -t Lid Opened at `/bin/date` /sbin/sysctl hw.acpi.video.lcd0.active=1 fi -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: marka@isc.org From owner-freebsd-mobile@FreeBSD.ORG Thu Sep 10 10:28:12 2009 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADBFB106566B for ; Thu, 10 Sep 2009 10:28:12 +0000 (UTC) (envelope-from us1758a@alima.cit-network.net) Received: from alima.cit-network.net (alima.cit-network.net [81.177.9.21]) by mx1.freebsd.org (Postfix) with ESMTP id 175EA8FC17 for ; Thu, 10 Sep 2009 10:28:11 +0000 (UTC) Received: from alima.cit-network.net (alima.cit-network.net [127.0.0.1]) by alima.cit-network.net (8.13.6/8.13.6) with ESMTP id n8AAS9ZJ080274 for ; Thu, 10 Sep 2009 14:28:09 +0400 (MSD) (envelope-from us1758a@alima.cit-network.net) Received: (from us1758a@localhost) by alima.cit-network.net (8.13.6/8.13.6/Submit) id n8AAS803080273; Thu, 10 Sep 2009 14:28:08 +0400 (MSD) (envelope-from us1758a) To: mobile@freebsd.org X-AntiAbuse: Only following headers show real information about origin and cannot be rewritten by user X-PHP-Script: http://gold-music.ruecard.php X-Forwarded-For: 83.233.165.74 X-Originating-IP: 83.233.165.74 X-Hoster-URL: http://www.eserver.ru/question/ Date: Thu, 10 Sep 2009 14:28:08 +0400 From: ValentineLawler Message-ID: <0f228b0d39721978a1c8e97be8012f6b@gold-music.ru> X-Priority: 3 X-Mailer: PHPMailer [version 1.72] MIME-Version: 1.0 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: An e-card from ValentineLawler for you X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 10:28:12 -0000 An e-card from ValentineLawler for you ========================================= To view the ecard, copy and paste this url into your browser's address bar:: http://www.gold-music.ru/gallery/displayecard.php?data=YTo5OntzOjI6InJuIjtzOjE1OiJWYWxlbnRpbmVMYXdsZXIiO3M6Mjoic24iO3M6MTU6IlZhbGVudGluZUxhd2xlciI7czoyOiJzZSI7czoxODoibW9iaWxlQGZyZWVic2Qub3JnIjtzOjE6InAiO3M6NzU6Imh0dHA6Ly93d3cuZ29sZC1tdXNpYy5ydS9nYWxsZXJ5L2FsYnVtcy9KZXJ1c2FsZW0vbm9ybWFsX0plcnVzYWxlbV8wMTcuanBlZyI7czoxOiJnIjtzOjE3OiJoS3BsZFNmaXZnWHNuT2lzYyI7czoxOiJtIjtzOjkyNjoiY29tbWVudDYsIFt1cmw9aHR0cDovL3dlYm1vZGVybmEuY29tL3BvcnRhbC9sYW5ndWFnZS9ob21lc19wX2EuaHRtbF1zaWx2ZXIgYmVhdmVyIGJzYVsvdXJsXSwgIDotUCwgW3VybD1odHRwOi8vd3d3LmRpY2tydXNzZWxsLm9yZy9hcnRpY2xlcy9waGlsbGlwczBfLmh0bWxdbXNuIGdyb3VwcyBudWRlIGNlbGVyaXRpZXNbL3VybF0sICA0ODQ1LCBbdXJsPWh0dHA6Ly93d3cuam95bWFya2Vycy5jb20vRm9vdHByaW50X1RoZW1lLmh0bWxdamVyayBzZWFzb25pbmcgcmVjaXBlWy91cmxdLCAgemxyLCBbdXJsPWh0dHA6Ly9tb25hcmNobG9mdHMuY29tL29sZHNpdGUodGFrZW5kb3duMTAtMjgtMDgpL2xvX2Z0c18uaHRtbF1taXN0cmVzcyBlcXVlc3RyaWFuWy91cmxdLCAgdHR5c3VkLCBbdXJsPWh0dHA6Ly9kYXRhbWFnaWNzb2Z0d2FyZS5jb20vc2l0ZS9nb3RvLmFzcF1teXNwYWNlIGJhY2tncm91bmRzIG! 9mIGhvbmRhIGF0dlsvdXJsXSwgIDk2NjMzLCBbdXJsPWh0dHA6Ly9lc291cmNlZnVsLm5ldC9jbGFzc2lmaWVkcy0yLjQuMC1FdmFsdWF0aW9uL25vdGlmaWNhdGlvbnMvbGFuZ3VhZ2UvZW1haWxfYWRfZXhwaXJlXy5odG1sXW1pbGV5IGN5cnVzIHRvcGxlc3MgcGljdHVyc1svdXJsXSwgIGFmc3VvLCBbdXJsPWh0dHA6Ly93d3cucXNpd29ybGQuY29tL1FTSV9Db250X2NfdFVzLmh0bWxdaHR0cDovL3d3dy5xc2l3b3JsZC5jb20vUVNJX0NvbnRfY190VXMuaHRtbFsvdXJsXSwgIHVkamF4LCBbdXJsPWh0dHA6Ly9jYWx2YXJ5Y3JjLnVzL2VtYWlsL2dvb2dsZWhvc3RlZF9zZXJ2aWNlMS5odG1sXXJlZ2lzdHJ5IG9mIGRlZWRzIHJvY2tpbmdoYW0gbmhbL3VybF0sICAmZ3Q7OlssIFt1cmw9aHR0cDovL3d3dy5zdW5zcGlyaXRzdHVkaW8uY29tL3RoYW5rcy5waHBdcG9ub2dyYXBoaWMgc2V4IGxpdmVbL3VybF0sICAlW1tbLCAiO3M6MzoicGlkIjtpOjIwODtzOjI6InB0IjtzOjA6IiI7czoyOiJwYyI7czowOiIiO30%3D hKpldSfivgXsnOisc comment6, [url=http://webmoderna.com/portal/language/homes_p_a.html]silver beaver bsa[/url], :-P, [url=http://www.dickrussell.org/articles/phillips0_.html]msn groups nude celerities[/url], 4845, [url=http://www.joymarkers.com/Footprint_Theme.html]jerk seasoning recipe[/url], zlr, [url=http://monarchlofts.com/oldsite(takendown10-28-08)/lo_fts_.html]mistress equestrian[/url], ttysud, [url=http://datamagicsoftware.com/site/goto.asp]myspace backgrounds of honda atv[/url], 96633, [url=http://esourceful.net/classifieds-2.4.0-Evaluation/notifications/language/email_ad_expire_.html]miley cyrus topless picturs[/url], afsuo, [url=http://www.qsiworld.com/QSI_Cont_c_tUs.html]http://www.qsiworld.com/QSI_Cont_c_tUs.html[/url], udjax, [url=http://calvarycrc.us/email/googlehosted_service1.html]registry of deeds rockingham nh[/url], >:[, [url=http://www.sunspiritstudio.com/thanks.php]ponographic sex live[/url], %[[[, ValentineLawler (mobile@freebsd.org) ----------------------------------------- View more pictures !: http://www.gold-music.ru/gallery/ From owner-freebsd-mobile@FreeBSD.ORG Thu Sep 10 12:15:02 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34900106566B for ; Thu, 10 Sep 2009 12:15:02 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id B8CC48FC12 for ; Thu, 10 Sep 2009 12:15:01 +0000 (UTC) Received: from current.Sisis.de (cazador.sisis.de [193.31.11.193]) by dd12710.kasserver.com (Postfix) with ESMTP id 56738185A5F1A; Thu, 10 Sep 2009 14:15:02 +0200 (CEST) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id n8ACExKW005064; Thu, 10 Sep 2009 14:14:59 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Thu, 10 Sep 2009 14:14:59 +0200 From: Matthias Apitz To: Mark Andrews Message-ID: <20090910121459.GA5007@current.Sisis.de> References: <20090820081055.GA2962@current.Sisis.de> <20090908082123.GR38884@e.0x20.net> <20090908144050.GA6014@current.Sisis.de> <200909082346.n88NkaLv040439@drugs.dv.isc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200909082346.n88NkaLv040439@drugs.dv.isc.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Cc: Lars Engels , freebsd-mobile@freebsd.org Subject: Re: Dell M4400 && power-off the display on Lid close (8-CURRENT / Xorg) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 12:15:02 -0000 El día Wednesday, September 09, 2009 a las 09:46:36AM +1000, Mark Andrews escribió: > I call this on lid events which works even when X isn't running. :-) Would be nice, but ... > notify 10 { > match "system" "ACPI"; > match "subsystem" "Lid"; > action "/etc/rc.lid $notify"; > }; > > /etc/rc.lid: > #!/bin/sh > # deal with lid switch events > > if [ "x$1" = x0x00 ]; then > /usr/bin/logger -t Lid Closed at `/bin/date` > /sbin/sysctl hw.acpi.video.lcd0.active=0 > else > /usr/bin/logger -t Lid Opened at `/bin/date` > /sbin/sysctl hw.acpi.video.lcd0.active=1 > fi ... I don't have 'hw.acpi.video.lcd0.active', only: # sysctl -a | fgrep hw.acpi hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: NONE hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 1 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.acline: 1 hw.acpi.battery.life: 80 hw.acpi.battery.time: -1 hw.acpi.battery.state: 2 hw.acpi.battery.units: 2 hw.acpi.battery.info_expire: 5 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 42,5C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 0 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: -1 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 107,0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: -1 hw.acpi.thermal.tz0._TC2: -1 hw.acpi.thermal.tz0._TSP: -1 hw.acpi.cpu.cx_lowest: C1 # sysctl -a | fgrep lcd0 matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From owner-freebsd-mobile@FreeBSD.ORG Thu Sep 10 17:28:30 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CB031065679 for ; Thu, 10 Sep 2009 17:28:30 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail3.es.net [IPv6:2001:400:4c01::2]) by mx1.freebsd.org (Postfix) with ESMTP id E25038FC23 for ; Thu, 10 Sep 2009 17:28:29 +0000 (UTC) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id n8AHSM12019206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 10 Sep 2009 10:28:23 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 9AF441CC37; Thu, 10 Sep 2009 10:28:22 -0700 (PDT) To: Matthias Apitz In-reply-to: Your message of "Thu, 10 Sep 2009 14:14:59 +0200." <20090910121459.GA5007@current.Sisis.de> Date: Thu, 10 Sep 2009 10:28:22 -0700 From: "Kevin Oberman" Message-Id: <20090910172822.9AF441CC37@ptavv.es.net> X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2009-09-10_17:2009-09-01, 2009-09-10, 2009-09-10 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-0909100100 Cc: Lars Engels , freebsd-mobile@freebsd.org Subject: Re: Dell M4400 && power-off the display on Lid close (8-CURRENT / Xorg) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 17:28:30 -0000 > Date: Thu, 10 Sep 2009 14:14:59 +0200 > From: Matthias Apitz > Sender: owner-freebsd-mobile@freebsd.org > > El día Wednesday, September 09, 2009 a las 09:46:36AM +1000, Mark Andrews escribió: > > > I call this on lid events which works even when X isn't running. :-) > > Would be nice, but ... > > > notify 10 { > > match "system" "ACPI"; > > match "subsystem" "Lid"; > > action "/etc/rc.lid $notify"; > > }; > > > > /etc/rc.lid: > > #!/bin/sh > > # deal with lid switch events > > > > if [ "x$1" = x0x00 ]; then > > /usr/bin/logger -t Lid Closed at `/bin/date` > > /sbin/sysctl hw.acpi.video.lcd0.active=0 > > else > > /usr/bin/logger -t Lid Opened at `/bin/date` > > /sbin/sysctl hw.acpi.video.lcd0.active=1 > > fi > > ... I don't have 'hw.acpi.video.lcd0.active', only: > > # sysctl -a | fgrep hw.acpi > hw.acpi.supported_sleep_state: S3 S4 S5 > hw.acpi.power_button_state: S5 > hw.acpi.sleep_button_state: S3 > hw.acpi.lid_switch_state: NONE > hw.acpi.standby_state: NONE > hw.acpi.suspend_state: S3 > hw.acpi.sleep_delay: 1 > hw.acpi.s4bios: 1 > hw.acpi.verbose: 0 > hw.acpi.disable_on_reboot: 0 > hw.acpi.handle_reboot: 0 > hw.acpi.reset_video: 0 > hw.acpi.acline: 1 > hw.acpi.battery.life: 80 > hw.acpi.battery.time: -1 > hw.acpi.battery.state: 2 > hw.acpi.battery.units: 2 > hw.acpi.battery.info_expire: 5 > hw.acpi.thermal.min_runtime: 0 > hw.acpi.thermal.polling_rate: 10 > hw.acpi.thermal.user_override: 0 > hw.acpi.thermal.tz0.temperature: 42,5C > hw.acpi.thermal.tz0.active: -1 > hw.acpi.thermal.tz0.passive_cooling: 0 > hw.acpi.thermal.tz0.thermal_flags: 0 > hw.acpi.thermal.tz0._PSV: -1 > hw.acpi.thermal.tz0._HOT: -1 > hw.acpi.thermal.tz0._CRT: 107,0C > hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 > hw.acpi.thermal.tz0._TC1: -1 > hw.acpi.thermal.tz0._TC2: -1 > hw.acpi.thermal.tz0._TSP: -1 > hw.acpi.cpu.cx_lowest: C1 > # sysctl -a | fgrep lcd0 Are you loading acpi_video? Even if you do, if you have a Radeon, I am not sure it will turn off the back-light, but, if this is an issue, you can install the radeontool and add the appropriate commands to devd.conf in addition to the sysctl. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 From owner-freebsd-mobile@FreeBSD.ORG Fri Sep 11 07:06:40 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C2291065670 for ; Fri, 11 Sep 2009 07:06:40 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id 389FC8FC0A for ; Fri, 11 Sep 2009 07:06:39 +0000 (UTC) Received: from current.Sisis.de (cazador.sisis.de [193.31.11.193]) by dd12710.kasserver.com (Postfix) with ESMTP id DA3B41845EE9E; Fri, 11 Sep 2009 09:06:39 +0200 (CEST) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id n8B76g1Z002288; Fri, 11 Sep 2009 09:06:42 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Fri, 11 Sep 2009 09:06:42 +0200 From: Matthias Apitz To: Kevin Oberman Message-ID: <20090911070642.GA2253@current.Sisis.de> References: <20090910121459.GA5007@current.Sisis.de> <20090910172822.9AF441CC37@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090910172822.9AF441CC37@ptavv.es.net> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Cc: Lars Engels , freebsd-mobile@freebsd.org Subject: Re: Dell M4400 && power-off the display on Lid close (8-CURRENT / Xorg) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 07:06:40 -0000 El día Thursday, September 10, 2009 a las 10:28:22AM -0700, Kevin Oberman escribió: > Are you loading acpi_video? > > Even if you do, if you have a Radeon, I am not sure it will turn off the > back-light, but, if this is an issue, you can install the radeontool and > add the appropriate commands to devd.conf in addition to the sysctl. With loading acpi_video it works now in console mode, i.e. the LCD goes off and on on lid close/open. When I have X11 up and running (the Nvidia driver), the LCD goes off as well, but on return I only see the console message of the X11 startup-session (i.e. the console from where I launched 'startx') and I'm unable to switch to any other virtual screen and also not to the X11 session; zapping X11 with Ctrl-Alt-BS does not work either and I have had to reboot with power-off/on. Any idea? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From owner-freebsd-mobile@FreeBSD.ORG Fri Sep 11 18:41:54 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4566C106568B for ; Fri, 11 Sep 2009 18:41:54 +0000 (UTC) (envelope-from eddie@angryeddie.cn) Received: from QMTA05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) by mx1.freebsd.org (Postfix) with ESMTP id 315E48FC12 for ; Fri, 11 Sep 2009 18:41:54 +0000 (UTC) Received: from OMTA05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id fQVo1c0020vp7WLA5WUkX4; Fri, 11 Sep 2009 18:28:44 +0000 Received: from [192.168.1.150] ([76.111.61.34]) by OMTA05.emeryville.ca.mail.comcast.net with comcast id fWUi1c00e0kKVsC8RWUja1; Fri, 11 Sep 2009 18:28:44 +0000 Message-ID: <4AAA96DB.7070501@angryeddie.cn> Date: Fri, 11 Sep 2009 14:28:43 -0400 From: Eddie Leisure User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Problem using adhoc mode using the iwn driver. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 18:41:54 -0000 Followed the instructions per 'man iwn' I'm getting "ifconfig: SIOCIFCREATE2: Operation not supported" when I try to create the wlan0 device in adhoc mode. Environment specific information: uname -a: FreeBSD spectre.mss.iss.net 8.0-BETA3 FreeBSD 8.0-BETA3 #0: Sat Aug 22 02:36:50 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 pciconf: iwn0@pci0:3:0:0: class=0x028000 card=0x10108086 chip=0x42308086 rev=0x61 hdr=0x00 vendor = 'Intel Corporation' device = 'Intel Wireless WiFi Link 4965AGN (Intel 4965AGN)' class = network bar [10] = type Memory, range 64, base 0xdf2fe000, size 8192, enabled cap 01[c8] = powerspec 3 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message cap 10[e0] = PCI-Express 1 endpoint max data 128(128) link x1(x1) This is what I've done: spectre# ifconfig iwn0 iwn0: flags=8802 metric 0 mtu 2290 ether 00:21:5c:15:74:6d media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier spectre# ifconfig wlan create wlandev iwn0 wlanmode adhoc ssid aenet ifconfig: SIOCIFCREATE2: Operation not supported If I don't use the 'wlanmode adhoc' option, then it works, but doesn't really do what I want. spectre# ifconfig wlan create wlandev iwn0 ssid aenet wlan0 spectre# ifconfig wlan0 up spectre# ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 00:21:5c:15:74:6d inet 192.168.2.25 netmask 0xffffff00 broadcast 192.168.2.255 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid aenet channel 36 (5180 Mhz 11a) country US authmode OPEN privacy OFF txpower 15 bmiss 10 mcastrate 6 mgmtrate 6 scanvalid 60 wme bintval 0 At this point, I can give it an IP address, etc... but it will say no carrier. This is my first time setting up an adhoc network, but what I can find from my searches is that this _should_ work... I feel like I may be missing something simple though. Any insight would be appreciated. Ed Leisure From owner-freebsd-mobile@FreeBSD.ORG Fri Sep 11 20:28:41 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 636C4106568D for ; Fri, 11 Sep 2009 20:28:41 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id E94DA8FC1B for ; Fri, 11 Sep 2009 20:28:40 +0000 (UTC) Received: by bwz2 with SMTP id 2so990687bwz.43 for ; Fri, 11 Sep 2009 13:28:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=GpMu3RDdAZPsIoT8TaJ7F/ibvOMjnsm5y1X1nxKFUXs=; b=pcD34Sn+WlM7qCEgof0PjLDFB3LAqLyTfmZfg2gHQ9foqu7Xl9gMovb8qaIjbSl37O aog6LKfBmCCsICB6yL6m0wM2lo8rK+ZPRQ7oVciE69QUAbBOYga/ax6RqcNHm7jgSbML bTroThbkjXX0LiimA6xpPsYuBH+1uNaJgdswk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fny+lILyicfAIiHEFzUEkOJCExXePBkw5R/e4yU7V0BXoAjNFGnuId5x6cFnXatz5z jzjC13C8DlGS9pdMuuYIg6YQi/Sl8jnqarr/zyVQErhSua29iQsa+1M+0D1ncsSXc8r8 P0iJ2+aWuftZQghpa/PeHe+ml+TmfiDkqRBXE= MIME-Version: 1.0 Received: by 10.103.84.28 with SMTP id m28mr1578984mul.113.1252700919901; Fri, 11 Sep 2009 13:28:39 -0700 (PDT) In-Reply-To: <4AAA96DB.7070501@angryeddie.cn> References: <4AAA96DB.7070501@angryeddie.cn> Date: Fri, 11 Sep 2009 20:28:39 +0000 Message-ID: <3a142e750909111328l5f3813d5xba6cf84d349f30a@mail.gmail.com> From: "Paul B. Mahol" To: Eddie Leisure Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-mobile@freebsd.org Subject: Re: Problem using adhoc mode using the iwn driver. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 20:28:41 -0000 On 9/11/09, Eddie Leisure wrote: > Followed the instructions per 'man iwn' > I'm getting "ifconfig: SIOCIFCREATE2: Operation not supported" when I > try to create the wlan0 device in adhoc mode. Look at iwn source code, IBSS cap is commented out. Either this issue should be addressed or man page should be updated. -- Paul From owner-freebsd-mobile@FreeBSD.ORG Fri Sep 11 22:33:04 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4A411065679 for ; Fri, 11 Sep 2009 22:33:04 +0000 (UTC) (envelope-from eddie@angryeddie.cn) Received: from QMTA10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id BDF128FC1A for ; Fri, 11 Sep 2009 22:33:04 +0000 (UTC) Received: from OMTA06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by QMTA10.emeryville.ca.mail.comcast.net with comcast id fWV71c00A16AWCUAAaZ5Br; Fri, 11 Sep 2009 22:33:05 +0000 Received: from [192.168.1.150] ([76.111.61.34]) by OMTA06.emeryville.ca.mail.comcast.net with comcast id faZ21c00E0kKVsC8SaZ3BE; Fri, 11 Sep 2009 22:33:05 +0000 Message-ID: <4AAAD01F.1040309@angryeddie.cn> Date: Fri, 11 Sep 2009 18:33:03 -0400 From: Eddie Leisure User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: "Paul B. Mahol" References: <4AAA96DB.7070501@angryeddie.cn> <3a142e750909111328l5f3813d5xba6cf84d349f30a@mail.gmail.com> In-Reply-To: <3a142e750909111328l5f3813d5xba6cf84d349f30a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: Problem using adhoc mode using the iwn driver. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 22:33:04 -0000 Paul B. Mahol wrote: > Look at iwn source code, IBSS cap is commented out. > Either this issue should be addressed or man page should be updated. Thanks for your help here, it never occurred to me to check the source, I'm still a bit of a newbie at this. Deleted the #if 0...#endif block around the code in if_iwn.c and recompiled. Running it form the console this time and I can see the error "iwn0: IBSS mode not supported" - so it still doesn't seem to be working. I checked over the rest of the source and I don't see anything obvious in the header files either. I think I'm dancing around my limits here, I think I'll just have to find a different way to connect this machine, or just get a usb adapter. Just to make sure I'm on track here, i did a kldunload if_iwn, then ran make, then did a kldload if_iwn - this is the first time for me to recompile a kernel module so I want to make sure I'm not messing this up. It somewhat makes sense for it not to work though, I assume theres a reason it was commented out to begin with. Eddie From owner-freebsd-mobile@FreeBSD.ORG Sat Sep 12 02:48:39 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96415106568D for ; Sat, 12 Sep 2009 02:48:39 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5CD798FC18 for ; Sat, 12 Sep 2009 02:48:39 +0000 (UTC) Received: from Macintosh-4.local ([10.0.0.198]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n8C2bZrG093029 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 11 Sep 2009 19:37:35 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <4AAB096F.5090702@freebsd.org> Date: Fri, 11 Sep 2009 19:37:35 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Eddie Leisure References: <4AAA96DB.7070501@angryeddie.cn> <3a142e750909111328l5f3813d5xba6cf84d349f30a@mail.gmail.com> <4AAAD01F.1040309@angryeddie.cn> In-Reply-To: <4AAAD01F.1040309@angryeddie.cn> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: "Paul B. Mahol" , freebsd-mobile@freebsd.org Subject: Re: Problem using adhoc mode using the iwn driver. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 02:48:39 -0000 Eddie Leisure wrote: > Paul B. Mahol wrote: >> Look at iwn source code, IBSS cap is commented out. >> Either this issue should be addressed or man page should be updated. > Thanks for your help here, it never occurred to me to check the source, > I'm still a bit of a newbie at this. > > Deleted the #if 0...#endif block around the code in if_iwn.c and > recompiled. > Running it form the console this time and I can see the error "iwn0: > IBSS mode not supported" - so it still doesn't seem to be working. I > checked over the rest of the source and I don't see anything obvious in > the header files either. > > I think I'm dancing around my limits here, I think I'll just have to > find a different way to connect this machine, or just get a usb adapter. > > Just to make sure I'm on track here, i did a kldunload if_iwn, then ran > make, then did a kldload if_iwn - this is the first time for me to > recompile a kernel module so I want to make sure I'm not messing this up. > > It somewhat makes sense for it not to work though, I assume theres a > reason it was commented out to begin with. iwn's ibss suport didn't work when I last tried it so I removed the capability. Someone needs to take responsibility for the driver; there are many outstanding issues with the code in the tree (e.g. lack of support for the newer (but now old) parts). Sam From owner-freebsd-mobile@FreeBSD.ORG Sat Sep 12 20:27:08 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFE5F106566C for ; Sat, 12 Sep 2009 20:27:08 +0000 (UTC) (envelope-from jessemichaelwilson@gmail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id 5C31F8FC18 for ; Sat, 12 Sep 2009 20:27:08 +0000 (UTC) Received: by ewy4 with SMTP id 4so2059107ewy.36 for ; Sat, 12 Sep 2009 13:27:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=JQydIS9mx2xtz3FrWJslFYKpap7EscL8yWnjGbqsNNU=; b=sx86EyTuRmOwSlBYi/GTOJ9d/PuiA41eXVllCyKttGFl8mY0zqVbsy1ePuqwU7dbkn VyDJFsY9cqN7mB6W+740HuKmStjygM0gl2Rz9nutEi5ohJM7uzTkY/weyO0Tdrr5+zWv rTGGg5yBli4ShyYnKY1pEo0ZlnGs0SezYUg/8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=l/bMj1ZviDVqSgYzX4HjjXoAGvNGS4ZnEz50sBMeXLaCnuWQcMcWTGfucKTRmWsKDc TYvank7x1Ic9mTBJ6AB7VFp7oGln6Hiw4Tra8iMNpvWVQ9jKpJDgptNbp4C5apvoMFne 28pfz9ijOkLf8ZLhFIhpZalgZb1sfjK8R8aF8= MIME-Version: 1.0 Received: by 10.211.153.2 with SMTP id f2mr1221739ebo.42.1252785580908; Sat, 12 Sep 2009 12:59:40 -0700 (PDT) Date: Sat, 12 Sep 2009 12:59:40 -0700 Message-ID: <63d995660909121259h3f86ac42w8a35f92f6208ca08@mail.gmail.com> From: jesse wilson To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: hp pavilion dv2500 laptop and "wpi0: radio transmitter is switched off" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 20:27:09 -0000 Hi all. Just set up freebsd on an hp pavilion dv2500 and after setting up /boot/loader.conf with all the appropriate modules and the intel license agreement line ifconfig wpi0 up brings up a line that says "wpi0: radio transmitter is turned off" even though I know the switch is in the "on" position. The switch is supposed to glow blue when it's on, but it's red. pciconf -lv reports this as my wireless device: 10418086 Intel 3945ABG Wireless LAN controller. I don't have any ethernet cable and I can't get on the internet with the laptop in question right now. After doing sysctl debug.wpi=-2 followed by ifconfig wpi0 up I got this in /var/log/messages: Sep 12 11:54:25 kernel: Watchdog: tick Sep 12 11:54:33 last message repeated 8 times Sep 12 11:54:33 kernel: wpi0: could not lock memory Sep 12 11:54:33 last message repeated 2 times Sep 12 11:54:33 kernel: wpi0: timeout resetting Tx ring 1 Sep 12 11:54:33 kernel: wpi0: could not lock memory Sep 12 11:54:33 kernel: wpi0: could not lock memory Sep 12 11:54:33 kernel: wpi0: timeout resetting Tx ring 3 Sep 12 11:54:33 kernel: wpi0: could not lock memory Sep 12 11:54:33 kernel: wpi0: timeout resetting Tx ring 4 Sep 12 11:54:33 kernel: wpi0: could not lock memory Sep 12 11:54:33 kernel: wpi0: could not lock memory Sep 12 11:54:33 kernel: Disabling Firmware execution Sep 12 11:54:33 kernel: wpi_newstate: SCAN -> INIT Sep 12 11:54:33 kernel: Resetting the card - clearing any uploaded firmware Sep 12 11:54:33 kernel: Attempting Loading Firmware from wpi_fw module Sep 12 11:54:33 kernel: Firmware Version: Major 2, Minor 14, Driver 4, Sep 12 11:54:33 kernel: runtime (text: 80524, data: 32768) init (text: 2668, data 32768) boot (text 900) Sep 12 11:54:33 kernel: rtext 0xf802020 Sep 12 11:54:33 kernel: rdata 0x0 Sep 12 11:54:33 kernel: itext 0xf802020 Sep 12 11:54:33 kernel: idata 0x0 Sep 12 11:54:33 kernel: btext 0xf802020 Sep 12 11:54:33 kernel: Loading microcode size 0x384 Sep 12 11:54:33 kernel: firmware status=0xffff0000, val=0x40400000, result=0x40400000 Sep 12 11:54:33 kernel: Status Match! - ntries = 0 Sep 12 11:54:33 kernel: wpi_ops: command: 4 Sep 12 11:54:33 kernel: notify qid=80 idx=0 flags=0 type=1 len=36 Sep 12 11:54:33 kernel: microcode alive notification version 10e02 alive 1 Sep 12 11:54:33 kernel: notify qid=80 idx=0 flags=0 type=1 len=36 Sep 12 11:54:33 kernel: microcode alive notification version 10e02 alive 1 Sep 12 11:54:33 kernel: notify qid=80 idx=1 flags=0 type=161 len=8 Sep 12 11:54:33 kernel: state changed to 1 Sep 12 11:54:33 kernel: wpi0: Radio transmitter is switched off Sep 12 11:54:33 kernel: Firmware loaded to driver successfully Sep 12 11:54:33 kernel: wpi0: Radio Transmitter is switched off Sep 12 11:54:33 kernel: wpi_newstate: INIT -> SCAN Sep 12 11:54:33 kernel: wpi_cmd 72 size 8 async 1 Sep 12 11:54:33 kernel: wpi_ops: command: 1 Sep 12 11:54:33 kernel: wpi_ops: command: 2 Sep 12 11:54:34 kernel: Watchdog: tick Sep 12 11:55:00 last message repeated 26 times Sep 12 11:55:01 login: ROOT LOGIN (root) ON ttyv1 Sep 12 11:55:01 kernel: Watchdog: tick Sep 12 11:55:29 last message repeated 28 times Any help you can give me with this would be appreciated.