From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 21 08:12:27 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 019C616A535 for ; Sun, 21 Jan 2007 08:12:27 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id 9591213C45D for ; Sun, 21 Jan 2007 08:12:26 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so720680uge for ; Sun, 21 Jan 2007 00:12:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=YVKpz+HiZIvWnYQPsWATI3afrOVCU/21rjBrUYUTmJFZdiIkuiZZAveiIxNCx7Y77/vlyrWRKFrHVU0JKMXkBSyEkx1XWs/tFXMSeHduPQLi2vtu8xPPQnXIwVp7GOlJAB6dqOFMJgkC+8eZf3hAhd1kIycFAIsHoMDugvx9o/8= Received: by 10.67.97.18 with SMTP id z18mr5679342ugl.1169367145208; Sun, 21 Jan 2007 00:12:25 -0800 (PST) Received: by 10.66.255.10 with HTTP; Sun, 21 Jan 2007 00:12:25 -0800 (PST) Message-ID: <499c70c0701210012x565debedve015e2d18b95ee1b@mail.gmail.com> Date: Sun, 21 Jan 2007 11:12:25 +0300 From: "Abdullah Al-Marrie" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: freebsd-mobile@freebsd.org Subject: Turion64 x2 vs Centrino Duo 2 which is faster for FreeBSD and KDE Desktop? 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, 21 Jan 2007 08:12:27 -0000 Hello, I plan to buy a new notebook and will use FreeBSD 6.2-RELEASE, I have 2 choices, Turion64 x2 with 2.0 GHz and Centrino Duo 2 with 2.0 GHz, but with 2 GB DDR2 ram, with the same speed of the hd 5400 RPM. So which of them will buildworld, and ports from source faster? both of them will use AC not on battery when do these stuff. -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ From owner-freebsd-mobile@FreeBSD.ORG Mon Jan 22 20:46:42 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4684A16A400 for ; Mon, 22 Jan 2007 20:46:42 +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 0918013C45D for ; Mon, 22 Jan 2007 20:46:41 +0000 (UTC) (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 <0JCA00H5PC9KXD70@osl1smout1.broadpark.no> for freebsd-mobile@freebsd.org; Mon, 22 Jan 2007 20:46:32 +0100 (CET) Received: from kg-work.kg4.no ([80.203.66.169]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0JCA00939C9JKL33@osl1sminn1.broadpark.no> for freebsd-mobile@freebsd.org; Mon, 22 Jan 2007 20:46:32 +0100 (CET) Date: Mon, 22 Jan 2007 20:46:31 +0100 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: <20070122204631.6125b180.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.8; i386-portbld-freebsd6.2) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: AS5672 laptop and FreeBSD - update 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, 22 Jan 2007 20:46:42 -0000 Hello, this is just a short upfate about my adventures with the acer Aspire AS5672 laptop and FreeBSD. I upgraded the laptop to FreeBSD 6.2-stable. No big changes, the network drivers (bge0 and wpi0) only attach with acpi disabled, as before. This makes this laptop almost unusable with FreeBSD - acpi is needed to get enough cooling for the machine. More info (dmesgs) on the web page: http://tingox.googlepages.com/aceraspireas5672andfreebsd -- Regards, Torfinn Ingolfsen, Norway From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 23 16:22:46 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8407016A403 for ; Tue, 23 Jan 2007 16:22:46 +0000 (UTC) (envelope-from felix.schalck@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id EEE7413C455 for ; Tue, 23 Jan 2007 16:22:44 +0000 (UTC) (envelope-from felix.schalck@gmx.net) Received: (qmail invoked by alias); 23 Jan 2007 15:56:00 -0000 Received: from AStrasbourg-251-1-87-24.w82-126.abo.wanadoo.fr (EHLO [192.168.1.22]) [82.126.184.24] by mail.gmx.net (mp042) with SMTP; 23 Jan 2007 16:56:00 +0100 X-Authenticated: #23426003 Message-ID: <45B6300F.6040302@gmx.net> Date: Tue, 23 Jan 2007 16:55:59 +0100 From: "felix.schalck" User-Agent: Thunderbird 1.5.0.8 (X11/20061223) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: cardbus not working 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, 23 Jan 2007 16:22:46 -0000 Hi, I posted this to freebsd-questions first, 'cause I didn't remember there was a freebsd-mobile mailing list :)... Sorry if you get this mail twice. Here is my problem: I'm trying to get a WLAN pcmcia card working on freebsd 6.2. Kernel with cardbus support compiled fine, but when the card is inserted, i get: Status is 0x30000086 Status is 0x30000820 cbb0: card inserted: event=0x00000000, state=30000820 cbb0: cbb_power: 3V cbb0: cbb_power: 0V Dmesg shows: cbb0: at device 7.0 on pci2 cbb0: Found memory at e0202000 cbb0: Secondary bus is 2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 Any ideas ? What are my possibilities/chances to get it work ? Thanks a lot, Felix From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 24 08:44:07 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC25016A404 for ; Wed, 24 Jan 2007 08:44:07 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 4545113C4C5 for ; Wed, 24 Jan 2007 08:44:07 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so99115uge for ; Wed, 24 Jan 2007 00:44:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type; b=UnibP60yqq/BlnR0+J+xWjYDJ2LmalvHqBF9c47FOHgbTWjMy9Fviyy/5EcxlswfBO6pPpIBomKy7240ddZhNcY2v2FO8w0m7s/H3F9S4K0Xsutd8hZpyIg6TV94tPOayZrg4nF7IB0b47Pk9rHauEU7U+sXsvXvJVQ2CL2IIzw= Received: by 10.66.232.9 with SMTP id e9mr720993ugh.1169628245382; Wed, 24 Jan 2007 00:44:05 -0800 (PST) Received: by 10.66.255.10 with HTTP; Wed, 24 Jan 2007 00:44:05 -0800 (PST) Message-ID: <499c70c0701240044q32162e40ye8f923bf758e8633@mail.gmail.com> Date: Wed, 24 Jan 2007 11:44:05 +0300 From: "Abdullah Ibn Hamad Al-Marri" To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1513_22269344.1169628245334" Cc: freebsd-acpi@freebsd.org Subject: AMD Turion64 X2 works with PowerNow! thank you Bruno 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, 24 Jan 2007 08:44:07 -0000 ------=_Part_1513_22269344.1169628245334 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello AMD users ;) In regard to my post about AMD hangs with PowerNow! in my Acer Laptop which has http://groups.google.com/group/mailing.freebsd.mobile/browse_frm/thread/49b02729f7d8b27e/d36307d211e914c5#d36307d211e914c5 I have been working with Mr. Bruno for few days, and finally PowerNow! works with no hanging issues at all, I used the new powernow.c provided by Bruno attached. So I wish this could be backported to RELENG_6 asap, and yes I tested it in FreeBSD 6.2-STABLE only, not with current. http://lists.freebsd.org/pipermail/cvs-all/2007-January/205192.html bruno 2007-01-23 19:20:31 UTC FreeBSD src repository Modified files: sys/i386/cpufreq powernow.c Log: o introduce a flags 'errata' for HW bugs onto the softc. o remove errata_a0 and introduce the corresponding flags into 'errata'. o introduce a new errata for K8, namely some platform might set the PENDING_BIT but aren't able to unset it, also don't loop forever waiting PENDING_BIT being cleared. o try to introduce a workaround for the PENDING_BIT stuck problem, o support now half multipliers for K8. Tested by: Abdullah Al-Marrie Approved by: njl Revision Changes Path 1.4 +97 -42 src/sys/i386/cpufreq/powernow.c To make sure it works with RELENG_6 use this Index: powernow.c =================================================================== RCS file: /home/ncvs/src/sys/i386/cpufreq/powernow.c,v retrieving revision 1.3 retrieving revision 1.2 diff -u -r1.3 -r1.2 --- powernow.c 16 May 2006 14:32:16 -0000 1.3 +++ powernow.c 31 Mar 2005 06:11:04 -0000 1.2 @@ -44,6 +44,7 @@ #include #include #include +#include #include #include -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ------=_Part_1513_22269344.1169628245334 Content-Type: application/octet-stream; name=powernow.c Content-Transfer-Encoding: base64 X-Attachment-Id: f_exbiantx Content-Disposition: attachment; filename="powernow.c" LyotCiAqIENvcHlyaWdodCAoYykgMjAwNC0yMDA1IEJydW5vIER1Y3JvdAogKiBDb3B5cmlnaHQg KGMpIDIwMDQgRlVLVURBIE5vYnVoaWtvIDxuZnVrdWRhQHNwYS5pcy51ZWMuYWMuanA+CiAqCiAq IFJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGgg b3Igd2l0aG91dAogKiBtb2RpZmljYXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQgdGhhdCB0 aGUgZm9sbG93aW5nIGNvbmRpdGlvbnMKICogYXJlIG1ldDoKICogMS4gUmVkaX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pZiAoY2hpbGQpIHsKCQlydiA9IHBuX2RlY29kZV9hY3BpKGRldiwg Y2hpbGQpOwoJCWlmIChydikKCQkJcnYgPSBwbl9kZWNvZGVfcHN0KGRldik7Cgl9IGVsc2UKCQly diA9IHBuX2RlY29kZV9wc3QoZGV2KTsKCglpZiAocnYgIT0gMCkKCQlyZXR1cm4gKEVOWElPKTsK CWNwdWZyZXFfcmVnaXN0ZXIoZGV2KTsKCXJldHVybiAoMCk7Cn0KCnN0YXRpYyBpbnQKcG5fZGV0 YWNoKGRldmljZV90IGRldikKewoKCWNwdWZyZXFfdW5yZWdpc3RlcihkZXYpOwoJcmV0dXJuICgw KTsKfQoK ------=_Part_1513_22269344.1169628245334-- From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 24 15:48:58 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3ECE016A404 for ; Wed, 24 Jan 2007 15:48:58 +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 DFACA13C45D for ; Wed, 24 Jan 2007 15:48:57 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l0OFl3T1012238; Wed, 24 Jan 2007 08:47:03 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 24 Jan 2007 08:47:32 -0700 (MST) Message-Id: <20070124.084732.810775418.imp@bsdimp.com> To: felix.schalck@gmx.net From: "M. Warner Losh" In-Reply-To: <45B6300F.6040302@gmx.net> References: <45B6300F.6040302@gmx.net> 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]); Wed, 24 Jan 2007 08:47:03 -0700 (MST) Cc: freebsd-mobile@freebsd.org Subject: Re: cardbus not working 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, 24 Jan 2007 15:48:58 -0000 P.S. A way to confirm that this is a similar problem to the one I'm hunting is to try any old 16-bit PC Card and see if THAT works. Warner From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 24 15:49:03 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B730E16A4CA for ; Wed, 24 Jan 2007 15:49:03 +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 5817813C4A5 for ; Wed, 24 Jan 2007 15:49:03 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l0OFk7X7012235; Wed, 24 Jan 2007 08:46:07 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 24 Jan 2007 08:46:35 -0700 (MST) Message-Id: <20070124.084635.1366907896.imp@bsdimp.com> To: felix.schalck@gmx.net From: "M. Warner Losh" In-Reply-To: <45B6300F.6040302@gmx.net> References: <45B6300F.6040302@gmx.net> 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]); Wed, 24 Jan 2007 08:46:07 -0700 (MST) Cc: freebsd-mobile@freebsd.org Subject: Re: cardbus not working 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, 24 Jan 2007 15:49:03 -0000 In message: <45B6300F.6040302@gmx.net> "felix.schalck" writes: : Hi, : : I posted this to freebsd-questions first, 'cause I didn't remember there : was a freebsd-mobile mailing list :)... Sorry if you get this mail twice. : : Here is my problem: : I'm trying to get a WLAN pcmcia card working on freebsd 6.2. Kernel with : cardbus support compiled fine, but when the card is inserted, i get: : : Status is 0x30000086 : Status is 0x30000820 : cbb0: card inserted: event=0x00000000, state=30000820 : cbb0: cbb_power: 3V : cbb0: cbb_power: 0V : : Dmesg shows: : : cbb0: at device 7.0 on pci2 : cbb0: Found memory at e0202000 : cbb0: Secondary bus is 2 secondary bus 2 on bus 2 is the problem, I think. : cardbus0: on cbb0 : pccard0: <16-bit PCCard bus> on cbb0 : : Any ideas ? What are my possibilities/chances to get it work ? What kind of computer do you have? I have one that I need to 'hack' to get working. It is a Toshiba Satellite of recent vintage. Its pcib2 has pci2 as a child, and my cbb device is on pci2 like yours. It's subordinate bus numbers are wrong on pcib2: % pciconf -l | grep pcib2 pcib2@pci0:20:4: class=0x060401 card=0x00000000 chip=0x43421002 rev=0x00 hdr=0x01 % pciconf -r pci0:20:4 0x18 20020200 % This means that the attempt to kludge around this in the cbb driver fails: ... cbb0: Secondary bus is 0 cbb0: Secondary bus set to 3 subbus 4 ... because the config cycles aren't making it through. I hacked my pci_pci.c code to smack a 0xff into offset 0x1b for unit 2, but that's evil. It may be necessary for you to do as well until I resolve this issue. To see if you need to further update cbb, please send the output of: % sysctl dev.cbb to me. On my machine it says: dev.cbb.0.%desc: TI1410 PCI-CardBus Bridge dev.cbb.0.%driver: cbb dev.cbb.0.%location: slot=6 function=0 dev.cbb.0.%pnpinfo: vendor=0x104c device=0xac50 subvendor=0x1179 subdevice=0xff10 class=0x060700 dev.cbb.0.%parent: pci2 dev.cbb.0.pribus: 2 dev.cbb.0.secbus: 3 dev.cbb.0.subbus: 4 Warner From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 24 16:47:03 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C172716A402; Wed, 24 Jan 2007 16:47:03 +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 7220013C465; Wed, 24 Jan 2007 16:47:03 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1H9fQY-0004EP-00; Wed, 24 Jan 2007 11:32:26 +0100 Date: Wed, 24 Jan 2007 11:32:26 +0100 To: Abdullah Ibn Hamad Al-Marri Message-ID: <20070124103226.GA12197@poupinou.org> References: <499c70c0701240044q32162e40ye8f923bf758e8633@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <499c70c0701240044q32162e40ye8f923bf758e8633@mail.gmail.com> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: AMD Turion64 X2 works with PowerNow! thank you Bruno 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, 24 Jan 2007 16:47:03 -0000 On Wed, Jan 24, 2007 at 11:44:05AM +0300, Abdullah Ibn Hamad Al-Marri wrote: > So I wish this could be backported to RELENG_6 asap, and yes I tested > it in FreeBSD 6.2-STABLE only, not with current. > I will commit this to RELENG_6 after people do more testing, maybe in one month or so, need to check if there are no regressions. And I don't think this will go to RELENG_6_2 since it's not a security issue. Thanks again for your valuable reports, -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 24 18:14:52 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 458F316A402 for ; Wed, 24 Jan 2007 18:14:52 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id C9B8E13C471 for ; Wed, 24 Jan 2007 18:14:51 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l0OIEnfG003188; Thu, 25 Jan 2007 05:14:49 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l0OIEnn0003187; Thu, 25 Jan 2007 05:14:49 +1100 (EST) (envelope-from peter) Date: Thu, 25 Jan 2007 05:14:49 +1100 From: Peter Jeremy To: Bruno Ducrot Message-ID: <20070124181449.GI874@turion.vk2pj.dyndns.org> References: <499c70c0701240044q32162e40ye8f923bf758e8633@mail.gmail.com> <20070124103226.GA12197@poupinou.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mxv5cy4qt+RJ9ypb" Content-Disposition: inline In-Reply-To: <20070124103226.GA12197@poupinou.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: AMD Turion64 X2 works with PowerNow! thank you Bruno 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, 24 Jan 2007 18:14:52 -0000 --mxv5cy4qt+RJ9ypb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 2007-Jan-24 11:32:26 +0100, Bruno Ducrot wrote: >On Wed, Jan 24, 2007 at 11:44:05AM +0300, Abdullah Ibn Hamad Al-Marri wrot= e: >> So I wish this could be backported to RELENG_6 asap, and yes I tested >> it in FreeBSD 6.2-STABLE only, not with current. >>=20 > >I will commit this to RELENG_6 after people do more testing, >maybe in one month or so, need to check if there are no regressions. >And I don't think this will go to RELENG_6_2 since it's not a security >issue. Reading the commit log, I gather this is correcting a bug in PowerNow! rather than a bug with the interaction between PowerNow! and other speed throttling mechanisms. In my case, PowerNow! appears to be OK but acpi_throttle is broken. Thanks for your efforts in investigating these problems. --=20 Peter Jeremy --mxv5cy4qt+RJ9ypb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD4DBQFFt6IZ/opHv/APuIcRAjOuAJi3eaQqaKeFQP9Gn3xSI3grCndjAJ9W7KqQ G1GoM06T8LodgINI3nEyGw== =Ddb9 -----END PGP SIGNATURE----- --mxv5cy4qt+RJ9ypb-- From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 24 18:48:41 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E5F116A403; Wed, 24 Jan 2007 18:48:41 +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 C267913C474; Wed, 24 Jan 2007 18:48:35 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1H9nAb-0005JO-00; Wed, 24 Jan 2007 19:48:29 +0100 Date: Wed, 24 Jan 2007 19:48:28 +0100 To: Peter Jeremy Message-ID: <20070124184828.GC12197@poupinou.org> References: <499c70c0701240044q32162e40ye8f923bf758e8633@mail.gmail.com> <20070124103226.GA12197@poupinou.org> <20070124181449.GI874@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070124181449.GI874@turion.vk2pj.dyndns.org> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: AMD Turion64 X2 works with PowerNow! thank you Bruno 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, 24 Jan 2007 18:48:41 -0000 On Thu, Jan 25, 2007 at 05:14:49AM +1100, Peter Jeremy wrote: > On Wed, 2007-Jan-24 11:32:26 +0100, Bruno Ducrot wrote: > >On Wed, Jan 24, 2007 at 11:44:05AM +0300, Abdullah Ibn Hamad Al-Marri wrote: > >> So I wish this could be backported to RELENG_6 asap, and yes I tested > >> it in FreeBSD 6.2-STABLE only, not with current. > >> > > > >I will commit this to RELENG_6 after people do more testing, > >maybe in one month or so, need to check if there are no regressions. > >And I don't think this will go to RELENG_6_2 since it's not a security > >issue. > > Reading the commit log, I gather this is correcting a bug in PowerNow! > rather than a bug with the interaction between PowerNow! and other > speed throttling mechanisms. In my case, PowerNow! appears to be OK > but acpi_throttle is broken. acpi_throttle is broken ATM on your machine. BTW if you boot with hint.apic.0.disabled="1" into /boot/loader.conf does this solve the acpi_throttle issue? -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 24 19:35:32 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5567916A400 for ; Wed, 24 Jan 2007 19:35:32 +0000 (UTC) (envelope-from felix.schalck@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 24F2113C45B for ; Wed, 24 Jan 2007 19:35:30 +0000 (UTC) (envelope-from felix.schalck@gmx.net) Received: (qmail invoked by alias); 24 Jan 2007 19:35:29 -0000 Received: from lns-bzn-60-82-254-207-4.adsl.proxad.net (EHLO [192.168.0.16]) [82.254.207.4] by mail.gmx.net (mp052) with SMTP; 24 Jan 2007 20:35:29 +0100 X-Authenticated: #23426003 Message-ID: <45B7B4FC.4050901@gmx.net> Date: Wed, 24 Jan 2007 20:35:24 +0100 From: "felix.schalck" User-Agent: Thunderbird 1.5.0.8 (X11/20061223) MIME-Version: 1.0 To: "M. Warner Losh" References: <45B6300F.6040302@gmx.net> <20070124.084635.1366907896.imp@bsdimp.com> In-Reply-To: <20070124.084635.1366907896.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-mobile@freebsd.org Subject: Re: cardbus not working 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, 24 Jan 2007 19:35:32 -0000 M. Warner Losh wrote: > In message: <45B6300F.6040302@gmx.net> > "felix.schalck" writes: > : Hi, > : > : I posted this to freebsd-questions first, 'cause I didn't remember there > : was a freebsd-mobile mailing list :)... Sorry if you get this mail twice. > : > : Here is my problem: > : I'm trying to get a WLAN pcmcia card working on freebsd 6.2. Kernel with > : cardbus support compiled fine, but when the card is inserted, i get: > : > : Status is 0x30000086 > : Status is 0x30000820 > : cbb0: card inserted: event=0x00000000, state=30000820 > : cbb0: cbb_power: 3V > : cbb0: cbb_power: 0V > : > : Dmesg shows: > : > : cbb0: at device 7.0 on pci2 > : cbb0: Found memory at e0202000 > : cbb0: Secondary bus is 2 > > secondary bus 2 on bus 2 is the problem, I think. > > : cardbus0: on cbb0 > : pccard0: <16-bit PCCard bus> on cbb0 > : > : Any ideas ? What are my possibilities/chances to get it work ? > > What kind of computer do you have? I have one that I need to 'hack' > to get working. It is a Toshiba Satellite of recent vintage. Its > pcib2 has pci2 as a child, and my cbb device is on pci2 like yours. > It's subordinate bus numbers are wrong on pcib2: > > % pciconf -l | grep pcib2 > pcib2@pci0:20:4: class=0x060401 card=0x00000000 chip=0x43421002 > rev=0x00 hdr=0x01 > % pciconf -r pci0:20:4 0x18 > 20020200 > % > > This means that the attempt to kludge around this in the cbb driver > fails: > > ... > cbb0: Secondary bus is 0 > cbb0: Secondary bus set to 3 subbus 4 > ... > > because the config cycles aren't making it through. I hacked my > pci_pci.c code to smack a 0xff into offset 0x1b for unit 2, but that's > evil. It may be necessary for you to do as well until I resolve this > issue. > > To see if you need to further update cbb, please send the output of: > % sysctl dev.cbb > to me. On my machine it says: > > dev.cbb.0.%desc: TI1410 PCI-CardBus Bridge > dev.cbb.0.%driver: cbb > dev.cbb.0.%location: slot=6 function=0 > dev.cbb.0.%pnpinfo: vendor=0x104c device=0xac50 subvendor=0x1179 subdevice=0xff10 class=0x060700 > dev.cbb.0.%parent: pci2 > dev.cbb.0.pribus: 2 > dev.cbb.0.secbus: 3 > dev.cbb.0.subbus: 4 > > Warner > Thank you very much for the interesting details you provided; I certainly didn't understand everything, but this might be indeed the source of the problem; it would be great if you could help me to understand&provide a solution, like yours. I'm running a clevo M120 W with an intel 855GME + 82801DBM core architecture; the manufacturer provides very few details, but i *think* there's only one pcib, as pciconf only shows one ! So, is the pci2 (which seems to hold the cbb) necessary a child of this pcib1 ? %pciconf -l | grep pcib pcib1@pci0:30:0: class=0x060400 card=0x00000000 chip=0x24488086 rev=0x83 hdr=0x01 and %pciconf -l hostb0@pci0:0:0: class=0x060000 card=0x01201558 chip=0x35808086 rev=0x02 hdr=0x00 none0@pci0:0:1: class=0x088000 card=0x01201558 chip=0x35848086 rev=0x02 hdr=0x00 none1@pci0:0:3: class=0x088000 card=0x01201558 chip=0x35858086 rev=0x02 hdr=0x00 agp0@pci0:2:0: class=0x030000 card=0x01201558 chip=0x35828086 rev=0x02 hdr=0x00 none2@pci0:2:1: class=0x038000 card=0x01201558 chip=0x35828086 rev=0x02 hdr=0x00 uhci0@pci0:29:0: class=0x0c0300 card=0x01201558 chip=0x24c28086 rev=0x03 hdr=0x00 uhci1@pci0:29:1: class=0x0c0300 card=0x01201558 chip=0x24c48086 rev=0x03 hdr=0x00 uhci2@pci0:29:2: class=0x0c0300 card=0x01201558 chip=0x24c78086 rev=0x03 hdr=0x00 ehci0@pci0:29:7: class=0x0c0320 card=0x01201558 chip=0x24cd8086 rev=0x03 hdr=0x00 pcib1@pci0:30:0: class=0x060400 card=0x00000000 chip=0x24488086 rev=0x83 hdr=0x01 isab0@pci0:31:0: class=0x060100 card=0x00000000 chip=0x24cc8086 rev=0x03 hdr=0x00 atapci0@pci0:31:1: class=0x01018a card=0x01201558 chip=0x24ca8086 rev=0x03 hdr=0x00 none3@pci0:31:3: class=0x0c0500 card=0x01201558 chip=0x24c38086 rev=0x03 hdr=0x00 pcm0@pci0:31:5: class=0x040100 card=0x01201558 chip=0x24c58086 rev=0x03 hdr=0x00 none4@pci0:31:6: class=0x070300 card=0x01201558 chip=0x24c68086 rev=0x03 hdr=0x00 rl0@pci2:6:0: class=0x020000 card=0x01201558 chip=0x813910ec rev=0x10 hdr=0x00 cbb0@pci2:7:0: class=0x060700 card=0x01201558 chip=0x14101524 rev=0x01 hdr=0x02 iwi0@pci2:8:0: class=0x028000 card=0x27028086 chip=0x42208086 rev=0x05 hdr=0x0 I tried your command: #pciconf -r pci0:30:0 0x18 (although i didn't really understand why 0x18!), which gives the same result: 20020200 And finally, here's the requested sysctl output: %sysctl dev.cbb dev.cbb.0.%desc: ENE CB1410 PCI-CardBus Bridge dev.cbb.0.%driver: cbb dev.cbb.0.%location: slot=7 function=0 dev.cbb.0.%pnpinfo: vendor=0x1524 device=0x1410 subvendor=0x1558 subdevice=0x0120 class=0x060700 dev.cbb.0.%parent: pci2 I hope it helps, Thanks again for your cares about my problem, Felix > _______________________________________________ > 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 Wed Jan 24 20:44:17 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 131EE16A401 for ; Wed, 24 Jan 2007 20:44:17 +0000 (UTC) (envelope-from felix.schalck@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 5128C13C448 for ; Wed, 24 Jan 2007 20:44:16 +0000 (UTC) (envelope-from felix.schalck@gmx.net) Received: (qmail invoked by alias); 24 Jan 2007 20:44:12 -0000 Received: from lns-bzn-60-82-254-207-4.adsl.proxad.net (EHLO [192.168.0.16]) [82.254.207.4] by mail.gmx.net (mp051) with SMTP; 24 Jan 2007 21:44:12 +0100 X-Authenticated: #23426003 Message-ID: <45B7C515.5020207@gmx.net> Date: Wed, 24 Jan 2007 21:44:05 +0100 From: "felix.schalck" User-Agent: Thunderbird 1.5.0.8 (X11/20061223) MIME-Version: 1.0 To: "M. Warner Losh" References: <45B6300F.6040302@gmx.net> <20070124.084732.810775418.imp@bsdimp.com> In-Reply-To: <20070124.084732.810775418.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-mobile@freebsd.org Subject: Re: cardbus not working 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, 24 Jan 2007 20:44:17 -0000 M. Warner Losh wrote: > P.S. A way to confirm that this is a similar problem to the one I'm > hunting is to try any old 16-bit PC Card and see if THAT works. > > Warner > _______________________________________________ > 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 already thought about it, for different reasons; but unfortunately, I haven't any 16-bit card right now ! Please see the other message for further comments; Thanks for your help, Felix From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 24 23:19:44 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A97816A400 for ; Wed, 24 Jan 2007 23:19:44 +0000 (UTC) (envelope-from andrew_terekhov@yahoo.com) Received: from web54410.mail.yahoo.com (web54410.mail.yahoo.com [206.190.49.140]) by mx1.freebsd.org (Postfix) with SMTP id CB1D013C45D for ; Wed, 24 Jan 2007 23:19:43 +0000 (UTC) (envelope-from andrew_terekhov@yahoo.com) Received: (qmail 62167 invoked by uid 60001); 24 Jan 2007 22:53:03 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=MrDJEbCpBVlFndT9NgHTiJfpoJKCN/1ZgyvMj0/X9N7qdcuT2RXWjm4CxQ037PE8fnhcOuTipGU8rwnXtA/djPB15B5UW3sbJ60M+NqkHMSmcc9urf8OHvQ0p96ZOxJ2Ltlf5MKDcHR4DZwT/3mudqUxlqputfBGycf5gXpo8CE=; X-YMail-OSG: TwXrRSQVM1k7BlUKKfgZELkIebVJ_T9ul6hDI18YanO4Ag3H1xJ8aYaZUFcI8FqLJoIkZyybOOnElS1_Br85_YXd9udAc5gDUmcnupp0Kbo_PHBCwlAhcrhwywclpgMDFSyr78RJMaE4nAo- Received: from [204.13.59.250] by web54410.mail.yahoo.com via HTTP; Wed, 24 Jan 2007 14:53:03 PST Date: Wed, 24 Jan 2007 14:53:03 -0800 (PST) From: Andrew Terekhov To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <753131.59417.qm@web54410.mail.yahoo.com> Subject: AR5006: ath0: unable to attach hardware; HAL status 13 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, 24 Jan 2007 23:19:44 -0000 Hi, I installed a recently bought Mini PCI Express card Gigabyte GN-WI01GT (based on Atheros 5006 as described by the seller) in Averatec 2260 YI-1 notebook. The kernel (6.2 stable GENERIC) sees the card as AR 5424. >From dmesg: ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) ath0: mem 0xfebf0000-0xfebfffff irq 16 at device 0.0 on pci6 ath0: unable to attach hardware; HAL status 13 device_attach: ath0 attach returned 6 >From pciconf -lv : ath0@pci6:0:0: class=0x020000 card=0xe9131458 chip=0x001c168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' class = network subclass = ethernet Any help would be greatly appreciated. Thanks, Andrew ____________________________________________________________________________________ Never Miss an Email Stay connected with Yahoo! Mail on your mobile. Get started! http://mobile.yahoo.com/services?promote=mail From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 25 01:17:43 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0BD2216A404 for ; Thu, 25 Jan 2007 01:17:43 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id DADFD13C45B for ; Thu, 25 Jan 2007 01:17:42 +0000 (UTC) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l0P1Hffv040726 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Jan 2007 17:17:42 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <45B80535.3010006@errno.com> Date: Wed, 24 Jan 2007 17:17:41 -0800 From: Sam Leffler User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: Andrew Terekhov References: <753131.59417.qm@web54410.mail.yahoo.com> In-Reply-To: <753131.59417.qm@web54410.mail.yahoo.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: AR5006: ath0: unable to attach hardware; HAL status 13 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, 25 Jan 2007 01:17:43 -0000 Andrew Terekhov wrote: > Hi, > > I installed a recently bought Mini PCI Express card > Gigabyte GN-WI01GT (based on Atheros 5006 as described > by the seller) in Averatec 2260 YI-1 notebook. The > kernel (6.2 stable GENERIC) sees the card as AR 5424. > >>From dmesg: > > ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, > RF5112, RF2413, RF5413) > ath0: mem 0xfebf0000-0xfebfffff irq 16 > at device 0.0 on pci6 > ath0: unable to attach hardware; HAL status 13 > device_attach: ath0 attach returned 6 > >>From pciconf -lv : > > ath0@pci6:0:0: class=0x020000 card=0xe9131458 > chip=0x001c168c rev=0x01 hdr=0x00 > vendor = 'Atheros Communications Inc.' > class = network > subclass = ethernet > > > Any help would be greatly appreciated. I think this is a b/g only card, right? If so you need the hal in HEAD that I've been too busy to MFC. Unfortunately bringing the hal back to 6.x involves some driver mods too (if I recall) so you can't just copy the bits. Sam From owner-freebsd-mobile@FreeBSD.ORG Fri Jan 26 00:29:58 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4562816A401; Fri, 26 Jan 2007 00:29:58 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id C1BD913C45D; Fri, 26 Jan 2007 00:29:57 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l0Q0TuJB001571; Fri, 26 Jan 2007 11:29:56 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l0Q0TtWe001570; Fri, 26 Jan 2007 11:29:55 +1100 (EST) (envelope-from peter) Date: Fri, 26 Jan 2007 11:29:55 +1100 From: Peter Jeremy To: Bruno Ducrot Message-ID: <20070126002955.GA927@turion.vk2pj.dyndns.org> References: <499c70c0701240044q32162e40ye8f923bf758e8633@mail.gmail.com> <20070124103226.GA12197@poupinou.org> <20070124181449.GI874@turion.vk2pj.dyndns.org> <20070124184828.GC12197@poupinou.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: <20070124184828.GC12197@poupinou.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: AMD Turion64 X2 works with PowerNow! thank you Bruno 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, 26 Jan 2007 00:29:58 -0000 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 24, 2007 at 07:48:28PM +0100, Bruno Ducrot wrote: >acpi_throttle is broken ATM on your machine. BTW if you boot with >hint.apic.0.disabled=3D"1" >into /boot/loader.conf >does this solve the acpi_throttle issue? No. I can no longer boot. ACPI reports "ACPI-0210 Unable to install System Control Interrupt Handler, AE_ALREADY_EXISTS". Everything else reports "unable to allocate interrupt" or "couldn't map interrupt" though they list valid IRQ numbers. Having checked, this is probably because I've not got 'atpic' in my kernel. I might try changing this if I have some spare time. --=20 Peter Jeremy --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFuUuD/opHv/APuIcRAmgNAJwPEdS+1QVhzhmAp3S3ZjxEgoBGpQCgigIg jkwkhaJIPHSzh/hawuXROhk= =emi6 -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- From owner-freebsd-mobile@FreeBSD.ORG Fri Jan 26 09:50:22 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 05BF416A400 for ; Fri, 26 Jan 2007 09:50:22 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (mail.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id E932C13C48C for ; Fri, 26 Jan 2007 09:50:21 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id DD6785B14 for ; Fri, 26 Jan 2007 01:31:24 -0800 (PST) To: freebsd-mobile@freebsd.org Date: Fri, 26 Jan 2007 01:31:24 -0800 From: Bakul Shah Message-Id: <20070126093124.DD6785B14@mail.bitblocks.com> Subject: external flatscreen with Thinkpad T42 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, 26 Jan 2007 09:50:22 -0000 My T42 display first went pink on powerup (but would warm up to normal colors), then it would turn off intermittently and now it turns off within a second on power up. Has anyone tried repairing this? Supposedly a new inverter card or a new CCRT is needed.... Temporarily I have attached an external Samsung flatscreen display to the T42. It has a resolution of 1680x1050 but it comes up in 1024x768 mode and everything is horizontally stretched. I would like to use it in a higher res mode and more importantly to avoid the stretching. Does any one have a xorg.conf that I can use as a starting point for an external display with higher res? If it matters, I am running -current and xorg-6.9.0 Thanks! -- bakul From owner-freebsd-mobile@FreeBSD.ORG Fri Jan 26 20:09:10 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E72416A400; Fri, 26 Jan 2007 20:09:10 +0000 (UTC) (envelope-from argentoff@rtelekom.ru) Received: from mail.rtelekom.ru (ns.rtelekom.ru [217.146.40.129]) by mx1.freebsd.org (Postfix) with ESMTP id E199013C487; Fri, 26 Jan 2007 20:09:09 +0000 (UTC) (envelope-from argentoff@rtelekom.ru) Received: from mail.rtelekom.ru (localhost.rtelekom.net [127.0.0.1]) by uranus.rtelekom.net (Postfix) with ESMTP id 088B55D63; Fri, 26 Jan 2007 23:09:08 +0300 (MSK) Received: from [127.0.0.1] (40.3.dial.rtelekom.net [217.146.40.3]) by uranus.rtelekom.net (Postfix) with ESMTP id DD0FB5D74; Fri, 26 Jan 2007 23:09:06 +0300 (MSK) Message-ID: <45BA5F17.7060901@rtelekom.ru> Date: Fri, 26 Jan 2007 23:05:43 +0300 From: Pavel Argentov User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Abdullah Ibn Hamad Al-Marri References: <499c70c0701240044q32162e40ye8f923bf758e8633@mail.gmail.com> In-Reply-To: <499c70c0701240044q32162e40ye8f923bf758e8633@mail.gmail.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP by uranus.rtelekom.net [217.146.40.129] Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: AMD Turion64 X2 works with PowerNow! thank you Bruno 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, 26 Jan 2007 20:09:10 -0000 Abdullah Ibn Hamad Al-Marri wrote: > I have been working with Mr. Bruno for few days, and finally PowerNow! > works with no hanging issues at all, I used the new powernow.c > provided by Bruno attached. Just to settle mess in my brains: it fixes the co-existence of powernow thing in cpufreq driver and powerd? -- SY, Paul. Jabber: paul@jabber.rtelekom.ru RIPE: PA1291-RIPE From owner-freebsd-mobile@FreeBSD.ORG Sat Jan 27 00:11:45 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EBFD016A402 for ; Sat, 27 Jan 2007 00:11: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 A6B5813C494 for ; Sat, 27 Jan 2007 00:11:45 +0000 (UTC) (envelope-from a.bittau@cs.ucl.ac.uk) Received: by darkircop.org (Postfix, from userid 0) id 600026D736; Fri, 26 Jan 2007 23:55:26 +0000 (GMT) Date: Fri, 26 Jan 2007 23:55:26 +0000 From: Andrea Bittau To: freebsd-mobile@freebsd.org Message-ID: <20070126235526.GA10005@shorty.sorbonet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Echelon: Bush Bomb War KGB Cc: Marian Asokarajan Subject: Hack for using SD card reader [on IBM x60s - Ricoh] 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, 27 Jan 2007 00:11:46 -0000 This is a nasty hack to get the SD card reader working on Lenovo IBM Thinkpad x60s. It's a patch to Marian Asokarajan's driver. [It's nasty and I won't continue working on this becase I just need to use grab some pics this weekend from a camera and probably never use it again.] Device: sdhci0@pci21:0:2: class=0x080500 card=0x201d17aa chip=0x08221180 rev=0x18 hdr=0x00 vendor = 'Ricoh Co Ltd' device = 'SD Bus Host Adapter' class = base peripheral HOWTO: wget http://www.sashi.de/downloads/freebsd/sdhci/sdhcidd-0.0.3.tbz mkdir sdhcidd-0.0.3; cd sdhcidd-0.0.3 tar jxvf ../sdhcidd-0.0.3.tbz wget http://darkircop.org/sdhcidd-0.0.3.diff patch -p1 < sdhcidd-0.0.3.diff make kldload ./sdhci.ko if you don't get "w00t" and RCA = nonzero and blocklen in dmesg, then: kldunload sdhci.ko; kldload ./sdhci.ko kldunload sdhci.ko; kldload ./sdhci.ko goto fdisk /dev/sor0 sync goto I'm running: FreeBSD shorty.sorbonet.org 7.0-CURRENT FreeBSD 7.0-CURRENT #206: Fri Jan 26 22:52:00 GMT 2007 root@shorty.sorbonet.org:/root/fbsd/src/sys/i386/compile/SORBO i386 From owner-freebsd-mobile@FreeBSD.ORG Sat Jan 27 03:02:58 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3133516A405 for ; Sat, 27 Jan 2007 03:02:58 +0000 (UTC) (envelope-from trep.without.this@cs.ucr.edu) Received: from esmtp.cs.ucr.edu (esmtp.cs.ucr.edu [138.23.169.83]) by mx1.freebsd.org (Postfix) with ESMTP id 1A9BB13C487 for ; Sat, 27 Jan 2007 03:02:58 +0000 (UTC) (envelope-from trep.without.this@cs.ucr.edu) Received: from esmtp.cs.ucr.edu (localhost.localdomain [127.0.0.1]) by esmtp.cs.ucr.edu (Postfix) with ESMTP id DE76E2B0CE4 for ; Fri, 26 Jan 2007 18:39:47 -0800 (PST) Received: by esmtp.cs.ucr.edu (Postfix, from userid 202) id D2D842B0D7B; Fri, 26 Jan 2007 18:39:47 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on esmtp.cs.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.3 Received: from [138.23.204.20] (unknown [138.23.204.20]) by esmtp.cs.ucr.edu (Postfix) with ESMTP id 9A1EB2B0CE4 for ; Fri, 26 Jan 2007 18:39:47 -0800 (PST) From: Thomas Repantis To: freebsd-mobile@freebsd.org Content-Type: text/plain Date: Fri, 26 Jan 2007 18:39:47 -0800 Message-Id: <1169865587.5534.33.camel@heart> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: How to enable em0 on Thinkpad T60 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, 27 Jan 2007 03:02:58 -0000 Hi, Just a tip for anyone having trouble with em0 not recognizing their Ethernet NIC on Thinkpad T60: If you hide the network interface in the BIOS, reboot, enable it again, and reboot, em0 recognizes it. Cheers, Thomas From owner-freebsd-mobile@FreeBSD.ORG Sat Jan 27 03:03:49 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 18A6D16A402 for ; Sat, 27 Jan 2007 03:03:49 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 9FD8513C489 for ; Sat, 27 Jan 2007 03:03:48 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l0R33gYT013297; Sat, 27 Jan 2007 14:03:42 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l0R33ebm013296; Sat, 27 Jan 2007 14:03:40 +1100 (EST) (envelope-from peter) Date: Sat, 27 Jan 2007 14:03:40 +1100 From: Peter Jeremy To: Bakul Shah Message-ID: <20070127030340.GF927@turion.vk2pj.dyndns.org> References: <20070126093124.DD6785B14@mail.bitblocks.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hoZxPH4CaxYzWscb" Content-Disposition: inline In-Reply-To: <20070126093124.DD6785B14@mail.bitblocks.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-mobile@freebsd.org Subject: Re: external flatscreen with Thinkpad T42 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, 27 Jan 2007 03:03:49 -0000 --hoZxPH4CaxYzWscb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 2007-Jan-26 01:31:24 -0800, Bakul Shah wrote: >Temporarily I have attached an external Samsung flatscreen >display to the T42. It has a resolution of 1680x1050 but it >comes up in 1024x768 mode and everything is horizontally >stretched. Check your xorg log (/var/log/Xorg.?.log) and see what the monitor is reporting. The log will also tell you what the chipset thinks it can support. --=20 Peter Jeremy --hoZxPH4CaxYzWscb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFusEM/opHv/APuIcRAvoTAJ0SawTCZNMqXgHOjx3X6g7kGTuKXgCfekjQ OC7/e9Ft7lz+RWsBqphmxns= =DPPC -----END PGP SIGNATURE----- --hoZxPH4CaxYzWscb-- From owner-freebsd-mobile@FreeBSD.ORG Sat Jan 27 05:21:57 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8BE8316A400 for ; Sat, 27 Jan 2007 05:21:57 +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 277C013C46C for ; Sat, 27 Jan 2007 05:21:57 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l0R5LIX4053119; Fri, 26 Jan 2007 22:21:19 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 26 Jan 2007 22:21:44 -0700 (MST) Message-Id: <20070126.222144.-1303465344.imp@bsdimp.com> To: a.bittau@cs.ucl.ac.uk From: "M. Warner Losh" In-Reply-To: <20070126235526.GA10005@shorty.sorbonet.org> References: <20070126235526.GA10005@shorty.sorbonet.org> 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]); Fri, 26 Jan 2007 22:21:20 -0700 (MST) Cc: mail@sashi.de, freebsd-mobile@freebsd.org Subject: Re: Hack for using SD card reader [on IBM x60s - Ricoh] 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, 27 Jan 2007 05:21:57 -0000 Any chance you are interested in integrating this into the existing sd/mmc infrastructure on FreeBSD? Warner From owner-freebsd-mobile@FreeBSD.ORG Sat Jan 27 15:33:18 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F2D116A402 for ; Sat, 27 Jan 2007 15:33:18 +0000 (UTC) (envelope-from Alex.Kovalenko@verizon.net) Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by mx1.freebsd.org (Postfix) with ESMTP id DA19C13C489 for ; Sat, 27 Jan 2007 15:33:17 +0000 (UTC) (envelope-from Alex.Kovalenko@verizon.net) Received: from [10.0.3.231] ([70.21.176.159]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JCJ00KN19V8QOT2@vms044.mailsrvcs.net> for freebsd-mobile@freebsd.org; Sat, 27 Jan 2007 09:33:09 -0600 (CST) Date: Sat, 27 Jan 2007 10:33:01 -0500 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <20070126110617.GI7702@corpex.de> To: Frank Altpeter Message-id: <1169911981.7662.19.camel@RabbitsDen.RabbitsLawn.verizon.net> MIME-version: 1.0 X-Mailer: Evolution 2.8.2.1 FreeBSD GNOME Team Port Content-type: text/plain Content-transfer-encoding: 7bit References: <20070126093124.DD6785B14@mail.bitblocks.com> <20070126110617.GI7702@corpex.de> Cc: Bakul Shah , freebsd-mobile@freebsd.org Subject: Re: external flatscreen with Thinkpad T42 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, 27 Jan 2007 15:33:18 -0000 On Fri, 2007-01-26 at 12:06 +0100, Frank Altpeter wrote: > Hi there, > > on 2007-01-26 at 10:31:24 CET, Bakul Shah wrote: > > My T42 display first went pink on powerup (but would warm up > > to normal colors), then it would turn off intermittently and > > now it turns off within a second on power up. Has anyone > > tried repairing this? Supposedly a new inverter card or a > > new CCRT is needed.... I would poke around the IBM website looking for "maintenance" manuals. In the days of TP 701C and TP 560 they had sufficient enough detail to take laptops completely apart and put them back together (which, for TP 701C, is saying a lot). They have a habit of mashing quite a few models under the same cover, so you might need to peruse actual manual to figure out if yours is there. This said, I have not done major surgery on the modern ThinkPad laptops. >From my experience on some other machines, I would suggest taking pictures of the hardware on every stage of the disassembly with the digital camera if you have one. > > > > Temporarily I have attached an external Samsung flatscreen > > display to the T42. It has a resolution of 1680x1050 but it > > comes up in 1024x768 mode and everything is horizontally > > stretched. I would like to use it in a higher res mode and > > more importantly to avoid the stretching. Does any one have > > a xorg.conf that I can use as a starting point for an > > external display with higher res? If it matters, I am > > running -current and xorg-6.9.0 Thanks! > As far as i know, the T42 external connector does only 1280x1024 maximum. That varies by model. Mine (2373-Q1U) does 1600x1200 on the built-in LCD and external connector. -- Alexandre "Sunny" Kovalenko From owner-freebsd-mobile@FreeBSD.ORG Sat Jan 27 19:27:06 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B69016A402 for ; Sat, 27 Jan 2007 19:27:06 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id E4CFA13C46C for ; Sat, 27 Jan 2007 19:27:05 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 7A56B5B32; Sat, 27 Jan 2007 10:57:12 -0800 (PST) To: "Alexandre \"Sunny\" Kovalenko" In-reply-to: Your message of "Sat, 27 Jan 2007 10:33:01 EST." <1169911981.7662.19.camel@RabbitsDen.RabbitsLawn.verizon.net> Date: Sat, 27 Jan 2007 10:57:12 -0800 From: Bakul Shah Message-Id: <20070127185712.7A56B5B32@mail.bitblocks.com> Cc: Frank Altpeter , freebsd-mobile@freebsd.org Subject: Re: external flatscreen with Thinkpad T42 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, 27 Jan 2007 19:27:06 -0000 > I would poke around the IBM website looking for "maintenance" manuals. Yeah, I already have this but wondered if anyone had actually done a repair. > >From my experience on some other machines, I would suggest taking > pictures of the hardware on every stage of the disassembly with the > digital camera if you have one. Thanks for the reminder! > > > Temporarily I have attached an external Samsung flatscreen > > > display to the T42. It has a resolution of 1680x1050 but it > > > comes up in 1024x768 mode and everything is horizontally > > > stretched. I would like to use it in a higher res mode and > > > more importantly to avoid the stretching. Does any one have > > > a xorg.conf that I can use as a starting point for an > > > external display with higher res? If it matters, I am > > > running -current and xorg-6.9.0 Thanks! > > As far as i know, the T42 external connector does only 1280x1024 maximum. > That varies by model. Mine (2373-Q1U) does 1600x1200 on the built-in LCD > and external connector. (As Peter Jeremy had also suggested) I had already looked at Xorg.0.log prior to my initial email and I know mine (2378-DUU) does higher res than 1024x768 for external displays. I think what is happening is Xorg thinks both displays are on at the same time and chooses a common resolution. It does detect two 'CRTs' and also what each can do. Specifying 'screen 1' results in no display whatsoever. So I am onto something:-) Thanks for all the suggestions. -- bakul From owner-freebsd-mobile@FreeBSD.ORG Sat Jan 27 20:13:43 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7249216A402 for ; Sat, 27 Jan 2007 20:13:43 +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 559B013C46B for ; Sat, 27 Jan 2007 20:13:43 +0000 (UTC) (envelope-from Alex.Kovalenko@verizon.net) Received: from [10.0.3.231] ([70.21.176.159]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JCJ003XYMUSKTC4@vms042.mailsrvcs.net> for freebsd-mobile@freebsd.org; Sat, 27 Jan 2007 14:13:41 -0600 (CST) Date: Sat, 27 Jan 2007 15:13:33 -0500 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <20070127185712.7A56B5B32@mail.bitblocks.com> To: Bakul Shah Message-id: <1169928813.7662.41.camel@RabbitsDen.RabbitsLawn.verizon.net> MIME-version: 1.0 X-Mailer: Evolution 2.8.2.1 FreeBSD GNOME Team Port Content-type: text/plain Content-transfer-encoding: 7bit References: <20070127185712.7A56B5B32@mail.bitblocks.com> Cc: Frank Altpeter , freebsd-mobile@freebsd.org Subject: Re: external flatscreen with Thinkpad T42 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, 27 Jan 2007 20:13:43 -0000 On Sat, 2007-01-27 at 10:57 -0800, Bakul Shah wrote: > (As Peter Jeremy had also suggested) I had already looked at > Xorg.0.log prior to my initial email and I know mine > (2378-DUU) does higher res than 1024x768 for external > displays. I think what is happening is Xorg thinks both > displays are on at the same time and chooses a common > resolution. It does detect two 'CRTs' and also what each can > do. Specifying 'screen 1' results in no display whatsoever. > So I am onto something:-) I run SuSE Linux on my T42 (this is work laptop and I am not given much choice). Only way I have found so far to reliably use external monitor (in my case -- projector) is to power it on and keep hitting Fn-F7 until BIOS screen shows up on the projector. -- Alexandre "Sunny" Kovalenko From owner-freebsd-mobile@FreeBSD.ORG Sat Jan 27 22:37:17 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 816BE16A401 for ; Sat, 27 Jan 2007 22:37:17 +0000 (UTC) (envelope-from sten.daniel.sorsdal@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226]) by mx1.freebsd.org (Postfix) with ESMTP id 46CB813C48D for ; Sat, 27 Jan 2007 22:37:17 +0000 (UTC) (envelope-from sten.daniel.sorsdal@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1178977wxc for ; Sat, 27 Jan 2007 14:37:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:user-agent:mime-version:to:subject:content-type:content-transfer-encoding:from; b=dy0EHN80a3Syv7+E7QRs/Tvqqw8CT9h45XedT8kDJewwTdXTjREIvzRMvYApWJSkuTsb52E0EOfKKaK0j3M7V+gGFCV+UdaU3fFHuILbyc7nfj3nuyfRkiY+/DVZryUVTfcgo3sqNNv0Io76b5NFEkhMytKr+8oWsx2S4j0ZhnM= Received: by 10.90.31.19 with SMTP id e19mr2269321age.1169935755441; Sat, 27 Jan 2007 14:09:15 -0800 (PST) Received: from ?192.168.11.5? ( [72.189.174.133]) by mx.google.com with ESMTP id 38sm5734842agd.2007.01.27.14.09.14; Sat, 27 Jan 2007 14:09:14 -0800 (PST) Message-ID: <45BBCD7E.4050905@gmail.com> Date: Sat, 27 Jan 2007 17:09:02 -0500 User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= Subject: Dell Inspiron 510m - Will 6.2 or 7.0 work? 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, 27 Jan 2007 22:37:17 -0000 Hi I want to venture into running FreeBSD on my laptop (I'm used to running it on server only) and I'm somewhat curious if anyone else has had any success stories with this laptop. Optimally i would dual boot windowsXP. Is there any obvious problems with this configuration? Can i expect ACPI to mostly work? Will my video function alright in console and X? What about sound card, ethernet, wireless or touchpad? Any reason why i should try 7.0 instead of plain 6.2, other than the obvious code (in)stability? Any thoughts, comments or hints are appreciated. I'm willing to research subjects further but right now I'm really unsure of what to expect and what to look into. It will be a couple of days before i get the right things to repartition my disk. Specifications is as follows (according to Everest Ultimate): Mobile Intel Pentium M 710, 1400 Mhz (14 x 100) (Dothan) Cpu Stepping: B1 Cache: 32 KB / 32 KB / 2 MB 2 Gbyte of PC2700 memory HDD: 100 GB (MK-1032GAX) DVD/CD-RW: HL-DT-ST RW/DVD GCC-4243N (Hitachi-LG) USB: Intel 82801DB/DBM USB1/2 (24C2, 24C4, 24C7, 24CD) Wireless: Intel 2200BG (3A) Ethernet: Intel ICH4 PRO/100 VE Northbridge: Intel Montara-GM+ i855GME Southbridge: Intel 82801DBM ICH4-M Video card: Intel Intel Extreme Graphics 2 (???) AC97 Codec: Intel ICH4 (SigmaTel STAC9750/51) ID 83847650h Running latest BIOS --=20 Sten Daniel S=F8rsdal From owner-freebsd-mobile@FreeBSD.ORG Sat Jan 27 20:05:11 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19D2916A404 for ; Sat, 27 Jan 2007 20:05:11 +0000 (UTC) (envelope-from kale1040@yahoo.com) Received: from web52113.mail.yahoo.com (web52113.mail.yahoo.com [206.190.48.116]) by mx1.freebsd.org (Postfix) with SMTP id 9B8FD13C484 for ; Sat, 27 Jan 2007 20:05:10 +0000 (UTC) (envelope-from kale1040@yahoo.com) Received: (qmail 75440 invoked by uid 60001); 27 Jan 2007 19:38:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=xvYwAzzP2yAoVEZASa373GbVVoEyH9k1o1HmmkTNRgDPI2NPLG7ziZS4f2XSUdObfoUZvaoDzv/PeuUcNC9tMA+SU5TxgYw23bxk6423kT8o77byJ9tuzjdSnUkuEHLw9cNoiZBD3fydpej++XhAgVtW16Sa4HyD6gjsy6PbeAo=; X-YMail-OSG: 0HqGnAwVM1lHpPa4JD0XQcUmZhdJL8XzmNX8lBaTk5Wi50cbkma6TvD9YEdRladzOlxrPbQrY59qn550D_brHnfLfI7WgrDmzbk7.EnX7GPm3A-- Received: from [208.120.97.37] by web52113.mail.yahoo.com via HTTP; Sat, 27 Jan 2007 11:38:30 PST X-Mailer: YahooMailRC/368.3 YahooMailWebService/0.6.132.7 Date: Sat, 27 Jan 2007 11:38:30 -0800 (PST) From: CJ Saba To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Message-ID: <147489.57698.qm@web52113.mail.yahoo.com> X-Mailman-Approved-At: Sat, 27 Jan 2007 22:47:38 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: pccard0 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, 27 Jan 2007 20:05:11 -0000 I have an older Toshiba laptop with a Xircom 10/100 pc card. When I plug th= e card in the computer recognizes pccard0 gives it resources and names it (= ed1). When I run ifconfig it does not show up. I read the old Xircom and ha= ve tried adding the line pccard_enable=3D"YES" but that had no affect. Any = clue as to what I am doing wrong?=0A-CJ