From owner-freebsd-mobile@FreeBSD.ORG Sun Jul 9 14:11:47 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3C3116A4E1 for ; Sun, 9 Jul 2006 14:11:47 +0000 (UTC) (envelope-from Alex.Kovalenko@verizon.net) Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF8FE43D69 for ; Sun, 9 Jul 2006 14:11:43 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.21.160.49]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J25009KQ3EVK1Q2@vms042.mailsrvcs.net> for freebsd-mobile@freebsd.org; Sun, 09 Jul 2006 09:11:20 -0500 (CDT) Date: Sun, 09 Jul 2006 10:10:02 -0400 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <20060705154130.29428.qmail@web51913.mail.yahoo.com> To: eol1@yahoo.com Message-id: <1152454203.2702.5.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-type: text/plain; charset=iso-8859-5 Content-transfer-encoding: 8BIT References: <20060705154130.29428.qmail@web51913.mail.yahoo.com> Cc: freebsd-mobile@freebsd.org Subject: Re: External USB Numpad 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, 09 Jul 2006 14:11:48 -0000 On Wed, 2006-07-05 at 08:41 -0700, Peter Thoenen wrote: > I recently bought an external USB numberpad for my laptop. Can't seem > to get to work though and google ain't helping. Anybody have a > pointers or a clue? > > Cheers, > > -Peter > _______________________________________________ > 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" You have not provided any useful information (FreeBSD version, make of the numpad, details of "not workiing"), so it is pretty hard to give you any meaningful advice. man kbdmux might or might not help you. -- Alexandre Kovalenko (Олександр Коваленко) From owner-freebsd-mobile@FreeBSD.ORG Sun Jul 9 14:11:59 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C436216A4E0; Sun, 9 Jul 2006 14:11:59 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.25.9.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id E92DF43D66; Sun, 9 Jul 2006 14:11:49 +0000 (GMT) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (cpe-024-211-118-154.sc.res.rr.com [24.211.118.154]) by ms-smtp-01.southeast.rr.com (8.13.6/8.13.6) with ESMTP id k69EBb4Y023024; Sun, 9 Jul 2006 10:11:42 -0400 (EDT) Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.13.6/8.13.6) with ESMTP id k69EBZOF061961; Sun, 9 Jul 2006 10:11:35 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Sun, 9 Jul 2006 10:11:35 -0400 (EDT) From: Wesley Morgan To: freebsd-mobile@freebsd.org, freebsd-multimedia@freebsd.org In-Reply-To: <448CE5A0.70806@centtech.com> Message-ID: <20060709093252.S31266@volatile.chemikals.org> References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1632943865-1152453933=:31266" Content-ID: <20060709100614.E31266@volatile.chemikals.org> X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: Andrea Bittau Subject: HDA sound driver mod for sigmatel 92xx 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, 09 Jul 2006 14:12:00 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1632943865-1152453933=:31266 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; FORMAT=flowed Content-ID: <20060709100614.M31266@volatile.chemikals.org> With a little help from the netbsd azalia driver (a wonderful piece of work, by the way) and the hda specs, I've been able to get Andrea's hdac code to work with my laptop. I believe the problem was that the codec and dac started out in some kind of low-power mode and needed to be woken up before they would work. Hopefully someone is still working on a proper driver, but for now, I can watch movies again! A diff against Andrea's work is attached. -- This .signature sanitized for your protection --0-1632943865-1152453933=:31266 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=sigma.diff Content-Transfer-Encoding: BASE64 Content-ID: <20060709101135.U31266@volatile.chemikals.org> Content-Description: Content-Disposition: attachment; filename=sigma.diff ZGlmZiAtdXJiIGhkYWMvaGRhYy5jIGhkYWMtc2lnbWEvaGRhYy5jDQotLS0g aGRhYy9oZGFjLmMJTW9uIEp1biAgNSAxNToxNToxMiAyMDA2DQorKysgaGRh Yy1zaWdtYS9oZGFjLmMJU3VuIEp1bCAgOSAxMDoxMDozNyAyMDA2DQpAQCAt MjQ3LDcgKzI0Nyw4IEBADQogCSAqIFJlc2V0IHRoZSBjb250cm9sbGVyLiBU aGUgcmVzZXQgbXVzdCByZW1haW4gYXNzZXJ0ZWQgZm9yDQogCSAqIGEgbWlu aW11bSBvZiAxMDB1cy4NCiAJICovDQotCUhEQUNfV1JJVEVfNCgmc2MtPm1l bSwgSERBQ19HQ1RMLCAweDApOw0KKwlnY3RsID0gSERBQ19SRUFEXzQoJnNj LT5tZW0sIEhEQUNfR0NUTCk7DQorCUhEQUNfV1JJVEVfNCgmc2MtPm1lbSwg SERBQ19HQ1RMLCBnY3RsICYgfiBIREFDX0dDVExfQ1JTVCk7DQogCWNvdW50 ID0gMTAwMDA7DQogCXdoaWxlIChjb3VudCkgew0KIAkJZ2N0bCA9IEhEQUNf UkVBRF80KCZzYy0+bWVtLCBIREFDX0dDVEwpOw0KQEAgLTI2MCwxMSArMjYx LDExIEBADQogCQlyZXR1cm4gKEVOWElPKTsNCiAJfQ0KIAlERUxBWSgxMDAp Ow0KLQlIREFDX1dSSVRFXzQoJnNjLT5tZW0sIEhEQUNfR0NUTCwgSERBQ19H Q1RMX0NSU1QpOw0KKwlnY3RsID0gSERBQ19SRUFEXzQoJnNjLT5tZW0sIEhE QUNfR0NUTCk7DQorCUhEQUNfV1JJVEVfNCgmc2MtPm1lbSwgSERBQ19HQ1RM LCBnY3RsIHwgSERBQ19HQ1RMX0NSU1QpOw0KIAljb3VudCA9IDEwMDAwOw0K IAl3aGlsZSAoY291bnQpIHsNCi0JCWdjdGwgPSBIREFDX1JFQURfNCgmc2Mt Pm1lbSwgSERBQ19HQ1RMKTsNCi0JCWlmICgoZ2N0bCAmIEhEQUNfR0NUTF9D UlNUKSA9PSBIREFDX0dDVExfQ1JTVCkNCisJCWlmIChIREFDX1JFQURfNCgm c2MtPm1lbSwgSERBQ19HQ1RMKSAmIEhEQUNfR0NUTF9DUlNUKQ0KIAkJCWJy ZWFrOw0KIAkJY291bnQtLTsNCiAJfQ0KQEAgLTc4Niw2ICs3ODcsMTAgQEAN CiAJZGV2aW5mby0+c3RlcHBpbmdfaWQgPSBIREFfUEFSQU1fUkVWSVNJT05f SURfU1RFUFBJTkdfSUQocmV2aXNpb25pZCk7DQogCWRldmluZm8tPm5vZGVf dHlwZSA9IEhEQV9QQVJBTV9GQ1RfR1JQX1RZUEVfTk9ERV9UWVBFKGZjdGdy cHR5cGUpOw0KIA0NCisNCisJZGV2aWNlX3ByaW50ZihzYy0+ZGV2LCAiVmVu ZG9yIGluZm86ICV4ICV4ICV4ICV4ICV4ICV4XG4iLCB2ZW5kb3JpZCwgZGV2 aW5mby0+dmVuZG9yX2lkLCBkZXZpbmZvLT5kZXZpY2VfaWQsDQorCQlkZXZp bmZvLT5yZXZpc2lvbl9pZCwgZGV2aW5mby0+c3RlcHBpbmdfaWQsIGRldmlu Zm8tPm5vZGVfdHlwZSk7DQorDQogCWhkYWNfYWRkX2NoaWxkKHNjLCBkZXZp bmZvKTsNCiB9DQogDQpAQCAtODE2LDYgKzgyMSwxMCBAQA0KIAl1aW50MzJf dCByYywgc2YsIHN0Ow0KIAl1aW50MzJfdCBmbXQgPSBzb3Jib19nZXRfZm10 KHNjKTsNCiANCisNCisJcmMgPSBIREFfQ01EX0dFVF9DT05GSUdVUkFUSU9O X0RFRkFVTFQoY2FkLCBuaWQpOw0KKwlkZXZpY2VfcHJpbnRmKHNjLT5kZXYs ICJDb25maWcgJXhcbiIsIHJjKTsNCisNCiAJcmMgPSBoZGFjX2NvbW1hbmRf c2VuZG9uZV9pbnRlcm5hbChzYywNCiAJCUhEQV9DTURfU0VUX0NPTlZfU1RS RUFNX0NIQU4oY2FkLCBuaWQsIDEgPDwgNCksIDApOw0KIAlpZiAocmMpDQpA QCAtODg1LDggKzg5NCwxMCBAQA0KIA0KIAljdCA9IGhkYWNfY29tbWFuZF9z ZW5kb25lX2ludGVybmFsKHNjLA0KIAkJSERBX0NNRF9HRVRfUElOX1dJREdF VF9DVFJMKGNhZCwgbmlkKSwgY2FkKTsNCi0JY3QgfD0gKDEgPDwgNikgfCAo MSA8PCA3KTsNCi0JY3QgPSBoZGFjX2NvbW1hbmRfc2VuZG9uZV9pbnRlcm5h bChzYywNCisNCisJY3QgfD0gKDEgPDwgNikgfCAoMSA8PCAyKSB8ICgxKTsN CisNCisJaGRhY19jb21tYW5kX3NlbmRvbmVfaW50ZXJuYWwoc2MsDQogCQlI REFfQ01EX1NFVF9QSU5fV0lER0VUX0NUUkwoY2FkLCBuaWQsIGN0KSwgY2Fk KTsNCiANCiAJY2FwYSA9IGhkYWNfY29tbWFuZF9zZW5kb25lX2ludGVybmFs KHNjLA0KQEAgLTkzNCwxOCArOTQ1LDI2IEBADQogCQ0KIAlkZXZpY2VfcHJp bnRmKHNjLT5kZXYsICJub2RlICVkIHR5cGUgJXggY2FwICV4XG4iLCBub2Rl aWQsIHR5cGUsIHJjKTsNCiANCi0JaWYgKDApDQotCXNvcmJvX3NldF9hbXAo c2MsIGNvZGVjaWQsIG5vZGVpZCwgNDApOw0KKwlpZiAoSERBX1BBUkFNX0FV RElPX1dJREdFVF9DQVBfUE9XRVJfQ1RSTChyYykpIHsNCisJCWhkYWNfY29t bWFuZF9zZW5kb25lX2ludGVybmFsKHNjLA0KKwkJCUhEQV9DTURfU0VUX1BP V0VSX1NUQVRFKGNvZGVjaWQsIG5vZGVpZCwgSERBX0NNRF9QT1dFUl9TVEFU RV9EMCksIGNvZGVjaWQpOw0KKwl9DQogDQogCWlmICgwICYmIEhEQV9QQVJB TV9BVURJT19XSURHRVRfQ0FQX1BST0NfV0lER0VUKHJjKSkgew0KIAkJc29y Ym9fb3duX3Byb2Moc2MsIGNvZGVjaWQsIG5vZGVpZCk7DQogCX0NCiANCi0J aWYgKDAgJiYgdHlwZSA9PSBIREFfUEFSQU1fQVVESU9fV0lER0VUX0NBUF9U WVBFX0FVRElPX09VVFBVVCkgew0KKwlpZiAodHlwZSA9PSBIREFfUEFSQU1f QVVESU9fV0lER0VUX0NBUF9UWVBFX0FVRElPX09VVFBVVCkgew0KIAkJc29y Ym9fY29uZl9vdXRwdXQoc2MsIGNvZGVjaWQsIG5vZGVpZCk7DQorCQlkZXZp Y2VfcHJpbnRmKHNjLT5kZXYsICJzb3Jib19jb25mX291dHB1dDogY29kZWM6 ICVkIG5vZGU6ICVkXG4iLCBjb2RlY2lkLCBub2RlaWQpOw0KKwl9CQ0KKwll bHNlIGlmICh0eXBlID09IEhEQV9QQVJBTV9BVURJT19XSURHRVRfQ0FQX1RZ UEVfQVVESU9fU0VMRUNUT1IpIHsNCisJCXNvcmJvX3NldF9hbXAoc2MsIGNv ZGVjaWQsIG5vZGVpZCwgNDApOw0KIAl9CQ0KLQllbHNlIGlmICgwICYmIHR5 cGUgPT0gSERBX1BBUkFNX0FVRElPX1dJREdFVF9DQVBfVFlQRV9QSU5fQ09N UExFWCkNCisJZWxzZSBpZiAodHlwZSA9PSBIREFfUEFSQU1fQVVESU9fV0lE R0VUX0NBUF9UWVBFX1BJTl9DT01QTEVYKSB7DQogCQlzb3Jib19jb25mX3Bp bihzYywgY29kZWNpZCwgbm9kZWlkKTsNCisJCXNvcmJvX3NldF9hbXAoc2Ms IGNvZGVjaWQsIG5vZGVpZCwgNDApOw0KKwl9DQogfQ0KIA0KIHN0YXRpYyB2 b2lkDQpAQCAtOTU1LDE5ICs5NzQsMjIgQEANCiAJaW50IHN0YXJ0bm9kZTsN CiAJaW50IGVuZG5vZGU7DQogCWludCBpOw0KLS8vCXVpbnQzMl90IHB3Ow0K Kwl1aW50MzJfdCBwdzsNCiAJDQogCXN1Ym5vZGUgPSBoZGFjX2NvbW1hbmRf c2VuZG9uZV9pbnRlcm5hbChzYywNCiAJICAgIEhEQV9DTURfR0VUX1BBUkFN RVRFUigwICwgMSwgSERBX1BBUkFNX1NVQl9OT0RFX0NPVU5UKSwgMCk7DQor CQ0KIAlzdGFydG5vZGUgPSBIREFfUEFSQU1fU1VCX05PREVfQ09VTlRfU1RB UlQoc3Vibm9kZSk7DQogCWVuZG5vZGUgPSBzdGFydG5vZGUgKyBIREFfUEFS QU1fU1VCX05PREVfQ09VTlRfVE9UQUwoc3Vibm9kZSk7DQogDQotI2lmIDAN CisJaGRhY19jb21tYW5kX3NlbmRvbmVfaW50ZXJuYWwoc2MsDQorCQlIREFf Q01EX1NFVF9QT1dFUl9TVEFURSgwLCAxLCBIREFfQ01EX1BPV0VSX1NUQVRF X0QwKSwgMCk7DQorDQogCXB3ID0gaGRhY19jb21tYW5kX3NlbmRvbmVfaW50 ZXJuYWwoc2MsDQogCQlIREFfQ01EX0dFVF9QT1dFUl9TVEFURSgwLCAxKSwg MCk7DQogDQogCWRldmljZV9wcmludGYoc2MtPmRldiwgIlBXICV4XG4iLCBw dyk7DQotI2VuZGlmDQorCWRldmljZV9wcmludGYoc2MtPmRldiwgInN0YXJ0 OiAlZCBlbmRub2RlOiAlZFxuIiwgc3RhcnRub2RlLCBlbmRub2RlKTsNCiAN CiAJZm9yIChpID0gc3RhcnRub2RlOyBpIDwgZW5kbm9kZTsgaSsrKSB7DQog CQlzb3Jib19wcmludF93aWRnZXQoc2MsIDAsIGkpOw0KQEAgLTEyNDgsMTUg KzEyNzAsMTIgQEANCiANCiAJaGRhY19zY2FuX2NvZGVjcyhzYyk7DQogDQot CWlmICgwKQ0KIAlzb3Jib19lbnVtKHNjKTsNCiANCiAJc29yYm9fc3RvcF9z dHJlYW0oc2MpOw0KIAlzb3Jib19yZXNldF9zdHJlYW0oc2MpOw0KIAlzb3Ji b19zdHJlYW1fc2V0aWQoc2MpOw0KIA0KLQlzb3Jib19jb25mX291dHB1dChz YywgMCwgMyk7DQotCXNvcmJvX3NldF9hbXAoc2MsIDAsIDUsIDQwKTsNCiAJ c29yYm9fYWxsb2NfYmRsKHNjLCAyNTYpOw0KIAlzb3Jib19lbmFibGVfc3Ry ZWFtX2ludGVycnVwdHMoc2MpOwkNCiAJc2MtPmxhbWUgPSAxOw0KT25seSBp biBoZGFjLXNpZ21hOiBoZGFjLmN+DQo= --0-1632943865-1152453933=:31266-- From owner-freebsd-mobile@FreeBSD.ORG Sun Jul 9 14:17:45 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A59916A4DA; Sun, 9 Jul 2006 14:17:45 +0000 (UTC) (envelope-from a.bittau@cs.ucl.ac.uk) Received: from darkircop.org (tapir.cs.ucl.ac.uk [128.16.66.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CD0C43D49; Sun, 9 Jul 2006 14:17:44 +0000 (GMT) (envelope-from a.bittau@cs.ucl.ac.uk) Received: by darkircop.org (Postfix, from userid 0) id 0E592860C6F; Sun, 9 Jul 2006 15:17:25 +0100 (BST) Date: Sun, 9 Jul 2006 15:17:24 +0100 From: Andrea Bittau To: Wesley Morgan Message-ID: <20060709141724.GA33010@shorty.sorbonet.org> References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060709093252.S31266@volatile.chemikals.org> User-Agent: Mutt/1.4.2.1i X-Echelon: Bush Bomb War KGB Cc: freebsd-multimedia@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: HDA sound driver mod for sigmatel 92xx 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, 09 Jul 2006 14:17:45 -0000 by the way, I got a version which should record stuff too: http://darkircop.org/hdac-rec.tgz From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 10 06:15:27 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E31F16A4DA for ; Mon, 10 Jul 2006 06:15:27 +0000 (UTC) (envelope-from eol1@yahoo.com) Received: from web51905.mail.yahoo.com (web51905.mail.yahoo.com [206.190.48.68]) by mx1.FreeBSD.org (Postfix) with SMTP id B055D43D4C for ; Mon, 10 Jul 2006 06:15:26 +0000 (GMT) (envelope-from eol1@yahoo.com) Received: (qmail 90574 invoked by uid 60001); 10 Jul 2006 06:15:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=BZLzm9ljakK2dksC8snsnLIay4FtVZyluEMNxTLlRw1JOfcKiVoecpNOe2b8XFMj57Y1jRu0WIAzGae08e+ihq3r4kw5FhgpUUdw6U72lPSOJCWDFv4GHWKPvUCAQQqMmV2vKE+y80OMeolLDvNueSRjMi7aeCZLF7loeARIvGw= ; Message-ID: <20060710061524.90572.qmail@web51905.mail.yahoo.com> Received: from [70.94.10.62] by web51905.mail.yahoo.com via HTTP; Sun, 09 Jul 2006 23:15:24 PDT Date: Sun, 9 Jul 2006 23:15:24 -0700 (PDT) From: Peter Thoenen To: Alexandre Sunny Kovalenko In-Reply-To: <1152454203.2702.5.camel@RabbitsDen> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-mobile@freebsd.org Subject: Re: External USB Numpad X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: eol1@yahoo.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2006 06:15:27 -0000 > You have not provided any useful information (FreeBSD version, make > of the numpad, details of "not workiing" FreeBSD 6.1. p1 i386 Numpad is a: Amarina, Model: PAVAMA00001B Not working as in I plug it in, the power light on it doesn't light up and typing on it doesn't work. dmesg output is: uhid0: vendor 0x1241 product 0x1203, rev 2.00/2.30, addr 3, iclass 3/1 uhid1: vendor 0x1241 product 0x1203, rev 2.00/2.30, addr 3, iclass 3/1 {Which I find odd as I am unsure why it shows up twice when I plug it in once} Kernel is: # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB Interface device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ulpt # USB Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device ucom # USB serial support # USB support for Belkin F5U103 and compatible serial adapters device ubsa # USB support for BWCT console serial adapters device ubser # USB support for serial adapters based on the FT8U100AX and FT8U232AM device uftdi # USB support for Prolific PL-2303 serial adapters device uplcom > man kbdmux Didn't help, any other idea's? -Peter From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 10 19:34:21 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8857516A4DA for ; Mon, 10 Jul 2006 19:34:21 +0000 (UTC) (envelope-from markus@brueffer.de) Received: from mail-in-08.arcor-online.net (mail-in-08.arcor-online.net [151.189.21.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id C708743D46 for ; Mon, 10 Jul 2006 19:34:20 +0000 (GMT) (envelope-from markus@brueffer.de) Received: from mail-in-04-z2.arcor-online.net (mail-in-04-z2.arcor-online.net [151.189.8.16]) by mail-in-08.arcor-online.net (Postfix) with ESMTP id 5E35F14F6A7; Mon, 10 Jul 2006 21:34:19 +0200 (CEST) Received: from mail-in-03.arcor-online.net (mail-in-06.arcor-online.net [151.189.21.46]) by mail-in-04-z2.arcor-online.net (Postfix) with ESMTP id 4D387178A3E; Mon, 10 Jul 2006 21:34:19 +0200 (CEST) Received: from ramses.kicks-ass.net (dslb-084-061-016-188.pools.arcor-ip.net [84.61.16.188]) by mail-in-03.arcor-online.net (Postfix) with ESMTP id 02FA7167308; Mon, 10 Jul 2006 21:34:19 +0200 (CEST) Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ramses.kicks-ass.net (Postfix) with ESMTP id 597B3B841; Mon, 10 Jul 2006 21:34:27 +0200 (CEST) From: Markus Brueffer To: freebsd-mobile@freebsd.org, eol1@yahoo.com Date: Mon, 10 Jul 2006 21:34:03 +0200 User-Agent: KMail/1.9.3 References: <20060710061524.90572.qmail@web51905.mail.yahoo.com> In-Reply-To: <20060710061524.90572.qmail@web51905.mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1312043.jzhcEBnhiQ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200607102134.09343.markus@brueffer.de> Cc: Alexandre Sunny Kovalenko Subject: Re: External USB Numpad 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: Mon, 10 Jul 2006 19:34:21 -0000 --nextPart1312043.jzhcEBnhiQ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 10 July 2006 08:15, Peter Thoenen wrote: > > You have not provided any useful information (FreeBSD version, make > > of the numpad, details of "not workiing" > > FreeBSD 6.1. p1 i386 > Numpad is a: Amarina, Model: PAVAMA00001B > > Not working as in I plug it in, the power light on it doesn't light up > and typing on it doesn't work. > > dmesg output is: > > uhid0: vendor 0x1241 product 0x1203, rev 2.00/2.30, addr 3, iclass 3/1 > uhid1: vendor 0x1241 product 0x1203, rev 2.00/2.30, addr 3, iclass 3/1 > > {Which I find odd as I am unsure why it shows up twice when I plug it > in once} > > Kernel is: > > # USB support > device uhci # UHCI PCI->USB interface > device ohci # OHCI PCI->USB interface > device ehci # EHCI PCI->USB Interface > device usb # USB Bus (required) > #device udbp # USB Double Bulk Pipe devices > device ugen # Generic > device uhid # "Human Interface Devices" > device ulpt # USB Printer > device umass # Disks/Mass storage - Requires scbus and da > device ums # Mouse > device ucom # USB serial support > # USB support for Belkin F5U103 and compatible serial adapters > device ubsa > # USB support for BWCT console serial adapters > device ubser > # USB support for serial adapters based on the FT8U100AX and FT8U232AM > device uftdi > # USB support for Prolific PL-2303 serial adapters > device uplcom > > > man kbdmux Add ukbd(4) and kbdmux(4) to your kernel config or load them as modules=20 in /boot/loader.conf. At least one of the hid devices should attach to=20 ukbd(4). You can see what the other one has to offer with usbhidctl(1): # usbhidctl -f /dev/uhidX -r This gives you the report descriptor of the device which you might want to= =20 post here. Markus =2D-=20 Markus Brueffer =A0 =A0| GPG-Key: http://people.FreeBSD.org/~markus/markus.= asc markus@brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4 markus@FreeBSD.org | FreeBSD: The Power to Serve! --nextPart1312043.jzhcEBnhiQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEsqux1I0Qcnj4qNQRAodZAKC8UGgcIV/wL05Jeiu9ywzzVRMFKQCgyHtQ UZvtJpYrS3LAv+PdR3G6Zcc= =OqjB -----END PGP SIGNATURE----- --nextPart1312043.jzhcEBnhiQ-- From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 10 21:07:01 2006 Return-Path: X-Original-To: freebsd-mobile@FREEBSD.ORG Delivered-To: freebsd-mobile@FREEBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B93C016A4E0 for ; Mon, 10 Jul 2006 21:07:01 +0000 (UTC) (envelope-from LISTSERV@LSV.UKY.EDU) Received: from lsv.uky.edu (lsv.uky.edu [128.163.184.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C4BC43D58 for ; Mon, 10 Jul 2006 21:07:01 +0000 (GMT) (envelope-from LISTSERV@LSV.UKY.EDU) Received: from lsv (lsv.uky.edu) by lsv.uky.edu (LSMTP for Windows NT v1.1b) with SMTP id <0.00905866@lsv.uky.edu>; Mon, 10 Jul 2006 17:07:00 -0400 Date: Mon, 10 Jul 2006 17:06:59 -0400 From: "University of Kentucky LISTSERV Server (14.4)" To: freebsd-mobile@FREEBSD.ORG Message-ID: Cc: Subject: Message ("Your message dated Mon, 10 Jul 2006 16:06:40...") 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: Mon, 10 Jul 2006 21:07:01 -0000 Your message dated Mon, 10 Jul 2006 16:06:40 -0500 with subject "Returned mail: see transcript for details" has been submitted to the moderator of the UKSIERRA list: Hans Gesund . From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 11 01:04:15 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB90716A4DE for ; Tue, 11 Jul 2006 01:04:15 +0000 (UTC) (envelope-from eol1@yahoo.com) Received: from web51913.mail.yahoo.com (web51913.mail.yahoo.com [206.190.48.76]) by mx1.FreeBSD.org (Postfix) with SMTP id 5340F43D46 for ; Tue, 11 Jul 2006 01:04:15 +0000 (GMT) (envelope-from eol1@yahoo.com) Received: (qmail 87207 invoked by uid 60001); 11 Jul 2006 01:04:14 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Raw35eAQxZffd3YvT0lXFiliJKBLcLRgWm4AvnXjjUo6uskt1OQRCNBjuZ4uEg7LB0Buw3LdYb61KBYwU5iWyEeMBV0BHQkbArL8lE9SpZbjxnzCTxcgHNHJMTBikLxteizBmJfZdip/XVCn5M2sNko3K+QU1As3SXdfwHFQ4xc= ; Message-ID: <20060711010414.87201.qmail@web51913.mail.yahoo.com> Received: from [70.94.10.62] by web51913.mail.yahoo.com via HTTP; Mon, 10 Jul 2006 18:04:14 PDT Date: Mon, 10 Jul 2006 18:04:14 -0700 (PDT) From: Peter Thoenen To: Markus Brueffer , freebsd-mobile@freebsd.org In-Reply-To: <200607102134.09343.markus@brueffer.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Alexandre Sunny Kovalenko Subject: Re: External USB Numpad X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: eol1@yahoo.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 01:04:15 -0000 > ukbd(4). You can see what the other one has to offer with > usbhidctl(1): Manning ukbd didn't seem to cut it. It says I should be able to use both at the same time (or at least the way I read it). Switching via the console and kbdcontrol commands doesn't work either (though I am seeing /dev/kbd{0/1/2} > # usbhidctl -f /dev/uhidX -r Report descriptor: Total input size 0 bytes Total output size 1 bytes Total feature size 3 bytes No idea what this means. dmesg now though is reporting at least: kbd1 at kbdmux0 ukbd0: vendor 0x1241 product 0x1203, rev 2.00/2.30, addr 3, iclass 3/1 kbd2 at ukbd0 uhid0: vendor 0x1241 product 0x1203, rev 2.00/2.30, addr 3, iclass 3/1 From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 11 16:47:43 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 234C516A4DE for ; Tue, 11 Jul 2006 16:47:43 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B76943DA7 for ; Tue, 11 Jul 2006 16:47:16 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k6BGkw2V043651 for ; Tue, 11 Jul 2006 10:46:58 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 11 Jul 2006 10:47:08 -0600 (MDT) Message-Id: <20060711.104708.1159134898.imp@bsdimp.com> To: mobile@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 11 Jul 2006 10:46:58 -0600 (MDT) Cc: Subject: Dell laptops 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, 11 Jul 2006 16:47:43 -0000 Greetings, What are the current problems, if any, on current Dell laptops have with FreeBSD? Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 11 16:54:55 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 075F916A508 for ; Tue, 11 Jul 2006 16:54:55 +0000 (UTC) (envelope-from freebsd-mobile@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE05743DA3 for ; Tue, 11 Jul 2006 16:54:46 +0000 (GMT) (envelope-from freebsd-mobile@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1G0LVG-0007se-D1 for freebsd-mobile@freebsd.org; Tue, 11 Jul 2006 18:54:30 +0200 Received: from efficio.wh29.tu-dresden.de ([141.30.207.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Jul 2006 18:54:30 +0200 Received: from der_julian by efficio.wh29.tu-dresden.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Jul 2006 18:54:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-mobile@freebsd.org From: Julian Stecklina Date: Tue, 11 Jul 2006 18:53:58 +0200 Lines: 17 Message-ID: <86wtak3wwp.fsf@dellbeast.localnet> References: <20060711.104708.1159134898.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: efficio.wh29.tu-dresden.de User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.19 (berkeley-unix) Cancel-Lock: sha1:oNv3rr1+mUlrAopG53WlpbSBBMk= Sender: news Subject: Re: Dell laptops 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, 11 Jul 2006 16:54:55 -0000 "M. Warner Losh" writes: > Greetings, > > What are the current problems, if any, on current Dell laptops have > with FreeBSD? ACPI Suspend to RAM is still not properly working. But it got better. I'll have to update to latest CURRENT to be more specific. Expect another mail this week. Regards, -- Julian Stecklina C has all the expressive power of two dixie cups and a string. (Jamie Zawinski) From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 11 17:10:17 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0013B16A4EA for ; Tue, 11 Jul 2006 17:10:16 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7129E43D7B for ; Tue, 11 Jul 2006 17:10:14 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.6/8.13.6/NETPLEX) with ESMTP id k6BHABm5016126; Tue, 11 Jul 2006 13:10:11 -0400 (EDT) Date: Tue, 11 Jul 2006 13:10:11 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: "M. Warner Losh" In-Reply-To: <20060711.104708.1159134898.imp@bsdimp.com> Message-ID: References: <20060711.104708.1159134898.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: mobile@freebsd.org Subject: Re: Dell laptops X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 17:10:17 -0000 On Tue, 11 Jul 2006, M. Warner Losh wrote: > Greetings, > > What are the current problems, if any, on current Dell laptops have > with FreeBSD? Yeah, thanks for asking! My Inspiron E1405 came with an Intel 3945 A/B/G mini-PCI wireless that isn't supported (OpenBSD has a seemingly actively maintained wpi driver for this card, and I have an experimental FreeBSD driver from damien that I haven't yet been able to get to work). I've ordered an Atheros-based mini-PCI in the meantime, and can lend out the 3945 to anyone willing to work on it. Also, the Fn (the blue key) can't be used to suspend, control volume, switch CRT/LCD, etc, and most importantly enable the radio on the wireless card (Fn + F2). Even if the wpi driver works, it's worthless if I can't enable the radio. Also, the ICH7-based sound chip isn't detected. I've got patches to dev/sound/pci/ich.c that detects it, but bus_alloc_resource[_any]() is failing to allocate the memory IO resource thingy. See patch below. The following lines from ich_pci_attach() are failing: sc->nambar = bus_alloc_resource_any(dev, sc->regtype, &sc->nambarid, RF_ACTIVE); sc->nabmbar = bus_alloc_resource_any(dev, sc->regtype, &sc->nabmbarid, RF_ACTIVE); if (!sc->nambar || !sc->nabmbar) { device_printf(dev, "unable to map IO port space\n"); goto bad; } Both bus_alloc_resource_any()'s return NULL. They also don't work if you massage the patch to use IO space instead of memory. I kind of gave up there because I don't really know how to debug it further. The system is at home, so I don't have any more useful info handy. I have't yet tried to get X working on the Intel 945 (I think) video chip. Index: ich.c =================================================================== RCS file: /opt/FreeBSD/cvs/src/sys/dev/sound/pci/ich.c,v retrieving revision 1.66 diff -u -r1.66 ich.c --- ich.c 18 Jun 2006 14:14:41 -0000 1.66 +++ ich.c 11 Jul 2006 16:28:13 -0000 @@ -56,6 +56,7 @@ #define INTEL_6300ESB 0x25a6 /* 6300ESB needs to be treated as ICH4 */ #define INTEL_82801FB 0x266e /* ICH6 needs to be treated as ICH4 */ #define INTEL_82801GB 0x27de /* ICH7 needs to be treated as ICH4 */ +#define INTEL_82801G 0x27d8 /* ICH7 needs to be treated as ICH4 */ #define SIS_7012 0x7012 /* SiS 7012 needs special handling */ #define NVIDIA_NFORCE 0x01b1 #define NVIDIA_NFORCE2 0x006a @@ -98,6 +99,8 @@ "Intel ICH6 (82801FB)" }, { INTEL_VENDORID, INTEL_82801GB, PROBE_LOW, "Intel ICH7 (82801GB)" }, + { INTEL_VENDORID, INTEL_82801G, PROBE_LOW, + "Intel ICH7 (82801G)" }, { SIS_VENDORID, SIS_7012, 0, "SiS 7012" }, { NVIDIA_VENDORID, NVIDIA_NFORCE, 0, @@ -693,7 +696,7 @@ if (sc->vendor == INTEL_VENDORID && ( sc->devid == INTEL_82801DB || sc->devid == INTEL_82801EB || sc->devid == INTEL_6300ESB || sc->devid == INTEL_82801FB || - sc->devid == INTEL_82801GB)) { + sc->devid == INTEL_82801GB || sc->devid == INTEL_82801G)) { sc->flags |= IGNORE_PCR; device_printf(sc->dev, "primary codec not ready!\n"); } @@ -781,7 +784,8 @@ */ if (vendor == INTEL_VENDORID && (devid == INTEL_82801DB || devid == INTEL_82801EB || devid == INTEL_6300ESB || - devid == INTEL_82801FB || devid == INTEL_82801GB)) { + devid == INTEL_82801FB || devid == INTEL_82801GB || + devid == INTEL_82801G)) { sc->nambarid = PCIR_MMBAR; sc->nabmbarid = PCIR_MBBAR; sc->regtype = SYS_RES_MEMORY; -- DE From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 11 17:36:14 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 759FA16A4E2 for ; Tue, 11 Jul 2006 17:36:14 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E18BD43D5A for ; Tue, 11 Jul 2006 17:36:13 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k6BHaA13074322; Tue, 11 Jul 2006 12:36:10 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B3E18F.80300@centtech.com> Date: Tue, 11 Jul 2006 12:36:15 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: "M. Warner Losh" References: <20060711.104708.1159134898.imp@bsdimp.com> In-Reply-To: <20060711.104708.1159134898.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1591/Mon Jul 10 14:41:02 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: mobile@freebsd.org Subject: Re: Dell laptops 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, 11 Jul 2006 17:36:14 -0000 On 07/11/06 11:47, M. Warner Losh wrote: > Greetings, > > What are the current problems, if any, on current Dell laptops have > with FreeBSD? I hope that the question is a sign that possible fixes would be on the horizon. :) I have a Latitude D820 (Dual Core) (and have used a D810, D610, D600 with FreeBSD also), and most things work, except suspend to ram (S3) which Nate Lawson is looking into a bit (we've sent him a D610 to work with for debugging) - currently, I can suspend, but resume causes an instant reboot. Also, the high-definition audio does not work. I'd *love* to get this working, and even looked into trying to port the azalia driver from netbsd. As another poster mentioned, the extra buttons and FN buttons don't seem to work, and there may be some acpi_video tweaks that need to happen to make the external vga/lcd screen swapping happen like it should. I can provide lots of details if needed, and am willing to debug. We typically have spare Dell Latitude laptops for use in testing also. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 11 17:37:38 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAA8D16A4DD; Tue, 11 Jul 2006 17:37:38 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62F0443D5A; Tue, 11 Jul 2006 17:37:32 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (am-productions.biz [69.61.164.22]) (authenticated bits=0) by mail.united-ware.com (8.13.6/8.13.6) with ESMTP id k6BHi7p7022280 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Jul 2006 13:44:13 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-mobile@freebsd.org, Daniel Eischen Date: Tue, 11 Jul 2006 13:37:51 -0400 User-Agent: KMail/1.9.1 References: <20060711.104708.1159134898.imp@bsdimp.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3911821.ClsKTBoZ87"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200607111338.01412.mistry.7@osu.edu> X-Spam-Status: No, score=-4.5 required=5.0 tests=ALL_TRUSTED,BAYES_60, MYFREEBSD2 autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.2/1591/Mon Jul 10 15:41:02 2006 on mail.united-ware.com X-Virus-Status: Clean Cc: Subject: Re: Dell laptops 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, 11 Jul 2006 17:37:38 -0000 --nextPart3911821.ClsKTBoZ87 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 11 July 2006 13:10, Daniel Eischen wrote: > On Tue, 11 Jul 2006, M. Warner Losh wrote: > > Greetings, > > > > What are the current problems, if any, on current Dell laptops > > have with FreeBSD? > > Yeah, thanks for asking! My Inspiron E1405 came with an Intel > 3945 A/B/G mini-PCI wireless that isn't supported (OpenBSD has > a seemingly actively maintained wpi driver for this card, and > I have an experimental FreeBSD driver from damien that I haven't > yet been able to get to work). I've ordered an Atheros-based > mini-PCI in the meantime, and can lend out the 3945 to anyone > willing to work on it. > > Also, the Fn (the blue key) can't be used to suspend, control > volume, switch CRT/LCD, etc, and most importantly enable the > radio on the wireless card (Fn + F2). Even if the wpi driver > works, it's worthless if I can't enable the radio. It might simply need an acpi function keys driver for your system. =20 Would you post an "acpidump -dt" from your system? =2D-=20 Anish Mistry --nextPart3911821.ClsKTBoZ87 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEs+H5xqA5ziudZT0RAuPNAJ9mYaops7UfYYqKp/Y3aw1IvMkQ1gCdFolQ fBQuppl9Jw+fV/zVubRLdAM= =ELey -----END PGP SIGNATURE----- --nextPart3911821.ClsKTBoZ87-- From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 11 17:52:26 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EC3416A4E0 for ; Tue, 11 Jul 2006 17:52:26 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBD9343D45 for ; Tue, 11 Jul 2006 17:52:25 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.7/8.13.7/NETPLEX) with ESMTP id k6BHqNM6028312; Tue, 11 Jul 2006 13:52:23 -0400 (EDT) Date: Tue, 11 Jul 2006 13:52:23 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Anish Mistry In-Reply-To: <200607111338.01412.mistry.7@osu.edu> Message-ID: References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-mobile@freebsd.org Subject: Re: Dell laptops X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 17:52:26 -0000 On Tue, 11 Jul 2006, Anish Mistry wrote: > On Tuesday 11 July 2006 13:10, Daniel Eischen wrote: >> On Tue, 11 Jul 2006, M. Warner Losh wrote: >>> Greetings, >>> >>> What are the current problems, if any, on current Dell laptops >>> have with FreeBSD? >> >> Yeah, thanks for asking! My Inspiron E1405 came with an Intel >> 3945 A/B/G mini-PCI wireless that isn't supported (OpenBSD has >> a seemingly actively maintained wpi driver for this card, and >> I have an experimental FreeBSD driver from damien that I haven't >> yet been able to get to work). I've ordered an Atheros-based >> mini-PCI in the meantime, and can lend out the 3945 to anyone >> willing to work on it. >> >> Also, the Fn (the blue key) can't be used to suspend, control >> volume, switch CRT/LCD, etc, and most importantly enable the >> radio on the wireless card (Fn + F2). Even if the wpi driver >> works, it's worthless if I can't enable the radio. > > It might simply need an acpi function keys driver for your system. > Would you post an "acpidump -dt" from your system? I'll do that later when I get access to it, but I did try disabling ACPI and it still didn't work. Would that make a difference? -- DE From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 11 17:54:04 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9468D16A580 for ; Tue, 11 Jul 2006 17:54:04 +0000 (UTC) (envelope-from lyndon@orthanc.ca) Received: from orthanc.ca (orthanc.ca [209.89.70.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF29E43D46 for ; Tue, 11 Jul 2006 17:54:03 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0) by orthanc.ca (8.13.4/8.13.4) with ESMTP id k6BHrqpk067812 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Jul 2006 11:53:56 -0600 (MDT) (envelope-from lyndon@orthanc.ca) Date: Tue, 11 Jul 2006 11:53:52 -0600 (MDT) From: Lyndon Nerenberg To: "M. Warner Losh" In-Reply-To: <20060711.104708.1159134898.imp@bsdimp.com> Message-ID: <20060711114633.G67466@orthanc.ca> References: <20060711.104708.1159134898.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on orthanc.ca Cc: mobile@freebsd.org Subject: Re: Dell laptops 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, 11 Jul 2006 17:54:04 -0000 > What are the current problems, if any, on current Dell laptops have > with FreeBSD? Latitude D610 Working: bge, x.org, audio. Broken: apm, acpi (none of the buttons work -- not even the lid-close button) (well, the screen brightness controls work), no acpi video dpms, battery life sucks (just over an hour), onboard (1370?) wireless not seen (DWL-G650 in Cardbus slot works fine), no suspend. Untested: dock, external video. --lyndon From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 11 18:20:33 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8726216A4DE for ; Tue, 11 Jul 2006 18:20:33 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 083B643D72 for ; Tue, 11 Jul 2006 18:20:32 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (am-productions.biz [69.61.164.22]) (authenticated bits=0) by mail.united-ware.com (8.13.6/8.13.6) with ESMTP id k6BIR978022821 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Jul 2006 14:27:16 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-mobile@freebsd.org Date: Tue, 11 Jul 2006 14:20:40 -0400 User-Agent: KMail/1.9.1 References: <20060711.104708.1159134898.imp@bsdimp.com> <20060711114633.G67466@orthanc.ca> In-Reply-To: <20060711114633.G67466@orthanc.ca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2247063.MX4Xx9Vhxv"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200607111421.03696.mistry.7@osu.edu> X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,BAYES_95, MYFREEBSD2 autolearn=no version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.2/1591/Mon Jul 10 15:41:02 2006 on mail.united-ware.com X-Virus-Status: Clean Cc: Lyndon Nerenberg Subject: Re: Dell laptops 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, 11 Jul 2006 18:20:33 -0000 --nextPart2247063.MX4Xx9Vhxv Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 11 July 2006 13:53, Lyndon Nerenberg wrote: > > What are the current problems, if any, on current Dell laptops > > have with FreeBSD? > > Latitude D610 > > Working: bge, x.org, audio. > > Broken: apm, acpi (none of the buttons work -- not even the > lid-close button) (well, the screen brightness controls work), no > acpi video dpms, battery life sucks (just over an hour), onboard > (1370?) wireless not seen (DWL-G650 in Cardbus slot works fine), no > suspend. Check the acpi debugging page in the handbook. Try=20 hw.acpi.osname=3D"Windows 2001" in /boot/loader.conf to see if you see=20 any improvements and make sure you have the most up-to-date BIOS. =2D-=20 Anish Mistry --nextPart2247063.MX4Xx9Vhxv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEs+wPxqA5ziudZT0RAmioAKCNo9yx1E6Mw9U9kO//8cpKH/HdNACgk+BB CtdGu+mAVeAde3ZxVlFfras= =e3Sb -----END PGP SIGNATURE----- --nextPart2247063.MX4Xx9Vhxv-- From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 11 18:27:46 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C3B916A4DA; Tue, 11 Jul 2006 18:27:46 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E78A43D64; Tue, 11 Jul 2006 18:27:45 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k6BIRjsi082810; Tue, 11 Jul 2006 13:27:45 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B3EDA6.8050608@centtech.com> Date: Tue, 11 Jul 2006 13:27:50 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Anish Mistry References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> In-Reply-To: <200607111338.01412.mistry.7@osu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1591/Mon Jul 10 14:41:02 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: Daniel Eischen , freebsd-mobile@freebsd.org Subject: Re: Dell laptops 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, 11 Jul 2006 18:27:46 -0000 On 07/11/06 12:37, Anish Mistry wrote: > On Tuesday 11 July 2006 13:10, Daniel Eischen wrote: >> On Tue, 11 Jul 2006, M. Warner Losh wrote: >>> Greetings, >>> >>> What are the current problems, if any, on current Dell laptops >>> have with FreeBSD? >> Yeah, thanks for asking! My Inspiron E1405 came with an Intel >> 3945 A/B/G mini-PCI wireless that isn't supported (OpenBSD has >> a seemingly actively maintained wpi driver for this card, and >> I have an experimental FreeBSD driver from damien that I haven't >> yet been able to get to work). I've ordered an Atheros-based >> mini-PCI in the meantime, and can lend out the 3945 to anyone >> willing to work on it. >> >> Also, the Fn (the blue key) can't be used to suspend, control >> volume, switch CRT/LCD, etc, and most importantly enable the >> radio on the wireless card (Fn + F2). Even if the wpi driver >> works, it's worthless if I can't enable the radio. > It might simply need an acpi function keys driver for your system. > Would you post an "acpidump -dt" from your system? > I have a bunch of info on the D820 posted here: http://www.googlebit.com/freebsd/200607110621/ Is any of that useful to you? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 11 18:59:12 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBFD616A4DA for ; Tue, 11 Jul 2006 18:59:12 +0000 (UTC) (envelope-from lyndon@orthanc.ca) Received: from orthanc.ca (orthanc.ca [209.89.70.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5429143D60 for ; Tue, 11 Jul 2006 18:59:12 +0000 (GMT) (envelope-from lyndon@orthanc.ca) Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0) by orthanc.ca (8.13.4/8.13.4) with ESMTP id k6BIx6lX068514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Jul 2006 12:59:09 -0600 (MDT) (envelope-from lyndon@orthanc.ca) Date: Tue, 11 Jul 2006 12:59:06 -0600 (MDT) From: Lyndon Nerenberg To: Anish Mistry In-Reply-To: <200607111421.03696.mistry.7@osu.edu> Message-ID: <20060711125017.V68440@orthanc.ca> References: <20060711.104708.1159134898.imp@bsdimp.com> <20060711114633.G67466@orthanc.ca> <200607111421.03696.mistry.7@osu.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on orthanc.ca Cc: freebsd-mobile@freebsd.org Subject: Dell D610 broken ACPI 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, 11 Jul 2006 18:59:12 -0000 > Check the acpi debugging page in the handbook. Try > hw.acpi.osname="Windows 2001" in /boot/loader.conf to see if you see > any improvements and make sure you have the most up-to-date BIOS. I have, I did, and I do. The problems are way beyond that. E.g., 'acpiconf -s 1' fails with an invalid argument error, despite being a valid state (according to sysctl). Suspend to S3 /appears/ to work (machine goes to sleep, power LED goes into slow fade up/down mode), but when you try to come out of S3 the machine resets and goes straight into the BIOS boot. This is with 6.1-RELEASE. --lyndon From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 11 19:01:20 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DFA916A4DE for ; Tue, 11 Jul 2006 19:01:20 +0000 (UTC) (envelope-from outi@bytephobia.de) Received: from dd2626.kasserver.com (dd2626.kasserver.com [81.209.184.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECFC943D76 for ; Tue, 11 Jul 2006 19:01:19 +0000 (GMT) (envelope-from outi@bytephobia.de) Received: from [10.1.0.2] (pD9E36D70.dip.t-dialin.net [217.227.109.112]) by dd2626.kasserver.com (Postfix) with ESMTP id F1FB8A558F; Tue, 11 Jul 2006 21:01:17 +0200 (CEST) Message-ID: <44B3F577.9090101@bytephobia.de> Date: Tue, 11 Jul 2006 21:01:11 +0200 From: Patrick Hurrelmann User-Agent: Thunderbird 1.5.0.4 (X11/20060610) MIME-Version: 1.0 To: "M. Warner Losh" References: <20060711.104708.1159134898.imp@bsdimp.com> In-Reply-To: <20060711.104708.1159134898.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: mobile@freebsd.org Subject: Re: Dell laptops 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, 11 Jul 2006 19:01:20 -0000 M. Warner Losh wrote: > Greetings, > > What are the current problems, if any, on current Dell laptops have > with FreeBSD? > > Warner Hi Warner, I really like Dells. Especially the Latitude-series. Personally I run FreeBSD on a Latitude D600 since 5.1-CURRENT. All works like a charm, except ACPI suspend/resume and the Broadcom WLAN. It was exchanged by a ath-card some years ago. At work I have my hands on several Latitude D610, but I never managed to try FreeBSD on them. But I have good reports from FreeBSD-users. Since some weeks I own a Latitude D620 (DualCore) and it really rocks, altough some things don't work atm. ACPI suspend/resume doesn't work at all like usual. Intel 3945ABG WLAN (even NDIS fails) and Intel HDA audio are unsupported (patches from multimedia@ won't build) at the moment. I did not test hotkeys till know. Xorg works like a charm, too. I chose the embedded nVidia Quadro graphics card :) Some other glitches: - Gigabit nic (bge) only works with a patch, but it still gets firmware handshake timeouts (see current@) - SATA needs patch with updated PCI-IDs - usb (UHCI) also needs patch with updated PCI-IDs But the overall performance, design and handling rocks on this one. I can highly recommend this one. I'm very optimistic in getting it quite well supported in the near future. Patrick -- ==================================================================== Patrick Hurrelmann | "Programming today is a race between software Mannheim, Germany | engineers striving to build bigger and better | idiot-proof programs, and the Universe trying outi@bytephobia.de | to produce bigger and better idiots. So far, www.bytephobia.de | the Universe is winning." - Rich Cook /"\ \ / ASCII Ribbon Campaign X against HTML email & vCards / \ From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 11 19:16:05 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23ADD16A4DA for ; Tue, 11 Jul 2006 19:16:05 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C3D643D60 for ; Tue, 11 Jul 2006 19:16:01 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k6BJG06t090777; Tue, 11 Jul 2006 14:16:00 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B3F8F5.6090502@centtech.com> Date: Tue, 11 Jul 2006 14:16:05 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Lyndon Nerenberg References: <20060711.104708.1159134898.imp@bsdimp.com> <20060711114633.G67466@orthanc.ca> <200607111421.03696.mistry.7@osu.edu> <20060711125017.V68440@orthanc.ca> In-Reply-To: <20060711125017.V68440@orthanc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1591/Mon Jul 10 14:41:02 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-mobile@freebsd.org Subject: Re: Dell D610 broken ACPI 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, 11 Jul 2006 19:16:05 -0000 On 07/11/06 13:59, Lyndon Nerenberg wrote: >> Check the acpi debugging page in the handbook. Try >> hw.acpi.osname="Windows 2001" in /boot/loader.conf to see if you see >> any improvements and make sure you have the most up-to-date BIOS. > > I have, I did, and I do. The problems are way beyond that. E.g., > 'acpiconf -s 1' fails with an invalid argument error, despite being a > valid state (according to sysctl). Suspend to S3 /appears/ to work > (machine goes to sleep, power LED goes into slow fade up/down mode), but > when you try to come out of S3 the machine resets and goes straight into > the BIOS boot. > > This is with 6.1-RELEASE. I don't think the D610 supports S1. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 11 19:25:29 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B80D316A4DA for ; Tue, 11 Jul 2006 19:25:29 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F49843D6B for ; Tue, 11 Jul 2006 19:25:26 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k6BJPJ80075340; Tue, 11 Jul 2006 14:25:19 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B3FB24.7020904@centtech.com> Date: Tue, 11 Jul 2006 14:25:24 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Patrick Hurrelmann References: <20060711.104708.1159134898.imp@bsdimp.com> <44B3F577.9090101@bytephobia.de> In-Reply-To: <44B3F577.9090101@bytephobia.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1591/Mon Jul 10 14:41:02 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: mobile@freebsd.org Subject: Re: Dell laptops 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, 11 Jul 2006 19:25:29 -0000 On 07/11/06 14:01, Patrick Hurrelmann wrote: > M. Warner Losh wrote: >> Greetings, >> >> What are the current problems, if any, on current Dell laptops have >> with FreeBSD? >> >> Warner > > Hi Warner, > > I really like Dells. Especially the Latitude-series. Personally I run > FreeBSD on a Latitude D600 since 5.1-CURRENT. All works like a charm, > except ACPI suspend/resume and the Broadcom WLAN. It was exchanged by a > ath-card some years ago. > > At work I have my hands on several Latitude D610, but I never managed to > try FreeBSD on them. But I have good reports from FreeBSD-users. > > Since some weeks I own a Latitude D620 (DualCore) and it really rocks, > altough some things don't work atm. ACPI suspend/resume doesn't work at > all like usual. Intel 3945ABG WLAN (even NDIS fails) and Intel HDA audio > are unsupported (patches from multimedia@ won't build) at the moment. I > did not test hotkeys till know. Xorg works like a charm, too. I chose > the embedded nVidia Quadro graphics card :) > > Some other glitches: > - Gigabit nic (bge) only works with a patch, but it still gets firmware > handshake timeouts (see current@) Yes, I forgot that the bge nic acts funny.. Can you point me to the patch please? > - SATA needs patch with updated PCI-IDs Really? The D820 (presumably the same motherboard) works without any patches.. > - usb (UHCI) also needs patch with updated PCI-IDs Same with this.. > But the overall performance, design and handling rocks on this one. I > can highly recommend this one. I'm very optimistic in getting it quite > well supported in the near future. > > Patrick > -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 11 20:01:14 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B92F16A4E2 for ; Tue, 11 Jul 2006 20:01:14 +0000 (UTC) (envelope-from frank@exit.com) Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C92D43D55 for ; Tue, 11 Jul 2006 20:01:11 +0000 (GMT) (envelope-from frank@exit.com) Received: from jill.exit.com (jill.exit.com [206.223.0.4]) by tinker.exit.com (8.13.4/8.13.4) with ESMTP id k6BK14KZ070228; Tue, 11 Jul 2006 13:01:04 -0700 (PDT) (envelope-from frank@exit.com) Received: from jill.exit.com (localhost [127.0.0.1]) by jill.exit.com (8.13.6/8.13.4) with ESMTP id k6BK14vY014469; Tue, 11 Jul 2006 13:01:04 -0700 (PDT) (envelope-from frank@exit.com) Received: (from frank@localhost) by jill.exit.com (8.13.6/8.13.4/Submit) id k6BK141q014468; Tue, 11 Jul 2006 13:01:04 -0700 (PDT) (envelope-from frank@exit.com) X-Authentication-Warning: jill.exit.com: frank set sender to frank@exit.com using -f From: Frank Mayhar To: "M. Warner Losh" In-Reply-To: <20060711.104708.1159134898.imp@bsdimp.com> References: <20060711.104708.1159134898.imp@bsdimp.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Exit Consulting Date: Tue, 11 Jul 2006 13:01:03 -0700 Message-Id: <1152648063.14259.4.camel@jill.exit.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 FreeBSD GNOME Team Port X-Virus-Scanned: ClamAV 0.88/1591/Mon Jul 10 12:41:02 2006 on tinker.exit.com X-Virus-Status: Clean Cc: mobile@freebsd.org Subject: Re: Dell laptops X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: frank@exit.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 20:01:14 -0000 On Tue, 2006-07-11 at 10:47 -0600, M. Warner Losh wrote: > What are the current problems, if any, on current Dell laptops have > with FreeBSD? Well, my Inspiron 5160 doesn't suspend, but other than that it seems to work fine. (Running -current, btw.) The last time I tried a suspend (just last week, as it happens) it complained about some missing ACPI function. I didn't note it and the laptop is at home turned off, but I can try it again this evening if there's interest. -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ http://www.exit.com/blog/frank/ From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 11 21:05:41 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05C5916A50A for ; Tue, 11 Jul 2006 21:05:41 +0000 (UTC) (envelope-from jpk@gmx.org) Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 0CEF043D5A for ; Tue, 11 Jul 2006 21:05:31 +0000 (GMT) (envelope-from jpk@gmx.org) Received: (qmail invoked by alias); 11 Jul 2006 21:05:30 -0000 Received: from gate.geh-da-wo-baum.de (EHLO [192.168.1.4]) [213.146.121.212] by mail.gmx.net (mp028) with SMTP; 11 Jul 2006 23:05:30 +0200 X-Authenticated: #10742085 Message-ID: <44B40623.3070401@gmx.org> Date: Tue, 11 Jul 2006 22:12:19 +0200 From: JPKlodzinski User-Agent: Thunderbird 1.5.0.4 (X11/20060606) MIME-Version: 1.0 To: Lyndon Nerenberg References: <20060711.104708.1159134898.imp@bsdimp.com> <20060711114633.G67466@orthanc.ca> In-Reply-To: <20060711114633.G67466@orthanc.ca> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: mobile@freebsd.org Subject: Re: Dell laptops 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, 11 Jul 2006 21:05:41 -0000 Hi, Latitude D610 with Radeon X300 and the Intel Pro/Wireless 2200 I can confirm most of them. lid-close button works when installing the "sysutils/radeontool". It add some sysctls It might be possible to use the external video, but i did not jet tested it. Wireless is working but not well. But im honest i cant't remeber why. After some tests i used my PCMCIA atheros based card for my wireless connection. Regards, JPKlodzinski Lyndon Nerenberg wrote: >> What are the current problems, if any, on current Dell laptops have >> with FreeBSD? > > Latitude D610 > > Working: bge, x.org, audio. > > Broken: apm, acpi (none of the buttons work -- not even the lid-close > button) (well, the screen brightness controls work), no acpi video dpms, > battery life sucks (just over an hour), onboard (1370?) wireless not > seen (DWL-G650 in Cardbus slot works fine), no suspend. > > Untested: dock, external video. > > --lyndon > _______________________________________________ > 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 Tue Jul 11 22:37:03 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D2C016A4DD for ; Tue, 11 Jul 2006 22:37:03 +0000 (UTC) (envelope-from Mark_Andrews@isc.org) Received: from farside.isc.org (farside.isc.org [204.152.187.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF18543D46 for ; Tue, 11 Jul 2006 22:37:02 +0000 (GMT) (envelope-from Mark_Andrews@isc.org) Received: from drugs.dv.isc.org (localhost.isc.org [IPv6:::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by farside.isc.org (Postfix) with ESMTP id 7AF68E601F for ; Tue, 11 Jul 2006 22:37:02 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.13.6/8.13.6) with ESMTP id k6BJaAaL001323; Wed, 12 Jul 2006 05:36:10 +1000 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200607111936.k6BJaAaL001323@drugs.dv.isc.org> To: Lyndon Nerenberg From: Mark Andrews In-reply-to: Your message of "Tue, 11 Jul 2006 11:53:52 CST." <20060711114633.G67466@orthanc.ca> Date: Wed, 12 Jul 2006 05:36:10 +1000 Sender: Mark_Andrews@isc.org Cc: mobile@freebsd.org Subject: Re: Dell laptops 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, 11 Jul 2006 22:37:03 -0000 > > What are the current problems, if any, on current Dell laptops have > > with FreeBSD? > > Latitude D610 > > Working: bge, x.org, audio. > > Broken: apm, acpi (none of the buttons work -- not even the lid-close > button) (well, the screen brightness controls work), no acpi video dpms, > battery life sucks (just over an hour), onboard (1370?) wireless not seen > (DWL-G650 in Cardbus slot works fine), no suspend. > > Untested: dock, external video. > > --lyndon > _______________________________________________ > 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" This should help w/ the lid button. Mark The following from Mark Diekhans helped. enable acpi_video in loader.conf: /boot/loader.conf with: acpi_video_load="YES" add this to /etc/devd.conf: # lid open/close events notify 10 { match "system" "ACPI"; match "subsystem" "Lid"; action "/etc/rc.lid $notify"; }; /etc/rc.lid is: #!/bin/sh # deal with lid switch events if [ x$1 = x0x00 ]; then logger -t Lid Closed at `date` sysctl hw.acpi.video.out0.active=0 else logger -t Lid Opened at `date` sysctl hw.acpi.video.out0.active=1 fi -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 12 00:04:01 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A995516A4DA for ; Wed, 12 Jul 2006 00:04:01 +0000 (UTC) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20C8943D46 for ; Wed, 12 Jul 2006 00:04:01 +0000 (GMT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id B8E639B496; Wed, 12 Jul 2006 09:33:59 +0930 (CST) Date: Wed, 12 Jul 2006 09:33:59 +0930 From: Greg 'groggy' Lehey To: "M. Warner Losh" Message-ID: <20060712000359.GD16244@wantadilla.lemis.com> References: <20060711.104708.1159134898.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wLAMOaPNJ0fu1fTG" Content-Disposition: inline In-Reply-To: <20060711.104708.1159134898.imp@bsdimp.com> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 VoIP: sip:0871270137@sip.internode.on.net WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: mobile@freebsd.org Subject: Re: Dell laptops 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: Wed, 12 Jul 2006 00:04:01 -0000 --wLAMOaPNJ0fu1fTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tuesday, 11 July 2006 at 10:47:08 -0600, M. Warner Losh wrote: > Greetings, > > What are the current problems, if any, on current Dell laptops have > with FreeBSD? ACPI "me too". Last time I tried with -CURRENT, ACPI didn't work at all and confused timers and things, so that the keyboard repeat came in jerks, sleep(1) took about 5 seconds, and some network things slowed to a crawl. As a result I had to disable ACPI to do anything at all with the machine. Under 6.1-RELEASE, ACPI works, and I can suspend, but not resume again. This is the state I told you about at BSDCan. I haven't experimented with this much since then. This is a work machine, and normally I run Linux on it. I don't know how well ACPI works under Linux, since I don't turn it off. Greg -- See complete headers for address and phone numbers. --wLAMOaPNJ0fu1fTG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEtDxvIubykFB6QiMRAhDcAJwOE4oTgrzT8c7GOEPqVug1pqyElQCeKZYs kyL3YOqqMJ55D7iULtFEoxE= =sgXZ -----END PGP SIGNATURE----- --wLAMOaPNJ0fu1fTG-- From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 12 00:13:02 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4387716A4DD for ; Wed, 12 Jul 2006 00:13:02 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (noop.in-addr.com [208.58.23.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id F17C943D45 for ; Wed, 12 Jul 2006 00:13:01 +0000 (GMT) (envelope-from gpalmer@freebsd.org) Received: from gjp by noop.in-addr.com with local (Exim 4.54 (FreeBSD)) id 1G0SLd-000IOk-7D for mobile@freebsd.org; Tue, 11 Jul 2006 20:13:01 -0400 Date: Tue, 11 Jul 2006 20:13:01 -0400 From: Gary Palmer To: mobile@freebsd.org Message-ID: <20060712001301.GA13620@in-addr.com> Mail-Followup-To: mobile@freebsd.org References: <20060711.104708.1159134898.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060711.104708.1159134898.imp@bsdimp.com> Cc: Subject: Re: Dell laptops 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: Wed, 12 Jul 2006 00:13:02 -0000 On Tue, Jul 11, 2006 at 10:47:08AM -0600, M. Warner Losh wrote: > Greetings, > > What are the current problems, if any, on current Dell laptops have > with FreeBSD? Not the most current of latptop, but my Latitude D800 refuses to suspend properly. "acpiconf -s 3" results in it giving all the appearance of trying to suspend, but instead of sleeping it boots back up to the BIOS with all memory state lost. A full FSCK is the result. This is on a recent 6-STABLE. Thanks, Gary From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 12 03:54:31 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A15416A4DE for ; Wed, 12 Jul 2006 03:54:31 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF76543D4C for ; Wed, 12 Jul 2006 03:54:30 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.7/8.13.7/NETPLEX) with ESMTP id k6C3sRE3028475; Tue, 11 Jul 2006 23:54:28 -0400 (EDT) Date: Tue, 11 Jul 2006 23:54:27 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Anish Mistry In-Reply-To: <200607111338.01412.mistry.7@osu.edu> Message-ID: References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-mobile@freebsd.org Subject: Re: Dell laptops X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 03:54:31 -0000 On Tue, 11 Jul 2006, Anish Mistry wrote: > On Tuesday 11 July 2006 13:10, Daniel Eischen wrote: >> On Tue, 11 Jul 2006, M. Warner Losh wrote: >>> Greetings, >>> >>> What are the current problems, if any, on current Dell laptops >>> have with FreeBSD? >> >> Yeah, thanks for asking! My Inspiron E1405 came with an Intel >> 3945 A/B/G mini-PCI wireless that isn't supported (OpenBSD has >> a seemingly actively maintained wpi driver for this card, and >> I have an experimental FreeBSD driver from damien that I haven't >> yet been able to get to work). I've ordered an Atheros-based >> mini-PCI in the meantime, and can lend out the 3945 to anyone >> willing to work on it. >> >> Also, the Fn (the blue key) can't be used to suspend, control >> volume, switch CRT/LCD, etc, and most importantly enable the >> radio on the wireless card (Fn + F2). Even if the wpi driver >> works, it's worthless if I can't enable the radio. > > It might simply need an acpi function keys driver for your system. > Would you post an "acpidump -dt" from your system? Here it is: http://people.freebsd.org/~deischen/e1405.acpi.dump I don't know how to decipher it nor what to do with it. -- DE From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 12 09:50:44 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2F7816A4EB for ; Wed, 12 Jul 2006 09:50:44 +0000 (UTC) (envelope-from freebsd-ipfw-request@freebsd.org) Received: from mx1.freebsd.org (mna75-3-82-66-230-149.fbx.proxad.net [82.66.230.149]) by mx1.FreeBSD.org (Postfix) with SMTP id 6E2BA43D73 for ; Wed, 12 Jul 2006 09:50:38 +0000 (GMT) (envelope-from freebsd-ipfw-request@freebsd.org) Received: from mx1.freebsd.org by mna75-3-82-66-230-149.fbx.proxad.net (8.12.11/8.12.11) with ESMTP id wOZJfFiTG5qFt for ; Wed, 12 Jul 2006 10:47:12 -0300 Received: from [25.171.24.6] by mx1.freebsd.org with ESMTP (8.9.3/8.9.3) id MR4TS7xVfweIz for ; Wed, 12 Jul 2006 10:45:59 -0300 From: "freebsd-ipfw-request@freebsd.org" Date: Wed, 12 Jul 2006 10:36:30 -0300 Message-ID: iez1Z2KIRtusR.UQOIr9zhuuVgk@freebsd.org To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1251" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: =?iso-8859-1?q?Tiered_of_been_passed_over_for_that_promotion_bec?= =?iso-8859-1?q?ause_you_don=92t_have_the_proper_Degree=3F?= X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "freebsd-ipfw-request@freebsd.org" List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 09:50:44 -0000 Want the degree but cant find the time? WHAT A GREAT IDEA! We provide a concept that will allow anyone with sufficient work experience to obtain a fully verifiable University Degree. Bachelors, Masters or even a Doctorate. Think of it, within four to six weeks, you too could be a college graduate. Many people share the same frustration, they are all doing the work of the person that has the degree and the person that has the degree is getting all the money. Dont you think that it is time you were paid fair compensation for the level of work you are already doing? This is your chance to finally make the right move and receive your due benefits. If you are like most people, you are more than qualified with your experience, but are lacking that prestigious piece of paper known as a diploma that i s often the passport to success. CALL US TODAY AND GIVE YOUR WORK EXPERIENCE THE CHANCE TO EARN YOU THE HIGHER COMPENSATION YOU DESERVE! CALL NOW: 1-815-828-2222 was s napped in half? What would he do, where would he go? He could From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 12 12:35:30 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0947516A4F2; Wed, 12 Jul 2006 12:35:30 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EC2543D53; Wed, 12 Jul 2006 12:35:14 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k6CCZ1fX056303; Wed, 12 Jul 2006 07:35:07 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B4EC7B.9020004@centtech.com> Date: Wed, 12 Jul 2006 07:35:07 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Wesley Morgan References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> In-Reply-To: <20060709093252.S31266@volatile.chemikals.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1592/Tue Jul 11 15:40:37 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-multimedia@freebsd.org, Andrea Bittau , freebsd-mobile@freebsd.org Subject: Re: HDA sound driver mod for sigmatel 92xx 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: Wed, 12 Jul 2006 12:35:30 -0000 On 07/09/06 09:11, Wesley Morgan wrote: > > With a little help from the netbsd azalia driver (a wonderful piece of > work, by the way) and the hda specs, I've been able to get Andrea's hdac > code to work with my laptop. I believe the problem was that the codec > and dac started out in some kind of low-power mode and needed to be > woken up before they would work. > > Hopefully someone is still working on a proper driver, but for now, I > can watch movies again! > > A diff against Andrea's work is attached. I couldn't get this patch to work - all hunks fail. What am I doing wrong? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 12 13:44:26 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A85516A4DD for ; Wed, 12 Jul 2006 13:44:26 +0000 (UTC) (envelope-from spock@dwinner.net) Received: from outbound-mail-09.bluehost.com (outbound-mail-09.bluehost.com [67.138.240.209]) by mx1.FreeBSD.org (Postfix) with SMTP id D846643D46 for ; Wed, 12 Jul 2006 13:44:25 +0000 (GMT) (envelope-from spock@dwinner.net) Received: (qmail 29157 invoked by uid 0); 12 Jul 2006 13:44:20 -0000 Received: from unknown (HELO box122.bluehost.com) (67.106.44.122) by mailproxy1.bluehost.com with SMTP; 12 Jul 2006 13:44:20 -0000 Received: from [216.113.237.29] (helo=[10.10.6.20]) by box122.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.52) id 1G0f0m-0004qA-CR for mobile@freebsd.org; Wed, 12 Jul 2006 07:44:20 -0600 Message-ID: <44B4FCB0.8040809@dwinner.net> Date: Wed, 12 Jul 2006 09:44:16 -0400 From: DW User-Agent: Thunderbird 1.5.0.4 (X11/20060621) MIME-Version: 1.0 To: mobile@freebsd.org References: <20060711.104708.1159134898.imp@bsdimp.com> <44B3E18F.80300@centtech.com> In-Reply-To: <44B3E18F.80300@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {731:box122.bluehost.com:dwinnern:dwinner.net} {sentby:smtp auth 216.113.237.29 authed with dwinner@dwinner.net} Cc: Subject: Re: Dell laptops 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: Wed, 12 Jul 2006 13:44:26 -0000 Eric Anderson wrote: > On 07/11/06 11:47, M. Warner Losh wrote: >> Greetings, >> >> What are the current problems, if any, on current Dell laptops have >> with FreeBSD? > > > I hope that the question is a sign that possible fixes would be on the > horizon. :) > > I have a Latitude D820 (Dual Core) (and have used a D810, D610, D600 > with FreeBSD also), and most things work, except suspend to ram (S3) > which Nate Lawson is looking into a bit (we've sent him a D610 to work > with for debugging) - currently, I can suspend, but resume causes an > instant reboot. > > Also, the high-definition audio does not work. I'd *love* to get this > working, and even looked into trying to port the azalia driver from > netbsd. > > As another poster mentioned, the extra buttons and FN buttons don't > seem to work, and there may be some acpi_video tweaks that need to > happen to make the external vga/lcd screen swapping happen like it > should. > > I can provide lots of details if needed, and am willing to debug. We > typically have spare Dell Latitude laptops for use in testing also. > > Eric > > Well, I know we're talking Dell notebooks here, I'm a Thinkpad guy myself, but it seems like the issues are very similar and IBM (I mean Lenovo!) and Dell are using many of the same components and presenting similar issues such as 3945 support (not good), versus alternative .11a/b/g atheros chipset support (good), and the new HiDef audio. I'd be interested in seeing where the support for this new HiDef audio goes. Do (did) the Dells use the same snd_ich driver that the Thinkpads have used? And if so I wonder if the new HiDefs are the same as well. Hopefully that get resolved soon, it is the only missing piece to slapping gold FreeBSD sticker on my new T60. (Well, I'll still need to futz with ACPI suspend/resume, but what else is new? Can be a pisser, but has never been a show stopper for me.) For what it's worth, I spent much time on the wireless and the bottom line is, if you can get your laptop (Dell or Thinkpad) shipped with either the 3945 or the Atheros, *pick the Atheros!* If it's not at option (boxed purchase from reseller, like my T60 from PCConnection), then buy an atheros after market and swap them out. Forget the 3945 for now. (Although I understand that the driver is going on openbsd, but hasn't been ported to FreeBSD yet. But still very experimental in openbsd?) -DW From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 12 14:11:46 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A972F16A4E1 for ; Wed, 12 Jul 2006 14:11:46 +0000 (UTC) (envelope-from freebsd-mobile@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C5E443D70 for ; Wed, 12 Jul 2006 14:11:45 +0000 (GMT) (envelope-from freebsd-mobile@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1G0fRH-0008SZ-Vl for freebsd-mobile@freebsd.org; Wed, 12 Jul 2006 16:11:44 +0200 Received: from efficio.wh29.tu-dresden.de ([141.30.207.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Jul 2006 16:11:43 +0200 Received: from der_julian by efficio.wh29.tu-dresden.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Jul 2006 16:11:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-mobile@freebsd.org From: Julian Stecklina Date: Wed, 12 Jul 2006 16:11:28 +0200 Lines: 24 Message-ID: <86mzbe6hgv.fsf@dellbeast.localnet> References: <20060711.104708.1159134898.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: efficio.wh29.tu-dresden.de User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.19 (berkeley-unix) Cancel-Lock: sha1:c5hdG5iefe7HjR0tyyBQ0evoABg= Sender: news Subject: Re: Dell laptops 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: Wed, 12 Jul 2006 14:11:46 -0000 "M. Warner Losh" writes: > Greetings, > > What are the current problems, if any, on current Dell laptops have > with FreeBSD? This is on an Inspiron 510m with -CURRENT as of today: Under X11 with i915.ko loaded, S3 kind of works, but the laptop is immediately woken up again. Without X11 on the console, the same happens but the LCD stays off (and cannot be enabled by twiddling with hw.acpi.video.foo). It seems that with hw.acpi.reset_video=1 the machine just reboots. Is there any workaround for the immediate wake up problem? I am happy to provide any information that might be of help. Regards, -- Julian Stecklina C has all the expressive power of two dixie cups and a string. (Jamie Zawinski) From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 12 18:20:57 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1915816A4DD for ; Wed, 12 Jul 2006 18:20:57 +0000 (UTC) (envelope-from dgilbert@daveg.ca) Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id C37D443D45 for ; Wed, 12 Jul 2006 18:20:56 +0000 (GMT) (envelope-from dgilbert@daveg.ca) Received: by ox.eicat.ca (Postfix, from userid 66) id 23E871DB1F; Wed, 12 Jul 2006 14:20:56 -0400 (EDT) Received: by canoe.dclg.ca (Postfix, from userid 101) id 793114AC2B; Wed, 12 Jul 2006 14:20:57 -0400 (EDT) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17589.15752.193785.135242@canoe.dclg.ca> Date: Wed, 12 Jul 2006 14:20:56 -0400 To: "M. Warner Losh" In-Reply-To: <20060711.104708.1159134898.imp@bsdimp.com> References: <20060711.104708.1159134898.imp@bsdimp.com> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid Cc: mobile@freebsd.org Subject: Dell laptops 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: Wed, 12 Jul 2006 18:20:57 -0000 >>>>> "M" == M Warner Losh writes: M> Greetings, What are the current problems, if any, on current Dell M> laptops have with FreeBSD? I've had a D-800 and I currently have an XPS-170. Pretty much my only issue is suspend. A recent update to the nvidia driver has made the screen switching stop working ... but I'm using twinview to get around that. I'm pretty sure it's not a FreeBSD issue per se --- rather an nvidia driver one (since the console behaves correctly). Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================ From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 12 18:24:00 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74C1816A4DD; Wed, 12 Jul 2006 18:24:00 +0000 (UTC) (envelope-from dgilbert@daveg.ca) Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id F16BD43D45; Wed, 12 Jul 2006 18:23:59 +0000 (GMT) (envelope-from dgilbert@daveg.ca) Received: by ox.eicat.ca (Postfix, from userid 66) id 8D6B81D8CD; Wed, 12 Jul 2006 14:23:59 -0400 (EDT) Received: by canoe.dclg.ca (Postfix, from userid 101) id 80BE34AC2B; Wed, 12 Jul 2006 14:24:01 -0400 (EDT) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17589.15937.473805.148588@canoe.dclg.ca> Date: Wed, 12 Jul 2006 14:24:01 -0400 To: Daniel Eischen In-Reply-To: References: <20060711.104708.1159134898.imp@bsdimp.com> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid Cc: mobile@freebsd.org Subject: Re: Dell laptops 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: Wed, 12 Jul 2006 18:24:00 -0000 >>>>> "Daniel" == Daniel Eischen writes: Daniel> On Tue, 11 Jul 2006, M. Warner Losh wrote: >> Greetings, >> >> What are the current problems, if any, on current Dell laptops have >> with FreeBSD? Daniel> Yeah, thanks for asking! My Inspiron E1405 came with an Intel Daniel> 3945 A/B/G mini-PCI wireless that isn't supported (OpenBSD has Daniel> a seemingly actively maintained wpi driver for this card, and Daniel> I have an experimental FreeBSD driver from damien that I Daniel> haven't yet been able to get to work). I've ordered an Daniel> Atheros-based mini-PCI in the meantime, and can lend out the Daniel> 3945 to anyone willing to work on it. Daniel> Also, the Fn (the blue key) can't be used to suspend, control Daniel> volume, switch CRT/LCD, etc, and most importantly enable the Daniel> radio on the wireless card (Fn + F2). Even if the wpi driver Daniel> works, it's worthless if I can't enable the radio. My XPS-170 came with a 2915 a/b/g, and the iwi driver works fine. The function key switch also works --- but it's operation is somewhat acpi-related, I believe. The screen switching function stopped working for me with the latest update to the nvidia driver (try it on the console --- if it works there, it's the nvidia driver). Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================ From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 12 18:29:06 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D3FA16A4FC for ; Wed, 12 Jul 2006 18:29:06 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C923343D45 for ; Wed, 12 Jul 2006 18:29:05 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.7/8.13.7/NETPLEX) with ESMTP id k6CIT1pN027155; Wed, 12 Jul 2006 14:29:01 -0400 (EDT) Date: Wed, 12 Jul 2006 14:29:01 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: David Gilbert In-Reply-To: <17589.15937.473805.148588@canoe.dclg.ca> Message-ID: References: <20060711.104708.1159134898.imp@bsdimp.com> <17589.15937.473805.148588@canoe.dclg.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: mobile@freebsd.org Subject: Re: Dell laptops X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 18:29:06 -0000 On Wed, 12 Jul 2006, David Gilbert wrote: >>>>>> "Daniel" == Daniel Eischen writes: > > Daniel> On Tue, 11 Jul 2006, M. Warner Losh wrote: >>> Greetings, >>> >>> What are the current problems, if any, on current Dell laptops have >>> with FreeBSD? > > Daniel> Yeah, thanks for asking! My Inspiron E1405 came with an Intel > Daniel> 3945 A/B/G mini-PCI wireless that isn't supported (OpenBSD has > Daniel> a seemingly actively maintained wpi driver for this card, and > Daniel> I have an experimental FreeBSD driver from damien that I > Daniel> haven't yet been able to get to work). I've ordered an > Daniel> Atheros-based mini-PCI in the meantime, and can lend out the > Daniel> 3945 to anyone willing to work on it. > > Daniel> Also, the Fn (the blue key) can't be used to suspend, control > Daniel> volume, switch CRT/LCD, etc, and most importantly enable the > Daniel> radio on the wireless card (Fn + F2). Even if the wpi driver > Daniel> works, it's worthless if I can't enable the radio. > > My XPS-170 came with a 2915 a/b/g, and the iwi driver works fine. The > function key switch also works --- but it's operation is somewhat > acpi-related, I believe. The screen switching function stopped > working for me with the latest update to the nvidia driver (try it on > the console --- if it works there, it's the nvidia driver). I didn't make the mistake of getting a system with an nvidia chip ;-) It's an Intel 945 of some sort and I don't have X set up on it yet, so it's strictly console right now. -- DE From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 12 18:47:24 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44DD916A4DF; Wed, 12 Jul 2006 18:47:24 +0000 (UTC) (envelope-from dgilbert@daveg.ca) Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id A68F843D53; Wed, 12 Jul 2006 18:47:23 +0000 (GMT) (envelope-from dgilbert@daveg.ca) Received: by ox.eicat.ca (Postfix, from userid 66) id 202F81E1DC; Wed, 12 Jul 2006 14:47:23 -0400 (EDT) Received: by canoe.dclg.ca (Postfix, from userid 101) id 2FD2A4AC2B; Wed, 12 Jul 2006 14:47:25 -0400 (EDT) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17589.17341.137936.745656@canoe.dclg.ca> Date: Wed, 12 Jul 2006 14:47:25 -0400 To: Daniel Eischen In-Reply-To: References: <20060711.104708.1159134898.imp@bsdimp.com> <17589.15937.473805.148588@canoe.dclg.ca> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid Cc: mobile@freebsd.org, David Gilbert Subject: Re: Dell laptops 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: Wed, 12 Jul 2006 18:47:24 -0000 >>>>> "Daniel" == Daniel Eischen writes: Daniel> I didn't make the mistake of getting a system with an nvidia Daniel> chip ;-) It's an Intel 945 of some sort and I don't have X set Daniel> up on it yet, so it's strictly console right now. Well... given my sister's Dell's problems with it's intel chipset video, I would definately stay away from that. I also value 3D performance and the Nvidia 6800 in the XPS is "somewhat" better than the Intel 945 (to understate the issue). Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================ From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 12 19:32:56 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED8C616A4DD for ; Wed, 12 Jul 2006 19:32:56 +0000 (UTC) (envelope-from cfaber@ruckusmail.com) Received: from unixgr.com (unixgr.com [63.224.69.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6159743D45 for ; Wed, 12 Jul 2006 19:32:56 +0000 (GMT) (envelope-from cfaber@ruckusmail.com) Received: from [168.116.81.137] ([208.49.79.59]) (authenticated bits=0) by unixgr.com (8.13.3/8.13.3) with ESMTP id k6CKdDEd085987; Wed, 12 Jul 2006 14:39:14 -0600 (MDT) (envelope-from cfaber@ruckusmail.com) X-Authentication-Warning: unixgr.com: Host [208.49.79.59] claimed to be [168.116.81.137] Message-ID: <44B54E3A.9040102@ruckusmail.com> Date: Wed, 12 Jul 2006 13:32:10 -0600 From: Colin Faber User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lyndon Nerenberg References: <20060711.104708.1159134898.imp@bsdimp.com> <20060711114633.G67466@orthanc.ca> In-Reply-To: <20060711114633.G67466@orthanc.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: mobile@freebsd.org Subject: Re: Dell laptops 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: Wed, 12 Jul 2006 19:32:57 -0000 Lyndon Nerenberg wrote: >> What are the current problems, if any, on current Dell laptops have >> with FreeBSD? > > > Latitude D610 > > Working: bge, x.org, audio. > > Broken: apm, acpi (none of the buttons work -- not even the lid-close > button) (well, the screen brightness controls work), no acpi video > dpms, battery life sucks (just over an hour), onboard (1370?) wireless > not seen (DWL-G650 in Cardbus slot works fine), no suspend. > > Untested: dock, external video. > > --lyndon > _______________________________________________ > 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" I'm running -CURRENT on a D610 with working crt/lcd Fn switch, bge, wireless (via ndis), sound, video (including DRM/DRI), est (via powerd), and Lid switch control. The only problems I've noticed so far is that when running est with powerd in adaptive mode, it seems to adjust the cpu timing many times a second, which has lead to some applications being unstable and or performing horribly (the most notable would be audio applications, each time the cpu timing is switch you hear a pause). The other hardware issues I've experienced is the sound, volume up, volume down, and mute buttons for both Fn and those "other" ones next to the dell logo fail to function. In addition the wireless indicator LED fails to light, so you have no idea when the radio is on and when it's off. Lcd brightness, etc. seems to work, though I don't think it's adjustable via anything other than the Fn button. S3 suspend to ram also results in an instant reboot. However that's an improvement over the current issue I'm dealing with, with X windows causing a panic on shutdown (fun!). As I do have -CURRENT on this thing now, I'm willing to try anything to further development. -cf From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 12 20:00:06 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBFD016A4DA for ; Wed, 12 Jul 2006 20:00:06 +0000 (UTC) (envelope-from carl.gustavsson@telia.com) Received: from mx1.kth.se (mx1.kth.se [130.237.32.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB54F43D7E for ; Wed, 12 Jul 2006 20:00:05 +0000 (GMT) (envelope-from carl.gustavsson@telia.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by mx1.kth.se (Postfix) with ESMTP id ACB4B14118C; Wed, 12 Jul 2006 22:00:04 +0200 (CEST) Received: from mx1.kth.se ([127.0.0.1]) by localhost (mx1.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07039-01-16; Wed, 12 Jul 2006 22:00:03 +0200 (CEST) Received: from [192.168.0.2] (unknown [85.24.162.205]) by mx1.kth.se (Postfix) with ESMTP id D9D8614102C; Wed, 12 Jul 2006 22:00:02 +0200 (CEST) Message-ID: <44B554AA.20009@telia.com> Date: Wed, 12 Jul 2006 21:59:38 +0200 From: Carl Gustavsson User-Agent: Thunderbird 1.5.0.4 (X11/20060623) MIME-Version: 1.0 To: Colin Faber References: <20060711.104708.1159134898.imp@bsdimp.com> <20060711114633.G67466@orthanc.ca> <44B54E3A.9040102@ruckusmail.com> In-Reply-To: <44B54E3A.9040102@ruckusmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at kth.se Cc: mobile@freebsd.org Subject: Re: Dell laptops 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: Wed, 12 Jul 2006 20:00:06 -0000 Colin Faber wrote: > I'm running -CURRENT on a D610 with working crt/lcd Fn switch, bge, > wireless (via ndis), sound, video (including DRM/DRI), est (via > powerd), and Lid switch control. > > The only problems I've noticed so far is that when running est with > powerd in adaptive mode, it seems to adjust the cpu timing many times > a second, which has lead to some applications being unstable and or > performing horribly (the most notable would be audio applications, > each time the cpu timing is switch you hear a pause). > > The other hardware issues I've experienced is the sound, volume up, > volume down, and mute buttons for both Fn and those "other" ones next > to the dell logo fail to function. In addition the wireless indicator > LED fails to light, so you have no idea when the radio is on and when > it's off. > > Lcd brightness, etc. seems to work, though I don't think it's > adjustable via anything other than the Fn button. > > S3 suspend to ram also results in an instant reboot. However that's an > improvement over the current issue I'm dealing with, with X windows > causing a panic on shutdown (fun!). > > As I do have -CURRENT on this thing now, I'm willing to try anything > to further development. > > -cf > _______________________________________________ > 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" I have a D600, to solve the problems with powerd (X gets pretty unresponsive) I disabled powerd and I'm now using the ports est and estctrl (you have to force the install). est_enable="YES" estctrl_enable="YES" estctrl_speed_ac="max" estctrl_speed_battery="min" in rc.conf. Works beautiful, I have pretty good battery time now, about 2.5h (real usage) with a nearly 2 years old battery. Carl From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 12 20:02:11 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93B3316A4DA for ; Wed, 12 Jul 2006 20:02:11 +0000 (UTC) (envelope-from carl.gustavsson@bahnhofbredband.se) Received: from mx2.kth.se (mx2.kth.se [130.237.48.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEA2443D79 for ; Wed, 12 Jul 2006 20:02:01 +0000 (GMT) (envelope-from carl.gustavsson@bahnhofbredband.se) Received: from localhost (localhost.localdomain [127.0.0.1]) by mx2.kth.se (Postfix) with ESMTP id 88030140631; Wed, 12 Jul 2006 22:02:00 +0200 (CEST) Received: from mx2.kth.se ([127.0.0.1]) by localhost (mx2.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15636-01-30; Wed, 12 Jul 2006 22:01:59 +0200 (CEST) Received: from [192.168.0.2] (unknown [85.24.162.205]) by mx2.kth.se (Postfix) with ESMTP id D3C44140612; Wed, 12 Jul 2006 22:01:58 +0200 (CEST) Message-ID: <44B5551F.7060703@bahnhofbredband.se> Date: Wed, 12 Jul 2006 22:01:35 +0200 From: Carl Johan Gustavsson User-Agent: Thunderbird 1.5.0.4 (X11/20060623) MIME-Version: 1.0 To: Colin Faber References: <20060711.104708.1159134898.imp@bsdimp.com> <20060711114633.G67466@orthanc.ca> <44B54E3A.9040102@ruckusmail.com> In-Reply-To: <44B54E3A.9040102@ruckusmail.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at kth.se Cc: mobile@freebsd.org Subject: Re: Dell laptops 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: Wed, 12 Jul 2006 20:02:11 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Colin Faber wrote: > I'm running -CURRENT on a D610 with working crt/lcd Fn switch, bge, > wireless (via ndis), sound, video (including DRM/DRI), est (via > powerd), and Lid switch control. > > The only problems I've noticed so far is that when running est with > powerd in adaptive mode, it seems to adjust the cpu timing many times > a second, which has lead to some applications being unstable and or > performing horribly (the most notable would be audio applications, > each time the cpu timing is switch you hear a pause). > > The other hardware issues I've experienced is the sound, volume up, > volume down, and mute buttons for both Fn and those "other" ones next > to the dell logo fail to function. In addition the wireless indicator > LED fails to light, so you have no idea when the radio is on and when > it's off. > > Lcd brightness, etc. seems to work, though I don't think it's > adjustable via anything other than the Fn button. > > S3 suspend to ram also results in an instant reboot. However that's an > improvement over the current issue I'm dealing with, with X windows > causing a panic on shutdown (fun!). > > As I do have -CURRENT on this thing now, I'm willing to try anything > to further development. > > -cf > _______________________________________________ > 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" I have a D600, to solve the problems with powerd (X gets pretty unresponsive) I disabled powerd and I'm now using the ports est and estctrl (you have to force the install). est_enable="YES" estctrl_enable="YES" estctrl_speed_ac="max" estctrl_speed_battery="min" in rc.conf. Works beautiful, I have pretty good battery time now, about 2.5h (real usage) with a nearly 2 years old battery. Carl -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEtVUe8UQ1gvZaLdMRAu5QAJ4vbGC26Z1vyZclkF0RjuKC51sWWwCfazLi DA0A5BtXxZHcDmYOReToRzk= =VIGN -----END PGP SIGNATURE----- From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 01:05:08 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E75E216A4DA; Thu, 13 Jul 2006 01:05:07 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.25.9.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 608A743D49; Thu, 13 Jul 2006 01:05:07 +0000 (GMT) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (cpe-024-211-118-154.sc.res.rr.com [24.211.118.154]) by ms-smtp-03.southeast.rr.com (8.13.6/8.13.6) with ESMTP id k6D150dC009037; Wed, 12 Jul 2006 21:05:00 -0400 (EDT) Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.13.6/8.13.6) with ESMTP id k6D14x6V078750; Wed, 12 Jul 2006 21:04:59 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Wed, 12 Jul 2006 21:04:59 -0400 (EDT) From: Wesley Morgan To: Eric Anderson In-Reply-To: <44B4EC7B.9020004@centtech.com> Message-ID: <20060712205940.J59349@volatile.chemikals.org> References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <44B4EC7B.9020004@centtech.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-683849342-1152752699=:59349" X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: freebsd-multimedia@freebsd.org, Andrea Bittau , freebsd-mobile@freebsd.org Subject: Re: HDA sound driver mod for sigmatel 92xx 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, 13 Jul 2006 01:05:08 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-683849342-1152752699=:59349 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Wed, 12 Jul 2006, Eric Anderson wrote: > On 07/09/06 09:11, Wesley Morgan wrote: >> >> With a little help from the netbsd azalia driver (a wonderful piece of >> work, by the way) and the hda specs, I've been able to get Andrea's hdac >> code to work with my laptop. I believe the problem was that the codec and >> dac started out in some kind of low-power mode and needed to be woken up >> before they would work. >> >> Hopefully someone is still working on a proper driver, but for now, I can >> watch movies again! >> >> A diff against Andrea's work is attached. > > > I couldn't get this patch to work - all hunks fail. What am I doing wrong? Make sure your mailer didn't wrap long lines? It applies cleanly for me. I've attached a newer diff that makes the mixer work properly as well, but it's hard-coded to the correct widget for me so it might not work for everyone. [morganw@catalyst:~$]: tar zxf hdac.tgz [morganw@catalyst:~$]: cd hdac [morganw@catalyst:~/hdac$]: patch < ../sigma.diff Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -urb hdac/hdac.c hdac-sigma/hdac.c |--- hdac/hdac.c Mon Jun 5 15:15:12 2006 |+++ hdac-sigma/hdac.c Sun Jul 9 10:10:37 2006 -------------------------- Patching file hdac.c using Plan A... Hunk #1 succeeded at 247. Hunk #2 succeeded at 261. Hunk #3 succeeded at 787. Hunk #4 succeeded at 821. Hunk #5 succeeded at 894. Hunk #6 succeeded at 945. Hunk #7 succeeded at 974. Hunk #8 succeeded at 1270. Hmm... Ignoring the trailing garbage. done -- This .signature sanitized for your protection --0-683849342-1152752699=:59349 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=sigma.diff Content-Transfer-Encoding: BASE64 Content-ID: <20060712210459.L59349@volatile.chemikals.org> Content-Description: Content-Disposition: attachment; filename=sigma.diff ZGlmZiAtdXJiIGhkYWMvaGRhYy5jIGhkYWMtc2lnbWEvaGRhYy5jDQotLS0g aGRhYy9oZGFjLmMJTW9uIEp1biAgNSAxNToxNToxMiAyMDA2DQorKysgaGRh Yy1zaWdtYS9oZGFjLmMJV2VkIEp1bCAxMiAyMTowMjozMiAyMDA2DQpAQCAt MjQ3LDcgKzI0Nyw4IEBADQogCSAqIFJlc2V0IHRoZSBjb250cm9sbGVyLiBU aGUgcmVzZXQgbXVzdCByZW1haW4gYXNzZXJ0ZWQgZm9yDQogCSAqIGEgbWlu aW11bSBvZiAxMDB1cy4NCiAJICovDQotCUhEQUNfV1JJVEVfNCgmc2MtPm1l bSwgSERBQ19HQ1RMLCAweDApOw0KKwlnY3RsID0gSERBQ19SRUFEXzQoJnNj LT5tZW0sIEhEQUNfR0NUTCk7DQorCUhEQUNfV1JJVEVfNCgmc2MtPm1lbSwg SERBQ19HQ1RMLCBnY3RsICYgfiBIREFDX0dDVExfQ1JTVCk7DQogCWNvdW50 ID0gMTAwMDA7DQogCXdoaWxlIChjb3VudCkgew0KIAkJZ2N0bCA9IEhEQUNf UkVBRF80KCZzYy0+bWVtLCBIREFDX0dDVEwpOw0KQEAgLTI2MCwxMSArMjYx LDExIEBADQogCQlyZXR1cm4gKEVOWElPKTsNCiAJfQ0KIAlERUxBWSgxMDAp Ow0KLQlIREFDX1dSSVRFXzQoJnNjLT5tZW0sIEhEQUNfR0NUTCwgSERBQ19H Q1RMX0NSU1QpOw0KKwlnY3RsID0gSERBQ19SRUFEXzQoJnNjLT5tZW0sIEhE QUNfR0NUTCk7DQorCUhEQUNfV1JJVEVfNCgmc2MtPm1lbSwgSERBQ19HQ1RM LCBnY3RsIHwgSERBQ19HQ1RMX0NSU1QpOw0KIAljb3VudCA9IDEwMDAwOw0K IAl3aGlsZSAoY291bnQpIHsNCi0JCWdjdGwgPSBIREFDX1JFQURfNCgmc2Mt Pm1lbSwgSERBQ19HQ1RMKTsNCi0JCWlmICgoZ2N0bCAmIEhEQUNfR0NUTF9D UlNUKSA9PSBIREFDX0dDVExfQ1JTVCkNCisJCWlmIChIREFDX1JFQURfNCgm c2MtPm1lbSwgSERBQ19HQ1RMKSAmIEhEQUNfR0NUTF9DUlNUKQ0KIAkJCWJy ZWFrOw0KIAkJY291bnQtLTsNCiAJfQ0KQEAgLTI3Myw2ICsyNzQsMTAgQEAN CiAJCWRldmljZV9wcmludGYoc2MtPmRldiwgIkRldmljZSBzdHVjayBpbiBy ZXNldFxuIik7DQogCQlyZXR1cm4oRU5YSU8pOw0KIAl9DQorLyoNCisJZ2N0 bCA9IEhEQUNfUkVBRF80KCZzYy0+bWVtLCBIREFDX0dDVEwpOw0KKwlIREFD X1dSSVRFXzQoJnNjLT5tZW0sIEhEQUNfR0NUTCwgZ2N0bCB8IEhEQUNfR0NU TF9VTlNPTCk7DQorKi8NCiANCiAJLyoNCiAJICogV2FpdCBmb3IgY29kZWNz IHRvIGZpbmlzaCB0aGVpciBvd24gcmVzZXQgc2VxdWVuY2UuIFRoZSBkZWxh eSBoZXJlDQpAQCAtNzg2LDYgKzc5MSwxMCBAQA0KIAlkZXZpbmZvLT5zdGVw cGluZ19pZCA9IEhEQV9QQVJBTV9SRVZJU0lPTl9JRF9TVEVQUElOR19JRChy ZXZpc2lvbmlkKTsNCiAJZGV2aW5mby0+bm9kZV90eXBlID0gSERBX1BBUkFN X0ZDVF9HUlBfVFlQRV9OT0RFX1RZUEUoZmN0Z3JwdHlwZSk7DQogDQ0KKw0K KwlkZXZpY2VfcHJpbnRmKHNjLT5kZXYsICJWZW5kb3IgaW5mbzogJXggJXgg JXggJXggJXggJXhcbiIsIHZlbmRvcmlkLCBkZXZpbmZvLT52ZW5kb3JfaWQs IGRldmluZm8tPmRldmljZV9pZCwNCisJCWRldmluZm8tPnJldmlzaW9uX2lk LCBkZXZpbmZvLT5zdGVwcGluZ19pZCwgZGV2aW5mby0+bm9kZV90eXBlKTsN CisNCiAJaGRhY19hZGRfY2hpbGQoc2MsIGRldmluZm8pOw0KIH0NCiANCkBA IC04MTYsNiArODI1LDEwIEBADQogCXVpbnQzMl90IHJjLCBzZiwgc3Q7DQog CXVpbnQzMl90IGZtdCA9IHNvcmJvX2dldF9mbXQoc2MpOw0KIA0KKw0KKwly YyA9IEhEQV9DTURfR0VUX0NPTkZJR1VSQVRJT05fREVGQVVMVChjYWQsIG5p ZCk7DQorCWRldmljZV9wcmludGYoc2MtPmRldiwgIkNvbmZpZyAleFxuIiwg cmMpOw0KKw0KIAlyYyA9IGhkYWNfY29tbWFuZF9zZW5kb25lX2ludGVybmFs KHNjLA0KIAkJSERBX0NNRF9TRVRfQ09OVl9TVFJFQU1fQ0hBTihjYWQsIG5p ZCwgMSA8PCA0KSwgMCk7DQogCWlmIChyYykNCkBAIC04NTQsMTIgKzg2Nywy NiBAQA0KIH0NCiANCiBzdGF0aWMgdm9pZA0KLXNvcmJvX3NldF9hbXAoc3Ry dWN0IGhkYWNfc29mdGMgKnNjLCBpbnQgY2RhLCBpbnQgbmksIGludCBhbXAp DQorc29yYm9fc2V0X2FtcChzdHJ1Y3QgaGRhY19zb2Z0YyAqc2MsIGludCBj ZGEsIGludCBuaSwgaW50IGxlZnQsIGludCByaWdodCkNCiB7DQotCXVpbnQx Nl90IHBheSA9ICgxIDw8IDE1KSB8ICgzIDw8IDEyKSB8IGFtcDsNCisJdWlu dDE2X3QgcGF5ID0gMDsNCisJDQorCWlmIChsZWZ0ICE9IHJpZ2h0KSB7DQor CQlwYXkgPSAoMSA8PCAxNSkgfCAoMSA8PCAxMykgfCBsZWZ0Ow0KIA0KIAlo ZGFjX2NvbW1hbmRfc2VuZG9uZV9pbnRlcm5hbChzYywNCiAJCUhEQV9DTURf U0VUX0FNUF9HQUlOX01VVEUoY2RhLCBuaSwgcGF5KSwgY2RhKTsNCisNCisJ CXBheSA9ICgxIDw8IDE1KSB8ICgxIDw8IDEyKSB8IHJpZ2h0Ow0KKw0KKwkJ aGRhY19jb21tYW5kX3NlbmRvbmVfaW50ZXJuYWwoc2MsDQorCQkJSERBX0NN RF9TRVRfQU1QX0dBSU5fTVVURShjZGEsIG5pLCBwYXkpLCBjZGEpOw0KKwl9 IGVsc2Ugew0KKwkJcGF5ID0gKDEgPDwgMTUpIHwgKDMgPDwgMTIpIHwgbGVm dDsNCisNCisJCWhkYWNfY29tbWFuZF9zZW5kb25lX2ludGVybmFsKHNjLA0K KwkJCUhEQV9DTURfU0VUX0FNUF9HQUlOX01VVEUoY2RhLCBuaSwgcGF5KSwg Y2RhKTsNCisJfQ0KIH0NCiANCiBzdGF0aWMgdm9pZA0KQEAgLTg4NSw4ICs5 MTIsMTAgQEANCiANCiAJY3QgPSBoZGFjX2NvbW1hbmRfc2VuZG9uZV9pbnRl cm5hbChzYywNCiAJCUhEQV9DTURfR0VUX1BJTl9XSURHRVRfQ1RSTChjYWQs IG5pZCksIGNhZCk7DQotCWN0IHw9ICgxIDw8IDYpIHwgKDEgPDwgNyk7DQot CWN0ID0gaGRhY19jb21tYW5kX3NlbmRvbmVfaW50ZXJuYWwoc2MsDQorDQor CWN0IHw9ICgxIDw8IDYpIHwgKDEgPDwgMikgfCAoMSk7DQorDQorCWhkYWNf Y29tbWFuZF9zZW5kb25lX2ludGVybmFsKHNjLA0KIAkJSERBX0NNRF9TRVRf UElOX1dJREdFVF9DVFJMKGNhZCwgbmlkLCBjdCksIGNhZCk7DQogDQogCWNh cGEgPSBoZGFjX2NvbW1hbmRfc2VuZG9uZV9pbnRlcm5hbChzYywNCkBAIC05 MzQsMTggKzk2MywyNiBAQA0KIAkNCiAJZGV2aWNlX3ByaW50ZihzYy0+ZGV2 LCAibm9kZSAlZCB0eXBlICV4IGNhcCAleFxuIiwgbm9kZWlkLCB0eXBlLCBy Yyk7DQogDQotCWlmICgwKQ0KLQlzb3Jib19zZXRfYW1wKHNjLCBjb2RlY2lk LCBub2RlaWQsIDQwKTsNCisJaWYgKEhEQV9QQVJBTV9BVURJT19XSURHRVRf Q0FQX1BPV0VSX0NUUkwocmMpKSB7DQorCQloZGFjX2NvbW1hbmRfc2VuZG9u ZV9pbnRlcm5hbChzYywNCisJCQlIREFfQ01EX1NFVF9QT1dFUl9TVEFURShj b2RlY2lkLCBub2RlaWQsIEhEQV9DTURfUE9XRVJfU1RBVEVfRDApLCBjb2Rl Y2lkKTsNCisJfQ0KIA0KIAlpZiAoMCAmJiBIREFfUEFSQU1fQVVESU9fV0lE R0VUX0NBUF9QUk9DX1dJREdFVChyYykpIHsNCiAJCXNvcmJvX293bl9wcm9j KHNjLCBjb2RlY2lkLCBub2RlaWQpOw0KIAl9DQogDQotCWlmICgwICYmIHR5 cGUgPT0gSERBX1BBUkFNX0FVRElPX1dJREdFVF9DQVBfVFlQRV9BVURJT19P VVRQVVQpIHsNCisJaWYgKHR5cGUgPT0gSERBX1BBUkFNX0FVRElPX1dJREdF VF9DQVBfVFlQRV9BVURJT19PVVRQVVQpIHsNCiAJCXNvcmJvX2NvbmZfb3V0 cHV0KHNjLCBjb2RlY2lkLCBub2RlaWQpOw0KKwkJZGV2aWNlX3ByaW50Zihz Yy0+ZGV2LCAic29yYm9fY29uZl9vdXRwdXQ6IGNvZGVjOiAlZCBub2RlOiAl ZFxuIiwgY29kZWNpZCwgbm9kZWlkKTsNCiAJfQkNCi0JZWxzZSBpZiAoMCAm JiB0eXBlID09IEhEQV9QQVJBTV9BVURJT19XSURHRVRfQ0FQX1RZUEVfUElO X0NPTVBMRVgpDQorCWVsc2UgaWYgKHR5cGUgPT0gSERBX1BBUkFNX0FVRElP X1dJREdFVF9DQVBfVFlQRV9BVURJT19TRUxFQ1RPUikgew0KKwkJc29yYm9f c2V0X2FtcChzYywgY29kZWNpZCwgbm9kZWlkLCA3NSwgNzUpOw0KKwl9CQ0K KwllbHNlIGlmICh0eXBlID09IEhEQV9QQVJBTV9BVURJT19XSURHRVRfQ0FQ X1RZUEVfUElOX0NPTVBMRVgpIHsNCiAJCXNvcmJvX2NvbmZfcGluKHNjLCBj b2RlY2lkLCBub2RlaWQpOw0KKwkJc29yYm9fc2V0X2FtcChzYywgY29kZWNp ZCwgbm9kZWlkLCA3NSwgNzUpOw0KKwl9DQogfQ0KIA0KIHN0YXRpYyB2b2lk DQpAQCAtOTU1LDE5ICs5OTIsMjIgQEANCiAJaW50IHN0YXJ0bm9kZTsNCiAJ aW50IGVuZG5vZGU7DQogCWludCBpOw0KLS8vCXVpbnQzMl90IHB3Ow0KKwl1 aW50MzJfdCBwdzsNCiAJDQogCXN1Ym5vZGUgPSBoZGFjX2NvbW1hbmRfc2Vu ZG9uZV9pbnRlcm5hbChzYywNCiAJICAgIEhEQV9DTURfR0VUX1BBUkFNRVRF UigwICwgMSwgSERBX1BBUkFNX1NVQl9OT0RFX0NPVU5UKSwgMCk7DQorCQ0K IAlzdGFydG5vZGUgPSBIREFfUEFSQU1fU1VCX05PREVfQ09VTlRfU1RBUlQo c3Vibm9kZSk7DQogCWVuZG5vZGUgPSBzdGFydG5vZGUgKyBIREFfUEFSQU1f U1VCX05PREVfQ09VTlRfVE9UQUwoc3Vibm9kZSk7DQogDQotI2lmIDANCisJ aGRhY19jb21tYW5kX3NlbmRvbmVfaW50ZXJuYWwoc2MsDQorCQlIREFfQ01E X1NFVF9QT1dFUl9TVEFURSgwLCAxLCBIREFfQ01EX1BPV0VSX1NUQVRFX0Qw KSwgMCk7DQorDQogCXB3ID0gaGRhY19jb21tYW5kX3NlbmRvbmVfaW50ZXJu YWwoc2MsDQogCQlIREFfQ01EX0dFVF9QT1dFUl9TVEFURSgwLCAxKSwgMCk7 DQogDQogCWRldmljZV9wcmludGYoc2MtPmRldiwgIlBXICV4XG4iLCBwdyk7 DQotI2VuZGlmDQorCWRldmljZV9wcmludGYoc2MtPmRldiwgInN0YXJ0OiAl ZCBlbmRub2RlOiAlZFxuIiwgc3RhcnRub2RlLCBlbmRub2RlKTsNCiANCiAJ Zm9yIChpID0gc3RhcnRub2RlOyBpIDwgZW5kbm9kZTsgaSsrKSB7DQogCQlz b3Jib19wcmludF93aWRnZXQoc2MsIDAsIGkpOw0KQEAgLTEyNDgsMTUgKzEy ODgsMTIgQEANCiANCiAJaGRhY19zY2FuX2NvZGVjcyhzYyk7DQogDQotCWlm ICgwKQ0KIAlzb3Jib19lbnVtKHNjKTsNCiANCiAJc29yYm9fc3RvcF9zdHJl YW0oc2MpOw0KIAlzb3Jib19yZXNldF9zdHJlYW0oc2MpOw0KIAlzb3Jib19z dHJlYW1fc2V0aWQoc2MpOw0KIA0KLQlzb3Jib19jb25mX291dHB1dChzYywg MCwgMyk7DQotCXNvcmJvX3NldF9hbXAoc2MsIDAsIDUsIDQwKTsNCiAJc29y Ym9fYWxsb2NfYmRsKHNjLCAyNTYpOw0KIAlzb3Jib19lbmFibGVfc3RyZWFt X2ludGVycnVwdHMoc2MpOwkNCiAJc2MtPmxhbWUgPSAxOw0KQEAgLTE1OTEs MjEgKzE2MjgsMjYgQEANCiBzdGF0aWMgaW50DQogaGRhY21peF9zZXQoc3Ry dWN0IHNuZF9taXhlciAqbSwgdW5zaWduZWQgZGV2LCB1bnNpZ25lZCBsZWZ0 LCB1bnNpZ25lZCByaWdodCkNCiB7DQotCWludCB2b2wgPSAwOw0KLQlpbnQg bWF4ID0gNjM7DQorCWludCBsZWZ0X3ZvbCA9IDAsIHJpZ2h0X3ZvbCA9IDA7 DQorCWludCBtYXggPSAoKDE8PDUpIC0gMSk7DQogCXN0cnVjdCBoZGFjX3Nv ZnRjICpzYyA9IG1peF9nZXRkZXZpbmZvKG0pOw0KLQl2b2wgPSAobGVmdCo2 MykvMTAwOw0KIA0KLQlpZiAobGVmdCA9PSAxMDAgfHwgdm9sID4gbWF4KQ0K LQkJdm9sID0gbWF4Ow0KKwlsZWZ0X3ZvbCA9IChsZWZ0ICogbWF4KSAvIDEw MDsNCisJaWYgKChsZWZ0ID09IDEwMCkgfHwgKGxlZnRfdm9sID4gbWF4KSkN CisJCWxlZnRfdm9sID0gbWF4Ow0KIA0KLS8vCXByaW50ZigiVm9sID0gJWRc biIsIHZvbCk7DQotCWlmIChzYy0+bGFtZSkNCi0JCXNvcmJvX3NldF9hbXAo c2MsIDAsIDUsIHZvbCk7DQorCXJpZ2h0X3ZvbCA9IChyaWdodCAqIG1heCkg LyAxMDA7DQorCWlmICgocmlnaHQgPT0gMTAwKSB8fCAocmlnaHRfdm9sID4g bWF4KSkNCisJCXJpZ2h0X3ZvbCA9IG1heDsNCisNCisJaWYgKHNjLT5sYW1l KSB7DQorLyoJCWRldmljZV9wcmludGYoc2MtPmRldiwgInNldHRpbmcgdm9s dW1lIHRvICV4OiV4XG4iLCBsZWZ0X3ZvbCwgcmlnaHRfdm9sKTsgKi8NCisJ CXNvcmJvX3NldF9hbXAoc2MsIDAsIDExLCBsZWZ0X3ZvbCwgcmlnaHRfdm9s KTsNCisJfQ0KIAkNCi0Jdm9sID0gbGVmdCB8IChsZWZ0IDw8IDgpOw0KKwls ZWZ0X3ZvbCA9IGxlZnQgfCAocmlnaHQgPDwgOCk7DQogDQotCXJldHVybiB2 b2w7DQorCXJldHVybiBsZWZ0X3ZvbDsNCiB9DQogDQogc3RhdGljIGludA0K --0-683849342-1152752699=:59349-- From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 01:34:20 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1BFE16A4E0; Thu, 13 Jul 2006 01:34:20 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16F2243D55; Thu, 13 Jul 2006 01:34:19 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.24] (andersonbox4.centtech.com [192.168.42.24]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k6D1YDV7080600; Wed, 12 Jul 2006 20:34:13 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B5A31B.2000603@centtech.com> Date: Wed, 12 Jul 2006 20:34:19 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Wesley Morgan References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <44B4EC7B.9020004@centtech.com> <20060712205940.J59349@volatile.chemikals.org> In-Reply-To: <20060712205940.J59349@volatile.chemikals.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1594/Wed Jul 12 10:04:34 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-multimedia@freebsd.org, Andrea Bittau , freebsd-mobile@freebsd.org Subject: Re: HDA sound driver mod for sigmatel 92xx 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, 13 Jul 2006 01:34:20 -0000 On 07/12/06 20:04, Wesley Morgan wrote: > On Wed, 12 Jul 2006, Eric Anderson wrote: > >> On 07/09/06 09:11, Wesley Morgan wrote: >>> >>> With a little help from the netbsd azalia driver (a wonderful piece >>> of work, by the way) and the hda specs, I've been able to get >>> Andrea's hdac code to work with my laptop. I believe the problem was >>> that the codec and dac started out in some kind of low-power mode and >>> needed to be woken up before they would work. >>> >>> Hopefully someone is still working on a proper driver, but for now, I >>> can watch movies again! >>> >>> A diff against Andrea's work is attached. >> >> >> I couldn't get this patch to work - all hunks fail. What am I doing >> wrong? > > Make sure your mailer didn't wrap long lines? It applies cleanly for me. > I've attached a newer diff that makes the mixer work properly as well, > but it's hard-coded to the correct widget for me so it might not work > for everyone. > > > [morganw@catalyst:~$]: tar zxf hdac.tgz > [morganw@catalyst:~$]: cd hdac > [morganw@catalyst:~/hdac$]: patch < ../sigma.diff > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |diff -urb hdac/hdac.c hdac-sigma/hdac.c > |--- hdac/hdac.c Mon Jun 5 15:15:12 2006 > |+++ hdac-sigma/hdac.c Sun Jul 9 10:10:37 2006 > -------------------------- > Patching file hdac.c using Plan A... > Hunk #1 succeeded at 247. > Hunk #2 succeeded at 261. > Hunk #3 succeeded at 787. > Hunk #4 succeeded at 821. > Hunk #5 succeeded at 894. > Hunk #6 succeeded at 945. > Hunk #7 succeeded at 974. > Hunk #8 succeeded at 1270. > Hmm... Ignoring the trailing garbage. > done Well, it must be my hdac.tgz then, because the attached patch looks fine, but still fails poorly. Maybe a pointer to the hdac.tgz you used, and an md5 sum would do the trick.. Thanks for hassling with this. :) Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 01:36:21 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9399616A4DE; Thu, 13 Jul 2006 01:36:21 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED2C943D49; Thu, 13 Jul 2006 01:36:20 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (am-productions.biz [69.61.164.22]) (authenticated bits=0) by mail.united-ware.com (8.13.6/8.13.6) with ESMTP id k6D1h6IS063954 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 12 Jul 2006 21:43:13 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: Daniel Eischen Date: Wed, 12 Jul 2006 21:36:39 -0400 User-Agent: KMail/1.9.1 References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2273770.ah4prTgvHB"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200607122136.54293.mistry.7@osu.edu> X-Spam-Status: No, score=-8.5 required=5.0 tests=ALL_TRUSTED,BAYES_50, MYFREEBSD2,MYFREEBSD3 autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.2/1594/Wed Jul 12 11:04:34 2006 on mail.united-ware.com X-Virus-Status: Clean Cc: freebsd-mobile@freebsd.org Subject: Re: Dell laptops 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, 13 Jul 2006 01:36:21 -0000 --nextPart2273770.ah4prTgvHB Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 11 July 2006 23:54, Daniel Eischen wrote: > On Tue, 11 Jul 2006, Anish Mistry wrote: > > On Tuesday 11 July 2006 13:10, Daniel Eischen wrote: > >> On Tue, 11 Jul 2006, M. Warner Losh wrote: > >>> Greetings, > >>> > >>> What are the current problems, if any, on current Dell laptops > >>> have with FreeBSD? > >> > >> Yeah, thanks for asking! My Inspiron E1405 came with an Intel > >> 3945 A/B/G mini-PCI wireless that isn't supported (OpenBSD has > >> a seemingly actively maintained wpi driver for this card, and > >> I have an experimental FreeBSD driver from damien that I haven't > >> yet been able to get to work). I've ordered an Atheros-based > >> mini-PCI in the meantime, and can lend out the 3945 to anyone > >> willing to work on it. > >> > >> Also, the Fn (the blue key) can't be used to suspend, control > >> volume, switch CRT/LCD, etc, and most importantly enable the > >> radio on the wireless card (Fn + F2). Even if the wpi driver > >> works, it's worthless if I can't enable the radio. > > > > It might simply need an acpi function keys driver for your > > system. Would you post an "acpidump -dt" from your system? > > Here it is: > > http://people.freebsd.org/~deischen/e1405.acpi.dump > > I don't know how to decipher it nor what to do with it. There doesn't seem to be a function key device. This probably means=20 that pressing the keys just generate keyboard scan codes. Does acpi_video work for you? It looks like it should work. =2D-=20 Anish Mistry --nextPart2273770.ah4prTgvHB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEtaO2xqA5ziudZT0RAkNQAKDdzOQXo/53EbtPy3KhogfKtJQZ4gCfTIE+ CzaMuCfx1XabKWlVIKH8CYw= =humi -----END PGP SIGNATURE----- --nextPart2273770.ah4prTgvHB-- From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 01:46:32 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D156316A4DD; Thu, 13 Jul 2006 01:46:32 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from ms-smtp-04.southeast.rr.com (ms-smtp-04.southeast.rr.com [24.25.9.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37B9B43D45; Thu, 13 Jul 2006 01:46:32 +0000 (GMT) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (cpe-024-211-118-154.sc.res.rr.com [24.211.118.154]) by ms-smtp-04.southeast.rr.com (8.13.6/8.13.6) with ESMTP id k6D1kPik022724; Wed, 12 Jul 2006 21:46:26 -0400 (EDT) Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.13.6/8.13.6) with ESMTP id k6D1kPbw079328; Wed, 12 Jul 2006 21:46:25 -0400 (EDT) (envelope-from morganw@chemikals.org) Date: Wed, 12 Jul 2006 21:46:25 -0400 (EDT) From: Wesley Morgan To: Eric Anderson In-Reply-To: <44B5A31B.2000603@centtech.com> Message-ID: <20060712214546.V79297@volatile.chemikals.org> References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <44B4EC7B.9020004@centtech.com> <20060712205940.J59349@volatile.chemikals.org> <44B5A31B.2000603@centtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: freebsd-multimedia@freebsd.org, Andrea Bittau , freebsd-mobile@freebsd.org Subject: Re: HDA sound driver mod for sigmatel 92xx 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, 13 Jul 2006 01:46:32 -0000 On Wed, 12 Jul 2006, Eric Anderson wrote: > On 07/12/06 20:04, Wesley Morgan wrote: >> On Wed, 12 Jul 2006, Eric Anderson wrote: >> >>> On 07/09/06 09:11, Wesley Morgan wrote: >>>> >>>> With a little help from the netbsd azalia driver (a wonderful piece of >>>> work, by the way) and the hda specs, I've been able to get Andrea's hdac >>>> code to work with my laptop. I believe the problem was that the codec and >>>> dac started out in some kind of low-power mode and needed to be woken up >>>> before they would work. >>>> >>>> Hopefully someone is still working on a proper driver, but for now, I can >>>> watch movies again! >>>> >>>> A diff against Andrea's work is attached. >>> >>> >>> I couldn't get this patch to work - all hunks fail. What am I doing >>> wrong? >> >> Make sure your mailer didn't wrap long lines? It applies cleanly for me. >> I've attached a newer diff that makes the mixer work properly as well, but >> it's hard-coded to the correct widget for me so it might not work for >> everyone. > > Well, it must be my hdac.tgz then, because the attached patch looks fine, but > still fails poorly. Maybe a pointer to the hdac.tgz you used, and an md5 sum > would do the trick.. The original hdac.tgz posted by Andrea, I believe can be found at: http://darkircop.org/hdac.tgz -- This .signature sanitized for your protection From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 01:57:14 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 618F316A4DE; Thu, 13 Jul 2006 01:57:14 +0000 (UTC) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id B30AB43D45; Thu, 13 Jul 2006 01:57:13 +0000 (GMT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id AE14A9B486; Thu, 13 Jul 2006 11:27:12 +0930 (CST) Date: Thu, 13 Jul 2006 11:27:12 +0930 From: Greg 'groggy' Lehey To: David Gilbert Message-ID: <20060713015712.GF19708@wantadilla.lemis.com> References: <20060711.104708.1159134898.imp@bsdimp.com> <17589.15937.473805.148588@canoe.dclg.ca> <17589.17341.137936.745656@canoe.dclg.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wtjvnLv0o8UUzur2" Content-Disposition: inline In-Reply-To: <17589.17341.137936.745656@canoe.dclg.ca> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 VoIP: sip:0871270137@sip.internode.on.net WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: Daniel Eischen , mobile@freebsd.org Subject: Laptop display chips (was: Dell laptops) 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, 13 Jul 2006 01:57:14 -0000 --wtjvnLv0o8UUzur2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wednesday, 12 July 2006 at 14:47:25 -0400, David Gilbert wrote: >>>>>> "Daniel" == Daniel Eischen writes: > > Daniel> I didn't make the mistake of getting a system with an nvidia > Daniel> chip ;-) It's an Intel 945 of some sort and I don't have X set > Daniel> up on it yet, so it's strictly console right now. > > Well... given my sister's Dell's problems with it's intel chipset > video, I would definately stay away from that. I also value 3D > performance and the Nvidia 6800 in the XPS is "somewhat" better than > the Intel 945 (to understate the issue). I didn't mention this before, because it's not directly relevant to FreeBSD, but I've also had serious problems with the graphics chip in my Inspiron 6000: I can't get it to drive a projector correctly. This is a machine with 1920x1200 display and the following chip set (sorry for the Linux): 01:00.0 VGA compatible controller: ATI Technologies Inc M22 [Radeon Mobility M300] (prog-if 00 [VGA]) Subsystem: Dell Unknown device 2003 Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at d0000000 (32-bit, prefetchable) [size=128M] I/O ports at de00 [size=256] Memory at dfdf0000 (32-bit, non-prefetchable) [size=64K] [virtual] Expansion ROM at dfd00000 [disabled] [size=128K] Capabilities: [50] Power Management version 2 Capabilities: [58] Express Endpoint IRQ 0 Capabilities: [80] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable- Capabilities: [100] Advanced Error Reporting The LCD display works perfectly with FreeBSD and also most versions of Linux (some don't recognize the aspect ratio or the resolution of the screen). But I can't get X to change the horizontal frequency, which is set at 74.1 kHz, too high for most projectors. The driver just ignores any attempts to set a mode line with a different frequency. I assume this is a bug in the X driver. FWIW, the chips with which I've had the fewest problems have been nVidia, though all my experience with them has been in desktop class machines. Greg -- See complete headers for address and phone numbers. --wtjvnLv0o8UUzur2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEtah4IubykFB6QiMRAk5vAKCGziI0WESVEE0zya5QR0VLOB+zDgCfUKil Q+QHqhQ/n7iOUYHziR/DVoU= =+Vfa -----END PGP SIGNATURE----- --wtjvnLv0o8UUzur2-- From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 03:34:07 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12A3916A4DD; Thu, 13 Jul 2006 03:34:07 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DB4E43D49; Thu, 13 Jul 2006 03:34:06 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.24] (andersonbox4.centtech.com [192.168.42.24]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k6D3Xxm0084151; Wed, 12 Jul 2006 22:34:00 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B5BF2D.2080206@centtech.com> Date: Wed, 12 Jul 2006 22:34:05 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Wesley Morgan References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <44B4EC7B.9020004@centtech.com> <20060712205940.J59349@volatile.chemikals.org> <44B5A31B.2000603@centtech.com> <20060712214546.V79297@volatile.chemikals.org> In-Reply-To: <20060712214546.V79297@volatile.chemikals.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1594/Wed Jul 12 10:04:34 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-multimedia@freebsd.org, Andrea Bittau , freebsd-mobile@freebsd.org Subject: Re: HDA sound driver mod for sigmatel 92xx 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, 13 Jul 2006 03:34:07 -0000 On 07/12/06 20:46, Wesley Morgan wrote: > On Wed, 12 Jul 2006, Eric Anderson wrote: > >> On 07/12/06 20:04, Wesley Morgan wrote: >>> On Wed, 12 Jul 2006, Eric Anderson wrote: >>> >>>> On 07/09/06 09:11, Wesley Morgan wrote: >>>>> >>>>> With a little help from the netbsd azalia driver (a wonderful piece >>>>> of work, by the way) and the hda specs, I've been able to get >>>>> Andrea's hdac code to work with my laptop. I believe the problem >>>>> was that the codec and dac started out in some kind of low-power >>>>> mode and needed to be woken up before they would work. >>>>> >>>>> Hopefully someone is still working on a proper driver, but for now, >>>>> I can watch movies again! >>>>> >>>>> A diff against Andrea's work is attached. >>>> >>>> >>>> I couldn't get this patch to work - all hunks fail. What am I doing >>>> wrong? >>> >>> Make sure your mailer didn't wrap long lines? It applies cleanly for >>> me. I've attached a newer diff that makes the mixer work properly as >>> well, but it's hard-coded to the correct widget for me so it might >>> not work for everyone. >> >> Well, it must be my hdac.tgz then, because the attached patch looks >> fine, but still fails poorly. Maybe a pointer to the hdac.tgz you >> used, and an md5 sum would do the trick.. > > The original hdac.tgz posted by Andrea, I believe can be found at: > > http://darkircop.org/hdac.tgz > > [root@neutrino /tmp/freebsd]# fetch http://darkircop.org/hdac.tgz hdac.tgz 100% of 122 kB 151 kBps [root@neutrino /tmp/freebsd]# tar xvzf hdac.tgz x hdac x hdac/hdac.c x hdac/hdac_reg.h x hdac/hdac.h x hdac/hda_reg.h x hdac/hdac_private.h x hdac/Makefile x hdac/hdac.z~ x hdac/calc.core x hdac/hdac.y~ x hdac/hdac.c~ x hdac/hdac.c.bak x hdac/.hda_reg.h.swp [root@neutrino /tmp/freebsd]# cd hdac [root@neutrino /tmp/freebsd/hdac]# patch < ../hdac.diff Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -urb hdac/hdac.c hdac-sigma/hdac.c |--- hdac/hdac.c Mon Jun 5 15:15:12 2006 |+++ hdac-sigma/hdac.c Wed Jul 12 21:02:32 2006 -------------------------- Patching file hdac.c using Plan A... Hunk #1 failed at 247. Hunk #2 failed at 261. Hunk #3 succeeded at 1879 with fuzz 2 (offset 1605 lines). Hunk #4 failed at 2396. Hunk #5 failed at 2430. Hunk #6 failed at 2472. Hunk #7 failed at 2517. Hunk #8 failed at 2568. Hunk #9 failed at 2597. Hunk #10 failed at 2893. Hunk #11 failed at 3233. 10 out of 11 hunks failed--saving rejects to hdac.c.rej done [root@neutrino /tmp/freebsd/hdac]# Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 06:42:55 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F120416A4DD for ; Thu, 13 Jul 2006 06:42:54 +0000 (UTC) (envelope-from Luc.Perreau@cws.cwplc.com) Received: from mail92.messagelabs.com (mail92.messagelabs.com [194.106.220.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2088143D46 for ; Thu, 13 Jul 2006 06:42:53 +0000 (GMT) (envelope-from Luc.Perreau@cws.cwplc.com) X-VirusChecked: Checked X-Env-Sender: Luc.Perreau@cws.cwplc.com X-Msg-Ref: server-9.tower-92.messagelabs.com!1152772971!20157713!1 X-StarScan-Version: 5.5.10.7; banners=cws.cwplc.com,-,- X-Originating-IP: [194.6.6.11] Received: (qmail 13043 invoked from network); 13 Jul 2006 06:42:51 -0000 Received: from relay.cwplc.com (HELO relay.cwplc.com) (194.6.6.11) by server-9.tower-92.messagelabs.com with DES-CBC3-SHA encrypted SMTP; 13 Jul 2006 06:42:51 -0000 Received: from SEYN09.cwsntdom1 ([10.195.4.229]) by relay.cwplc.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id k6D6gqX02940 for ; Thu, 13 Jul 2006 07:42:53 +0100 (BST) Received: by SEYN09 with Internet Mail Service (5.5.2653.19) id ; Thu, 13 Jul 2006 10:43:39 +0400 Message-ID: <71AAB9766C07D611B13D0002A53493BE023DAD58@SEYN09> From: "Perreau, Luc" To: freebsd-mobile@freebsd.org Date: Thu, 13 Jul 2006 10:43:38 +0400 Importance: high X-Priority: 1 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: WMP54G wireless card and trying to create an access point in Free BSD 6 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, 13 Jul 2006 06:42:55 -0000 Hello, I have the Linksys WMP54G wireless card and trying to create an access point in FreeBSD 6. Is there a tutorial specific for that card? Because it is detected as ral0 and not wi0. All my tutorials refer to wi0 cards and when I try to use it with my ral0 I get errors. The man page for ral drivers do not mention anything about being able to use it as an AP. But the man page for wi drivers do. Can you please assist me? I found that the person here: http://lists.freebsd.org/pipermail/freebsd-mobile/2005-June/006518.html Managed it, may I know how he did it? Kind regards, Luc This e-mail has been scanned for viruses by the Cable & Wireless e-mail security system - powered by MessageLabs. For more information on a proactive managed e-mail security service, visit http://www.cw.com/uk/emailprotection/ The information contained in this e-mail is confidential and may also be subject to legal privilege. It is intended only for the recipient(s) named above. If you are not named above as a recipient, you must not read, copy, disclose, forward or otherwise use the information contained in this email. If you have received this e-mail in error, please notify the sender (whose contact details are above) immediately by reply e-mail and delete the message and any attachments without retaining any copies. From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 09:48:32 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 315E516A4DA; Thu, 13 Jul 2006 09:48:32 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96FD643D49; Thu, 13 Jul 2006 09:48:31 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1G0xns-0000CW-00; Thu, 13 Jul 2006 11:48:16 +0200 Date: Thu, 13 Jul 2006 11:48:16 +0200 To: Eric Anderson Message-ID: <20060713094816.GI17014@poupinou.org> References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> <44B3EDA6.8050608@centtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44B3EDA6.8050608@centtech.com> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: Daniel Eischen , freebsd-mobile@freebsd.org Subject: Re: Dell laptops 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, 13 Jul 2006 09:48:32 -0000 Hi Eric, On Tue, Jul 11, 2006 at 01:27:50PM -0500, Eric Anderson wrote: > On 07/11/06 12:37, Anish Mistry wrote: > >On Tuesday 11 July 2006 13:10, Daniel Eischen wrote: > >>On Tue, 11 Jul 2006, M. Warner Losh wrote: > >>>Greetings, > >>> > >>>What are the current problems, if any, on current Dell laptops > >>>have with FreeBSD? > >>Yeah, thanks for asking! My Inspiron E1405 came with an Intel > >>3945 A/B/G mini-PCI wireless that isn't supported (OpenBSD has > >>a seemingly actively maintained wpi driver for this card, and > >>I have an experimental FreeBSD driver from damien that I haven't > >>yet been able to get to work). I've ordered an Atheros-based > >>mini-PCI in the meantime, and can lend out the 3945 to anyone > >>willing to work on it. > >> > >>Also, the Fn (the blue key) can't be used to suspend, control > >>volume, switch CRT/LCD, etc, and most importantly enable the > >>radio on the wireless card (Fn + F2). Even if the wpi driver > >>works, it's worthless if I can't enable the radio. > >It might simply need an acpi function keys driver for your system. > >Would you post an "acpidump -dt" from your system? > > > > > I have a bunch of info on the D820 posted here: > > http://www.googlebit.com/freebsd/200607110621/ It has been useful for me. Thanks. First, this information confirm one bug present in all Dell laptops I'm aware of (including but not limited to D600, D610, inspiron 6000) The bug is ACPI related, and concern how a particular event is handled. To be short, the ASL contain this method (example for the D820): Method (SMIE, 0, NotSerialized) { Store (SMI (0x96, 0x00), Local0) If (And (Local0, 0x01)) { Notify (\_TZ.THM, 0x80) } Notify (\_SB.PCI0.VID, 0x81) Notify (\_SB.PCI0.AGP.VID, 0x81) } If (And (Local0, 0x02)) { Store (SMI (0x6D, 0x00), Local0) <--- BUG. Local0 will change in that case!!! ... ... } If (And (Local0, 0x04)) <--- We may not have the correct value for Local0 in that case... { Notify (\_SB.BAT0, 0x81) Notify (\_SB.BAT1, 0x81) } If (And (Local0, 0x08)) { Notify (\_PR.CPU0, 0x80) Notify (\_PR.CPU1, 0x80) } If (And (Local0, 0x10)) { ... ... } ... This method possibly can change in the middle the value of Local0 and in that case the other If() statements are broken. This method is called in order to handle an SCI interrupt, specifically by \GPE._L19() (it will call in fact NEVT() which may call NEVT()). I don't know how to contact Dell in order to get that fixed. Second, there is a method called \SMI(), taking 2 arguments and returning a value. This method will actually trigger a SMI handler in order to perform almost all power management stuff, as for example getting fan status, controlling fan speed, controlling docking and so on. There is a specific kernel module under linux called i8k, that can be found here : http://people.debian.org/~dz/i8k/ Even though I think this driver could have possibly "funny" effect if ACPI is enabled under Linux (it will actually share the same IO with the SMI() method, and that must be serialized for obvious reason), looking onto that driver we learn for example that SMI(0x25, 0) will likely return the FN key status for almost all Dell Laptop. Therefore it should be somewhat easy to write a simple ACPI driver for Dell laptops, at least for FN key (if those still don't work). ATM I don't have time for writing such support. Cheers, -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 10:05:39 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0A7616A4DD; Thu, 13 Jul 2006 10:05:39 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B3A543D4C; Thu, 13 Jul 2006 10:05:38 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from srv.sem.ipt.ru ([192.168.12.1]) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1G0y4X-0007sG-Vm; Thu, 13 Jul 2006 14:05:30 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1G0y4a-00064q-2c; Thu, 13 Jul 2006 14:05:32 +0400 To: Eric Anderson References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <44B4EC7B.9020004@centtech.com> <20060712205940.J59349@volatile.chemikals.org> <44B5A31B.2000603@centtech.com> <20060712214546.V79297@volatile.chemikals.org> <44B5BF2D.2080206@centtech.com> From: Boris Samorodov Date: Thu, 13 Jul 2006 14:05:32 +0400 In-Reply-To: <44B5BF2D.2080206@centtech.com> (Eric Anderson's message of "Wed, 12 Jul 2006 22:34:05 -0500") Message-ID: <49051139@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-multimedia@freebsd.org, freebsd-mobile@freebsd.org, Andrea Bittau Subject: Re: HDA sound driver mod for sigmatel 92xx 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, 13 Jul 2006 10:05:40 -0000 On Wed, 12 Jul 2006 22:34:05 -0500 Eric Anderson wrote: > On 07/12/06 20:46, Wesley Morgan wrote: > > On Wed, 12 Jul 2006, Eric Anderson wrote: > > > >> On 07/12/06 20:04, Wesley Morgan wrote: > >>> On Wed, 12 Jul 2006, Eric Anderson wrote: > >>> > >>>> On 07/09/06 09:11, Wesley Morgan wrote: > >>>>> > >>>>> With a little help from the netbsd azalia driver (a wonderful > >>>>> piece of work, by the way) and the hda specs, I've been able to > >>>>> get Andrea's hdac code to work with my laptop. I believe the > >>>>> problem was that the codec and dac started out in some kind of > >>>>> low-power mode and needed to be woken up before they would work. > >>>>> > >>>>> Hopefully someone is still working on a proper driver, but for > >>>>> now, I can watch movies again! > >>>>> > >>>>> A diff against Andrea's work is attached. > >>>> > >>>> > >>>> I couldn't get this patch to work - all hunks fail. What am I > >>>> doing wrong? > >>> > >>> Make sure your mailer didn't wrap long lines? It applies cleanly > >>> for me. I've attached a newer diff that makes the mixer work > >>> properly as well, but it's hard-coded to the correct widget for me > >>> so it might not work for everyone. > >> > >> Well, it must be my hdac.tgz then, because the attached patch looks > >> fine, but still fails poorly. Maybe a pointer to the hdac.tgz you > >> used, and an md5 sum would do the trick.. > > > > The original hdac.tgz posted by Andrea, I believe can be found at: > > > > http://darkircop.org/hdac.tgz > > > > > [root@neutrino /tmp/freebsd]# fetch http://darkircop.org/hdac.tgz > hdac.tgz 100% of 122 kB 151 kBps > [root@neutrino /tmp/freebsd]# tar xvzf hdac.tgz > x hdac > x hdac/hdac.c > x hdac/hdac_reg.h > x hdac/hdac.h > x hdac/hda_reg.h > x hdac/hdac_private.h > x hdac/Makefile > x hdac/hdac.z~ > x hdac/calc.core > x hdac/hdac.y~ > x hdac/hdac.c~ > x hdac/hdac.c.bak > x hdac/.hda_reg.h.swp > [root@neutrino /tmp/freebsd]# cd hdac > [root@neutrino /tmp/freebsd/hdac]# patch < ../hdac.diff > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |diff -urb hdac/hdac.c hdac-sigma/hdac.c > |--- hdac/hdac.c Mon Jun 5 15:15:12 2006 > |+++ hdac-sigma/hdac.c Wed Jul 12 21:02:32 2006 > -------------------------- > Patching file hdac.c using Plan A... > Hunk #1 failed at 247. > Hunk #2 failed at 261. > Hunk #3 succeeded at 1879 with fuzz 2 (offset 1605 lines). > Hunk #4 failed at 2396. > Hunk #5 failed at 2430. > Hunk #6 failed at 2472. > Hunk #7 failed at 2517. > Hunk #8 failed at 2568. > Hunk #9 failed at 2597. > Hunk #10 failed at 2893. > Hunk #11 failed at 3233. > 10 out of 11 hunks failed--saving rejects to hdac.c.rej > done > [root@neutrino /tmp/freebsd/hdac]# Just in case: make sure you don't have CRLFs at line endings of your patch. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 11:49:12 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48BAB16A4DE; Thu, 13 Jul 2006 11:49:12 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC52643D45; Thu, 13 Jul 2006 11:49:11 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k6DBnAt3077647; Thu, 13 Jul 2006 06:49:10 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B6333C.5090303@centtech.com> Date: Thu, 13 Jul 2006 06:49:16 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Bruno Ducrot References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> <44B3EDA6.8050608@centtech.com> <20060713094816.GI17014@poupinou.org> In-Reply-To: <20060713094816.GI17014@poupinou.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1596/Thu Jul 13 00:13:25 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: Daniel Eischen , freebsd-mobile@freebsd.org Subject: Re: Dell laptops 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, 13 Jul 2006 11:49:12 -0000 On 07/13/06 04:48, Bruno Ducrot wrote: > Hi Eric, > > On Tue, Jul 11, 2006 at 01:27:50PM -0500, Eric Anderson wrote: >> On 07/11/06 12:37, Anish Mistry wrote: >>> On Tuesday 11 July 2006 13:10, Daniel Eischen wrote: >>>> On Tue, 11 Jul 2006, M. Warner Losh wrote: >>>>> Greetings, >>>>> >>>>> What are the current problems, if any, on current Dell laptops >>>>> have with FreeBSD? >>>> Yeah, thanks for asking! My Inspiron E1405 came with an Intel >>>> 3945 A/B/G mini-PCI wireless that isn't supported (OpenBSD has >>>> a seemingly actively maintained wpi driver for this card, and >>>> I have an experimental FreeBSD driver from damien that I haven't >>>> yet been able to get to work). I've ordered an Atheros-based >>>> mini-PCI in the meantime, and can lend out the 3945 to anyone >>>> willing to work on it. >>>> >>>> Also, the Fn (the blue key) can't be used to suspend, control >>>> volume, switch CRT/LCD, etc, and most importantly enable the >>>> radio on the wireless card (Fn + F2). Even if the wpi driver >>>> works, it's worthless if I can't enable the radio. >>> It might simply need an acpi function keys driver for your system. >>> Would you post an "acpidump -dt" from your system? >>> >> >> I have a bunch of info on the D820 posted here: >> >> http://www.googlebit.com/freebsd/200607110621/ > > It has been useful for me. Thanks. > > First, this information confirm one bug present in all Dell laptops > I'm aware of (including but not limited to D600, D610, inspiron 6000) > The bug is ACPI related, and concern how a particular event is > handled. To be short, the ASL contain this method (example for > the D820): > > Method (SMIE, 0, NotSerialized) > { > Store (SMI (0x96, 0x00), Local0) > If (And (Local0, 0x01)) > { > Notify (\_TZ.THM, 0x80) > } > > Notify (\_SB.PCI0.VID, 0x81) > Notify (\_SB.PCI0.AGP.VID, 0x81) > } > > If (And (Local0, 0x02)) > { > Store (SMI (0x6D, 0x00), Local0) <--- BUG. Local0 will > change in > that case!!! > ... > ... > } > > If (And (Local0, 0x04)) <--- We may not have the correct value for > Local0 in that case... > { > Notify (\_SB.BAT0, 0x81) > Notify (\_SB.BAT1, 0x81) > } > > If (And (Local0, 0x08)) > { > Notify (\_PR.CPU0, 0x80) > Notify (\_PR.CPU1, 0x80) > } > > If (And (Local0, 0x10)) > { > ... > ... > } > ... > > This method possibly can change in the middle the value of Local0 > and in that case the other If() statements are broken. > > This method is called in order to handle an SCI interrupt, specifically > by \GPE._L19() (it will call in fact NEVT() which may call NEVT()). > > I don't know how to contact Dell in order to get that fixed. I might be able to help you get in contact with someone, or maybe get the right information to the right people. I don't completely understand everything above, so you'll have to explain to me (or to them) what needs fixing.. > Second, there is a method called \SMI(), taking 2 arguments and > returning a value. This method will actually trigger a SMI handler > in order to perform almost all power management stuff, as for > example getting fan status, controlling fan speed, controlling > docking and so on. There is a specific kernel module under linux > called i8k, that can be found here : > http://people.debian.org/~dz/i8k/ > Even though I think this driver could have possibly "funny" effect > if ACPI is enabled under Linux (it will actually share the same > IO with the SMI() method, and that must be serialized for obvious > reason), looking onto that driver we learn for example that > SMI(0x25, 0) will likely return the FN key status for almost > all Dell Laptop. > > Therefore it should be somewhat easy to write a simple ACPI > driver for Dell laptops, at least for FN key (if those still > don't work). > > ATM I don't have time for writing such support. Would this driver be akin to the asus, fujitsu, and ibm drivers that exist? Thanks for looking at this! Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 12:09:29 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DED9316A4DA; Thu, 13 Jul 2006 12:09:29 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A03543D53; Thu, 13 Jul 2006 12:09:29 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1G100S-0000Nb-00; Thu, 13 Jul 2006 14:09:24 +0200 Date: Thu, 13 Jul 2006 14:09:24 +0200 To: Eric Anderson Message-ID: <20060713120924.GK17014@poupinou.org> References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> <44B3EDA6.8050608@centtech.com> <20060713094816.GI17014@poupinou.org> <44B6333C.5090303@centtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44B6333C.5090303@centtech.com> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: Daniel Eischen , freebsd-mobile@freebsd.org Subject: Re: Dell laptops 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, 13 Jul 2006 12:09:30 -0000 On Thu, Jul 13, 2006 at 06:49:16AM -0500, Eric Anderson wrote: > >I don't know how to contact Dell in order to get that fixed. > > I might be able to help you get in contact with someone, or maybe get > the right information to the right people. I don't completely > understand everything above, so you'll have to explain to me (or to > them) what needs fixing.. Suppose you wrote something like that under C: void f1(void) { unsigned int local0; local0 = smi(0x96, 0); if (local0 & FLAG_1) do_something(); if (local0 & FLAG_2) { /* local0 will change here */ local0 = smi(0x62, 0); ... } /* *local0 could possibly be changed by the above if() statement */ if (local0 & FLAG_3) { ... } } Is that clarify what I have in mind? > > >Second, there is a method called \SMI(), taking 2 arguments and > >returning a value. This method will actually trigger a SMI handler > >in order to perform almost all power management stuff, as for > >example getting fan status, controlling fan speed, controlling > >docking and so on. There is a specific kernel module under linux > >called i8k, that can be found here : > >http://people.debian.org/~dz/i8k/ > >Even though I think this driver could have possibly "funny" effect > >if ACPI is enabled under Linux (it will actually share the same > >IO with the SMI() method, and that must be serialized for obvious > >reason), looking onto that driver we learn for example that > >SMI(0x25, 0) will likely return the FN key status for almost > >all Dell Laptop. > > > >Therefore it should be somewhat easy to write a simple ACPI > >driver for Dell laptops, at least for FN key (if those still > >don't work). > > > >ATM I don't have time for writing such support. > > Would this driver be akin to the asus, fujitsu, and ibm drivers that exist? Something like that, though I don't know exactly what feature provides those drivers. -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 12:29:58 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E184916A4E1 for ; Thu, 13 Jul 2006 12:29:58 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BA5A43D5D for ; Thu, 13 Jul 2006 12:29:58 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.7/8.13.7/NETPLEX) with ESMTP id k6DCTvVe008902; Thu, 13 Jul 2006 08:29:57 -0400 (EDT) Date: Thu, 13 Jul 2006 08:29:56 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Anish Mistry In-Reply-To: <200607122136.54293.mistry.7@osu.edu> Message-ID: References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> <200607122136.54293.mistry.7@osu.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-mobile@freebsd.org Subject: Re: Dell laptops X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 12:29:59 -0000 On Wed, 12 Jul 2006, Anish Mistry wrote: > On Tuesday 11 July 2006 23:54, Daniel Eischen wrote: >> On Tue, 11 Jul 2006, Anish Mistry wrote: >>> On Tuesday 11 July 2006 13:10, Daniel Eischen wrote: >>>> Also, the Fn (the blue key) can't be used to suspend, control >>>> volume, switch CRT/LCD, etc, and most importantly enable the >>>> radio on the wireless card (Fn + F2). Even if the wpi driver >>>> works, it's worthless if I can't enable the radio. >>> >>> It might simply need an acpi function keys driver for your >>> system. Would you post an "acpidump -dt" from your system? >> >> Here it is: >> >> http://people.freebsd.org/~deischen/e1405.acpi.dump >> >> I don't know how to decipher it nor what to do with it. > > There doesn't seem to be a function key device. This probably means > that pressing the keys just generate keyboard scan codes. > > Does acpi_video work for you? It looks like it should work. No, not really. Also, closing the lid will cause a suspend, but after that it won't ever wakeup no matter what keys I hit. # kldload /boot/kernel/acpi_video.ko found TV(200), detectable by BIOS, head #0 found CRT monitor(100), detectable by BIOS, head #0 found unknown output(400), detectable by BIOS, head #0 found unknown output(300), detectable by BIOS, head #0 acpi_video1: on vgapci1 evaluation of \\_SB_.PCI0.VID2._DOD makes no sense $ sysctl -a | grep acpi debug.acpi.do_powerstate: 1 debug.acpi.acpi_ca_version: 0x20051021 debug.acpi.semaphore_debug: 0 debug.acpi.resume_beep: 0 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: S1 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.reset_video: 0 hw.acpi.cpu.cx_supported: C1/1 hw.acpi.cpu.cx_lowest: C1 hw.acpi.cpu.cx_usage: 100.00% hw.acpi.acline: 0 hw.acpi.battery.life: 98 hw.acpi.battery.time: 253 hw.acpi.battery.state: 1 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.tz0.temperature: 32.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: 105.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.video.tv0.active: 0 hw.acpi.video.crt0.active: 0 hw.acpi.video.out0.active: 0 hw.acpi.video.out1.active: 0 machdep.acpi_timer_freq: 3579545 machdep.acpi_root: 1033104 dev.acpi.0.%desc: DELL M07 dev.acpi.0.%driver: acpi dev.acpi.0.%parent: nexus0 dev.acpi_sysresource.0.%desc: System Resource dev.acpi_sysresource.0.%driver: acpi_sysresource dev.acpi_sysresource.0.%location: handle=\_SB_.MB1_ dev.acpi_sysresource.0.%pnpinfo: _HID=PNP0C01 _UID=1 dev.acpi_sysresource.0.%parent: acpi0 dev.acpi_sysresource.1.%desc: System Resource dev.acpi_sysresource.1.%driver: acpi_sysresource dev.acpi_sysresource.1.%location: handle=\_SB_.PCI0.MB2_ dev.acpi_sysresource.1.%pnpinfo: _HID=PNP0C01 _UID=2 dev.acpi_sysresource.1.%parent: acpi0 dev.acpi_sysresource.2.%desc: System Resource dev.acpi_sysresource.2.%driver: acpi_sysresource dev.acpi_sysresource.2.%location: handle=\_SB_.PCI0.MB3_ dev.acpi_sysresource.2.%pnpinfo: _HID=PNP0C01 _UID=3 dev.acpi_sysresource.2.%parent: acpi0 dev.acpi_sysresource.3.%desc: System Resource dev.acpi_sysresource.3.%driver: acpi_sysresource dev.acpi_sysresource.3.%location: handle=\_SB_.PCI0.ISAB.MB4_ dev.acpi_sysresource.3.%pnpinfo: _HID=PNP0C01 _UID=4 dev.acpi_sysresource.3.%parent: acpi0 dev.acpi_timer.0.%desc: 24-bit timer at 3.579545MHz dev.acpi_timer.0.%driver: acpi_timer dev.acpi_timer.0.%location: unknown dev.acpi_timer.0.%pnpinfo: unknown dev.acpi_timer.0.%parent: acpi0 dev.pci_link.0.%parent: acpi0 dev.pci_link.1.%parent: acpi0 dev.pci_link.2.%parent: acpi0 dev.pci_link.3.%parent: acpi0 dev.pci_link.4.%parent: acpi0 dev.pci_link.5.%parent: acpi0 dev.pci_link.6.%parent: acpi0 dev.pci_link.7.%parent: acpi0 dev.cpu.0.%parent: acpi0 dev.cpu.1.%parent: acpi0 dev.acpi_throttle.0.%desc: ACPI CPU Throttling dev.acpi_throttle.0.%driver: acpi_throttle dev.acpi_throttle.0.%parent: cpu0 dev.acpi_throttle.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.acpi_acad.0.%desc: AC Adapter dev.acpi_acad.0.%driver: acpi_acad dev.acpi_acad.0.%location: handle=\_SB_.AC__ dev.acpi_acad.0.%pnpinfo: _HID=ACPI0003 _UID=0 dev.acpi_acad.0.%parent: acpi0 dev.battery.0.%parent: acpi0 dev.acpi_lid.0.%desc: Control Method Lid Switch dev.acpi_lid.0.%driver: acpi_lid dev.acpi_lid.0.%location: handle=\_SB_.LID_ dev.acpi_lid.0.%pnpinfo: _HID=PNP0C0D _UID=0 dev.acpi_lid.0.%parent: acpi0 dev.acpi_lid.0.wake: 1 dev.acpi_button.0.%desc: Power Button dev.acpi_button.0.%driver: acpi_button dev.acpi_button.0.%location: handle=\_SB_.PBTN dev.acpi_button.0.%pnpinfo: _HID=PNP0C0C _UID=0 dev.acpi_button.0.%parent: acpi0 dev.acpi_button.0.wake: 1 dev.acpi_button.1.%desc: Sleep Button dev.acpi_button.1.%driver: acpi_button dev.acpi_button.1.%location: handle=\_SB_.SBTN dev.acpi_button.1.%pnpinfo: _HID=PNP0C0E _UID=0 dev.acpi_button.1.%parent: acpi0 dev.pcib.0.%parent: acpi0 dev.acpi_tz.0.%desc: Thermal Zone dev.acpi_tz.0.%driver: acpi_tz dev.acpi_tz.0.%location: handle=\_TZ_.THM_ dev.acpi_tz.0.%pnpinfo: _HID=none _UID=0 dev.acpi_tz.0.%parent: acpi0 dev.psmcpnp.0.%parent: acpi0 dev.atkbdc.0.%parent: acpi0 dev.attimer.0.%parent: acpi0 dev.attimer.1.%parent: acpi0 dev.atpic.0.%parent: acpi0 dev.atdma.0.%parent: acpi0 dev.npxisa.0.%parent: acpi0 dev.acpi_video.0.%desc: ACPI video extension dev.acpi_video.0.%driver: acpi_video dev.acpi_video.0.%parent: vgapci0 dev.acpi_video.1.%desc: ACPI video extension dev.acpi_video.1.%driver: acpi_video dev.acpi_video.1.%parent: vgapci1 -- DE From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 12:39:36 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3059A16A4DA; Thu, 13 Jul 2006 12:39:36 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B4B943D64; Thu, 13 Jul 2006 12:39:18 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k6DCdCZR070243; Thu, 13 Jul 2006 07:39:12 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B63EF6.2070901@centtech.com> Date: Thu, 13 Jul 2006 07:39:18 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Boris Samorodov References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <44B4EC7B.9020004@centtech.com> <20060712205940.J59349@volatile.chemikals.org> <44B5A31B.2000603@centtech.com> <20060712214546.V79297@volatile.chemikals.org> <44B5BF2D.2080206@centtech.com> <49051139@srv.sem.ipt.ru> In-Reply-To: <49051139@srv.sem.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1598/Thu Jul 13 06:38:16 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-multimedia@freebsd.org, freebsd-mobile@freebsd.org, Andrea Bittau Subject: Re: HDA sound driver mod for sigmatel 92xx 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, 13 Jul 2006 12:39:36 -0000 On 07/13/06 05:05, Boris Samorodov wrote: > On Wed, 12 Jul 2006 22:34:05 -0500 Eric Anderson wrote: > >> On 07/12/06 20:46, Wesley Morgan wrote: >>> On Wed, 12 Jul 2006, Eric Anderson wrote: >>> >>>> On 07/12/06 20:04, Wesley Morgan wrote: >>>>> On Wed, 12 Jul 2006, Eric Anderson wrote: >>>>> >>>>>> On 07/09/06 09:11, Wesley Morgan wrote: >>>>>>> With a little help from the netbsd azalia driver (a wonderful >>>>>>> piece of work, by the way) and the hda specs, I've been able to >>>>>>> get Andrea's hdac code to work with my laptop. I believe the >>>>>>> problem was that the codec and dac started out in some kind of >>>>>>> low-power mode and needed to be woken up before they would work. >>>>>>> >>>>>>> Hopefully someone is still working on a proper driver, but for >>>>>>> now, I can watch movies again! >>>>>>> >>>>>>> A diff against Andrea's work is attached. >>>>>> >>>>>> I couldn't get this patch to work - all hunks fail. What am I >>>>>> doing wrong? >>>>> Make sure your mailer didn't wrap long lines? It applies cleanly >>>>> for me. I've attached a newer diff that makes the mixer work >>>>> properly as well, but it's hard-coded to the correct widget for me >>>>> so it might not work for everyone. >>>> Well, it must be my hdac.tgz then, because the attached patch looks >>>> fine, but still fails poorly. Maybe a pointer to the hdac.tgz you >>>> used, and an md5 sum would do the trick.. >>> The original hdac.tgz posted by Andrea, I believe can be found at: >>> >>> http://darkircop.org/hdac.tgz >>> >>> > >> [root@neutrino /tmp/freebsd]# fetch http://darkircop.org/hdac.tgz >> hdac.tgz 100% of 122 kB 151 kBps >> [root@neutrino /tmp/freebsd]# tar xvzf hdac.tgz >> x hdac >> x hdac/hdac.c >> x hdac/hdac_reg.h >> x hdac/hdac.h >> x hdac/hda_reg.h >> x hdac/hdac_private.h >> x hdac/Makefile >> x hdac/hdac.z~ >> x hdac/calc.core >> x hdac/hdac.y~ >> x hdac/hdac.c~ >> x hdac/hdac.c.bak >> x hdac/.hda_reg.h.swp >> [root@neutrino /tmp/freebsd]# cd hdac >> [root@neutrino /tmp/freebsd/hdac]# patch < ../hdac.diff >> Hmm... Looks like a unified diff to me... >> The text leading up to this was: >> -------------------------- >> |diff -urb hdac/hdac.c hdac-sigma/hdac.c >> |--- hdac/hdac.c Mon Jun 5 15:15:12 2006 >> |+++ hdac-sigma/hdac.c Wed Jul 12 21:02:32 2006 >> -------------------------- >> Patching file hdac.c using Plan A... >> Hunk #1 failed at 247. >> Hunk #2 failed at 261. >> Hunk #3 succeeded at 1879 with fuzz 2 (offset 1605 lines). >> Hunk #4 failed at 2396. >> Hunk #5 failed at 2430. >> Hunk #6 failed at 2472. >> Hunk #7 failed at 2517. >> Hunk #8 failed at 2568. >> Hunk #9 failed at 2597. >> Hunk #10 failed at 2893. >> Hunk #11 failed at 3233. >> 10 out of 11 hunks failed--saving rejects to hdac.c.rej >> done >> [root@neutrino /tmp/freebsd/hdac]# > > Just in case: make sure you don't have CRLFs at line endings of your > patch. > > > WBR *sigh* - that was it. How's they get introduced? My mailer didn't do it (I just checked). Must have been on the sending side? Painful. Only one hunk failed that way: [root@neutrino /tmp/freebsd]# tar xvzf hdac.tgz x hdac x hdac/hdac.c x hdac/hdac_reg.h x hdac/hdac.h x hdac/hda_reg.h x hdac/hdac_private.h x hdac/Makefile x hdac/hdac.z~ x hdac/calc.core x hdac/hdac.y~ x hdac/hdac.c~ x hdac/hdac.c.bak x hdac/.hda_reg.h.swp [root@neutrino /tmp/freebsd]# cd hdac [root@neutrino /tmp/freebsd/hdac]# patch <../hdac-sigma2.diff Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -urb hdac/hdac.c hdac-sigma/hdac.c |--- hdac/hdac.c Mon Jun 5 15:15:12 2006 |+++ hdac-sigma/hdac.c Wed Jul 12 21:02:32 2006 -------------------------- Patching file hdac.c using Plan A... Hunk #1 succeeded at 247. Hunk #2 succeeded at 261. Hunk #3 succeeded at 274. Hunk #4 failed at 791. Hunk #5 succeeded at 825. Hunk #6 succeeded at 867. Hunk #7 succeeded at 912. Hunk #8 succeeded at 963. Hunk #9 succeeded at 992. Hunk #10 succeeded at 1288. Hunk #11 succeeded at 1628. 1 out of 11 hunks failed--saving rejects to hdac.c.rej done [root@neutrino /tmp/freebsd/hdac]# cat hdac.c.rej *************** *** 786,791 **** devinfo->stepping_id = HDA_PARAM_REVISION_ID_STEPPING_ID(revisionid); devinfo->node_type = HDA_PARAM_FCT_GRP_TYPE_NODE_TYPE(fctgrptype); hdac_add_child(sc, devinfo); } --- 791,800 ---- devinfo->stepping_id = HDA_PARAM_REVISION_ID_STEPPING_ID(revisionid); devinfo->node_type = HDA_PARAM_FCT_GRP_TYPE_NODE_TYPE(fctgrptype); + + device_printf(sc->dev, "Vendor info: %x %x %x %x %x %x\n", vendorid, devinfo->vendor_id, devinfo->device_id, + devinfo->revision_id, devinfo->stepping_id, devinfo->node_type); + hdac_add_child(sc, devinfo); } After manually applying the patch, it builds, and makes my sound work fine!!!!!! Woohoo!! Thanks to those who made this work! Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 12:44:10 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9ED4116A4DA; Thu, 13 Jul 2006 12:44:10 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2444B43D46; Thu, 13 Jul 2006 12:44:10 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k6DCi9FS070985; Thu, 13 Jul 2006 07:44:09 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B6401F.8050507@centtech.com> Date: Thu, 13 Jul 2006 07:44:15 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Daniel Eischen References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> <200607122136.54293.mistry.7@osu.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1598/Thu Jul 13 06:38:16 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-mobile@freebsd.org Subject: Re: Dell laptops 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, 13 Jul 2006 12:44:10 -0000 On 07/13/06 07:29, Daniel Eischen wrote: > On Wed, 12 Jul 2006, Anish Mistry wrote: > >> On Tuesday 11 July 2006 23:54, Daniel Eischen wrote: >>> On Tue, 11 Jul 2006, Anish Mistry wrote: >>>> On Tuesday 11 July 2006 13:10, Daniel Eischen wrote: >>>>> Also, the Fn (the blue key) can't be used to suspend, control >>>>> volume, switch CRT/LCD, etc, and most importantly enable the >>>>> radio on the wireless card (Fn + F2). Even if the wpi driver >>>>> works, it's worthless if I can't enable the radio. >>>> >>>> It might simply need an acpi function keys driver for your >>>> system. Would you post an "acpidump -dt" from your system? >>> >>> Here it is: >>> >>> http://people.freebsd.org/~deischen/e1405.acpi.dump >>> >>> I don't know how to decipher it nor what to do with it. >> >> There doesn't seem to be a function key device. This probably means >> that pressing the keys just generate keyboard scan codes. >> >> Does acpi_video work for you? It looks like it should work. > > No, not really. Also, closing the lid will cause a suspend, > but after that it won't ever wakeup no matter what keys I > hit. > > # kldload /boot/kernel/acpi_video.ko > found TV(200), detectable by BIOS, head #0 > found CRT monitor(100), detectable by BIOS, head #0 > found unknown output(400), detectable by BIOS, head #0 > found unknown output(300), detectable by BIOS, head #0 > acpi_video1: on vgapci1 > evaluation of \\_SB_.PCI0.VID2._DOD makes no sense > > $ sysctl -a | grep acpi [..snip..] > hw.acpi.video.tv0.active: 0 > hw.acpi.video.crt0.active: 0 > hw.acpi.video.out0.active: 0 > hw.acpi.video.out1.active: 0 [..snip..] And then if you do: sysctl hw.acpi.video.out0.active=1 and then sysctl hw.acpi.video.out0.active=0 Does your screen do something? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 12:50:27 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DBC616A4DE for ; Thu, 13 Jul 2006 12:50:27 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6E3D43D46 for ; Thu, 13 Jul 2006 12:50:26 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.7/8.13.7/NETPLEX) with ESMTP id k6DCoNX0000081; Thu, 13 Jul 2006 08:50:24 -0400 (EDT) Date: Thu, 13 Jul 2006 08:50:23 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Eric Anderson In-Reply-To: <44B6401F.8050507@centtech.com> Message-ID: References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> <200607122136.54293.mistry.7@osu.edu> <44B6401F.8050507@centtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-mobile@freebsd.org Subject: Re: Dell laptops X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 12:50:27 -0000 On Thu, 13 Jul 2006, Eric Anderson wrote: > On 07/13/06 07:29, Daniel Eischen wrote: >> On Wed, 12 Jul 2006, Anish Mistry wrote: >> >>> On Tuesday 11 July 2006 23:54, Daniel Eischen wrote: >>>> On Tue, 11 Jul 2006, Anish Mistry wrote: >>>>> On Tuesday 11 July 2006 13:10, Daniel Eischen wrote: >>>>>> Also, the Fn (the blue key) can't be used to suspend, control >>>>>> volume, switch CRT/LCD, etc, and most importantly enable the >>>>>> radio on the wireless card (Fn + F2). Even if the wpi driver >>>>>> works, it's worthless if I can't enable the radio. >>>>> >>>>> It might simply need an acpi function keys driver for your >>>>> system. Would you post an "acpidump -dt" from your system? >>>> >>>> Here it is: >>>> >>>> http://people.freebsd.org/~deischen/e1405.acpi.dump >>>> >>>> I don't know how to decipher it nor what to do with it. >>> >>> There doesn't seem to be a function key device. This probably means >>> that pressing the keys just generate keyboard scan codes. >>> >>> Does acpi_video work for you? It looks like it should work. >> >> No, not really. Also, closing the lid will cause a suspend, >> but after that it won't ever wakeup no matter what keys I >> hit. >> >> # kldload /boot/kernel/acpi_video.ko >> found TV(200), detectable by BIOS, head #0 >> found CRT monitor(100), detectable by BIOS, head #0 >> found unknown output(400), detectable by BIOS, head #0 >> found unknown output(300), detectable by BIOS, head #0 >> acpi_video1: on vgapci1 >> evaluation of \\_SB_.PCI0.VID2._DOD makes no sense >> >> $ sysctl -a | grep acpi > > [..snip..] >> hw.acpi.video.tv0.active: 0 >> hw.acpi.video.crt0.active: 0 >> hw.acpi.video.out0.active: 0 >> hw.acpi.video.out1.active: 0 > [..snip..] > > > And then if you do: > > sysctl hw.acpi.video.out0.active=1 > and then > sysctl hw.acpi.video.out0.active=0 > > Does your screen do something? Yes, hw.acpi.video.out0.active=1 seems to switch to the CRT, but once there, setting it back to 0 does not bring it back. Fn + CRT/LCD also has no effect. The only way to get it back is to reboot. -- DE From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 12:51:59 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F0FA16A4DE; Thu, 13 Jul 2006 12:51:59 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73CE443D53; Thu, 13 Jul 2006 12:51:57 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k6DCpuP7087685; Thu, 13 Jul 2006 07:51:56 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44B641F2.2020500@centtech.com> Date: Thu, 13 Jul 2006 07:52:02 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Daniel Eischen References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> <200607122136.54293.mistry.7@osu.edu> <44B6401F.8050507@centtech.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1598/Thu Jul 13 06:38:16 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-mobile@freebsd.org Subject: Re: Dell laptops 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, 13 Jul 2006 12:51:59 -0000 On 07/13/06 07:50, Daniel Eischen wrote: > On Thu, 13 Jul 2006, Eric Anderson wrote: > >> On 07/13/06 07:29, Daniel Eischen wrote: >>> On Wed, 12 Jul 2006, Anish Mistry wrote: >>> >>>> On Tuesday 11 July 2006 23:54, Daniel Eischen wrote: >>>>> On Tue, 11 Jul 2006, Anish Mistry wrote: >>>>>> On Tuesday 11 July 2006 13:10, Daniel Eischen wrote: >>>>>>> Also, the Fn (the blue key) can't be used to suspend, control >>>>>>> volume, switch CRT/LCD, etc, and most importantly enable the >>>>>>> radio on the wireless card (Fn + F2). Even if the wpi driver >>>>>>> works, it's worthless if I can't enable the radio. >>>>>> >>>>>> It might simply need an acpi function keys driver for your >>>>>> system. Would you post an "acpidump -dt" from your system? >>>>> >>>>> Here it is: >>>>> >>>>> http://people.freebsd.org/~deischen/e1405.acpi.dump >>>>> >>>>> I don't know how to decipher it nor what to do with it. >>>> >>>> There doesn't seem to be a function key device. This probably means >>>> that pressing the keys just generate keyboard scan codes. >>>> >>>> Does acpi_video work for you? It looks like it should work. >>> >>> No, not really. Also, closing the lid will cause a suspend, >>> but after that it won't ever wakeup no matter what keys I >>> hit. >>> >>> # kldload /boot/kernel/acpi_video.ko >>> found TV(200), detectable by BIOS, head #0 >>> found CRT monitor(100), detectable by BIOS, head #0 >>> found unknown output(400), detectable by BIOS, head #0 >>> found unknown output(300), detectable by BIOS, head #0 >>> acpi_video1: on vgapci1 >>> evaluation of \\_SB_.PCI0.VID2._DOD makes no sense >>> >>> $ sysctl -a | grep acpi >> >> [..snip..] >>> hw.acpi.video.tv0.active: 0 >>> hw.acpi.video.crt0.active: 0 >>> hw.acpi.video.out0.active: 0 >>> hw.acpi.video.out1.active: 0 >> [..snip..] >> >> >> And then if you do: >> >> sysctl hw.acpi.video.out0.active=1 >> and then >> sysctl hw.acpi.video.out0.active=0 >> >> Does your screen do something? > > Yes, hw.acpi.video.out0.active=1 seems to switch to the CRT, > but once there, setting it back to 0 does not bring it back. > Fn + CRT/LCD also has no effect. The only way to get it back > is to reboot. > Did you try to do this too: sysctl hw.acpi.video.out1.active=1 Or some other combinations? Sounds like it works ok, you just need to figure out which outputs map to your LCD/CRT/etc. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 13:03:39 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0ECA716A4DA for ; Thu, 13 Jul 2006 13:03:39 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78B2D43D49 for ; Thu, 13 Jul 2006 13:03:38 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.7/8.13.7/NETPLEX) with ESMTP id k6DD3aUG013988; Thu, 13 Jul 2006 09:03:36 -0400 (EDT) Date: Thu, 13 Jul 2006 09:03:36 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Eric Anderson In-Reply-To: <44B641F2.2020500@centtech.com> Message-ID: References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> <200607122136.54293.mistry.7@osu.edu> <44B6401F.8050507@centtech.com> <44B641F2.2020500@centtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-mobile@freebsd.org Subject: Re: Dell laptops X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 13:03:39 -0000 On Thu, 13 Jul 2006, Eric Anderson wrote: > On 07/13/06 07:50, Daniel Eischen wrote: >> On Thu, 13 Jul 2006, Eric Anderson wrote: >> >>> And then if you do: >>> >>> sysctl hw.acpi.video.out0.active=1 >>> and then >>> sysctl hw.acpi.video.out0.active=0 >>> >>> Does your screen do something? >> >> Yes, hw.acpi.video.out0.active=1 seems to switch to the CRT, >> but once there, setting it back to 0 does not bring it back. >> Fn + CRT/LCD also has no effect. The only way to get it back >> is to reboot. >> > > Did you try to do this too: > > sysctl hw.acpi.video.out1.active=1 > > Or some other combinations? > > Sounds like it works ok, you just need to figure out which outputs map to > your LCD/CRT/etc. Yes, I tried that as well. It might indeed switch to CRT, but no combination will bring it back to LCD. X is not running, and switching consoles does not help either. I have to reboot to get it back. -- DE From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 14:33:51 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 558E916A4DD for ; Thu, 13 Jul 2006 14:33:51 +0000 (UTC) (envelope-from Alex.Kovalenko@verizon.net) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F66943D69 for ; Thu, 13 Jul 2006 14:33:45 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.21.160.49]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J2C00D46J3BYVAH@vms048.mailsrvcs.net> for freebsd-mobile@freebsd.org; Thu, 13 Jul 2006 09:33:12 -0500 (CDT) Date: Thu, 13 Jul 2006 10:31:48 -0400 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <20060711010414.87201.qmail@web51913.mail.yahoo.com> To: eol1@yahoo.com Message-id: <1152801108.41688.5.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-type: text/plain; charset=iso-8859-5 Content-transfer-encoding: 8BIT References: <20060711010414.87201.qmail@web51913.mail.yahoo.com> Cc: freebsd-mobile@freebsd.org Subject: Re: External USB Numpad 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, 13 Jul 2006 14:33:51 -0000 On Mon, 2006-07-10 at 18:04 -0700, Peter Thoenen wrote: > > ukbd(4). You can see what the other one has to offer with > > usbhidctl(1): > > Manning ukbd didn't seem to cut it. It says I should be able to use > both at the same time (or at least the way I read it). Switching via > the console and kbdcontrol commands doesn't work either (though I am > seeing /dev/kbd{0/1/2} > > > # usbhidctl -f /dev/uhidX -r > > Report descriptor: > Total input size 0 bytes > Total output size 1 bytes > Total feature size 3 bytes > > No idea what this means. > > dmesg now though is reporting at least: > > kbd1 at kbdmux0 > ukbd0: vendor 0x1241 product 0x1203, rev 2.00/2.30, addr 3, iclass 3/1 > kbd2 at ukbd0 > uhid0: vendor 0x1241 product 0x1203, rev 2.00/2.30, addr 3, iclass 3/1 > > _______________________________________________ > 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" What do you get if you try kbdcontrol -a ukbd0 < /dev/console at console prompt? I am running -CURRENT, so numpad is recognised and attached automatically, but kbdcontrol -A ukbd0 < /dev/console detaches it, and kdbcontrol -a ukbd0 < /dev/console attaches it back. I do not have 6.1 here to try it out, but from my recollections it should work there as well. 'man kbdcontrol' is your friend. -- Alexandre Kovalenko (Олександр Коваленко) From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 15:37:15 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3B4016A4E0 for ; Thu, 13 Jul 2006 15:37:15 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (noop.in-addr.com [208.58.23.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42BF143D5C for ; Thu, 13 Jul 2006 15:37:13 +0000 (GMT) (envelope-from gpalmer@freebsd.org) Received: from gjp by noop.in-addr.com with local (Exim 4.54 (FreeBSD)) id 1G13FY-000Nmw-7O for freebsd-mobile@freebsd.org; Thu, 13 Jul 2006 11:37:12 -0400 Date: Thu, 13 Jul 2006 11:37:12 -0400 From: Gary Palmer To: freebsd-mobile@freebsd.org Message-ID: <20060713153712.GB71104@in-addr.com> Mail-Followup-To: freebsd-mobile@freebsd.org References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> <44B3EDA6.8050608@centtech.com> <20060713094816.GI17014@poupinou.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060713094816.GI17014@poupinou.org> Subject: Re: Dell laptops 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, 13 Jul 2006 15:37:15 -0000 On Thu, Jul 13, 2006 at 11:48:16AM +0200, Bruno Ducrot wrote: > It has been useful for me. Thanks. > > First, this information confirm one bug present in all Dell laptops > I'm aware of (including but not limited to D600, D610, inspiron 6000) > The bug is ACPI related, and concern how a particular event is > handled. To be short, the ASL contain this method (example for > the D820): > > Method (SMIE, 0, NotSerialized) > { > Store (SMI (0x96, 0x00), Local0) > If (And (Local0, 0x01)) > { > Notify (\_TZ.THM, 0x80) > } > > Notify (\_SB.PCI0.VID, 0x81) > Notify (\_SB.PCI0.AGP.VID, 0x81) > } > > If (And (Local0, 0x02)) > { > Store (SMI (0x6D, 0x00), Local0) <--- BUG. Local0 will > change in > that case!!! > ... > ... > } > > If (And (Local0, 0x04)) <--- We may not have the correct value for > Local0 in that case... > { > Notify (\_SB.BAT0, 0x81) > Notify (\_SB.BAT1, 0x81) > } > > If (And (Local0, 0x08)) > { > Notify (\_PR.CPU0, 0x80) > Notify (\_PR.CPU1, 0x80) > } > > If (And (Local0, 0x10)) > { > ... > ... > } > ... > > This method possibly can change in the middle the value of Local0 > and in that case the other If() statements are broken. > > This method is called in order to handle an SCI interrupt, specifically > by \GPE._L19() (it will call in fact NEVT() which may call NEVT()). Hi Bruno, Forgive my ignorance, but what is a SCI interrupt? I.e. what could the outcome of the above bug in the ASL code be? Could it be related to the failure to properly sleep on these laptops? Thanks, Gary From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 16:47:08 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B94216A4DA; Thu, 13 Jul 2006 16:47:08 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6272143D45; Thu, 13 Jul 2006 16:47:07 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.7/8.13.7/NETPLEX) with ESMTP id k6DGl0ck023705; Thu, 13 Jul 2006 12:47:01 -0400 (EDT) Date: Thu, 13 Jul 2006 12:47:00 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Wesley Morgan In-Reply-To: <20060712214546.V79297@volatile.chemikals.org> Message-ID: References: <20060606124030.GA32057@shorty.sorbonet.org> <4485CEF8.10201@centtech.com> <20060606192229.GA4465@shorty.sorbonet.org> <4485DA6D.9020304@centtech.com> <4485E199.7000604@centtech.com> <20060606205918.GA6765@shorty.sorbonet.org> <20060606231025.R50560@volatile.chemikals.org> <20060607073918.GB9245@shorty.sorbonet.org> <448CE5A0.70806@centtech.com> <20060709093252.S31266@volatile.chemikals.org> <44B4EC7B.9020004@centtech.com> <20060712205940.J59349@volatile.chemikals.org> <44B5A31B.2000603@centtech.com> <20060712214546.V79297@volatile.chemikals.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-multimedia@freebsd.org, Andrea Bittau , freebsd-mobile@freebsd.org Subject: Re: HDA sound driver mod for sigmatel 92xx X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 16:47:08 -0000 On Wed, 12 Jul 2006, Wesley Morgan wrote: > > The original hdac.tgz posted by Andrea, I believe can be found at: > > http://darkircop.org/hdac.tgz This plus the patch from the previous thread seemed to work for me on my Dell Inspiron 1405. I only had time to cat a small audio file. But I do get mtx lock warnings when booting and rc tries to set the mixer. It seems that pcm/mixer.c holds one of its locks (see mixer_set(), around line 148), then somehow calls into the driver in hdac_command_send_internal() around line 1401 where it does an msleep(). You're not suppose to sleep while holding mutex (pcm/mixer's mtx is held at this point). I've placed the original driver with the patches applied at: http://people.freebsd.org/~deischen/hdac.tgz -- DE From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 17:36:32 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52B2416A4DD for ; Thu, 13 Jul 2006 17:36:32 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB4CB43D46 for ; Thu, 13 Jul 2006 17:36:31 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1G1570-0001HE-00; Thu, 13 Jul 2006 19:36:30 +0200 Date: Thu, 13 Jul 2006 19:36:30 +0200 To: freebsd-mobile@freebsd.org Message-ID: <20060713173630.GM17014@poupinou.org> References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> <44B3EDA6.8050608@centtech.com> <20060713094816.GI17014@poupinou.org> <20060713153712.GB71104@in-addr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060713153712.GB71104@in-addr.com> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Subject: Re: Dell laptops 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, 13 Jul 2006 17:36:32 -0000 On Thu, Jul 13, 2006 at 11:37:12AM -0400, Gary Palmer wrote: > On Thu, Jul 13, 2006 at 11:48:16AM +0200, Bruno Ducrot wrote: > > > > This method is called in order to handle an SCI interrupt, specifically > > by \GPE._L19() (it will call in fact NEVT() which may call NEVT()). > > Forgive my ignorance, but what is a SCI interrupt? A classical interrupt that is supposed to replace the SMI one for some hardware subsystem, so that the OS will handle those instead of the APM bios (to be short). > I.e. what could the outcome of the above bug in the ASL code be? It might be possible that notifications change for other ACPI component being fired, or not, for processor and the battery subsystem at least. I think also it's a minor bug. > Could it be related > to the failure to properly sleep on these laptops? It's unrelated. -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 23:01:34 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 652F516A501; Thu, 13 Jul 2006 23:01:34 +0000 (UTC) (envelope-from john@utzweb.net) Received: from marley.grokthis.net (marley.grokthis.net [69.93.78.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 233EA43D5D; Thu, 13 Jul 2006 23:01:30 +0000 (GMT) (envelope-from john@utzweb.net) Received: from utzweb.net (marley.grokthis.net [127.0.0.1]) by marley.grokthis.net (Postfix) with ESMTP id 420C9F1442; Thu, 13 Jul 2006 19:01:31 -0400 (EDT) Received: from 69.93.78.27 (proxying for 216.254.62.194) (SquirrelMail authenticated user john-utzweb-net); by utzweb.net with HTTP; Thu, 13 Jul 2006 19:01:35 -0400 (EDT) Message-ID: <32884.69.93.78.27.1152831695.squirrel@69.93.78.27> In-Reply-To: References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> <200607122136.54293.mistry.7@osu.edu> <44B6401F.8050507@centtech.com> <44B641F2.2020500@centtech.com> Date: Thu, 13 Jul 2006 19:01:35 -0400 (EDT) From: john@utzweb.net To: "Daniel Eischen" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-mobile@freebsd.org Subject: Dell/acpi_video hw.acpi.video.out0 is probably a bug, and an important one. Re: Dell laptops 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, 13 Jul 2006 23:01:34 -0000 Hijacking this a bit, but it's very relevant IMHO > On Thu, 13 Jul 2006, Eric Anderson wrote: > >> On 07/13/06 07:50, Daniel Eischen wrote: >>> On Thu, 13 Jul 2006, Eric Anderson wrote: >>> >>>> And then if you do: >>>> >>>> sysctl hw.acpi.video.out0.active=1 >>>> and then >>>> sysctl hw.acpi.video.out0.active=0 >>>> >>>> Does your screen do something? >>> >>> Yes, hw.acpi.video.out0.active=1 seems to switch to the CRT, >>> but once there, setting it back to 0 does not bring it back. >>> Fn + CRT/LCD also has no effect. The only way to get it back >>> is to reboot. >>> >> >> Did you try to do this too: >> >> sysctl hw.acpi.video.out1.active=1 >> >> Or some other combinations? >> >> Sounds like it works ok, you just need to figure out which outputs map >> to >> your LCD/CRT/etc. So, if you look at: /usr/src/sys/dev/acpicaacpi_video.c::acpi_video_vo_init() you will notice that 'out' is what you get when you fall out of the switch: switch (adr & DOD_DEVID_MASK) { case DOD_DEVID_MONITOR: desc = "CRT monitor"; type = "crt"; voqh = &crt_units; break; case DOD_DEVID_PANEL: desc = "LCD panel"; type = "lcd"; voqh = &lcd_units; break; case DOD_DEVID_TV: desc = "TV"; type = "tv"; voqh = &tv_units; break; default: desc = "unknown output"; type = "out"; voqh = &other_units; } my Latitude C400 (i830M) also shows up with out0 and i am highly confident that what *should* be happening is that it should be *winning* at lcd. when i was running 6.1-RELEASE i tried h3xoring the switch to have the lcd be the default case but that didnt seem to help anything and i have not tried the selfsame hack since switching over to CURRENT ( for the first time since i started using FreeBSD back in 10/93!). the switch is quite simple, so it really looks like there are only two things that could be wrong: 1. either the addr passed as the inparm (UNIT32 adr) is wrong 2. the bit's at the address are screwed up so that the dont make the mask. my devguy gut votes for 2, but i have yet to debug...urmm printf this thing again. so who the hell is acpi_video asking? anybody know? i am resisting an impolite cross-post to freebsd-acpi based on the assumption that anybody who knows anything over there is probably on this list too. i suspect that untwisting this will probably break the logjam on several dell acpi annoyances. X obviously get's it right, where is the fork in the road between X and ACPI? i *will* figure this out, but if anybody has any thoughts they wanted to chime in with, i would love to read them! tnx! johnu From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 23:15:14 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9152A16A4E0; Thu, 13 Jul 2006 23:15:14 +0000 (UTC) (envelope-from john@utzweb.net) Received: from marley.grokthis.net (marley.grokthis.net [69.93.78.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 348D043D45; Thu, 13 Jul 2006 23:15:14 +0000 (GMT) (envelope-from john@utzweb.net) Received: from utzweb.net (marley.grokthis.net [127.0.0.1]) by marley.grokthis.net (Postfix) with ESMTP id A6F19F1453; Thu, 13 Jul 2006 19:15:18 -0400 (EDT) Received: from 69.93.78.27 (proxying for 216.254.62.194) (SquirrelMail authenticated user john-utzweb-net); by utzweb.net with HTTP; Thu, 13 Jul 2006 19:15:18 -0400 (EDT) Message-ID: <33102.69.93.78.27.1152832518.squirrel@69.93.78.27> In-Reply-To: References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> Date: Thu, 13 Jul 2006 19:15:18 -0400 (EDT) From: john@utzweb.net To: "Daniel Eischen" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-mobile@freebsd.org Subject: Re: Dell laptops 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, 13 Jul 2006 23:15:14 -0000 > On Tue, 11 Jul 2006, Anish Mistry wrote: > >> On Tuesday 11 July 2006 13:10, Daniel Eischen wrote: >>> On Tue, 11 Jul 2006, M. Warner Losh wrote: >>>> Greetings, >>>> >>>> What are the current problems, if any, on current Dell laptops >>>> have with FreeBSD? >>> >>> Yeah, thanks for asking! My Inspiron E1405 came with an Intel >>> 3945 A/B/G mini-PCI wireless that isn't supported (OpenBSD has >>> a seemingly actively maintained wpi driver for this card, and >>> I have an experimental FreeBSD driver from damien that I haven't >>> yet been able to get to work). I've ordered an Atheros-based >>> mini-PCI in the meantime, and can lend out the 3945 to anyone >>> willing to work on it. >>> >>> Also, the Fn (the blue key) can't be used to suspend, control >>> volume, switch CRT/LCD, etc, and most importantly enable the >>> radio on the wireless card (Fn + F2). Even if the wpi driver >>> works, it's worthless if I can't enable the radio. >> >> It might simply need an acpi function keys driver for your system. >> Would you post an "acpidump -dt" from your system? > > I'll do that later when I get access to it, but I did try > disabling ACPI and it still didn't work. Would that make > a difference? if you turn off acpi and enable apm on 6.1-RELEASE then all the buttons work, at least on my Latitude C400, YMMV. i really liked being able to suspend to disk; that's absolutely broken with ACPI I moved up to CURRENT with my laptop because i want to contribute to *fixing* this stuff, so i cant offer too much help on 6-X anymore > -- > DE > _______________________________________________ > 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 Jul 13 23:17:15 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F25E16A4DD for ; Thu, 13 Jul 2006 23:17:15 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BD0343D6D for ; Thu, 13 Jul 2006 23:17:09 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.7/8.13.7/NETPLEX) with ESMTP id k6DNH8RI011838; Thu, 13 Jul 2006 19:17:08 -0400 (EDT) Date: Thu, 13 Jul 2006 19:17:07 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: john@utzweb.net In-Reply-To: <33102.69.93.78.27.1152832518.squirrel@69.93.78.27> Message-ID: References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> <33102.69.93.78.27.1152832518.squirrel@69.93.78.27> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-mobile@freebsd.org Subject: Re: Dell laptops X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 23:17:15 -0000 On Thu, 13 Jul 2006, john@utzweb.net wrote: > > if you turn off acpi and enable apm on 6.1-RELEASE then all the buttons > work, at least on my Latitude C400, YMMV. > > i really liked being able to suspend to disk; that's absolutely broken > with ACPI > > I moved up to CURRENT with my laptop because i want to contribute to > *fixing* this stuff, so i cant offer too much help on 6-X anymore FYI, I'm using -current. -- DE From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 23:42:13 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FFDF16A4DD for ; Thu, 13 Jul 2006 23:42:13 +0000 (UTC) (envelope-from john@utzweb.net) Received: from marley.grokthis.net (marley.grokthis.net [69.93.78.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF33F43D45 for ; Thu, 13 Jul 2006 23:42:12 +0000 (GMT) (envelope-from john@utzweb.net) Received: from utzweb.net (marley.grokthis.net [127.0.0.1]) by marley.grokthis.net (Postfix) with ESMTP id 3FB87F1444; Thu, 13 Jul 2006 19:42:09 -0400 (EDT) Received: from 69.93.78.27 (proxying for 216.254.62.194) (SquirrelMail authenticated user john-utzweb-net); by utzweb.net with HTTP; Thu, 13 Jul 2006 19:42:17 -0400 (EDT) Message-ID: <33711.69.93.78.27.1152834137.squirrel@69.93.78.27> In-Reply-To: <44B554AA.20009@telia.com> References: <20060711.104708.1159134898.imp@bsdimp.com> <20060711114633.G67466@orthanc.ca> <44B54E3A.9040102@ruckusmail.com> <44B554AA.20009@telia.com> Date: Thu, 13 Jul 2006 19:42:17 -0400 (EDT) From: john@utzweb.net To: "Carl Gustavsson" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Colin Faber , mobile@freebsd.org Subject: Re: Dell laptops 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, 13 Jul 2006 23:42:13 -0000 > Colin Faber wrote: >> I'm running -CURRENT on a D610 with working crt/lcd Fn switch, bge, >> wireless (via ndis), sound, video (including DRM/DRI), est (via >> powerd), and Lid switch control. >> >> The only problems I've noticed so far is that when running est with >> powerd in adaptive mode, it seems to adjust the cpu timing many times >> a second, which has lead to some applications being unstable and or >> performing horribly (the most notable would be audio applications, >> each time the cpu timing is switch you hear a pause). aha! now i get it, the same thing happens with powerd, i notice the hiccups when i am listening to something. perhaps there is an unutilized hardware callback somewhere that can inform powerd/est that the audio device is in use and that it shouldnt toggle the cpu..... From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 14 00:06:28 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 761B316A4DA; Fri, 14 Jul 2006 00:06:28 +0000 (UTC) (envelope-from john@utzweb.net) Received: from marley.grokthis.net (marley.grokthis.net [69.93.78.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF64143D45; Fri, 14 Jul 2006 00:06:27 +0000 (GMT) (envelope-from john@utzweb.net) Received: from utzweb.net (marley.grokthis.net [127.0.0.1]) by marley.grokthis.net (Postfix) with ESMTP id C784DF1464; Thu, 13 Jul 2006 20:06:32 -0400 (EDT) Received: from 69.93.78.27 (proxying for 216.254.62.194) (SquirrelMail authenticated user john-utzweb-net); by utzweb.net with HTTP; Thu, 13 Jul 2006 20:06:32 -0400 (EDT) Message-ID: <34247.69.93.78.27.1152835592.squirrel@69.93.78.27> In-Reply-To: <32884.69.93.78.27.1152831695.squirrel@69.93.78.27> References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> <200607122136.54293.mistry.7@osu.edu> <44B6401F.8050507@centtech.com> <44B641F2.2020500@centtech.com> <32884.69.93.78.27.1152831695.squirrel@69.93.78.27> Date: Thu, 13 Jul 2006 20:06:32 -0400 (EDT) From: john@utzweb.net To: freebsd-acpi@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-mobile@freebsd.org Subject: Re: Dell/acpi_video hw.acpi.video.out0 is probably a bug, and an important one. Re: Dell laptops 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, 14 Jul 2006 00:06:28 -0000 Self Reply, i am moving this over to freebsd-acpi with this additional set of facts.... > Hijacking this a bit, but it's very relevant IMHO > >> On Thu, 13 Jul 2006, Eric Anderson wrote: >> >>> On 07/13/06 07:50, Daniel Eischen wrote: >>>> On Thu, 13 Jul 2006, Eric Anderson wrote: >>>> >>>>> And then if you do: >>>>> >>>>> sysctl hw.acpi.video.out0.active=1 >>>>> and then >>>>> sysctl hw.acpi.video.out0.active=0 >>>>> >>>>> Does your screen do something? >>>> >>>> Yes, hw.acpi.video.out0.active=1 seems to switch to the CRT, >>>> but once there, setting it back to 0 does not bring it back. >>>> Fn + CRT/LCD also has no effect. The only way to get it back >>>> is to reboot. >>>> >>> >>> Did you try to do this too: >>> >>> sysctl hw.acpi.video.out1.active=1 >>> >>> Or some other combinations? >>> >>> Sounds like it works ok, you just need to figure out which outputs map >>> to >>> your LCD/CRT/etc. > > So, if you look at: > > /usr/src/sys/dev/acpicaacpi_video.c::acpi_video_vo_init() > > you will notice that 'out' is what you get when you fall out of the > switch: > > switch (adr & DOD_DEVID_MASK) { > case DOD_DEVID_MONITOR: > desc = "CRT monitor"; > type = "crt"; > voqh = &crt_units; > break; > case DOD_DEVID_PANEL: > desc = "LCD panel"; > type = "lcd"; > voqh = &lcd_units; > break; > case DOD_DEVID_TV: > desc = "TV"; > type = "tv"; > voqh = &tv_units; > break; > default: > desc = "unknown output"; > type = "out"; > voqh = &other_units; > } > > > my Latitude C400 (i830M) also shows up with out0 and i am highly confident > that what *should* be happening is that it should be *winning* at lcd. > > when i was running 6.1-RELEASE i tried h3xoring the switch to have the lcd > be the default case but that didnt seem to help anything and i have not > tried the selfsame hack since switching over to CURRENT ( for the first > time since i started using FreeBSD back in 10/93!). > > the switch is quite simple, so it really looks like there are only two > things that could be wrong: > > 1. either the addr passed as the inparm (UNIT32 adr) is wrong > > 2. the bit's at the address are screwed up so that the dont make the mask. > > > my devguy gut votes for 2, but i have yet to debug...urmm printf this > thing again. > > so who the hell is acpi_video asking? > > anybody know? i am resisting an impolite cross-post to freebsd-acpi based > on the assumption that anybody who knows anything over there is probably > on this list too. > > i suspect that untwisting this will probably break the logjam on several > dell acpi annoyances. > > X obviously get's it right, where is the fork in the road between X and > ACPI? > > i *will* figure this out, but if anybody has any thoughts they wanted to > chime in with, i would love to read them! further facts,does this VID entry look reasonable? Device (VID) { Name (_ADR, 0x00020000) Method (_DOS, 1, NotSerialized) { Store (Arg0, MIS4) SMI (0x9E, MIS4) } Method (_DOD, 0, NotSerialized) { Return (Package (0x02) { 0x00010100, 0x00010400 }) } Device (CRT) { Method (_ADR, 0, NotSerialized) { Return (0x0100) } Method (_DCS, 0, NotSerialized) { Store (SMI (0x8E, 0x01), Local0) Return (Local0) } Method (_DGS, 0, NotSerialized) { Store (SMI (0x99, 0x01), Local0) Return (Local0) } Method (_DSS, 1, NotSerialized) { DSS (0x01, Arg0) } } Device (LCD) { Method (_ADR, 0, NotSerialized) { Return (0x0400) } Method (_DCS, 0, NotSerialized) { Store (SMI (0x8E, 0x02), Local0) Return (Local0) } Method (_DGS, 0, NotSerialized) { Store (SMI (0x99, 0x02), Local0) Return (Local0) } Method (_DSS, 1, NotSerialized) { DSS (0x02, Arg0) } } } what is also worthy of note is this empty VID2 entry: Device (VID2) { Name (_ADR, 0x00020001) Method (_DOS, 1, NotSerialized) { } Method (_DOD, 0, NotSerialized) { Return (Package (0x00) {}) } } evidently, our ACPI code believes this to be bogus (correctly, i think), because the dmesg shows a complaint: pcib0: port 0xcf8-0xcff on acpi0 pci_link1: BIOS IRQ 11 for 0.31.INTB is invalid pci0: on pcib0 vgapci0: mem 0xe0000000-0xe7ffffff,0xf4f80000-0xf4ffffff irq 11 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 892k stolen memory agp0: aperture size is 128M acpi_video0: on vgapci0 drm0: on vgapci0 info: [drm] AGP at 0xe0000000 128MB info: [drm] Initialized i915 1.4.0 20060119 vgapci1: mem 0xd8000000-0xdfffffff,0xf4f00000-0xf4f7ffff at device 2.1 on pci0 acpi_video1: on vgapci1 evaluation of \\_SB_.PCI0.VID2._DOD makes no sense <--- WARNING HERE drm1: on vgapci1 info: [drm] AGP at 0xe0000000 128MB info: [drm] Initialized i915 1.4.0 20060119 does this jog anybody's cranium? what does the VID stuff look like on laptops where the video portion of sus/res actually works? > tnx! > > johnu > > _______________________________________________ > 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 Jul 14 06:05:58 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9BAD16A4DD; Fri, 14 Jul 2006 06:05:58 +0000 (UTC) (envelope-from john@utzweb.net) Received: from marley.grokthis.net (marley.grokthis.net [69.93.78.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 663E943D53; Fri, 14 Jul 2006 06:05:40 +0000 (GMT) (envelope-from john@utzweb.net) Received: from utzweb.net (marley.grokthis.net [127.0.0.1]) by marley.grokthis.net (Postfix) with ESMTP id 7AAD1F1467; Fri, 14 Jul 2006 02:05:40 -0400 (EDT) Received: from 69.93.78.27 (proxying for 24.22.134.170) (SquirrelMail authenticated user john-utzweb-net); by utzweb.net with HTTP; Fri, 14 Jul 2006 02:05:40 -0400 (EDT) Message-ID: <39062.69.93.78.27.1152857140.squirrel@69.93.78.27> In-Reply-To: <34247.69.93.78.27.1152835592.squirrel@69.93.78.27> References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> <200607122136.54293.mistry.7@osu.edu> <44B6401F.8050507@centtech.com> <44B641F2.2020500@centtech.com> <32884.69.93.78.27.1152831695.squirrel@69.93.78.27> <34247.69.93.78.27.1152835592.squirrel@69.93.78.27> Date: Fri, 14 Jul 2006 02:05:40 -0400 (EDT) From: john@utzweb.net To: john@utzweb.net User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Subject: Patch to fix this Re: Dell/acpi_video hw.acpi.video.out0 is probably a bug, and an important one. Re: Dell laptops 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, 14 Jul 2006 06:05:59 -0000 acpi_video.c expects the lcd to be identified as 0x0110, but my Dell Latitude C400 (and probably others) id's the lcd at 0x0400: Device (LCD) { Method (_ADR, 0, NotSerialized) { Return (0x0400) } so, acpi_video needs to account for this. got this sorted, and now the display turns back on, here's the patch, i already send-pr'd it spaz@minime /usr/home/spaz]$ diff -u acpi_videoorig.c acpi_video.c --- acpi_videoorig.c Thu Jul 13 22:44:40 2006 +++ acpi_video.c Thu Jul 13 22:44:28 2006 @@ -113,6 +113,7 @@ #define DOD_DEVID_MONITOR 0x0100 #define DOD_DEVID_PANEL 0x0110 #define DOD_DEVID_TV 0x0200 +#define DOD_DEVID_LCD 0x0400 #define DOD_BIOS (1 << 16) #define DOD_NONVGA (1 << 17) #define DOD_HEAD_ID_SHIFT 18 @@ -416,6 +417,7 @@ voqh = &crt_units; break; case DOD_DEVID_PANEL: + case DOD_DEVID_LCD: desc = "LCD panel"; type = "lcd"; voqh = &lcd_units; @@ -558,6 +560,7 @@ voqh = &crt_units; break; case DOD_DEVID_PANEL: + case DOD_DEVID_LCD: voqh = &lcd_units; break; case DOD_DEVID_TV: [spaz@minime /usr/home/spaz]$ > Self Reply, i am moving this over to freebsd-acpi with this additional set > of facts.... > >> Hijacking this a bit, but it's very relevant IMHO >> >>> On Thu, 13 Jul 2006, Eric Anderson wrote: >>> >>>> On 07/13/06 07:50, Daniel Eischen wrote: >>>>> On Thu, 13 Jul 2006, Eric Anderson wrote: >>>>> >>>>>> And then if you do: >>>>>> >>>>>> sysctl hw.acpi.video.out0.active=1 >>>>>> and then >>>>>> sysctl hw.acpi.video.out0.active=0 >>>>>> >>>>>> Does your screen do something? >>>>> >>>>> Yes, hw.acpi.video.out0.active=1 seems to switch to the CRT, >>>>> but once there, setting it back to 0 does not bring it back. >>>>> Fn + CRT/LCD also has no effect. The only way to get it back >>>>> is to reboot. >>>>> >>>> >>>> Did you try to do this too: >>>> >>>> sysctl hw.acpi.video.out1.active=1 >>>> >>>> Or some other combinations? >>>> >>>> Sounds like it works ok, you just need to figure out which outputs map >>>> to >>>> your LCD/CRT/etc. >> >> So, if you look at: >> >> /usr/src/sys/dev/acpicaacpi_video.c::acpi_video_vo_init() >> >> you will notice that 'out' is what you get when you fall out of the >> switch: >> >> switch (adr & DOD_DEVID_MASK) { >> case DOD_DEVID_MONITOR: >> desc = "CRT monitor"; >> type = "crt"; >> voqh = &crt_units; >> break; >> case DOD_DEVID_PANEL: >> desc = "LCD panel"; >> type = "lcd"; >> voqh = &lcd_units; >> break; >> case DOD_DEVID_TV: >> desc = "TV"; >> type = "tv"; >> voqh = &tv_units; >> break; >> default: >> desc = "unknown output"; >> type = "out"; >> voqh = &other_units; >> } >> >> >> my Latitude C400 (i830M) also shows up with out0 and i am highly >> confident >> that what *should* be happening is that it should be *winning* at lcd. >> >> when i was running 6.1-RELEASE i tried h3xoring the switch to have the >> lcd >> be the default case but that didnt seem to help anything and i have not >> tried the selfsame hack since switching over to CURRENT ( for the first >> time since i started using FreeBSD back in 10/93!). >> >> the switch is quite simple, so it really looks like there are only two >> things that could be wrong: >> >> 1. either the addr passed as the inparm (UNIT32 adr) is wrong >> >> 2. the bit's at the address are screwed up so that the dont make the >> mask. >> >> >> my devguy gut votes for 2, but i have yet to debug...urmm printf this >> thing again. >> >> so who the hell is acpi_video asking? >> >> anybody know? i am resisting an impolite cross-post to freebsd-acpi >> based >> on the assumption that anybody who knows anything over there is probably >> on this list too. >> >> i suspect that untwisting this will probably break the logjam on several >> dell acpi annoyances. >> >> X obviously get's it right, where is the fork in the road between X and >> ACPI? >> >> i *will* figure this out, but if anybody has any thoughts they wanted to >> chime in with, i would love to read them! > > further facts,does this VID entry look reasonable? > > > Device (VID) > { > Name (_ADR, 0x00020000) > Method (_DOS, 1, NotSerialized) > { > Store (Arg0, MIS4) > SMI (0x9E, MIS4) > } > > Method (_DOD, 0, NotSerialized) > { > Return (Package (0x02) > { > 0x00010100, > 0x00010400 > }) > } > > Device (CRT) > { > Method (_ADR, 0, NotSerialized) > { > Return (0x0100) > } > > Method (_DCS, 0, NotSerialized) > { > Store (SMI (0x8E, 0x01), Local0) > Return (Local0) > } > > Method (_DGS, 0, NotSerialized) > { > Store (SMI (0x99, 0x01), Local0) > Return (Local0) > } > > Method (_DSS, 1, NotSerialized) > { > DSS (0x01, Arg0) > } > } > > Device (LCD) > { > Method (_ADR, 0, NotSerialized) > { > Return (0x0400) > } > > Method (_DCS, 0, NotSerialized) > { > Store (SMI (0x8E, 0x02), Local0) > Return (Local0) > } > > Method (_DGS, 0, NotSerialized) > { > Store (SMI (0x99, 0x02), Local0) > Return (Local0) > } > > Method (_DSS, 1, NotSerialized) > { > DSS (0x02, Arg0) > } > } > } > > what is also worthy of note is this empty VID2 entry: > > > Device (VID2) > { > Name (_ADR, 0x00020001) > Method (_DOS, 1, NotSerialized) > { > } > > Method (_DOD, 0, NotSerialized) > { > Return (Package (0x00) {}) > } > } > > evidently, our ACPI code believes this to be bogus (correctly, i think), > because the dmesg shows a complaint: > pcib0: port 0xcf8-0xcff on acpi0 > pci_link1: BIOS IRQ 11 for 0.31.INTB is invalid > pci0: on pcib0 > vgapci0: mem > 0xe0000000-0xe7ffffff,0xf4f80000-0xf4ffffff irq 11 at device 2.0 on pci0 > agp0: on vgapci0 > agp0: detected 892k stolen memory > agp0: aperture size is 128M > acpi_video0: on vgapci0 > drm0: on vgapci0 > info: [drm] AGP at 0xe0000000 128MB > info: [drm] Initialized i915 1.4.0 20060119 > vgapci1: mem > 0xd8000000-0xdfffffff,0xf4f00000-0xf4f7ffff at device 2.1 on pci0 > acpi_video1: on vgapci1 > > evaluation of \\_SB_.PCI0.VID2._DOD makes no sense <--- WARNING HERE > > > drm1: on vgapci1 > info: [drm] AGP at 0xe0000000 128MB > info: [drm] Initialized i915 1.4.0 20060119 > > > does this jog anybody's cranium? what does the VID stuff look like on > laptops where the video portion of sus/res actually works? > >> tnx! >> >> johnu >> >> _______________________________________________ >> 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" >> >> > > > _______________________________________________ > 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 Jul 14 07:06:35 2006 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE31516A4DA; Fri, 14 Jul 2006 07:06:35 +0000 (UTC) (envelope-from cfaber@ruckusmail.com) Received: from unixgr.com (unixgr.com [63.224.69.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB09543D66; Fri, 14 Jul 2006 07:06:32 +0000 (GMT) (envelope-from cfaber@ruckusmail.com) Received: from [192.168.0.71] (c-24-8-35-213.hsd1.co.comcast.net [24.8.35.213]) (authenticated bits=0) by unixgr.com (8.13.3/8.13.3) with ESMTP id k6E8DCZ7015183; Fri, 14 Jul 2006 02:13:13 -0600 (MDT) (envelope-from cfaber@ruckusmail.com) X-Authentication-Warning: unixgr.com: Host c-24-8-35-213.hsd1.co.comcast.net [24.8.35.213] claimed to be [192.168.0.71] Message-ID: <44B74273.6060802@ruckusmail.com> Date: Fri, 14 Jul 2006 01:06:27 -0600 From: Colin Faber User-Agent: Thunderbird 1.5.0.4 (X11/20060708) MIME-Version: 1.0 To: john@utzweb.net References: <20060711.104708.1159134898.imp@bsdimp.com> <20060711114633.G67466@orthanc.ca> <44B54E3A.9040102@ruckusmail.com> <44B554AA.20009@telia.com> <33711.69.93.78.27.1152834137.squirrel@69.93.78.27> In-Reply-To: <33711.69.93.78.27.1152834137.squirrel@69.93.78.27> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org, Carl Gustavsson , mobile@freebsd.org Subject: Re: Dell laptops 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, 14 Jul 2006 07:06:36 -0000 john@utzweb.net wrote: >> Colin Faber wrote: >> >>> I'm running -CURRENT on a D610 with working crt/lcd Fn switch, bge, >>> wireless (via ndis), sound, video (including DRM/DRI), est (via >>> powerd), and Lid switch control. >>> >>> The only problems I've noticed so far is that when running est with >>> powerd in adaptive mode, it seems to adjust the cpu timing many times >>> a second, which has lead to some applications being unstable and or >>> performing horribly (the most notable would be audio applications, >>> each time the cpu timing is switch you hear a pause). >>> > > aha! now i get it, the same thing happens with powerd, i notice the > hiccups when i am listening to something. > > perhaps there is an unutilized hardware callback somewhere that can inform > powerd/est that the audio device is in use and that it shouldnt toggle the > cpu..... > Possibly. Digging into this a little bit deeper I've also noticed that mplayer will pause when I close the lid. All this does is result in a devd callback to a script called Lid in /etc/rc.d that I wrote. This in turn issues a simple sysctl hw.acpi.video.lcd0.active=0 when closed and =1 when open. Maybe the ACPI system it self is resulting in the hiccups. From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 15 02:10:59 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34F0916A4DF for ; Sat, 15 Jul 2006 02:10:59 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3728643D68 for ; Sat, 15 Jul 2006 02:10:51 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0J2F00DH3A220J40@osl1smout1.broadpark.no> for freebsd-mobile@freebsd.org; Sat, 15 Jul 2006 04:10:50 +0200 (CEST) Received: from kg-work.kg4.no ([80.203.92.117]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0J2F00M43A21RS10@osl1sminn1.broadpark.no> for freebsd-mobile@freebsd.org; Sat, 15 Jul 2006 04:10:50 +0200 (CEST) Date: Sat, 15 Jul 2006 04:10:49 +0200 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH To: freebsd-mobile@freebsd.org Message-id: <20060715041049.37eabc74.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.8.20; i386-portbld-freebsd5.5) Content-type: multipart/mixed; boundary="Boundary_(ID_W6ZzgJyIDpPjBf5O/ciqeQ)" Subject: Acer Aspire AS5672 - network card not properly detected 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, 15 Jul 2006 02:10:59 -0000 This is a multi-part message in MIME format. --Boundary_(ID_W6ZzgJyIDpPjBf5O/ciqeQ) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Hello, I got a brand new laptop; an Acer Aspire AS5672WLMI. It has an Intel Core Dua, 2GB memory and lots of good stuff. Network-wise it has a Broadcom BCM5789 nic, and the wlan card is supposed to be an Intel Pro/Wireless 3945ABG. I have just finished installing FreeBSD 6.1-RELEASE on it. Unfortunately, none of the network cards are properly detected. The wlan card isn't reported in dmesg output at all. I also tried a couple of PCcard nic's I have, but it seems that the machine also have issues with those. This leaves the machine offline, which is not good. dmesg output and output from 'pciconf -lv' attached. Any hints on what I can do to fix it so that I get the machine online will be accepted gratefully. -- Regards, Torfinn Ingolfsen, Norway --Boundary_(ID_W6ZzgJyIDpPjBf5O/ciqeQ) Content-type: text/plain; name=kg-home_dmesg_20060715.txt Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=kg-home_dmesg_20060715.txt Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Genuine Intel(R) CPU T2250 @ 1.73GHz (1733.41-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6e8 Stepping = 8 Features=0xbfe9fbff Features2=0xc189,> AMD Features=0x100000 Cores per package: 2 real memory = 2145910784 (2046 MB) avail memory = 2094915584 (1997 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc642e2a0 StartNode 0xc642e2a0 ReturnNode 0 ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc642e000 StartNode 0xc642e000 ReturnNode 0 acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_ec0: port 0x62,0x66 on acpi0 unknown: I/O range not supported Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 cpu1: on acpi0 acpi_throttle1: on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci0: at device 27.0 (no driver attached) pcib2: irq 17 at device 28.0 on pci0 pci2: on pcib2 pcib3: irq 16 at device 28.1 on pci0 pci3: on pcib3 pci3: at device 0.0 (no driver attached) pcib4: irq 18 at device 28.2 on pci0 pci4: on pcib4 bge0: irq 18 at device 0.0 on pci4 bge0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). bge0: couldn't map memory device_attach: bge0 attach returned 6 pcib5: irq 19 at device 28.3 on pci0 pci5: on pcib5 uhci0: port 0x1800-0x181f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x1860-0x187f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xc8004000-0xc80043ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered ugen0: OEM Camera, rev 2.00/1.00, addr 2 pcib6: at device 30.0 on pci0 pci10: on pcib6 cbb0: mem 0xc8404000-0xc8404fff irq 20 at device 9.0 on pci10 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 fwohci0: <1394 Open Host Controller Interface> mem 0xc8405000-0xc84057ff,0xc8400000-0xc8403fff irq 20 at device 9.1 on pci10 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:c0:9f:00:00:9a:84:d3 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:c0:9f:9a:84:d3 fwe0: Ethernet address: 02:c0:9f:9a:84:d3 fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) pci10: at device 9.2 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x18b0-0x18bf at device 31.2 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 31.3 (no driver attached) acpi_acad0: on acpi0 battery0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 sio0 port 0x2f8-0x2ff,0x6f8-0x6ff irq 3 drq 3 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xdf800-0xdffff,0xe0000-0xe17ff on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND Searad0: 114473MB at ata0-master UDMA33 chNode 0xc642e2a0 StartNode 0xc642e2a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc642e1a0), AE_NOT_FOUND acd0: DVDR at ata1-master UDMA33 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad0s3a ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc642e2a0 StartNode 0xc642e2a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc642e1a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc642e2a0 StartNode 0xc642e2a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc642e1a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc642e2a0 StartNode 0xc642e2a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc642e1a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc642e2a0 StartNode 0xc642e2a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc642e1a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc642e2a0 StartNode 0xc642e2a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc642e1a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc642e2a0 StartNode 0xc642e2a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc642e1a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc642e2a0 StartNode 0xc642e2a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc642e1a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc642e2a0 StartNode 0xc642e2a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc642e1a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc642e2a0 StartNode 0xc642e2a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc642e1a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc642e2a0 StartNode 0xc642e2a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc642e1a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc642e2a0 StartNode 0xc642e2a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc642e1a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc642e2a0 StartNode 0xc642e2a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc642e1a0), AE_NOT_FOUND ed1: at port 0x300-0x31f irq 20 function 0 config 7 on pccard0 ed1: ccr_write of 0 to 0xa (0x3c0) ed1: ccr_write of 0x3 to 0xc (0x3c0) ed1: ccr_write of 0x4 to 0x2 (0x3c0) ed1: Ethernet address: 00:10:60:f3:31:04 ed1: type AX88790 (16 bit) miibus0: on ed1 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy1: on miibus0 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy2: on miibus0 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy3: on miibus0 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy4: on miibus0 ukphy4: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy5: on miibus0 ukphy5: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy6: on miibus0 ukphy6: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy7: on miibus0 ukphy7: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy8: on miibus0 ukphy8: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy9: on miibus0 ukphy9: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy10: on miibus0 ukphy10: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy11: on miibus0 ukphy11: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy12: on miibus0 ukphy12: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy13: on miibus0 ukphy13: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy14: on miibus0 ukphy14: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy15: on miibus0 ukphy15: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy16: on miibus0 ukphy16: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ed1: link state changed to DOWN ukphy0: detached ukphy1: detached ukphy2: detached ukphy3: detached ukphy4: detached ukphy5: detached ukphy6: detached ukphy7: detached ukphy8: detached ukphy9: detached ukphy10: detached ukphy11: detached ukphy12: detached ukphy13: detached ukphy14: detached ukphy15: detached ukphy16: detached miibus0: detached ed1: detached cardbus0: Resource not specified in CIS: id=14, size=80 cardbus0: Resource not specified in CIS: id=18, size=80 cbb alloc res fail cardbus0: Can't get memory for IO ports xl0: <3Com 3c575B Fast Etherlink XL> port 0-0x7f mem 0xc8407000-0xc840707f,0xc8408000-0xc840807f at device 0.0 on cardbus0 cbb alloc res fail xl0: couldn't map ports/memory device_attach: xl0 attach returned 6 ed1: at port 0x300-0x31f irq 20 function 0 config 7 on pccard0 ed1: ccr_write of 0 to 0xa (0x3c0) ed1: ccr_write of 0x3 to 0xc (0x3c0) ed1: ccr_write of 0x4 to 0x2 (0x3c0) ed1: Ethernet address: 00:10:60:f3:31:04 ed1: type AX88790 (16 bit) miibus0: on ed1 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy1: on miibus0 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy2: on miibus0 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy3: on miibus0 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy4: on miibus0 ukphy4: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy5: on miibus0 ukphy5: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy6: on miibus0 ukphy6: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy7: on miibus0 ukphy7: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy8: on miibus0 ukphy8: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy9: on miibus0 ukphy9: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy10: on miibus0 ukphy10: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy11: on miibus0 ukphy11: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy12: on miibus0 ukphy12: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy13: on miibus0 ukphy13: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy14: on miibus0 ukphy14: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy15: on miibus0 ukphy15: 10baseT, 10baseT-FDX, 100baseTX, 100baseT4, 1000baseSX-FDX, 1000baseT, 1000baseT-FDX ukphy16: on miibus0 ukphy16: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ed1: link state changed to DOWN ukphy0: detached ukphy1: detached ukphy2: detached ukphy3: detached ukphy4: detached ukphy5: detached ukphy6: detached ukphy7: detached ukphy8: detached ukphy9: detached ukphy10: detached ukphy11: detached ukphy12: detached ukphy13: detached ukphy14: detached ukphy15: detached ukphy16: detached miibus0: detached ed1: detached module_register: module bge/miibus already exists! Module bge/miibus failed to register: 17 module_register: module pci/bge already exists! Module pci/bge failed to register: 17 --Boundary_(ID_W6ZzgJyIDpPjBf5O/ciqeQ) Content-type: text/plain; name=kg-home_pciconf.txt Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=kg-home_pciconf.txt hostb0@pci0:0:0: class=0x060000 card=0x00941025 chip=0x27a08086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = bridge subclass = HOST-PCI pcib1@pci0:1:0: class=0x060400 card=0x00000088 chip=0x27a18086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI none0@pci0:27:0: class=0x040300 card=0x00941025 chip=0x27d88086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) High Definition Audio' class = multimedia pcib2@pci0:28:0: class=0x060400 card=0x00000040 chip=0x27d08086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI pcib3@pci0:28:1: class=0x060400 card=0x00000040 chip=0x27d28086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI pcib4@pci0:28:2: class=0x060400 card=0x00000040 chip=0x27d48086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI pcib5@pci0:28:3: class=0x060400 card=0x00000040 chip=0x27d68086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class = bridge subclass = PCI-PCI uhci0@pci0:29:0: class=0x0c0300 card=0x00941025 chip=0x27c88086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci1@pci0:29:1: class=0x0c0300 card=0x00941025 chip=0x27c98086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci2@pci0:29:2: class=0x0c0300 card=0x00941025 chip=0x27ca8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB uhci3@pci0:29:3: class=0x0c0300 card=0x00941025 chip=0x27cb8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class = serial bus subclass = USB ehci0@pci0:29:7: class=0x0c0320 card=0x00941025 chip=0x27cc8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller' class = serial bus subclass = USB pcib6@pci0:30:0: class=0x060401 card=0x00000050 chip=0x24488086 rev=0xe2 hdr=0x01 vendor = 'Intel Corporation' device = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:31:0: class=0x060100 card=0x00941025 chip=0x27b98086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801GBM (ICH7-M) LPC Interface Controller' class = bridge subclass = PCI-ISA atapci0@pci0:31:2: class=0x010180 card=0x00941025 chip=0x27c48086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801GBM/GHM (ICH7-M Family) Serial ATA Storage Controller' class = mass storage subclass = ATA none1@pci0:31:3: class=0x0c0500 card=0x00941025 chip=0x27da8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) SMBus Controller' class = serial bus subclass = SMBus none2@pci1:0:0: class=0x030000 card=0x00941025 chip=0x71c51002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc' class = display subclass = VGA none3@pci3:0:0: class=0x028000 card=0x10018086 chip=0x42228086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' class = network bge0@pci4:0:0: class=0x020000 card=0x00941025 chip=0x169d14e4 rev=0x21 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5789 NetLink Gigabit Ethernet PCI Express' class = network subclass = ethernet cbb0@pci10:9:0: class=0x060700 card=0x00941025 chip=0x8039104c rev=0x00 hdr=0x02 vendor = 'Texas Instruments (TI)' class = bridge subclass = PCI-CardBus fwohci0@pci10:9:1: class=0x0c0010 card=0x00941025 chip=0x803a104c rev=0x00 hdr=0x00 vendor = 'Texas Instruments (TI)' class = serial bus subclass = FireWire none4@pci10:9:2: class=0x018000 card=0x00941025 chip=0x803b104c rev=0x00 hdr=0x00 vendor = 'Texas Instruments (TI)' class = mass storage --Boundary_(ID_W6ZzgJyIDpPjBf5O/ciqeQ)-- From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 15 12:29:00 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C84F216A4DD for ; Sat, 15 Jul 2006 12:29:00 +0000 (UTC) (envelope-from freebsd-mobile@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E84343D53 for ; Sat, 15 Jul 2006 12:28:59 +0000 (GMT) (envelope-from freebsd-mobile@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1G1jGR-0001p5-9r for freebsd-mobile@freebsd.org; Sat, 15 Jul 2006 14:28:55 +0200 Received: from r5k20.chello.upc.cz ([86.49.10.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Jul 2006 14:28:55 +0200 Received: from martinkov by r5k20.chello.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Jul 2006 14:28:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-mobile@freebsd.org From: martinko Date: Sat, 15 Jul 2006 14:28:50 +0200 Lines: 27 Message-ID: <44B8DF82.40904@pobox.sk> References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5k20.chello.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.4) Gecko/20060605 SeaMonkey/1.0.2 In-Reply-To: <200607111338.01412.mistry.7@osu.edu> Sender: news Subject: Re: Dell laptops 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, 15 Jul 2006 12:29:00 -0000 Anish Mistry wrote: > On Tuesday 11 July 2006 13:10, Daniel Eischen wrote: >> On Tue, 11 Jul 2006, M. Warner Losh wrote: >>> Greetings, >>> >>> What are the current problems, if any, on current Dell laptops >>> have with FreeBSD? >> Yeah, thanks for asking! My Inspiron E1405 came with an Intel >> 3945 A/B/G mini-PCI wireless that isn't supported (OpenBSD has >> a seemingly actively maintained wpi driver for this card, and >> I have an experimental FreeBSD driver from damien that I haven't >> yet been able to get to work). I've ordered an Atheros-based >> mini-PCI in the meantime, and can lend out the 3945 to anyone >> willing to work on it. >> >> Also, the Fn (the blue key) can't be used to suspend, control >> volume, switch CRT/LCD, etc, and most importantly enable the >> radio on the wireless card (Fn + F2). Even if the wpi driver >> works, it's worthless if I can't enable the radio. > It might simply need an acpi function keys driver for your system. > Would you post an "acpidump -dt" from your system? > anish, please how can i find if the function keys are supported on hw i'm using ? m. From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 15 16:21:01 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1CC916A4DD for ; Sat, 15 Jul 2006 16:21:01 +0000 (UTC) (envelope-from eol1@yahoo.com) Received: from web51907.mail.yahoo.com (web51907.mail.yahoo.com [206.190.48.70]) by mx1.FreeBSD.org (Postfix) with SMTP id 44E8C43D45 for ; Sat, 15 Jul 2006 16:21:01 +0000 (GMT) (envelope-from eol1@yahoo.com) Received: (qmail 96530 invoked by uid 60001); 15 Jul 2006 16:21:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Rh9IOlvH33lvueWG3LwOE6RRHiXqBNIC+Bd2xu0uX6m9lgzS+mggIRnI109/nUKGCTvRDyET90u6TLu6D0XWPW8Q7fJfdrkzoWQMrJ5sqTaYgcXxf/crvFKs63C4u9gL8UbB85VSmFDpQExxhsnBfBDFpSjK9aZ/nZ82+Psp1y4= ; Message-ID: <20060715162100.96524.qmail@web51907.mail.yahoo.com> Received: from [70.94.10.62] by web51907.mail.yahoo.com via HTTP; Sat, 15 Jul 2006 09:21:00 PDT Date: Sat, 15 Jul 2006 09:21:00 -0700 (PDT) From: Peter Thoenen To: Alexandre Sunny Kovalenko In-Reply-To: <1152801108.41688.5.camel@RabbitsDen> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-mobile@freebsd.org Subject: Re: External USB Numpad X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: eol1@yahoo.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jul 2006 16:21:01 -0000 Actually I have it nearly working. It works partially but not as I intend. The problem is it now acts as an extension of my laptop keyboard. Meaning when I hit numlock on the external usb numpad the numpad on my actual AT laptop keyboard activates. As you know, most laptops have a numpad like function under the 789,uio,jkl rows meaning I can't type anymore while using the numberpad in numlock. This is not the behavior I am looking for. Need full keyboard functionality AND numlock external keyboard functionality (which is why I bought it). Any ideas how to configure this? From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 15 18:38:19 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5409316A4DA; Sat, 15 Jul 2006 18:38:19 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27FE343D49; Sat, 15 Jul 2006 18:38:17 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1G1p1h-0000fU-00; Sat, 15 Jul 2006 20:38:05 +0200 Date: Sat, 15 Jul 2006 20:38:04 +0200 To: john@utzweb.net Message-ID: <20060715183804.GN17014@poupinou.org> References: <200607122136.54293.mistry.7@osu.edu> <44B6401F.8050507@centtech.com> <44B641F2.2020500@centtech.com> <32884.69.93.78.27.1152831695.squirrel@69.93.78.27> <34247.69.93.78.27.1152835592.squirrel@69.93.78.27> <39062.69.93.78.27.1152857140.squirrel@69.93.78.27> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <39062.69.93.78.27.1152857140.squirrel@69.93.78.27> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Patch to fix this Re: Dell/acpi_video hw.acpi.video.out0 is probably a bug, and an important one. Re: Dell laptops 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, 15 Jul 2006 18:38:19 -0000 Hi John, On Fri, Jul 14, 2006 at 02:05:40AM -0400, john@utzweb.net wrote: > acpi_video.c expects the lcd to be identified as 0x0110, but my Dell > Latitude C400 (and probably others) id's the lcd at 0x0400: > > Device (LCD) > { > Method (_ADR, 0, NotSerialized) > { > Return (0x0400) > } > > > so, acpi_video needs to account for this. > > > got this sorted, and now the display turns back on, here's the patch, i > already send-pr'd it You are somewhat right, but your patch is wrong. Actually you have to check if ((adr & 0x0400) == 0x0400). In fact, acpi_video.c is correct for ACPI spec2, but ACPI spec3 have changed in that regard, and only the value 0x110 (LCD internal panel) should be kept for backward compatility. Please look at the two specifications (v2.0c and v3) at the ACPI info website: http://www.acpi.info for more. I would suggest something like that (not even compile tested): Index: acpi_video.c =================================================================== RCS file: /home/ncvs/src/sys/dev/acpica/acpi_video.c,v retrieving revision 1.12 diff -u -p -r1.12 acpi_video.c --- acpi_video.c 20 Dec 2005 22:42:16 -0000 1.12 +++ acpi_video.c 15 Jul 2006 18:38:39 -0000 @@ -113,6 +113,11 @@ static void vo_set_device_state(ACPI_HAN #define DOD_DEVID_MONITOR 0x0100 #define DOD_DEVID_PANEL 0x0110 #define DOD_DEVID_TV 0x0200 +#define DOD_DEVID_MASK_V3 0x0400 +#define DOD_DEVID_CRT_V3 0x0100 +#define DOD_DEVID_TV_V3 0x0200 +#define DOD_DEVID_DIGI_V3 0x0300 +#define DOD_DEVID_PANEL_V3 0x0400 #define DOD_BIOS (1 << 16) #define DOD_NONVGA (1 << 17) #define DOD_HEAD_ID_SHIFT 18 @@ -426,9 +431,32 @@ acpi_video_vo_init(UINT32 adr) voqh = &tv_units; break; default: - desc = "unknown output"; - type = "out"; - voqh = &other_units; + switch (adr & DOD_DEVID_MASK_V3) { + case DOD_DEVID_CRT_V3: + desc = "CRT monitor"; + type = "crt"; + voqh = &crt_units; + break; + case DOD_DEVID_DIGI_V3: + desc = "External digital monitor"; + type = "crt"; + voqh = &crt_units; + break; + case DOD_DEVID_PANEL_V3: + desc = "LCD panel"; + type = "lcd"; + voqh = &lcd_units; + break; + case DOD_DEVID_TV_V3: + desc = "TV"; + type = "tv"; + voqh = &tv_units; + break; + default: + desc = "unknown output"; + type = "out"; + voqh = &other_units; + } } n = 0; @@ -564,7 +592,32 @@ acpi_video_vo_destroy(struct acpi_video_ voqh = &tv_units; break; default: - voqh = &other_units; + switch (adr & DOD_DEVID_MASK_V3) { + case DOD_DEVID_CRT_V3: + desc = "CRT monitor"; + type = "crt"; + voqh = &crt_units; + break; + case DOD_DEVID_DIGI_V3: + desc = "External digital monitor"; + type = "crt"; + voqh = &crt_units; + break; + case DOD_DEVID_PANEL_V3: + desc = "LCD panel"; + type = "lcd"; + voqh = &lcd_units; + break; + case DOD_DEVID_TV_V3: + desc = "TV"; + type = "tv"; + voqh = &tv_units; + break; + default: + desc = "unknown output"; + type = "out"; + voqh = &other_units; + } } STAILQ_REMOVE(voqh, vo, acpi_video_output, vo_unit.next); free(vo, M_ACPIVIDEO); Cheers, -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 15 18:44:09 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E430416A4DE; Sat, 15 Jul 2006 18:44:08 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7141243D46; Sat, 15 Jul 2006 18:44:08 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1G1p7W-0000gP-00; Sat, 15 Jul 2006 20:44:06 +0200 Date: Sat, 15 Jul 2006 20:44:06 +0200 To: john@utzweb.net Message-ID: <20060715184406.GO17014@poupinou.org> References: <200607122136.54293.mistry.7@osu.edu> <44B6401F.8050507@centtech.com> <44B641F2.2020500@centtech.com> <32884.69.93.78.27.1152831695.squirrel@69.93.78.27> <34247.69.93.78.27.1152835592.squirrel@69.93.78.27> <39062.69.93.78.27.1152857140.squirrel@69.93.78.27> <20060715183804.GN17014@poupinou.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060715183804.GN17014@poupinou.org> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Patch to fix this Re: Dell/acpi_video hw.acpi.video.out0 is probably a bug, and an important one. Re: Dell laptops 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, 15 Jul 2006 18:44:09 -0000 On Sat, Jul 15, 2006 at 08:38:04PM +0200, Bruno Ducrot wrote: > > I would suggest something like that (not even compile tested): > Gna, bad patch. Consider that one instead. Index: acpi_video.c =================================================================== RCS file: /home/ncvs/src/sys/dev/acpica/acpi_video.c,v retrieving revision 1.12 diff -u -p -r1.12 acpi_video.c --- acpi_video.c 20 Dec 2005 22:42:16 -0000 1.12 +++ acpi_video.c 15 Jul 2006 18:45:52 -0000 @@ -109,10 +109,12 @@ static void vo_set_device_state(ACPI_HAN #define DOS_BRIGHTNESS_BY_BIOS (1 << 2) /* _DOD and subdev's _ADR */ -#define DOD_DEVID_MASK 0xffff +#define DOD_DEVID_MASK 0x0400 #define DOD_DEVID_MONITOR 0x0100 -#define DOD_DEVID_PANEL 0x0110 #define DOD_DEVID_TV 0x0200 +#define DOD_DEVID_DIGITAL 0x0300 +#define DOD_DEVID_PANEL 0x0400 +#define DOD_DEVID_PANEL_COMPAT 0x0110 #define DOD_BIOS (1 << 16) #define DOD_NONVGA (1 << 17) #define DOD_HEAD_ID_SHIFT 18 @@ -409,27 +411,37 @@ acpi_video_vo_init(UINT32 adr) struct acpi_video_output_queue *voqh; ACPI_SERIAL_ASSERT(video); - switch (adr & DOD_DEVID_MASK) { - case DOD_DEVID_MONITOR: - desc = "CRT monitor"; - type = "crt"; - voqh = &crt_units; - break; - case DOD_DEVID_PANEL: + if ((adr & 0xffff) == DOD_DEVID_PANEL_COMPAT) { desc = "LCD panel"; type = "lcd"; voqh = &lcd_units; - break; - case DOD_DEVID_TV: - desc = "TV"; - type = "tv"; - voqh = &tv_units; - break; - default: - desc = "unknown output"; - type = "out"; - voqh = &other_units; - } + } else + switch (adr & DOD_DEVID_MASK) { + case DOD_DEVID_MONITOR: + desc = "CRT monitor"; + type = "crt"; + voqh = &crt_units; + break; + case DOD_DEVID_DIGITAL: + desc = "Digital monitor"; + type = "crt"; + voqh = &crt_units; + break; + case DOD_DEVID_PANEL: + desc = "LCD panel"; + type = "lcd"; + voqh = &lcd_units; + break; + case DOD_DEVID_TV: + desc = "TV"; + type = "tv"; + voqh = &tv_units; + break; + default: + desc = "unknown output"; + type = "out"; + voqh = &other_units; + } n = 0; vn = vp = NULL; @@ -553,19 +565,29 @@ acpi_video_vo_destroy(struct acpi_video_ if (vo->vo_levels != NULL) AcpiOsFree(vo->vo_levels); - switch (vo->adr & DOD_DEVID_MASK) { - case DOD_DEVID_MONITOR: - voqh = &crt_units; - break; - case DOD_DEVID_PANEL: + if ((adr & 0xffff) == DOD_DEVID_PANEL_COMPAT) { + desc = "LCD panel"; + type = "lcd"; voqh = &lcd_units; - break; - case DOD_DEVID_TV: - voqh = &tv_units; - break; - default: - voqh = &other_units; - } + } else + switch (vo->adr & DOD_DEVID_MASK) { + case DOD_DEVID_MONITOR: + voqh = &crt_units; + break; + case DOD_DEVID_DIGITAL: + desc = "Digital monitor"; + type = "crt"; + voqh = &crt_units; + break; + case DOD_DEVID_PANEL: + voqh = &lcd_units; + break; + case DOD_DEVID_TV: + voqh = &tv_units; + break; + default: + voqh = &other_units; + } STAILQ_REMOVE(voqh, vo, acpi_video_output, vo_unit.next); free(vo, M_ACPIVIDEO); } -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 15 22:58:05 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DC9F16A4DE for ; Sat, 15 Jul 2006 22:58:05 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF73543D4C for ; Sat, 15 Jul 2006 22:58:04 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0J2G00713VSNIN00@osl1smout1.broadpark.no> for freebsd-mobile@freebsd.org; Sun, 16 Jul 2006 00:57:59 +0200 (CEST) Received: from kg-work.kg4.no ([80.203.92.117]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0J2G00AYTVSN89U0@osl1sminn1.broadpark.no> for freebsd-mobile@freebsd.org; Sun, 16 Jul 2006 00:57:59 +0200 (CEST) Date: Sun, 16 Jul 2006 00:57:59 +0200 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH In-reply-to: <20060715041049.37eabc74.torfinn.ingolfsen@broadpark.no> To: freebsd-mobile@freebsd.org Message-id: <20060716005759.91ad0389.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.8.20; i386-portbld-freebsd5.5) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20060715041049.37eabc74.torfinn.ingolfsen@broadpark.no> Subject: Re: Acer Aspire AS5672 - network card not properly detected 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, 15 Jul 2006 22:58:05 -0000 On Sat, 15 Jul 2006 04:10:49 +0200 Torfinn Ingolfsen wrote: > I have just finished installing FreeBSD 6.1-RELEASE on it. Update: With the use of modern sneakernet (read: a large usb hard drive) I was able to get an updated /usr/src onto the machine, which now runs FreeBSD 6.1-stable. New dmesg attached. It still fails to attach the bge nic, or identify the wlan card / chip. I also checked the bios. My machine has bios version 1.3230 (date: 05/26/06), which is newer than the one on Acer's site (1.3224). -- Regards, Torfinn Ingolfsen, Norway From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 15 23:00:01 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 927AA16A4DE for ; Sat, 15 Jul 2006 23:00:01 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9984E43D45 for ; Sat, 15 Jul 2006 23:00:00 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0J2G0075PVVZIO00@osl1smout1.broadpark.no> for freebsd-mobile@freebsd.org; Sun, 16 Jul 2006 00:59:59 +0200 (CEST) Received: from kg-work.kg4.no ([80.203.92.117]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0J2G009GCVVZG211@osl1sminn1.broadpark.no> for freebsd-mobile@freebsd.org; Sun, 16 Jul 2006 00:59:59 +0200 (CEST) Date: Sun, 16 Jul 2006 00:59:59 +0200 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH In-reply-to: <20060716005759.91ad0389.torfinn.ingolfsen@broadpark.no> To: freebsd-mobile@freebsd.org Message-id: <20060716005959.14b36afa.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.8.20; i386-portbld-freebsd5.5) Content-type: multipart/mixed; boundary="Boundary_(ID_pwwWHY5pYIkF6Av5LfH5YA)" References: <20060715041049.37eabc74.torfinn.ingolfsen@broadpark.no> <20060716005759.91ad0389.torfinn.ingolfsen@broadpark.no> Subject: Re: Acer Aspire AS5672 - network card not properly detected 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, 15 Jul 2006 23:00:01 -0000 This is a multi-part message in MIME format. --Boundary_(ID_pwwWHY5pYIkF6Av5LfH5YA) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT On Sun, 16 Jul 2006 00:57:59 +0200 Torfinn Ingolfsen wrote: > able to get an updated /usr/src onto the machine, which now runs > FreeBSD 6.1-stable. New dmesg attached. It still fails to attach the Damn! Of course I forgot to attch the new dmesg output. Here it is. -- Torfinn --Boundary_(ID_pwwWHY5pYIkF6Av5LfH5YA) Content-type: text/plain; name=kg-home-dmesg-6.1-stable-20060715.txt Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=kg-home-dmesg-6.1-stable-20060715.txt Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-STABLE #0: Sat Jul 15 19:29:16 CEST 2006 root@kg-home.kg4.no:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Genuine Intel(R) CPU T2250 @ 1.73GHz (1733.41-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6e8 Stepping = 8 Features=0xbfe9fbff Features2=0xc189,> AMD Features=0x100000 Cores per package: 2 real memory = 2145910784 (2046 MB) avail memory = 2095075328 (1998 MB) ACPI APIC Table: ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc63d92a0 StartNode 0xc63d92a0 ReturnNode 0 ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc63d9000 StartNode 0xc63d9000 ReturnNode 0 acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) unknown: I/O range not supported Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci0: at device 27.0 (no driver attached) pcib2: irq 17 at device 28.0 on pci0 pci2: on pcib2 pcib3: irq 16 at device 28.1 on pci0 pci3: on pcib3 pci3: at device 0.0 (no driver attached) pcib4: irq 18 at device 28.2 on pci0 pci4: on pcib4 bge0: irq 18 at device 0.0 on pci4 bge0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). bge0: couldn't map memory device_attach: bge0 attach returned 6 pcib5: irq 19 at device 28.3 on pci0 pci5: on pcib5 uhci0: port 0x1800-0x181f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0x1860-0x187f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xc8004000-0xc80043ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered ugen0: OEM Camera, rev 2.00/1.00, addr 2 pcib6: at device 30.0 on pci0 pci10: on pcib6 cbb0: mem 0xc8404000-0xc8404fff irq 20 at device 9.0 on pci10 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 fwohci0: <1394 Open Host Controller Interface> mem 0xc8405000-0xc84057ff,0xc8400000-0xc8403fff irq 20 at device 9.1 on pci10 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:c0:9f:00:00:9a:84:d3 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:c0:9f:9a:84:d3 fwe0: Ethernet address: 02:c0:9f:9a:84:d3 fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) pci10: at device 9.2 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x18b0-0x18bf at device 31.2 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 31.3 (no driver attached) acpi_acad0: on acpi0 battery0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 sio0 port 0x2f8-0x2ff,0x6f8-0x6ff irq 3 drq 3 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xdf800-0xdffff,0xe0000-0xe17ff on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1733407572 Hz quality 800 Timecounters tick every 1.000 msec ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc63d92a0 StartNode 0xc63d92a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc63d91a0), AE_NOT_FOUND ad0: 114473MB at ata0-master UDMA33 acd0: DVDR at ata1-master UDMA33 Trying to mount root from ufs:/dev/ad0s3a ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc63d92a0 StartNode 0xc63d92a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc63d91a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc63d92a0 StartNode 0xc63d92a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc63d91a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc63d92a0 StartNode 0xc63d92a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc63d91a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc63d92a0 StartNode 0xc63d92a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc63d91a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc63d92a0 StartNode 0xc63d92a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc63d91a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z006] in namespace, AE_NOT_FOUND SearchNode 0xc63d92a0 StartNode 0xc63d92a0 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.BAT1._BST] (Node 0xc63d91a0), AE_NOT_FOUND --Boundary_(ID_pwwWHY5pYIkF6Av5LfH5YA)--