From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 6 00:13:06 2005 Return-Path: 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 0C17B16A4CF; Sun, 6 Mar 2005 00:13:06 +0000 (GMT) Received: from www.raught.net (pcp0010251116pcs.lpaxtn01.pa.comcast.net [68.36.104.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E12843D53; Sun, 6 Mar 2005 00:13:05 +0000 (GMT) (envelope-from mraught@acm.org) Received: from [192.168.0.2] ([10.0.0.52]) by www.raught.net (8.12.9/8.12.9) with ESMTP id j26030Cg002935; Sat, 5 Mar 2005 19:03:01 -0500 (EST) Message-ID: <422A1848.6000607@acm.org> Date: Sat, 05 Mar 2005 15:36:24 -0500 From: "Mark A-J. Raught (from the laptop)" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041204 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Josef Karthauser References: <20050305192153.GA20692@genius.tao.org.uk> In-Reply-To: <20050305192153.GA20692@genius.tao.org.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: mobile@FreeBSD.org Subject: Re: Out of battery indicator. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 00:13:06 -0000 Josef Karthauser wrote: > Does anyone have a solution to running out of battery using ACPI (5.3?). > I keep forgetting to plug in my power supply and the machine dies rather > suddenly without beeping or giving me any warning that it was out of > battery. > > Any ideas? I would have thought that this was an O/S task rather than a > third party app task. > > Joe I use apm so my solution is in /etc/apmd.conf but for ACPI I think you need to look at /etc/devd.conf and the cmbat stuff... I'm not sure of the details, but maybe this can point you in the right direction. -mark From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 6 00:17:16 2005 Return-Path: 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 29AB916A4CF for ; Sun, 6 Mar 2005 00:17:16 +0000 (GMT) Received: from bsd.ultra-secure.de (bsd.ultra-secure.de [62.146.20.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1FB743D41 for ; Sun, 6 Mar 2005 00:17:14 +0000 (GMT) (envelope-from rainer@ultra-secure.de) Received: (qmail 47749 invoked by uid 1005); 6 Mar 2005 00:17:13 -0000 Received: from rainer@ultra-secure.de by bsd.ultra-secure.de by uid 89 with qmail-scanner-1.22 Clear:RC:1(217.232.235.159):. Processed in 0.111451 secs); 06 Mar 2005 00:17:13 -0000 Received: from unknown (HELO ?192.168.1.224?) (rainer@ultra-secure.de@217.232.235.159) by bsd.ultra-secure.de with (DHE-RSA-AES256-SHA encrypted) SMTP; 6 Mar 2005 00:17:13 -0000 Message-ID: <422A4C1D.60608@ultra-secure.de> Date: Sun, 06 Mar 2005 01:17:33 +0100 From: Rainer Duffner User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Mark A-J. Raught (from the laptop)" References: <20050305192153.GA20692@genius.tao.org.uk> <422A1848.6000607@acm.org> In-Reply-To: <422A1848.6000607@acm.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Josef Karthauser cc: mobile@FreeBSD.org Subject: Re: Out of battery indicator. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 00:17:16 -0000 Mark A-J. Raught (from the laptop) wrote: > Josef Karthauser wrote: > >> Does anyone have a solution to running out of battery using ACPI (5.3?). >> I keep forgetting to plug in my power supply and the machine dies rather >> suddenly without beeping or giving me any warning that it was out of >> battery. >> >> Any ideas? I would have thought that this was an O/S task rather than a >> third party app task. >> >> Joe > > > > I use apm so my solution is in /etc/apmd.conf but for ACPI I think you > need to look at /etc/devd.conf and the cmbat stuff... I'm not sure of > the details, but maybe this can point you in the right direction. Last time I asked the FreeBSD-KDE folks about the KDE-powermanagement stuff, I was told it was broken and being worked on... I don't run FreeBSD yet/anymore on my ACPI-cabable laptop and didn't watch the progress in this area, so I'd say best is to ask again. cheers, Rainer -- =================================================== ~ Rainer Duffner - rainer@ultra-secure.de ~ ~ Freising - Munich - Germany ~ ~ Unix - Linux - BSD - OpenSource - Security ~ ~ http://www.ultra-secure.de/~rainer/pubkey.pgp ~ =================================================== From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 6 09:34:54 2005 Return-Path: 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 77B7E16A4CE; Sun, 6 Mar 2005 09:34:54 +0000 (GMT) Received: from relay6.poste.it (relay6.poste.it [62.241.4.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D54343D48; Sun, 6 Mar 2005 09:34:54 +0000 (GMT) (envelope-from eugenio@lumachedelcervello.cjb.net) Received: from [192.168.1.3] (82.49.151.58) by relay6.poste.it (7.2.052.3) (authenticated as eugenio.modesti@poste.it) id 4210C54400021ABB; Sun, 6 Mar 2005 10:34:52 +0100 Message-ID: <422ACE0B.4060503@lumachedelcervello.cjb.net> Date: Sun, 06 Mar 2005 10:31:55 +0100 From: Eugenio User-Agent: Mozilla Thunderbird 1.0 (X11/20050302) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-i386@freebsd.org cc: freebsd-mobile@freebsd.org Subject: CPUTYPE=pentium-m X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 09:34:54 -0000 i have read that were some problems compiling the kernel and the loader with "pentium-m" in CPUTYPE. are they fixed now? or, if not yet, is it safe to compile the world with that switch on (and downgrade to something else - pentium3? - for kernel&loader) ? From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 6 11:10:12 2005 Return-Path: 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 0A72016A4CE for ; Sun, 6 Mar 2005 11:10:12 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id E612643D1D for ; Sun, 6 Mar 2005 11:10:10 +0000 (GMT) (envelope-from incmc@gmx.de) Received: (qmail invoked by alias); 06 Mar 2005 11:10:09 -0000 Received: from pD9E6ED9D.dip.t-dialin.net (EHLO ms.homeip.net) (217.230.237.157) by mail.gmx.net (mp002) with SMTP; 06 Mar 2005 12:10:09 +0100 X-Authenticated: #15946415 Received: from [10.0.0.1] (helo=[10.0.0.140]) by ms.homeip.net with esmtpsa (TLSv1:AES256-SHA:256) id 1D7the-000LxD-RS; Sun, 06 Mar 2005 12:13:42 +0100 Message-ID: <422AE500.6000205@gmx.de> Date: Sun, 06 Mar 2005 12:09:52 +0100 From: Jochen Gensch User-Agent: Mozilla Thunderbird 1.0 (X11/20050215) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Oberman References: <20050304163624.04DAC5D07@ptavv.es.net> In-Reply-To: <20050304163624.04DAC5D07@ptavv.es.net> X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime 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: Using VESA to restore display settings on resume X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 11:10:12 -0000 Kevin Oberman wrote: > What version of X and what version of FreeBSD are you running? Which > Radeon are you using? Are you running DRI? X = Yorg 6.8.1 FreeBSD = 6.0-CURRENT, built on March 3. Radeon Mobility M6 Tried it with "Load dri" in xorg.conf and without. It seems to work, when I don't load it. But only one time and further, even then only when I'm at the KDE Login Screen. Once I loged in, it doesn't work any more. > I need to put both: > hw.acpi.reset_video=0 > hw.syscons.sc_no_suspend_vtswitch=1 > into /etc/sysctl.conf to make this work. I know these, doesn't fix it completely. Jochen From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 6 13:32:53 2005 Return-Path: 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 1743316A4CF for ; Sun, 6 Mar 2005 13:32:53 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id F32C343D5D for ; Sun, 6 Mar 2005 13:32:51 +0000 (GMT) (envelope-from incmc@gmx.de) Received: (qmail invoked by alias); 06 Mar 2005 13:32:50 -0000 Received: from pD9E6EFEC.dip.t-dialin.net (EHLO ms.homeip.net) (217.230.239.236) by mail.gmx.net (mp006) with SMTP; 06 Mar 2005 14:32:50 +0100 X-Authenticated: #15946415 Received: from [10.0.0.1] (helo=[10.0.0.141]) by ms.homeip.net with esmtpsa (TLSv1:AES256-SHA:256) id 1D7vvl-000MwE-1h; Sun, 06 Mar 2005 14:36:25 +0100 Message-ID: <422B0680.1020205@gmx.de> Date: Sun, 06 Mar 2005 14:32:48 +0100 From: Jochen Gensch User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Rong-En Fan , freebsd-mobile@freebsd.org References: <20050304163624.04DAC5D07@ptavv.es.net> <422AE500.6000205@gmx.de> <6eb82e05030603575ee746d5@mail.gmail.com> In-Reply-To: <6eb82e05030603575ee746d5@mail.gmail.com> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: Using VESA to restore display settings on resume X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 13:32:53 -0000 Rong-En Fan schrieb: > do you apply drm patch by jhb on cvs-all? > If not, I don't think drm/dri works under X.org even if you loaded it. No, I don't know about any patch to drm. That maybe explains, why the radeon module is loaded, but I don't get any kernel messages. I remember it being loaded some tine ago. So does that mean, I'm living wihtout real rhardware support :-)? Jochen From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 6 15:51:56 2005 Return-Path: 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 68DEF16A4CE for ; Sun, 6 Mar 2005 15:51:56 +0000 (GMT) Received: from web61008.mail.yahoo.com (web61008.mail.yahoo.com [216.155.196.97]) by mx1.FreeBSD.org (Postfix) with SMTP id DD4FD43D2F for ; Sun, 6 Mar 2005 15:51:55 +0000 (GMT) (envelope-from ademetriojr@yahoo.com) Received: (qmail 48076 invoked by uid 60001); 6 Mar 2005 15:51:55 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=tM/ufhdT2BBUHwIDxq/bq3NBj1h5zjSqDotEmYaibGRHdmlkFOcrDDmVS63FvMiFU5zoILYGsFU6fkvPwQt2xeIV8o0E7DCtCF5fCNq1PGT4ffALpbWgXrL9X0nPb1KvvtpG5zMBN0hqICnM3IItsh+SycsH6wkaPGJD5BV6bNU= ; Message-ID: <20050306155155.48074.qmail@web61008.mail.yahoo.com> Received: from [24.14.77.251] by web61008.mail.yahoo.com via HTTP; Sun, 06 Mar 2005 07:51:55 PST Date: Sun, 6 Mar 2005 07:51:55 -0800 (PST) From: Scorpion To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Averatec 3250H1-01 (problem: S3G UniChrome Graphics) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 15:51:56 -0000 If anyone has this laptop or know how to solve this problem, please reply. This laptop has a S3G UniChrome Graphics which I havent been able to configure. Please help! :) __________________________________ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/ From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 6 18:47:33 2005 Return-Path: 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 A8A7016A4CE; Sun, 6 Mar 2005 18:47:33 +0000 (GMT) Received: from dd3.kasserver.com (dd2718.kasserver.com [81.209.184.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02FC943D41; Sun, 6 Mar 2005 18:47:33 +0000 (GMT) (envelope-from freebsd@chillt.de) Received: from [192.168.0.5] (dsl-082-083-048-102.arcor-ip.net [82.83.48.102]) by dd3.kasserver.com (Postfix) with ESMTP id A8B6C99A6A; Sun, 6 Mar 2005 19:47:30 +0100 (CET) Message-ID: <422B502C.6090003@chillt.de> Date: Sun, 06 Mar 2005 19:47:08 +0100 From: Bartosz Fabianowski User-Agent: Mozilla Thunderbird 1.0 (X11/20050202) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eugenio References: <422ACE0B.4060503@lumachedelcervello.cjb.net> In-Reply-To: <422ACE0B.4060503@lumachedelcervello.cjb.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org cc: freebsd-i386@freebsd.org cc: freebsd-mobile@freebsd.org Subject: Re: CPUTYPE=pentium-m X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 18:47:33 -0000 > i have read that were some problems compiling the kernel and the > loader with "pentium-m" in CPUTYPE. are they fixed now? I'm the one who filed the original bug report: http://www.freebsd.org/cgi/query-pr.cgi?pr=75898 Since it hasn't been touched yet by anybody, my guess is that the problems persist. If you want to try for yourself, just recompile your kernel with CPUTYPE=pentium-m and see whether it boots or panics. > is it safe to compile the world with that switch on (and downgrade to > something else - pentium3? - for kernel&loader) ? I'd assume the answer to this one is yes - it's safe. Personally, I compile world and kernel as pentium3, but that's just out of laziness. As you can read in the bug report, the problem is that SSE2 instructions get used by the kernel and loader before they are enabled. Once the boot gets to the first userland programs, SSE2 is enabled so any world programs should run just fine when compiled as pentium-m. - Bartosz From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 6 19:09:28 2005 Return-Path: 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 7E9E616A4CE for ; Sun, 6 Mar 2005 19:09:28 +0000 (GMT) Received: from mailhost.m5p.com (209-162-215-52.dq1sn.easystreet.com [209.162.215.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFA3543D49 for ; Sun, 6 Mar 2005 19:09:27 +0000 (GMT) (envelope-from george@m5p.com) Received: from m5p.com (ssh.m5p.com [IPv6:2001:418:3fd::fb]) by mailhost.m5p.com (8.13.2/8.13.2) with ESMTP id j26J9RQc039465 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=OK) for ; Sun, 6 Mar 2005 11:09:27 -0800 (PST) Received: (from george@localhost) by m5p.com (8.13.2/8.13.2/Submit) id j26J9RqK079856; Sun, 6 Mar 2005 11:09:27 -0800 (PST) Date: Sun, 6 Mar 2005 11:09:27 -0800 (PST) Message-Id: <200503061909.j26J9RqK079856@m5p.com> From: george+freebsd@m5p.com To: freebsd-mobile@freebsd.org In-Reply-To: <20050306155155.48074.qmail@web61008.mail.yahoo.com> X-Scanned-By: MIMEDefang 2.49 on IPv6:2001:418:3fd::f7 Subject: Averatec 3250H1-01 (problem: S3G UniChrome Graphics) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 19:09:28 -0000 From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 6 19:09:35 2005 Return-Path: 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 42CF116A4CE for ; Sun, 6 Mar 2005 19:09:35 +0000 (GMT) Received: from mailhost.m5p.com (209-162-215-52.dq1sn.easystreet.com [209.162.215.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id B699043D48 for ; Sun, 6 Mar 2005 19:09:34 +0000 (GMT) (envelope-from george@m5p.com) Received: from m5p.com (ssh.m5p.com [IPv6:2001:418:3fd::fb]) by mailhost.m5p.com (8.13.2/8.13.2) with ESMTP id j26J9XOn039468 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=OK) for ; Sun, 6 Mar 2005 11:09:33 -0800 (PST) Received: (from george@localhost) by m5p.com (8.13.2/8.13.2/Submit) id j26J9X0i079864; Sun, 6 Mar 2005 11:09:33 -0800 (PST) Date: Sun, 6 Mar 2005 11:09:33 -0800 (PST) Message-Id: <200503061909.j26J9X0i079864@m5p.com> From: george+freebsd@m5p.com To: freebsd-mobile@freebsd.org In-Reply-To: <20050306155155.48074.qmail@web61008.mail.yahoo.com> X-Scanned-By: MIMEDefang 2.49 on IPv6:2001:418:3fd::f7 Subject: Averatec 3250H1-01 (problem: S3G UniChrome Graphics) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 19:09:35 -0000 > If anyone has this laptop or know how to solve this > problem, please reply. > > This laptop has a S3G UniChrome Graphics which I > havent been able to configure. > > Please help! :) I'd like to second this request! I just got a "Great Quality" (Fry's house brand) laptop on sale for $400, and it also has the VIA S3G Uni- Chrome graphics chip. It's a great little machine, but I can't get X windows going to save my life. Even the VGA driver comes up all smeared across the screen. The VESA driver can't find a mode to drive it and gives up. The VIA driver also doesn't like it, hanging up with the text mode screen still showing until I switch to a different virtual console and back, at which point I see: VGA BIOS image is wrong!! CheckSum = 53403a X in free (); error: page is already free X connection to :0.0 broken (explicit kill or shutdown). I can send a complete log if someone thinks it will help. Otherwise, most things work on this machine. ACPI works! The VIA CPU runs fine. snd_via8233 runs the VIA8235 sound chip perfectly. The vr driver handles the VIA VT6102 ethernet port. The four USB 1.0 ports work without difficulty. But I can't talk to the PCTel HSP56 MR modem (doesn't work with the ltmdm port). On another issue, I have a USB numeric keypad. When I attach it, thanks to devd.conf, it takes the place of the main keyboard. This is great as long as I just want to enter commands like "789". Is there some kbdcontrol mode which wouls accept input from both the main keyboard and the USB numeric keypad at the same time? Many thanks to the people on this list go give us all the answers! -- George Mitchell From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 6 20:45:01 2005 Return-Path: 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 80FCE16A4CE for ; Sun, 6 Mar 2005 20:45:01 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 4D60743D53 for ; Sun, 6 Mar 2005 20:45:00 +0000 (GMT) (envelope-from incmc@gmx.de) Received: (qmail invoked by alias); 06 Mar 2005 20:44:59 -0000 Received: from pD9E6EFEC.dip.t-dialin.net (EHLO ms.homeip.net) (217.230.239.236) by mail.gmx.net (mp028) with SMTP; 06 Mar 2005 21:44:59 +0100 X-Authenticated: #15946415 Received: from [10.0.0.1] (helo=[10.0.0.13]) by ms.homeip.net with esmtpsa (TLSv1:AES256-SHA:256) id 1D82g0-000PpT-VV; Sun, 06 Mar 2005 21:48:37 +0100 Message-ID: <422B6BC9.2010107@gmx.de> Date: Sun, 06 Mar 2005 21:44:57 +0100 From: Jochen Gensch User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Rong-En Fan References: <200502281016.aa49779@salmon.maths.tcd.ie> <200502282026.aa38504@salmon.maths.tcd.ie> <6eb82e05030219447bdda412@mail.gmail.com> <6eb82e050305050284084ca@mail.gmail.com> In-Reply-To: <6eb82e050305050284084ca@mail.gmail.com> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 cc: freebsd-mobile@freebsd.org Subject: Re: Using VESA to restore display settings on resume X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 20:45:01 -0000 Rong-En Fan schrieb: > I was wrong. drm was broken that time, after apply patch on cvs-all > with dri, after resume, my screen mess up as before. Could you tell me, what patch you are talking about? The dpms patch? Jochen From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 7 00:04:09 2005 Return-Path: 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 AF56116A4CE for ; Mon, 7 Mar 2005 00:04:09 +0000 (GMT) Received: from diamond.34sp.com (diamond.34sp.com [195.50.105.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71B9643D7E for ; Mon, 7 Mar 2005 00:04:08 +0000 (GMT) (envelope-from list@understudy.net) Received: (qmail 36095 invoked from network); 7 Mar 2005 00:04:07 -0000 Received: from adsl-11-166-118.mia.bellsouth.net (HELO ?10.0.0.114?) (65.11.166.118) by mcp.34sp.com with SMTP; 7 Mar 2005 00:04:05 -0000 Message-ID: <422B9A6B.6050109@understudy.net> Date: Sun, 06 Mar 2005 19:03:55 -0500 From: Understudy User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050226 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Matthew N. Dodd" References: <20050219040357.47106754@spadger.best.vwh.net> <42197CA3.7050709@understudy.net> <421E331C.10804@siol.net> <20050224181142.B60128@sasami.jurai.net> <421E7780.6050800@understudy.net> <20050224202147.A60128@sasami.jurai.net> <421EAAA5.3090304@understudy.net> <20050225095658.D60128@sasami.jurai.net> <4226996D.3020402@understudy.net> <20050303004752.V16908@sasami.jurai.net> In-Reply-To: <20050303004752.V16908@sasami.jurai.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Thinkpad 600e interrupt storm X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 00:04:09 -0000 Matthew N. Dodd wrote: > On Wed, 2 Mar 2005, Understudy wrote: > >> I read through the man pages now that this is loaded how do I find >> this smapi config ? I have a smapi_config.c smapi_config.o. But I >> don't see in it what you are looking for. > > > You untar ftp://ftp.jurai.net/users/winter/smapi.tar.gz > > This creates a hierarchy in your current directory so do this in > /tmp. As root run the following commands: 'cd /tmp/usr.sbin/smapi' > and then 'make all install'. > > The 'smapi' command will be installed in /usr/sbin which should be in > root's path. Run it. Its got pretty reasonable usage instructions. > okay , I am getting an error message. Slacker# cp smapi.tar.gz /tmp/ Slacker# cd /tmp Slacker# tar zxvf smapi.tar.gz Slacker# cd /tmp/usr.sbin/smapi Slacker# make all install --Lots of compiling stuff-- smapi_config.o smapi_power.o smapi_action.o bcd.o gzip -cn smapi.8 > smapi.8.gz install -s -o root -g wheel -m 555 smapi usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... *** Error code 64 Stop in /tmp/usr.sbin/smapi. Ideas? Sincerely, Brendhan From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 7 06:39:25 2005 Return-Path: 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 4070116A4CE for ; Mon, 7 Mar 2005 06:39:25 +0000 (GMT) Received: from smtpclu-1.eunet.yu (smtpclu-1.eunet.yu [194.247.192.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id E241643D1F for ; Mon, 7 Mar 2005 06:39:23 +0000 (GMT) (envelope-from kolicz@EUnet.yu) Received: from mycenae.net (P-2.18.EUnet.yu [213.240.2.18]) by smtpclu-1.eunet.yu (8.12.11/8.12.11) with ESMTP id j276dLmP025617 for ; Mon, 7 Mar 2005 07:39:21 +0100 Received: by mycenae.net (Postfix, from userid 1001) id 98E4160DA; Mon, 7 Mar 2005 07:40:38 +0100 (CET) Date: Mon, 7 Mar 2005 07:40:38 +0100 From: Zoran Kolic To: freebsd-mobile@freebsd.org Message-ID: <20050307064038.GA575@mycenae.net> References: <20050306120017.C424516A51C@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050306120017.C424516A51C@hub.freebsd.org> Subject: Re: Out of battery indicator. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 06:39:25 -0000 I use asapm with: apm_enable="YES" even I use acpi for reading. It is little cute app on x ser- ver that uses 1.6 mb of ram. Not acpi solution, but could help until it comes. Best regards ZK From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 7 16:30:35 2005 Return-Path: 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 7764116A4CE for ; Mon, 7 Mar 2005 16:30:35 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 4A90F43D1D for ; Mon, 7 Mar 2005 16:30:34 +0000 (GMT) (envelope-from incmc@gmx.de) Received: (qmail invoked by alias); 07 Mar 2005 16:30:32 -0000 Received: from pD9E6E5D2.dip.t-dialin.net (EHLO ms.homeip.net) (217.230.229.210) by mail.gmx.net (mp013) with SMTP; 07 Mar 2005 17:30:32 +0100 X-Authenticated: #15946415 Received: from [10.0.0.1] (helo=[10.0.0.13]) by ms.homeip.net with esmtpsa (TLSv1:AES256-SHA:256) id 1D8LBT-000AGX-KK; Mon, 07 Mar 2005 17:34:19 +0100 Message-ID: <422C81A6.5070202@gmx.de> Date: Mon, 07 Mar 2005 17:30:30 +0100 From: Jochen Gensch User-Agent: Mozilla Thunderbird 1.0 (X11/20050215) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rong-En Fan , freebsd-mobile@freebsd.org References: <200502281016.aa49779@salmon.maths.tcd.ie> <200502282026.aa38504@salmon.maths.tcd.ie> <6eb82e05030219447bdda412@mail.gmail.com> <6eb82e050305050284084ca@mail.gmail.com> <422B6BC9.2010107@gmx.de> <6eb82e0503070812602d564@mail.gmail.com> In-Reply-To: <6eb82e0503070812602d564@mail.gmail.com> X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: Using VESA to restore display settings on resume X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 16:30:35 -0000 Rong-En Fan wrote: > here: > > http://groups.google.com.tw/groups?q=%2B%2B%2B+//depot/user/jhb/acpipci/dev/drm/drm_bufs.h+2005/02/25+19:55:35&hl=zh-TW&lr=&client=firefox-a&rls=org.mozilla:zh-TW:official&selm=1109640216.00247169.1109627405%4010.7.7.3&rnum=1 2 out of 4 hunks failed, I guess this patch doesn't apply to Current.... Jochen From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 7 16:54:20 2005 Return-Path: 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 DFFE616A4CE for ; Mon, 7 Mar 2005 16:54:20 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F53943D39 for ; Mon, 7 Mar 2005 16:54:20 +0000 (GMT) (envelope-from freebsd-mobile@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1D8LMT-0000yL-7S for freebsd-mobile@freebsd.org; Mon, 07 Mar 2005 17:45:42 +0100 Received: from office.wingnet.net ([216.64.98.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Mar 2005 17:45:41 +0100 Received: from jesse by office.wingnet.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Mar 2005 17:45:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-mobile@freebsd.org From: Jesse Guardiani Date: Mon, 07 Mar 2005 11:47:11 -0500 Organization: WingNET Lines: 136 Message-ID: References: <20050304223630.1CCD15D07@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: office.wingnet.net User-Agent: KNode/0.8.2 X-Mail-Copies-To: never Sender: news X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-MailScanner-From: freebsd-mobile@m.gmane.org X-MailScanner-To: freebsd-mobile@freebsd.org Subject: Re: Thinkpad Thermals X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 16:54:21 -0000 Kevin Oberman wrote: >> From: Jesse Guardiani >> Date: Fri, 04 Mar 2005 05:09:46 -0500 >> Sender: owner-freebsd-mobile@freebsd.org >> >> Kevin Oberman wrote: >> >> >> From: Jesse Guardiani >> >> Date: Fri, 04 Mar 2005 13:01:21 -0500 >> >> Sender: owner-freebsd-mobile@freebsd.org >> >> >> >> Howdy! >> >> >> >> My IBM Thinkpad A30p's ATI video chip got cooked last year, >> >> leaving me with an unreadable screen full of artifacts. I >> >> finally bought a replacement mobo a few days ago and installed >> >> it this evening. It's now running artifact free! Yay! >> >> >> >> Anyway, I'm no longer running FreeBSD on this laptop. I'm >> >> currently running Gentoo Linux. But it would be trivial >> >> to switch back if needed. >> >> >> >> I'm using gkrellm under linux to monitor my CPU temp, and >> >> I'm noticing that it runs quite hot. The fan doesn't kick >> >> in until the CPU hits 80C! That's a little too close for >> >> comfort, IMO. >> >> >> >> I think I remember seeing other posts from Thinkpad users >> >> mentioning high temps under ACPI. Has anyone found a way >> >> to cool these things down? >> > >> > Jesse, >> > >> > Is it running at or near 80C when idle, when in typical use, or when >> > building something BIG (CPU running at >95% for minutes). >> >> More or less idle. It fluctuates between 70C and 80C. Just playing an >> MP3 I'm at 77C right now. Is this normal acceptable temp for a thinkpad? >> Or should I be targeting the 40C range like I do with my desktop >> machines? >> > Acceptable? I suspect it is, although it seems a bit warm to me, too. My > T30 idles at about 48C and playing MP3s pushes it up about 5 degrees, so > your's is running a bit hotter than mine. > > Laptop CPUs almost always run hotter than desktop systems. Just think > about the fans and the big heat sink on the CPU. Your laptop has no space > for things like that. P4s are especially bad and P4-Ms are just a bit > better. The newer P-Ms (often call Centrino) do MUCH better, but their > internals are very different from the P4..probably more like a > P3. Getting heat out of a laptop is a real problem. Sort of off topic, but interesting. I always thought the Centrino chips were P4-Ms, but I guess not. >> > I believe that the A30p is a P4-M CPU. It will turn itself off (hard, >> > like a power cut-off) before the CPU dies, but that is NOT a good >> > thing. That does not happen until the CPU reaches a frightening 135C. >> >> Actually, I think mine is a P3-M at 1.2ghz. It uses PC133 SODIMMs, and >> /proc/cpuinfo reveals this: >> >> Intel(R) Pentium(R) III Mobile CPU 1200MHz >> >> I think it's the A31p that uses a P4-M. > > Sorry. The P3s generally run much cooler than the P4s. Is your fan > running? It doesn't *seem* to kick in until temp hits 80C. I don't remember seeing anything about this in the BIOS, but I'll certainly look again. > It should be at those temperatures. It's under BIOS control in > my T30, but you would have to dump your ACPI tables to see if there is > any fan control available. Is there a howto for doing this? I can load FreeBSD temporarily on a spare disk if it'll help me get to the bottom of this. >> > If you are running 5-Stable or 6-Current you should load cpufreq and >> > acpi_perf. These will give you a large number of CPU "frequencies" >> > visible in dev.cpu.0 and settable in dev.cpu.0.freq. This provides >> > fine-grained control. >> >> I asked this question here mostly because I know a lot of people on this >> list run Thinkpads, and I remember more than one complaining about >> cooling issues. >> >> Again, I no longer run FreeBSD on this laptop. I run Gentoo. Linux has >> various different daemons capable of throttling the CPU though, and I >> currently have an "on-battery" runlevel setup that runs the speedfreq >> daemon with a preference for "powersave". I could install something in >> my default "on-AC" runlevel that regulates CPU based on load even when >> on AC... >> >> But... is 80C normal under load? Running a frequency daemon won't change >> the under-load temp unless I cap the horsepower or introduce some sort >> of temp related frequency feedback control as you describe below. >> >> Hmmm... well that's interesting: Just to test it out, I unplugged the >> AC and ran it for a while, still playing the same MP3. It leveled out >> at 66C in the "powersave" profile, which means that the CPU is running >> at just 799.457mhz instead of 1199.185mhz (performance). >> >> Is 66C acceptable temp for a laptop? It's definitely a better temp, but >> It would really stink if my 1.2ghz had to be run at just 800mhz all the >> time to avoid cooking things. > > Once again, I can't define "acceptable". It is not so hot as to be > frightening, but it does sound like it's running warmer than I would > expect. Dust? Blocked air intake/outlet? Absolutely not. I just replaced the motherboard myself. It took 2 hours. I was very careful to examine the heatsink for blockage or excessive dust. It's clean, and the fan spins freely. > Those can real impact thermals. And, of course, fan problems can be > a big issue. I'm starting to think that my fan should be running, but isn't. The whole purpose of this post is to see if I can figure out what went wrong last year when my GPU cooked. If the fan should be running, but isn't, then that certainly gives me a place to start. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 7 18:18:48 2005 Return-Path: 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 644B516A4CF for ; Mon, 7 Mar 2005 18:18:48 +0000 (GMT) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id B618943D2F for ; Mon, 7 Mar 2005 18:18:47 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0ICZ0073GUMATFB0@bgo1smout1.broadpark.no> for freebsd-mobile@freebsd.org; Mon, 07 Mar 2005 19:13:22 +0100 (CET) Received: from kg-work.kg4.no ([80.202.72.152]) by bgo1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0ICZ00LKBUYJ8MG0@bgo1sminn1.broadpark.no> for freebsd-mobile@freebsd.org; Mon, 07 Mar 2005 19:20:44 +0100 (CET) Date: Mon, 07 Mar 2005 19:01:46 +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 In-reply-to: To: freebsd-mobile@freebsd.org Message-id: <20050307190146.02505ab6.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 1.0.0beta3 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20050304223630.1CCD15D07@ptavv.es.net> Subject: Re: Thinkpad Thermals X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 18:18:48 -0000 On Mon, 07 Mar 2005 11:47:11 -0500 Jesse Guardiani wrote: > Sort of off topic, but interesting. I always thought the Centrino > chips were P4-Ms, but I guess not. More correctly; Centrino is Intel's brand name for specific combinations of processor, chipset and wireless chips for laptops. See http://www.intel.com/centrino/ for more info. -- Regards, Torfinn Ingolfsen, Norway From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 7 18:18:48 2005 Return-Path: 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 E15C316A4CE for ; Mon, 7 Mar 2005 18:18:48 +0000 (GMT) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90D7C43D2F for ; Mon, 7 Mar 2005 18:18:48 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0ICZ007NCUMBT9A0@bgo1smout1.broadpark.no> for freebsd-mobile@freebsd.org; Mon, 07 Mar 2005 19:13:23 +0100 (CET) Received: from kg-work.kg4.no ([80.202.72.152]) by bgo1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0ICZ00LKHUYK8MG0@bgo1sminn1.broadpark.no> for freebsd-mobile@freebsd.org; Mon, 07 Mar 2005 19:20:44 +0100 (CET) Date: Mon, 07 Mar 2005 19:17:10 +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 In-reply-to: <20050306155155.48074.qmail@web61008.mail.yahoo.com> To: freebsd-mobile@freebsd.org Message-id: <20050307191710.5076f612.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 1.0.0beta3 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20050306155155.48074.qmail@web61008.mail.yahoo.com> Subject: Re: Averatec 3250H1-01 (problem: S3G UniChrome Graphics) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 18:18:49 -0000 On Sun, 06 Mar 2005 07:51:55 -0800 (PST) Scorpion wrote: > This laptop has a S3G UniChrome Graphics which I > havent been able to configure. A little Googling turned up a patch for OpenBSD: http://www.webservertalk.com/message933450.html some Linux info: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=131403 and some NetBSD info: http://groups-beta.google.com/group/mailing.netbsd.help/browse_thread/thread/b8a1e2ef3e370a15/d0e2c7e4289e14a9?q=s3+unichrome+freebsd#d0e2c7e4289e14a9 http://groups-beta.google.com/group/mailing.netbsd.bugs/browse_thread/thread/d52dcd3085ec7a72/65743ff287818ecd?q=s3+unichrome+freebsd#65743ff287818ecd And finally, a couple of Sourceforge projects: http://sourceforge.net/projects/unichrome/ http://sourceforge.net/projects/cle266dfb/ Perhaps some of this will help. -- Regards, Torfinn Ingolfsen, Norway From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 7 19:14:20 2005 Return-Path: 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 62A8E16A4CE for ; Mon, 7 Mar 2005 19:14:20 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 546AA43D5C for ; Mon, 7 Mar 2005 19:14:19 +0000 (GMT) (envelope-from freebsd-mobile@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1D8NaX-0001Qp-3U for freebsd-mobile@freebsd.org; Mon, 07 Mar 2005 20:08:21 +0100 Received: from jesse.guardiani.us ([216.64.98.233]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Mar 2005 20:08:21 +0100 Received: from jesse by jesse.guardiani.us with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Mar 2005 20:08:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-mobile@freebsd.org From: Jesse Guardiani Date: Mon, 07 Mar 2005 02:18:28 -0500 Organization: WingNET Lines: 41 Message-ID: References: <20050304223630.1CCD15D07@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: jesse.guardiani.us User-Agent: KNode/0.8.2 X-Mail-Copies-To: never Sender: news X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-MailScanner-From: freebsd-mobile@m.gmane.org X-MailScanner-To: freebsd-mobile@freebsd.org Subject: Re: Thinkpad Thermals X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 19:14:20 -0000 Jesse Guardiani wrote: > Kevin Oberman wrote: [...] >>> Is 66C acceptable temp for a laptop? It's definitely a better temp, but >>> It would really stink if my 1.2ghz had to be run at just 800mhz all the >>> time to avoid cooking things. >> >> Once again, I can't define "acceptable". It is not so hot as to be >> frightening, but it does sound like it's running warmer than I would >> expect. Dust? Blocked air intake/outlet? > > Absolutely not. I just replaced the motherboard myself. It took 2 hours. > I was very careful to examine the heatsink for blockage or excessive dust. > It's clean, and the fan spins freely. > > >> Those can real impact thermals. And, of course, fan problems can be >> a big issue. > > I'm starting to think that my fan should be running, but isn't. The > whole purpose of this post is to see if I can figure out what went wrong > last year when my GPU cooked. If the fan should be running, but isn't, > then that certainly gives me a place to start. OK, I can't find any fan speed settings in the BIOS. I have LCD settings, CPU settings, and performance profiles, but nothing for fan speed. I think the fan is running, as I can hear a faint humming from the vent port, even when the HDD is sleeping. I can't feel any air on my hand though. Where should I start looking to tweak this thing via ACPI? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 7 19:23:22 2005 Return-Path: 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 E278516A4CE for ; Mon, 7 Mar 2005 19:23:22 +0000 (GMT) Received: from brev.sics.se (brev.sics.se [193.10.64.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C84843D48 for ; Mon, 7 Mar 2005 19:23:22 +0000 (GMT) (envelope-from bengta@P142.sics.se) Received: from P142.sics.se (P142.sics.se [193.10.66.253]) by brev.sics.se (8.12.8/8.12.8) with ESMTP id j27JNHo3015595; Mon, 7 Mar 2005 20:23:18 +0100 env-to () env-from (bengta@P142.sics.se) Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.13.1/8.13.1) with ESMTP id j27JNKaT001475; Mon, 7 Mar 2005 20:23:20 +0100 (CET) (envelope-from bengta@P142.sics.se) Received: (from bengta@localhost) by P142.sics.se (8.13.1/8.13.1/Submit) id j27JNJOU001472; Mon, 7 Mar 2005 20:23:19 +0100 (CET) (envelope-from bengta) To: freebsd-mobile@freebsd.org From: Bengt Ahlgren Date: 07 Mar 2005 20:23:19 +0100 Message-ID: Lines: 72 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new Subject: pccard0: Card has no functions! OR PCI memory range allocation problem? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 19:23:23 -0000 I don't know where to best start explaining this problem, but I'll start with the symptoms. These are the same for 5.3-R and 5.4-PRERELEASE installed two days ago on an IBM TP X40. After kldunload:ing if_ath, no pccard is recognised. For any pccard (16-bit - cardbus is not affected!) it just says: pccard0: Card has no functions! The system has an Atheros mini-PCI wireless card. (If my theory is right, the particular card is irrelevant. I got the same symptoms with if_ipw earlier when I had an Intel Wireless PRO 2100 in the same box.) I have no device driver for the card compiled into the kernel. At boot the kernel says: pcib1: device (null) requested decoded memory range 0xd0200000-0xd020ffff When the if_ath driver is kldload:ed: ath0: mem 0xd0200000-0xd020ffff irq 11 at device 2.0 on pci2 At this point (and also before loading if_ath), inserting a pccard works: pcib1: device pccard0 requested decoded memory range 0xd0200000-0xdfffffff cis mem map 0xd63ab000 (resource: 0xd0240000) pccard0: check_cis_quirks pccard0: CIS version PC Card Standard 5.0 pccard0: CIS info: Lucent Technologies, WaveLAN/IEEE, Version 01.01, (and so on...) After unloading the if_ath driver, it says the following instead: pcib1: device pccard0 requested decoded memory range 0xd0200000-0xdfffffff cis mem map 0xd63ab000 (resource: 0xd0200000) The "(resource: 0xd0200000)" now points to where the mini-PCI card is! The pccard driver contiues with: pccard0: CIS tuple chain: CISTPL_NONE 00 (the above two lines are repeated in total nine times... then:) TOO MANY CIS_NONE CIS is too long -- truncating CISTPL_END ff cis mem map d63ab000 CISTPL_LINKTARGET expected, code 00 observed pccard0: check_cis_quirks pccard0: Card has no functions! cbb0: PC Card card activation failed If I load the if_ath driver again, pccards are again recognised properly. Now to the bottom line: where is the bug? 1) In the if_ath driver module which deallocated a PCI memory range which it didn't allocate (the kernel did at boot). 2) In the PCI memory allocation/deallocation routines which allowed the loadable driver to deallocate a PCI memory range that was allocated at boot. 3) In cbb/pccard which perhaps shouldn't be allowed to use the memory range? 4) Or is the answer that I should not unload drivers for fixed hardware? Bengt From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 7 19:52:08 2005 Return-Path: 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 1C9C516A4D4 for ; Mon, 7 Mar 2005 19:52:08 +0000 (GMT) Received: from lenti.med.umn.edu (lenti.med.umn.edu [128.101.81.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFA0643D53 for ; Mon, 7 Mar 2005 19:52:07 +0000 (GMT) (envelope-from lparsons@mail.ahc.umn.edu) Received: from cress.med.umn.edu (cress.med.umn.edu [160.94.109.52]) by lenti.med.umn.edu (8.9.3p2/8.9.1) with ESMTP id NAA28215 for ; Mon, 7 Mar 2005 13:52:03 -0600 (CST) Date: Mon, 7 Mar 2005 13:52:01 -0600 (CST) From: "Lee Parsons (CCGB)" X-X-Sender: lparsons@cress.med.umn.edu To: freebsd-mobile@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: sound in a 5.3 kernel ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 19:52:08 -0000 I have previously been able to run freebsd 5.x on my thinkpad R32. After having had a disk problem, I installed 5.3 on the same system over the weekend (reformatting the freebsd slices in the process) When it came time to build the kernel for sound, however, I got confused. Previously, using the line device pcm Would set up the needed sound support. I read that this is no longer supported in 5.3. I have tried a couple of permutations to solve this, with no luck thus far. My most recent attempt in my kernel was the lines device sound device sound_sbc device "sound_sb16" This kernel doesn't seem to accomplish anything, though. I also tried setting the bootloader to load all the sound drivers, which never did any better than to get me a little bit of sound when starting X (then no sound in X afterwards) What do I need to do? What is the best alternative to the previous "device pcm" line for the kernel? Lee Parsons From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 7 20:06:12 2005 Return-Path: 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 F31AC16A4CE for ; Mon, 7 Mar 2005 20:06:11 +0000 (GMT) Received: from mailtest.sd73.bc.ca (smtp.sd73.bc.ca [142.24.13.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EFA743D46 for ; Mon, 7 Mar 2005 20:06:11 +0000 (GMT) (envelope-from fcash-ml@sd73.bc.ca) Received: from localhost (localhost [127.0.0.1]) by mailtest.sd73.bc.ca (Postfix) with ESMTP id A2774F298F for ; Mon, 7 Mar 2005 12:06:11 -0800 (PST) Received: from mailtest.sd73.bc.ca ([127.0.0.1]) by localhost (mailtest.sd73.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 76953-01-78 for ; Mon, 7 Mar 2005 12:06:10 -0800 (PST) Received: from s9.sbo (s9.sbo [192.168.0.9]) by mailtest.sd73.bc.ca (Postfix) with ESMTP id D41B8F2974 for ; Mon, 7 Mar 2005 12:06:10 -0800 (PST) From: Freddie Cash Organization: School District 73 - Kamloops, BC To: freebsd-mobile@freebsd.org Date: Mon, 7 Mar 2005 12:06:09 -0800 User-Agent: KMail/1.7.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503071206.09934.fcash-ml@sd73.bc.ca> X-Virus-Scanned: by amavisd-new using ClamAV at sd73.bc.ca Subject: Re: sound in a 5.3 kernel ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 20:06:12 -0000 On March 7, 2005 11:52 am, Lee Parsons (CCGB) wrote: > I have previously been able to run freebsd 5.x on my thinkpad R32. > After having had a disk problem, I installed 5.3 on the same system > over the weekend (reformatting the freebsd slices in the process) > When it came time to build the kernel for sound, however, I got > confused. Previously, using the line > device pcm > Would set up the needed sound support. I read that this is no longer > supported in 5.3. I have tried a couple of permutations to solve > this, with no luck thus far. My most recent attempt in my kernel was > the lines > device sound > device sound_sbc > device "sound_sb16" > This kernel doesn't seem to accomplish anything, though. I also > tried setting the bootloader to load all the sound drivers, which > never did any better than to get me a little bit of sound when > starting X (then no sound in X afterwards) > What do I need to do? What is the best alternative to the previous > "device pcm" line for the kernel? Read the comments in /usr/src/UPDATING. Then read the comments in /usr/src/sys/conf/NOTES and /usr/src/sys/i386/conf/NOTES. The two NOTES files will show you all the devices that you can add to the kernel. There's also a section of the Handbook devoted to configuring sound. Read through that as well. And finally, I've posted a How-To / walkthrough for configuring sound on 4.x and 5.x. It's posted in the HowTo forum at http://www.bsdforums.org/forums/ Read through that as well. :) -- Freddie Cash, CCNT CCLP Helpdesk / Network Support Tech. School District 73 (250) 377-HELP [377-4357] fcash-ml@sd73.bc.ca From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 7 20:26:46 2005 Return-Path: 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 4D27916A4CE for ; Mon, 7 Mar 2005 20:26:46 +0000 (GMT) Received: from lenti.med.umn.edu (lenti.med.umn.edu [128.101.81.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E11FD43D1F for ; Mon, 7 Mar 2005 20:26:45 +0000 (GMT) (envelope-from lparsons@mail.ahc.umn.edu) Received: from lenti.med.umn.edu (lparsons@lenti.med.umn.edu [128.101.81.1]) by lenti.med.umn.edu (8.9.3p2/8.9.1) with ESMTP id OAA02852 for ; Mon, 7 Mar 2005 14:26:45 -0600 (CST) Date: Mon, 7 Mar 2005 14:26:44 -0600 (CST) From: "Lee Parsons (CCGB)" X-X-Sender: lparsons@lenti.med.umn.edu To: freebsd-mobile@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: sound in a 5.3 kernel ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 20:26:46 -0000 > Read the comments in /usr/src/UPDATING. Then read the comments > in /usr/src/sys/conf/NOTES and /usr/src/sys/i386/conf/NOTES. The two > NOTES files will show you all the devices that you can add to the > kernel. > There's also a section of the Handbook devoted to configuring sound. > Read through that as well. > And finally, I've posted a How-To / walkthrough for configuring sound on > 4.x and 5.x. It's posted in the HowTo forum at > http://www.bsdforums.org/forums/ Read through that as well. > :) > -- Thanks Freddie! I had read both the NOTES files, and didn't seem to have a /usr/src/UDPATING file. But when I read through your howto I found what I needed. The commands involving "snd_driver" were what I was looking for, it seems. Now that I have my sound working, I just need to figure out how to get the radeon mobility 7000 driver to compile on here. But that will be another thread. For now, VESA works ok. thanks again, Lee Parsons From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 7 22:49:24 2005 Return-Path: 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 92A0616A4CE for ; Mon, 7 Mar 2005 22:49:24 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7381E43D55 for ; Mon, 7 Mar 2005 22:49:23 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j27MmtEd004981; Mon, 7 Mar 2005 15:48:56 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 07 Mar 2005 15:48:55 -0700 (MST) Message-Id: <20050307.154855.74746009.imp@bsdimp.com> To: bengta@sics.se From: Warner Losh In-Reply-To: References: X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: pccard0: Card has no functions! OR PCI memory range allocation problem? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 22:49:24 -0000 > After kldunload:ing if_ath, no pccard is recognised. For any pccard > (16-bit - cardbus is not affected!) it just says: > > pccard0: Card has no functions! Interesting. > The system has an Atheros mini-PCI wireless card. (If my theory is > right, the particular card is irrelevant. I got the same symptoms > with if_ipw earlier when I had an Intel Wireless PRO 2100 in the same > box.) I have no device driver for the card compiled into the kernel. > At boot the kernel says: > > pcib1: device (null) requested decoded memory range 0xd0200000-0xd020ffff OK. That makes sense. The above message really means nothing, and isn't a warning or an error. > When the if_ath driver is kldload:ed: > > ath0: mem 0xd0200000-0xd020ffff irq 11 at device 2.0 on pci2 Good, addresses match. > At this point (and also before loading if_ath), inserting a pccard > works: > > pcib1: device pccard0 requested decoded memory range 0xd0200000-0xdfffffff > cis mem map 0xd63ab000 (resource: 0xd0240000) > pccard0: check_cis_quirks > pccard0: CIS version PC Card Standard 5.0 > pccard0: CIS info: Lucent Technologies, WaveLAN/IEEE, Version 01.01, > (and so on...) > > After unloading the if_ath driver, it says the following instead: > > pcib1: device pccard0 requested decoded memory range 0xd0200000-0xdfffffff > cis mem map 0xd63ab000 (resource: 0xd0200000) Hmmm, looks like you're the first person to hit this bug. I knew it was theoretically possible to provoke it, but never could construct a test case locally that would. > Now to the bottom line: where is the bug? > > 1) In the if_ath driver module which deallocated a PCI memory range > which it didn't allocate (the kernel did at boot). > > 2) In the PCI memory allocation/deallocation routines which allowed > the loadable driver to deallocate a PCI memory range that was > allocated at boot. > > 3) In cbb/pccard which perhaps shouldn't be allowed to use the memory > range? > > 4) Or is the answer that I should not unload drivers for fixed > hardware? 5) On kldunload, the resources shouldn't be freed. Only when then child actually goes away should they be freed. I think this is the heart of the bug. Once this is fixed, all the down stream badness should go away. Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 8 10:28:41 2005 Return-Path: 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 6E29416A4CE for ; Tue, 8 Mar 2005 10:28:41 +0000 (GMT) Received: from brev.sics.se (brev.sics.se [193.10.64.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7CE043D41 for ; Tue, 8 Mar 2005 10:28:40 +0000 (GMT) (envelope-from bengta@P142.sics.se) Received: from P142.sics.se (P142.sics.se [193.10.66.253]) by brev.sics.se (8.12.8/8.12.8) with ESMTP id j28ASao3021086; Tue, 8 Mar 2005 11:28:36 +0100 env-to () env-from (bengta@P142.sics.se) Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.13.1/8.13.1) with ESMTP id j28ASejq062663; Tue, 8 Mar 2005 11:28:40 +0100 (CET) (envelope-from bengta@P142.sics.se) Received: (from bengta@localhost) by P142.sics.se (8.13.1/8.13.1/Submit) id j28ASdjU062660; Tue, 8 Mar 2005 11:28:39 +0100 (CET) (envelope-from bengta) To: freebsd-mobile@freebsd.org References: <20050307.154855.74746009.imp@bsdimp.com> From: Bengt Ahlgren In-Reply-To: Warner Losh's message of "Mon, 07 Mar 2005 15:48:55 -0700 (MST)" Date: 08 Mar 2005 11:28:39 +0100 Message-ID: Lines: 48 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new Subject: Re: pccard0: Card has no functions! OR PCI memory range allocation problem? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 10:28:41 -0000 Warner Losh writes: > > After unloading the if_ath driver, it says the following instead: > > > > pcib1: device pccard0 requested decoded memory range 0xd0200000-0xdfffffff > > cis mem map 0xd63ab000 (resource: 0xd0200000) > > Hmmm, looks like you're the first person to hit this bug. I knew it > was theoretically possible to provoke it, but never could construct a > test case locally that would. > > > Now to the bottom line: where is the bug? > > > > 1) In the if_ath driver module which deallocated a PCI memory range > > which it didn't allocate (the kernel did at boot). > > > > 2) In the PCI memory allocation/deallocation routines which allowed > > the loadable driver to deallocate a PCI memory range that was > > allocated at boot. > > > > 3) In cbb/pccard which perhaps shouldn't be allowed to use the memory > > range? > > > > 4) Or is the answer that I should not unload drivers for fixed > > hardware? > > 5) On kldunload, the resources shouldn't be freed. Only when then > child actually goes away should they be freed. I think this is the > heart of the bug. Once this is fixed, all the down stream badness > should go away. Isn't that the same as 1) or 2)? The driver just calls bus_release_resource(), regardless of whether the hardware or the driver goes away. In the first case, the resource should be deallocated. In the second case, the resource should only be handed to the parent driver, without deallocation. Cardbus devices usually have the complete opposite situation - the hardware goes away, but the driver stays. But what happens with the memory resources in the cardbus case if the driver is unloaded with the card in place? And if the memory resource is not deallocated then, who deallocates when the hardware also goes away? Maybe -stable is a better list for this topic? Should I file a PR? Bengt From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 8 17:37:07 2005 Return-Path: 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 9F34D16A4CE for ; Tue, 8 Mar 2005 17:37:07 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F9E143D31 for ; Tue, 8 Mar 2005 17:37:07 +0000 (GMT) (envelope-from nohuman@gmail.com) Received: by wproxy.gmail.com with SMTP id 70so1850168wra for ; Tue, 08 Mar 2005 09:37:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=hrGDzxPXxMlS32yHRePFaVPL5VZnNrf0k4x9upvHi3u8aDdgymILRc8/xtHMtdzVJ+RVterSXqa38DWx3UFe5jyRWr2s0R5mTz8BPoB4sICRMIqnCOiJmXHzznPamoYwBZ6IMsjv/ihvqlyboftuW5PB1SEkPortdnATOQawHfg= Received: by 10.54.67.2 with SMTP id p2mr36652wra; Tue, 08 Mar 2005 09:37:06 -0800 (PST) Received: by 10.54.31.34 with HTTP; Tue, 8 Mar 2005 09:37:06 -0800 (PST) Message-ID: <5e51d2fd05030809371e1ab999@mail.gmail.com> Date: Tue, 8 Mar 2005 18:37:06 +0100 From: Thomas Beer To: mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Skype Bluetooth X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Thomas Beer List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 17:37:07 -0000 Hi, I'm considering using skype for voip with an IBM t42p and thought if it isn't possible to use a mobile headset via bluetooth. Has anyone experience with such a configuration? Thanks Tom From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 8 17:42:53 2005 Return-Path: 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 331C816A4CE for ; Tue, 8 Mar 2005 17:42:53 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id BACD343D46 for ; Tue, 8 Mar 2005 17:42:52 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 592C23BE50; Tue, 8 Mar 2005 11:42:52 -0600 (CST) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20918-01-19; Tue, 8 Mar 2005 11:42:52 -0600 (CST) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44]) by mailgate1b.savvis.net (Postfix) with ESMTP id 2DA753BE42; Tue, 8 Mar 2005 11:42:52 -0600 (CST) Received: from s228130hz1ew17.apptix-01.savvis.net ([10.146.4.29]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 8 Mar 2005 11:42:46 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew17.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 8 Mar 2005 11:42:42 -0600 Message-ID: <422DE410.10001@savvis.net> Date: Tue, 08 Mar 2005 09:42:40 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Thomas Beer References: <5e51d2fd05030809371e1ab999@mail.gmail.com> In-Reply-To: <5e51d2fd05030809371e1ab999@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Mar 2005 17:42:42.0522 (UTC) FILETIME=[3AD2BBA0:01C52406] X-Virus-Scanned: amavisd-new at savvis.net cc: mobile@freebsd.org Subject: Re: Skype Bluetooth X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 17:42:53 -0000 Thomas, > I'm considering using skype for voip with an IBM t42p and thought > if it isn't possible to use a mobile headset via bluetooth. > Has anyone experience with such a configuration? FreeBSD does not yet have support for bluetooth headsets, sorry. however such support can be added given time and hardware. i'm planning to get me one of these headsets as soon as they get in $20 price range. thanks, max From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 8 17:46:13 2005 Return-Path: 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 11C1E16A4CE for ; Tue, 8 Mar 2005 17:46:13 +0000 (GMT) Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id D956643D2F for ; Tue, 8 Mar 2005 17:46:12 +0000 (GMT) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=roam.psg.com) by rip.psg.com with esmtp (Exim 4.44 (FreeBSD)) id 1D8ima-0006MK-Ek; Tue, 08 Mar 2005 17:46:12 +0000 Received: from localhost ([127.0.0.1] helo=roam.psg.com.psg.com) by roam.psg.com with esmtp (Exim 4.44 (FreeBSD)) id 1D8imY-0003BP-NV; Tue, 08 Mar 2005 07:46:10 -1000 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16941.58593.618196.338413@roam.psg.com> Date: Tue, 8 Mar 2005 07:46:09 -1000 To: Maksim Yevmenkin References: <5e51d2fd05030809371e1ab999@mail.gmail.com> <422DE410.10001@savvis.net> cc: mobile@freebsd.org Subject: Re: Skype Bluetooth X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 17:46:13 -0000 > FreeBSD does not yet have support for bluetooth headsets, sorry. however > such support can be added given time and hardware. i'm planning to get > me one of these headsets as soon as they get in $20 price range. i don't use my nokia headset, and can ship it to you next week when i am back on the left coast of the states. randy From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 8 17:59:04 2005 Return-Path: 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 D997C16A4CE for ; Tue, 8 Mar 2005 17:59:04 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4CD843D1F for ; Tue, 8 Mar 2005 17:59:04 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 49C0E3BE4E; Tue, 8 Mar 2005 11:59:04 -0600 (CST) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20969-01-62; Tue, 8 Mar 2005 11:59:04 -0600 (CST) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44]) by mailgate1b.savvis.net (Postfix) with ESMTP id 22D143BE29; Tue, 8 Mar 2005 11:59:04 -0600 (CST) Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 8 Mar 2005 11:58:54 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 8 Mar 2005 11:58:47 -0600 Message-ID: <422DE7DA.70007@savvis.net> Date: Tue, 08 Mar 2005 09:58:50 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Randy Bush References: <5e51d2fd05030809371e1ab999@mail.gmail.com> <422DE410.10001@savvis.net> <16941.58593.618196.338413@roam.psg.com> In-Reply-To: <16941.58593.618196.338413@roam.psg.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Mar 2005 17:58:47.0717 (UTC) FILETIME=[7A1FCD50:01C52408] X-Virus-Scanned: amavisd-new at savvis.net cc: mobile@freebsd.org Subject: Re: Skype Bluetooth X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 17:59:05 -0000 Randy, >> FreeBSD does not yet have support for bluetooth headsets, sorry. >> however such support can be added given time and hardware. i'm >> planning to get me one of these headsets as soon as they get in $20 >> price range. > > i don't use my nokia headset, and can ship it to you next week when i > am back on the left coast of the states. thanks, but i'd say no need to rush things right now :) last time i tried (which was quite a while ago) i could not get usb isochronous transfers to work on FreeBSD. that is the major reason why FreeBSD does not have support for bluetooth audio/video. i can test usb isochronous transfers with cheap usb webcam (got to get me on of those too :). after i get this working we can talk about bluetooth headsets etc. thanks, max From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 8 19:29:34 2005 Return-Path: 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 7D52E16A4CE for ; Tue, 8 Mar 2005 19:29:34 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54C3443D41 for ; Tue, 8 Mar 2005 19:29:33 +0000 (GMT) (envelope-from freebsd-mobile@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1D8kKS-0006fL-Vi for freebsd-mobile@freebsd.org; Tue, 08 Mar 2005 20:25:17 +0100 Received: from office.wingnet.net ([216.64.98.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Mar 2005 20:25:16 +0100 Received: from jesse by office.wingnet.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Mar 2005 20:25:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-mobile@freebsd.org From: Jesse Guardiani Date: Tue, 08 Mar 2005 14:09:29 -0500 Organization: WingNET Lines: 71 Message-ID: References: <5e51d2fd05030809371e1ab999@mail.gmail.com> <422DE410.10001@savvis.net> <16941.58593.618196.338413@roam.psg.com> <422DE7DA.70007@savvis.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: office.wingnet.net User-Agent: KNode/0.8.2 X-Mail-Copies-To: never Sender: news X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-MailScanner-From: freebsd-mobile@m.gmane.org X-MailScanner-To: freebsd-mobile@freebsd.org Subject: Re: Skype Bluetooth X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 19:29:34 -0000 Maksim Yevmenkin wrote: > Randy, > >>> FreeBSD does not yet have support for bluetooth headsets, sorry. >>> however such support can be added given time and hardware. i'm >>> planning to get me one of these headsets as soon as they get in $20 >>> price range. >> >> i don't use my nokia headset, and can ship it to you next week when i >> am back on the left coast of the states. > > thanks, but i'd say no need to rush things right now :) last time i > tried (which was quite a while ago) i could not get usb isochronous > transfers to work on FreeBSD. that is the major reason why FreeBSD does > not have support for bluetooth audio/video. i can test usb isochronous > transfers with cheap usb webcam (got to get me on of those too :). after > i get this working we can talk about bluetooth headsets etc. Linux's bluetooth support for audio isn't very good yet either. A lot of these things depend on the bluetooth host adapter you're using. Marcel from Bluez recommended the D-Link DBT-120 rev B3 to me when I asked (that's right, rev B4 has a few problems! It has to be B3! ARGH!) My AnyCom USB-240 wouldn't do the job because it had buggy ROM (non upgradeable) firmware. Also, unless the FreeBSD folks build a Bluetooth audio mixer so that BT audio can be mixed with normal system audio, you'll have difficulty using a BT headset with a soft VoIP phone. Unless the VoIP phone supports multiple input/output audio devices at the same time, you'll be stuck using either the system mixer *OR* the Bluetooth mixer. Not both. In other words, receiving a call from your system speakers and microphone, then switching to your BT headset in the middle of the call would be *impossible*. You'd have to hang up the call, reconfigure your phone software to use the BT mixer, then call the person back. This is how it works under Linux currently. I *really* wish those Linux folks would implement a software mixer so that BT audio could be mixed into the normal system audio channels and vice-versa. This sort of thing should definitely be looked into in FreeBSD, especially since we already have virtual dsp device support (kernel level software audio mixing). In addition, "profiles" are not OS based. They are *sometimes* (but not always) hardware bound, and they tend to require application support. So different phone software has the "opportunity" (sarcasm) to implement BT technology in different ways on the same OS, much less across multiple OSes. This is unfortunate, but I don't really see any way around it. Take the headset and handsfree profiles, for example. Most BT headsets support both profiles, but the headset profile is quite limited. The headset profile only allows for microphone and speaker audio from and to the headset. Handsfree, on the other hand, allows for control of the audio stream from the headset device and allows an incoming call to make the headset device "ring" to notify you of an incoming call. (There is no "ring" functionality in the headset profile, AFAIK.) Anyway, if a soft VoIP phone wants to implement handsfree support under Linux, it has to do it itself by interfacing directly with the Bluez library. So, if anyone plans to implement BT headset support in FreeBSD, please do! But be aware of the multitude of issues involved with BT audio. Hardware bugs, headset bugs, application interfaces, audio mixing, etc.... It's all fairly complicated, IMO. Still, I certainly don't think BT audio is going away anytime soon. Cell phones drive the market, currently. Most new phones support BT, and BT headsets are really coming down in price. I bought my BT 1.2 Logitech Mobile Freedom Headset for just $40 shipped. Too bad I have nothing to use it with... :) -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 8 20:44:20 2005 Return-Path: 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 23E8E16A4CE for ; Tue, 8 Mar 2005 20:44:19 +0000 (GMT) Received: from hotmail.com (bay24-f29.bay24.hotmail.com [64.4.18.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE16343D1F for ; Tue, 8 Mar 2005 20:44:19 +0000 (GMT) (envelope-from filippof_it@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 8 Mar 2005 12:44:19 -0800 Message-ID: Received: from 81.208.74.177 by by24fd.bay24.hotmail.msn.com with HTTP; Tue, 08 Mar 2005 20:44:19 GMT X-Originating-IP: [81.208.74.177] X-Originating-Email: [filippof_it@hotmail.com] X-Sender: filippof_it@hotmail.com From: "filippo forti" To: freebsd-mobile@freebsd.org Date: Tue, 08 Mar 2005 20:44:19 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed X-OriginalArrivalTime: 08 Mar 2005 20:44:19.0555 (UTC) FILETIME=[99F60330:01C5241F] Subject: Dell Inspiron 5100 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 20:44:20 -0000 Hello, I'm running -CURRENT on my Inspiron 5100 and, after updating (yesterday) the synaptics touchpad stopped working. Bios is version A32 since two days ago. I haven't tested the mouse bvefore CVSupping and rebuilding the system. With bios version A04, it used to work fine. According to boot -v , this is the error psm0: unable to allocate IRQ psmcpnp0: irq 12 on acpi0 psm0: current command byte:0065 psm0: the aux port is not functioning (-1). Sleep (S3) (which used to work when I had 5.3-STABLE on the laptop) doesn't work. I'm not using a modified DSDT at the moment., as i didn't find any of them for the 5100 using bios A32. Does anybody know how to solve these issues? Thanks for your help, Filippo From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 8 23:07:27 2005 Return-Path: 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 6D2A916A4CE; Tue, 8 Mar 2005 23:07:27 +0000 (GMT) Received: from hawk.dcu.ie (mail.dcu.ie [136.206.1.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F96043D49; Tue, 8 Mar 2005 23:07:26 +0000 (GMT) (envelope-from svan@redbrick.dcu.ie) Received: from deathray.redbrick.dcu.ie (136.206.15.3) by hawk.dcu.ie (7.0.016) id 41108D1900CF519F; Tue, 8 Mar 2005 23:07:26 +0000 Received: from carbon.redbrick.dcu.ie ([2001:770:107:15:206:5bff:fefc:fb70] ident=mail) by deathray.redbrick.dcu.ie with esmtp (Exim 4.31) id 1D8noB-0008PG-Mo; Tue, 08 Mar 2005 23:08:11 +0000 Received: from svan by carbon.redbrick.dcu.ie with local (Exim 3.35 #1 (Debian)) id 1D8nnc-0001ub-00; Tue, 08 Mar 2005 23:07:36 +0000 Date: Tue, 8 Mar 2005 23:07:36 +0000 From: Sarunas Vancevicius To: Josef Karthauser Message-ID: <20050308230736.GA5040@carbon.redbrick.dcu.ie> References: <20050305192153.GA20692@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050305192153.GA20692@genius.tao.org.uk> User-Agent: Mutt/1.5.8i cc: mobile@freebsd.org Subject: Re: Out of battery indicator. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 23:07:27 -0000 On 19:21, Sat 05 Mar 05, Josef Karthauser wrote: > Does anyone have a solution to running out of battery using ACPI (5.3?). > I keep forgetting to plug in my power supply and the machine dies rather > suddenly without beeping or giving me any warning that it was out of > battery. > > Any ideas? I would have thought that this was an O/S task rather than a > third party app task. > > Joe Hi All, For rather complex solution: # kldload speaker # chmod 660 /dev/speaker Checkout source code for battd utility in DragonFly (http://dragonflybsd.org/cvsweb/src/usr.sbin/battd/). Compile, install and run it with something like: $ battd -p 10 -e $HOME/bin/beep_speaker And where $HOME/bin/beep_speaker: #/bin/sh TUNE="l2b.f+.p16a.c+.p l4mne8a2mspg+e8c+f+8b2" /bin/echo $TUNE > /dev/speaker Which will play "opening bars of the theme from Star Trek Classic" when the battery will reach approximately 10%. There are more tunes in src/usr.sbin/spkrtest/spkrtest.sh, and you can always make your own ;-). A long string of 'A's will produce unpleasant beeping, which will remind you to turn on turn on your power supply :-). HTH. Sarunas From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 9 00:33:15 2005 Return-Path: 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 9AA8516A4CE for ; Wed, 9 Mar 2005 00:33:15 +0000 (GMT) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FE2E43D41 for ; Wed, 9 Mar 2005 00:33:13 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id AE9DF85689; Wed, 9 Mar 2005 11:03:10 +1030 (CST) Date: Wed, 9 Mar 2005 11:03:10 +1030 From: Greg 'groggy' Lehey To: filippo forti Message-ID: <20050309003310.GX67848@wantadilla.lemis.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5cJDuji44TeXTx+X" Content-Disposition: inline In-Reply-To: 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 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd-mobile@freebsd.org Subject: Re: Dell Inspiron 5100 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 00:33:15 -0000 --5cJDuji44TeXTx+X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tuesday, 8 March 2005 at 20:44:19 +0000, filippo forti wrote: > > Hello, > > I'm running -CURRENT on my Inspiron 5100 and, after updating (yesterday) > the synaptics touchpad stopped working. In that case, you should check the commit logs and see if anything looks like having caused the problem. If not, send a message to current@, not here. > Bios is version A32 since two days ago. I haven't tested the mouse > bvefore CVSupping and rebuilding the system. With bios version A04, > it used to work fine. Did you have any trouble starting X with that BIOS version? Greg -- See complete headers for address and phone numbers. --5cJDuji44TeXTx+X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCLkRGIubykFB6QiMRAr8PAKCw7+qs3lJ7r+ub7aQ6zr5+pwnyPgCbByRp uMKRKIZ1wz69QO38CdfmmZw= =Xx8F -----END PGP SIGNATURE----- --5cJDuji44TeXTx+X-- From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 9 02:30:21 2005 Return-Path: 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 666E816A4CE for ; Wed, 9 Mar 2005 02:30:21 +0000 (GMT) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17E1D43D5A for ; Wed, 9 Mar 2005 02:30:21 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([138.89.61.25])0.04 <0ID20063XCAJH8O1@vms048.mailsrvcs.net> for freebsd-mobile@freebsd.org; Tue, 08 Mar 2005 20:30:20 -0600 (CST) Date: Tue, 08 Mar 2005 21:30:08 -0500 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: To: jesse@wingnet.net Message-id: <1110335408.881.24.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-type: text/plain; charset=iso-8859-5 Content-transfer-encoding: 8BIT References: <20050304223630.1CCD15D07@ptavv.es.net> cc: freebsd-mobile@freebsd.org Subject: Re: Thinkpad Thermals X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 02:30:21 -0000 On Mon, 2005-03-07 at 02:18 -0500, Jesse Guardiani wrote: > Jesse Guardiani wrote: > > > Kevin Oberman wrote: > > [...] > > >>> Is 66C acceptable temp for a laptop? It's definitely a better temp, but > >>> It would really stink if my 1.2ghz had to be run at just 800mhz all the > >>> time to avoid cooking things. > >> > >> Once again, I can't define "acceptable". It is not so hot as to be > >> frightening, but it does sound like it's running warmer than I would > >> expect. Dust? Blocked air intake/outlet? > > > > Absolutely not. I just replaced the motherboard myself. It took 2 hours. > > I was very careful to examine the heatsink for blockage or excessive dust. > > It's clean, and the fan spins freely. > > > > > >> Those can real impact thermals. And, of course, fan problems can be > >> a big issue. > > > > I'm starting to think that my fan should be running, but isn't. The > > whole purpose of this post is to see if I can figure out what went wrong > > last year when my GPU cooked. If the fan should be running, but isn't, > > then that certainly gives me a place to start. > > OK, I can't find any fan speed settings in the BIOS. I have LCD settings, CPU > settings, and performance profiles, but nothing for fan speed. I think the fan > is running, as I can hear a faint humming from the vent port, even when the > HDD is sleeping. I can't feel any air on my hand though. > > Where should I start looking to tweak this thing via ACPI? > First, you might want to see if your ASL defines any thermal levels and what the values are. Since I am unfamiliar with Linux way of doing these things (and this is FreeBSD mailing list ;), I would use FreeBSD way and you will have to do the mapping. On my laptop (with hacked ASL) output of sysctl hw.acpi.thermal is as follows hw.acpi.thermal.min_runtime: 10 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.tz0.temperature: 48.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 90.0C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 110.0C hw.acpi.thermal.tz0._ACx: 75.0C 70.0C 55.0C -1 -1 -1 -1 -1 -1 -1 Important to your research is '_ACx' line above. It states temperatures that would trigger change in the cooling levels. In my case, they simply change speed of both fans simultaneously. If such line has some sensible values in it and you would like to change them one way or another, you will have to extract your ASL (see ACPI section of the handbook), find something that looks like Method(_AC0) { Return (KELV(0x4B)) } and change value it returns. Actual value must be in 1/10th of Kelvin, so 0C becomes 2733. Remember that lover ACx number corresponds to the higher temperature. In my case AC0 is set to 75C, AC1 to 70C and AC2 to 55C. In my ASL, following method is used to make Kelvin numbers: Method (KELV, 1, NotSerialized) { Store (Arg0, Local1) Multiply (0x0A, Local1, Local1) Add (Local1, 0x0AAC, Local1) Return (Local1) } If your ASL does not provide thermal levels, with some luck you might find your fan control directives tucked somewhere else. In my case (Averatec 3150H) they were called from method responsible for reporting of the current temperature (_TMP). If you can find them, it would be pretty simple to cobble together set of _ACx levels. If you are at that point, let me know and I will send you my ASL before and after the change so you can see what is involved. Good example of building _ACx level and corresponding objects exist in thermal section of the ACPI specification, which IMHO is well written and worth reading prior to attempting any ASL modifications. Finally, way to check whether fan is running is to stick small strip of paper through the fan grill ;) HTH, -- Alexandre "Sunny" Kovalenko (¾ÛÕÚáÐÝÔà ºÞÒÐÛÕÝÚÞ) From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 9 07:41:13 2005 Return-Path: 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 12D1C16A4CE for ; Wed, 9 Mar 2005 07:41:13 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id A11C043D55 for ; Wed, 9 Mar 2005 07:41:12 +0000 (GMT) (envelope-from arvind1@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so70550wri for ; Tue, 08 Mar 2005 23:41:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=jecl35bxGYmjidr9mSX0Mtn5gZhgNKjZ76xfvssV9GwRTIRO8nz6GLsG+VtUuNNwVJ97cwBqi+o+l3T2x0lIYDU/BxI/ftYs1S9aXACXNr5emyVq+1RhnTBealpAPzUiQfpd9LURFAKP1e33EouvPohWsSeUk/mLMFAe3Por9PE= Received: by 10.54.66.12 with SMTP id o12mr483536wra; Tue, 08 Mar 2005 23:41:12 -0800 (PST) Received: by 10.54.26.41 with HTTP; Tue, 8 Mar 2005 23:41:11 -0800 (PST) Message-ID: Date: Tue, 8 Mar 2005 23:41:11 -0800 From: Arvind Srinivasan To: freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: WPA on laptops running FreeBSD 5.3 (hacked a custom driver but having trouble) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Arvind Srinivasan List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 07:41:13 -0000 I hacked a custom ndis driver to use WPA-PSK. The driver pretends to be WEP (so that I can continue to use the existing API's) but under the covers it actually calls the ndis wrapper with WPA OIDs instead of the WEP OIDs. The essential changes I made are a call to OID_802_11_ADD_KEY instead of OID_802_11_ADD_WEP, and NDIS_80211_WEPSTAT_ENC2ENABLED instead of NDIS_80211_WEPSTAT_ENABLED. All the changes are in if_ndis.c:ndis_setstate_80211. I've tried two different cards: Linksys WPC54G and Dell WLAN 1350. Both cards associate fine, but do not get much further than that. I am unable to get an IP address from the NETGEAR router via DHCP, even though the link is up. Note that both cards work fine with the same router in Windows..... Is there anything else I need to do besides provide the right key and encryption method in ndis_setstate_80211? Thanks. ---------------------------------------------------------------------------= ---------------------------- >>>>> "Sam" =3D=3D Sam Leffler writes: Hi, Sam> I have no intention. I believe it is more valuable to spend time Sam> on importing support for newer devices that can support WPA Sam> natively (like Intel). Fully understandable and logical. Sam> OTOH there's nothing to stop someone else from doing it; it should Sam> not be a lot of work. Wish I could code... =C9ric --=20 TP> Les binaires sur fr.* ne sont pas envisageables pour diverses TP> raisons techniques qui ont d=E9j=E0 =E9t=E9 =E9voqu=E9es des centaines= de fois. Les techniques que tu =E9voques sont des techniques de ta m=E8re. -+- C in GNU - Ta m=E8re en short elle administre un serveur de niouzes - From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 9 11:25:29 2005 Return-Path: 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 8057F16A4CE for ; Wed, 9 Mar 2005 11:25:29 +0000 (GMT) Received: from enslaved.homeunix.org (ARennes-351-1-12-9.w82-126.abo.wanadoo.fr [82.126.42.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5998843D2D for ; Wed, 9 Mar 2005 11:25:28 +0000 (GMT) (envelope-from gomor@enslaved.homeunix.org) Received: from enslaved.homeunix.org (localhost.enslaved.lan [127.0.0.1]) by enslaved.homeunix.org (8.13.1/8.13.1) with ESMTP id j29BPVKn067584 for ; Wed, 9 Mar 2005 12:25:31 +0100 (CET) (envelope-from gomor@enslaved.homeunix.org) Received: (from gomor@localhost) by enslaved.homeunix.org (8.13.1/8.13.1/Submit) id j29BPVYF067583 for freebsd-mobile@freebsd.org; Wed, 9 Mar 2005 12:25:31 +0100 (CET) (envelope-from gomor) Date: Wed, 9 Mar 2005 12:25:31 +0100 From: GomoR To: freebsd-mobile@freebsd.org Message-ID: <20050309112531.GA67558@dani.enslaved.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt, and under FreeBSD, obviously ;-) Organization: FreeBSD Network - http://www.gomor.org/ Subject: Sony VAIO, sound card ICH6-like not working X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 11:25:29 -0000 Hello list, I just bought a Sony VAIO VGN-FS195VP. But I haven't been able to make the sound card to work on FreeBSD 5.3-RELEASE nor FreeBSD 5.4-PRERELEASE. Here is pciconv -vl for it: [..] none0@pci0:27:0: class=0x040300 card=0x81bb104d chip=0x26688086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB/FR/FW/FRW Intel High Deficition Audio Controller' class = multimedia [..] I have searched on google and tried many things. For example, I added to my kernel: device smbus device ichsmb device smb device sound And hw.pci.enable_io_modes=1. ACPI is also enabled. The hint hw.pci.enable_unsupported_range is not available on those FreeBSD versions. I cannot change BIOS PnP OS setting, since this option does not exist in it. I modified ich.c to match my sound card ID (changed ICH6ID to mine), since the ID is very similar (was 0x266e8086 and mine is 0x26688086), and the best I can get is: # kldload snd_ich pcm0: mem 0x80000000-0x80003fff irq 16 at device 27.0 on pci0 pcm0: unable to map IO port space device_attach: pcm0 attach returned 6 I'am pretty sure it could work, but have no more ideas. I'am willing to help to make it work. Thank you for your time. Full pciconv -vl: hostb0@pci0:0:0: class=0x060000 card=0x81b7104d chip=0x25908086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' class = bridge subclass = HOST-PCI pcib1@pci0:1:0: class=0x060400 card=0x00000088 chip=0x25918086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' class = bridge subclass = PCI-PCI pcm0@pci0:27:0: class=0x040300 card=0x81bb104d chip=0x26688086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB/FR/FW/FRW Intel High Deficition Audio Controller' class = multimedia uhci0@pci0:29:0: class=0x0c0300 card=0x81b9104d chip=0x26588086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB/FR/FW/FRW USB UHCI Controller' class = serial bus subclass = USB uhci1@pci0:29:1: class=0x0c0300 card=0x81b9104d chip=0x26598086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB/FR/FW/FRW USB UHCI Controller' class = serial bus subclass = USB uhci2@pci0:29:2: class=0x0c0300 card=0x81b9104d chip=0x265a8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB/FR/FW/FRW USB UHCI Controller' class = serial bus subclass = USB uhci3@pci0:29:3: class=0x0c0300 card=0x81b9104d chip=0x265b8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB/FR/FW/FRW USB UHCI Controller' class = serial bus subclass = USB ehci0@pci0:29:7: class=0x0c0320 card=0x81b9104d chip=0x265c8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB/FR/FW/FRW USB 2.0 EHCI Controller' class = serial bus subclass = USB pcib2@pci0:30:0: class=0x060401 card=0x00000050 chip=0x24488086 rev=0xd4 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=0x81b9104d chip=0x26418086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82801FBM ICH6M LPC Interface Bridge' class = bridge subclass = PCI-ISA atapci0@pci0:31:1: class=0x01018a card=0x81b9104d chip=0x266f8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB ICH6 Ultra ATA Storage Controller' class = mass storage subclass = ATA ichsmb0@pci0:31:3: class=0x0c0500 card=0x81b9104d chip=0x266a8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB/FR/FW/FRW SMBus Controller' class = serial bus subclass = SMBus acpi_video0@pci1:0:0: class=0x030000 card=0x81c2104d chip=0x016710de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' class = display subclass = VGA cbb0@pci6:3:0: class=0x060700 card=0x818f104d chip=0xac8e104c rev=0x00 hdr=0x02 vendor = 'Texas Instruments (TI)' class = bridge subclass = PCI-CardBus fwohci0@pci6:3:2: class=0x0c0010 card=0x818f104d chip=0x802e104c rev=0x00 hdr=0x00 vendor = 'Texas Instruments (TI)' class = serial bus subclass = FireWire none0@pci6:3:3: class=0x018000 card=0x8190104d chip=0xac8f104c rev=0x00 hdr=0x00 vendor = 'Texas Instruments (TI)' class = mass storage none1@pci6:4:0: class=0x028000 card=0x27538086 chip=0x42208086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'PRO/Wireless 2200BG Network Connection' class = network fxp0@pci6:8:0: class=0x020000 card=0x81d0104d chip=0x10688086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet -- ^ ___ ___ FreeBSD Network - http://www.GomoR.org/ <-+ | / __ |__/ Systems & Security Engineer | | \__/ | \ ---[ zsh$ alias psed='perl -pe ' ]--- | +--> Net::Packet <=> http://search.cpan.org/~gomor/ <--+ From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 9 11:54:20 2005 Return-Path: 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 2793216A4CE for ; Wed, 9 Mar 2005 11:54:20 +0000 (GMT) Received: from brev.sics.se (brev.sics.se [193.10.64.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C83E43D41 for ; Wed, 9 Mar 2005 11:54:19 +0000 (GMT) (envelope-from bengta@P142.sics.se) Received: from P142.sics.se (P142.sics.se [193.10.66.253]) by brev.sics.se (8.12.8/8.12.8) with ESMTP id j29BsEo3029925; Wed, 9 Mar 2005 12:54:14 +0100 env-to () env-from (bengta@P142.sics.se) Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.13.1/8.13.1) with ESMTP id j29BsJBf000891; Wed, 9 Mar 2005 12:54:19 +0100 (CET) (envelope-from bengta@P142.sics.se) Received: (from bengta@localhost) by P142.sics.se (8.13.1/8.13.1/Submit) id j29BsI3w000888; Wed, 9 Mar 2005 12:54:18 +0100 (CET) (envelope-from bengta) To: freebsd-mobile@freebsd.org References: <20050307.154855.74746009.imp@bsdimp.com> From: Bengt Ahlgren In-Reply-To: Warner Losh's message of "Mon, 07 Mar 2005 15:48:55 -0700 (MST)" Date: 09 Mar 2005 12:54:18 +0100 Message-ID: Lines: 54 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new Subject: Re: pccard0: Card has no functions! OR PCI memory range allocation problem? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 11:54:20 -0000 Warner Losh writes: > > Now to the bottom line: where is the bug? > > > > 1) In the if_ath driver module which deallocated a PCI memory range > > which it didn't allocate (the kernel did at boot). > > > > 2) In the PCI memory allocation/deallocation routines which allowed > > the loadable driver to deallocate a PCI memory range that was > > allocated at boot. > > > > 3) In cbb/pccard which perhaps shouldn't be allowed to use the memory > > range? > > > > 4) Or is the answer that I should not unload drivers for fixed > > hardware? > > 5) On kldunload, the resources shouldn't be freed. Only when then > child actually goes away should they be freed. I think this is the > heart of the bug. Once this is fixed, all the down stream badness > should go away. A little more info from devinfo -u, after boot: 0xd0100e00-0xd01fffff (root0) 0xd0200000-0xd020ffff ---- 0xd0210000-0xd02100ff ---- 0xd0210100-0xd021ffff (root0) 0xd0220000-0xd023ffff (em0) After loading if_ath: 0xd0100e00-0xd01fffff (root0) 0xd0200000-0xd020ffff (ath0) 0xd0210000-0xd02100ff ---- 0xd0210100-0xd021ffff (root0) 0xd0220000-0xd023ffff (em0) After unloading if_ath: 0xd0100e00-0xd020ffff (root0) 0xd0210000-0xd02100ff ---- 0xd0210100-0xd021ffff (root0) 0xd0220000-0xd023ffff (em0) The ath memory resource was merged to the preceding "root0" resource. (And after this, no pccard is recognised.) What does "----" mean in the devinfo printout? After using devinfo, the system once froze up when I inserted a pccard. That never happened before. Bengt From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 9 13:54:07 2005 Return-Path: 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 5514E16A4CE for ; Wed, 9 Mar 2005 13:54:07 +0000 (GMT) Received: from spicerack.michvhf.com (spicerack.michvhf.com [216.234.122.10]) by mx1.FreeBSD.org (Postfix) with SMTP id D360143D2D for ; Wed, 9 Mar 2005 13:54:06 +0000 (GMT) (envelope-from vev@michvhf.com) Received: (qmail 34704 invoked by uid 1002); 2 Mar 2005 21:29:14 -0000 Received: from unknown (HELO paprika.michvhf.com) (216.234.122.12) by spicerack.michvhf.com with SMTP; 2 Mar 2005 21:29:14 -0000 Received: (qmail 25481 invoked by uid 1001); 2 Mar 2005 21:27:37 -0000 Date: Wed, 2 Mar 2005 16:27:37 -0500 (EST) From: Vince Vielhaber To: Pablo Allietti In-Reply-To: <20050302221736.GA5378@omega.lacnic.net.uy> Message-ID: References: <20050302221736.GA5378@omega.lacnic.net.uy> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-mobile@freebsd.org Subject: Re: ndiswrapper X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 13:54:07 -0000 On Wed, 2 Mar 2005, Pablo Allietti wrote: > hi all again. :) > > i have a problem to install ndiswrapper any body have a port for that? > or any instruction to make this package? > > this is my error > > sony# make install > "Makefile", line 1: Need an operator > make: fatal errors encountered -- cannot continue > sony# > > and the make file have this in the first line. i add to > #!/usr/local/bin/bash but nothing happend. That error usually indicates you need gmake, unless there's some junk in that line. And you don't want #!/usr/local/bin/bash in the makefile. Vince. -- Fast, inexpensive internet service 56k and beyond! http://www.pop4.net/ http://www.meanstreamradio.com http://www.unknown-artists.com Online radio: It's not file sharing, it's just radio. From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 9 14:21:16 2005 Return-Path: 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 82FCF16A4CF for ; Wed, 9 Mar 2005 14:21:16 +0000 (GMT) Received: from omega.lacnic.net.uy (lacnic.net.uy [200.40.228.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98CD843D2D for ; Wed, 9 Mar 2005 14:21:15 +0000 (GMT) (envelope-from pablo@omega.lacnic.net.uy) Received: from omega.lacnic.net.uy (localhost.localdomain [127.0.0.1]) by omega.lacnic.net.uy (8.12.11/8.12.5) with ESMTP id j29FLaKh006058; Wed, 9 Mar 2005 12:21:36 -0300 Received: (from pablo@localhost) by omega.lacnic.net.uy (8.12.11/8.12.5/Submit) id j29FLa9Y006057; Wed, 9 Mar 2005 12:21:36 -0300 Date: Wed, 9 Mar 2005 12:21:36 -0300 From: Pablo Allietti To: Vince Vielhaber Message-ID: <20050309152136.GA4625@omega.lacnic.net.uy> References: <20050302221736.GA5378@omega.lacnic.net.uy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Operating-System: Freebsd 5.3 X-Organization: LACNIC X-URL: http://lacnic.net/ X-Lacnic-MailScanner-Information: Please contact Lacnic for more information (lacnic at lacnic.net) X-Lacnic-MailScanner: Found to be clean X-MailScanner-From: pablo@omega.lacnic.net.uy cc: freebsd-mobile@freebsd.org cc: Pablo Allietti Subject: Re: ndiswrapper X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 14:21:16 -0000 On Wed, Mar 02, 2005 at 04:27:37PM -0500, Vince Vielhaber wrote: > On Wed, 2 Mar 2005, Pablo Allietti wrote: > > > hi all again. :) > > > > i have a problem to install ndiswrapper any body have a port for that? > > or any instruction to make this package? > > > > this is my error > > > > sony# make install > > "Makefile", line 1: Need an operator > > make: fatal errors encountered -- cannot continue > > sony# > > > > and the make file have this in the first line. i add to > > #!/usr/local/bin/bash but nothing happend. > > That error usually indicates you need gmake, unless there's some > junk in that line. And you don't want #!/usr/local/bin/bash in no i try with gmake at the same error :(:( > the makefile. > > Vince. > -- > Fast, inexpensive internet service 56k and beyond! http://www.pop4.net/ > http://www.meanstreamradio.com http://www.unknown-artists.com > Online radio: It's not file sharing, it's just radio. > _______________________________________________ > 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" ---end quoted text--- -- Pablo Allietti LACNIC -------------- From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 9 14:58:55 2005 Return-Path: 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 BAD5A16A4CE for ; Wed, 9 Mar 2005 14:58:55 +0000 (GMT) Received: from enslaved.homeunix.org (ARennes-351-1-12-9.w82-126.abo.wanadoo.fr [82.126.42.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60BF043D1D for ; Wed, 9 Mar 2005 14:58:54 +0000 (GMT) (envelope-from gomor@enslaved.homeunix.org) Received: from enslaved.homeunix.org (localhost.enslaved.lan [127.0.0.1]) by enslaved.homeunix.org (8.13.1/8.13.1) with ESMTP id j29EwvcZ068548 for ; Wed, 9 Mar 2005 15:58:57 +0100 (CET) (envelope-from gomor@enslaved.homeunix.org) Received: (from gomor@localhost) by enslaved.homeunix.org (8.13.1/8.13.1/Submit) id j29EwuGm068547 for freebsd-mobile@freebsd.org; Wed, 9 Mar 2005 15:58:56 +0100 (CET) (envelope-from gomor) Date: Wed, 9 Mar 2005 15:58:56 +0100 From: GomoR To: freebsd-mobile@freebsd.org Message-ID: <20050309145856.GA68528@dani.enslaved.lan> References: <20050309112531.GA67558@dani.enslaved.lan> <2fd864e05030906355912f27b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2fd864e05030906355912f27b@mail.gmail.com> User-Agent: Mutt, and under FreeBSD, obviously ;-) Organization: FreeBSD Network - http://www.gomor.org/ Subject: Re: Sony VAIO, sound card ICH6-like not working X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 14:58:55 -0000 On Wed, Mar 09, 2005 at 08:35:03AM -0600, Astrodog wrote: [..] > Have you tried doing a "kldload snd_*"? That will > generally tell you if any of the drivers will work. Yes, it was the first thing I tried, and found that ich may be the good driver for my card. -- ^ ___ ___ FreeBSD Network - http://www.GomoR.org/ <-+ | / __ |__/ Systems & Security Engineer | | \__/ | \ ---[ zsh$ alias psed='perl -pe ' ]--- | +--> Net::Packet <=> http://search.cpan.org/~gomor/ <--+ From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 9 17:36:18 2005 Return-Path: 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 C60C516A4CE for ; Wed, 9 Mar 2005 17:36:18 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55EC943D31 for ; Wed, 9 Mar 2005 17:36:18 +0000 (GMT) (envelope-from arvind1@gmail.com) Received: by wproxy.gmail.com with SMTP id 70so271736wra for ; Wed, 09 Mar 2005 09:36:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=g1IAlDNJQot1wo7liBbuU0gA3tlMCPOUVa7/Jzi1X1dsL4mEZ5+3+0+p8HMJ/0T3Z85Lk3Ant2rekvIjb5d/1iN+TrqkiPzeFRCvd3gsg6qu13h089YMQLjbaX4GeT+fbhrXonnrunq5gm2Oh0twqDKhaJGY3BbOQoywWct/NKs= Received: by 10.54.84.20 with SMTP id h20mr453447wrb; Wed, 09 Mar 2005 09:36:17 -0800 (PST) Received: by 10.54.26.41 with HTTP; Wed, 9 Mar 2005 09:36:17 -0800 (PST) Message-ID: Date: Wed, 9 Mar 2005 09:36:17 -0800 From: Arvind Srinivasan To: freebsd-mobile@freebsd.org In-Reply-To: <2fd864e05030906332fb7c65e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: <2fd864e05030906332fb7c65e@mail.gmail.com> Subject: Re: WPA on laptops running FreeBSD 5.3 (hacked a custom driver but having trouble) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Arvind Srinivasan List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 17:36:19 -0000 Good idea - I'll add the sysctls this weekend. I also need to figure out why the link is up but cannot get anything to transmit over it. Maybe the 6-CURRENT code has some pointers .... On Wed, 9 Mar 2005 08:33:20 -0600, Astrodog wrote: > On Tue, 8 Mar 2005 23:41:11 -0800, Arvind Srinivasan = wrote: > > I hacked a custom ndis driver to use WPA-PSK. The driver pretends to > > be WEP (so that I can continue to use the existing API's) but under > > the covers it actually calls the ndis wrapper with WPA OIDs instead of > > the WEP OIDs. > > > > The essential changes I made are a call to OID_802_11_ADD_KEY instead > > of OID_802_11_ADD_WEP, and NDIS_80211_WEPSTAT_ENC2ENABLED instead of > > NDIS_80211_WEPSTAT_ENABLED. > > All the changes are in if_ndis.c:ndis_setstate_80211. > > > > I've tried two different cards: Linksys WPC54G and Dell WLAN 1350. > > Both cards associate fine, but do not get much further than that. I am > > unable to get an IP address from the NETGEAR router via DHCP, even > > though the link is up. > > Note that both cards work fine with the same router in Windows..... > > > > Is there anything else I need to do besides provide the right key and > > encryption method in ndis_setstate_80211? > > > > Thanks. > > -----------------------------------------------------------------------= -------------------------------- > > > > >>>>> "Sam" =3D=3D Sam Leffler writes: > > > > Hi, > > > > Sam> I have no intention. I believe it is more valuable to spend time > > Sam> on importing support for newer devices that can support WPA > > Sam> natively (like Intel). > > > > Fully understandable and logical. > > > > Sam> OTOH there's nothing to stop someone else from doing it; it shoul= d > > Sam> not be a lot of work. > > > > Wish I could code... > > > > =C9ric > > > > -- > > TP> Les binaires sur fr.* ne sont pas envisageables pour diverses > > TP> raisons techniques qui ont d=E9j=E0 =E9t=E9 =E9voqu=E9es des centa= ines de fois. > > Les techniques que tu =E9voques sont des techniques de ta m=E8re. > > -+- C in GNU - Ta m=E8re en short elle administre un serveur de niouze= s - > > _______________________________________________ > > freebsd-mobile@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.or= g" > > >=20 > Might want to see if you can make it a sysctl/tunable to switch > between the two modes, if it was, I could atleast give it a shot on my > laptop. Lemme know if you get it to that point, even if it isn't > entirely functional, and I'll be all over it. :) > From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 9 17:37:50 2005 Return-Path: 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 8517716A4CE for ; Wed, 9 Mar 2005 17:37:50 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BF6843D69 for ; Wed, 9 Mar 2005 17:37:50 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.91] (sam@[66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j29Hbmms059717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Mar 2005 09:37:49 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <422F34CF.4020206@errno.com> Date: Wed, 09 Mar 2005 09:39:27 -0800 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Arvind Srinivasan References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: WPA on laptops running FreeBSD 5.3 (hacked a custom driver but having trouble) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 17:37:50 -0000 Arvind Srinivasan wrote: > I hacked a custom ndis driver to use WPA-PSK. The driver pretends to > be WEP (so that I can continue to use the existing API's) but under > the covers it actually calls the ndis wrapper with WPA OIDs instead of > the WEP OIDs. > > The essential changes I made are a call to OID_802_11_ADD_KEY instead > of OID_802_11_ADD_WEP, and NDIS_80211_WEPSTAT_ENC2ENABLED instead of > NDIS_80211_WEPSTAT_ENABLED. > All the changes are in if_ndis.c:ndis_setstate_80211. I don't understand why didn't use the existing API's that work with wpa_supplicant? > > I've tried two different cards: Linksys WPC54G and Dell WLAN 1350. > Both cards associate fine, but do not get much further than that. I am > unable to get an IP address from the NETGEAR router via DHCP, even > though the link is up. > Note that both cards work fine with the same router in Windows..... > > Is there anything else I need to do besides provide the right key and > encryption method in ndis_setstate_80211? Do your drivers implement a WPA supplicant in the kernel? If not you need a supplicant to use WPA in station mode. wpa_supplicant is the right program for this and to use it with FreeBSD you need to implement ioctl's to get+set keys, set the optional information element with negotiated WPA algorithms, and implement the scan results interface so wpa_supplicant can identify WPA-capable AP's (and probably a couple of other minor bits like enable the privacy bit and handle TKIP countermeasures). I believe there are OID's that map to all these mechanisms as I looked at the M$ spec when I designed the ioctls. Sam From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 9 22:20:04 2005 Return-Path: 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 892F916A4CE for ; Wed, 9 Mar 2005 22:20:04 +0000 (GMT) Received: from smtp800.mail.sc5.yahoo.com (smtp800.mail.sc5.yahoo.com [66.163.168.179]) by mx1.FreeBSD.org (Postfix) with SMTP id 29DFB43D55 for ; Wed, 9 Mar 2005 22:20:04 +0000 (GMT) (envelope-from arvind@celar.us) Received: from unknown (HELO ?127.0.0.1?) (arvind.srinivasan@sbcglobal.net@64.172.61.211 with plain) by smtp800.mail.sc5.yahoo.com with SMTP; 9 Mar 2005 22:20:01 -0000 Message-ID: <422F768D.50203@celar.us> Date: Wed, 09 Mar 2005 14:19:57 -0800 From: Arvind Srinivasan User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sam Leffler References: <422F34CF.4020206@errno.com> In-Reply-To: <422F34CF.4020206@errno.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: WPA on laptops running FreeBSD 5.3 (hacked a custom driver but having trouble) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 22:20:04 -0000 Sam: I implemented it in if_ndis in the kernel because I wanted to get it going in 5.3 for just NDIS and WPA without having to require that a supplicant be running - to emulate the behavior of the utilities under Windows. The setting of keys is working, as well as association with SSIDs that are known to be running WPA. The privacy bit is also working. I did not implement anything relating to TKIP countermeasures, which may be why I am unable to exchange any packets subsequently. Is there way to debug what's going on when I try dhclient on the interface? Thanks. Sam Leffler wrote: > Arvind Srinivasan wrote: > >> I hacked a custom ndis driver to use WPA-PSK. The driver pretends to >> be WEP (so that I can continue to use the existing API's) but under >> the covers it actually calls the ndis wrapper with WPA OIDs instead of >> the WEP OIDs. >> >> The essential changes I made are a call to OID_802_11_ADD_KEY instead >> of OID_802_11_ADD_WEP, and NDIS_80211_WEPSTAT_ENC2ENABLED instead of >> NDIS_80211_WEPSTAT_ENABLED. >> All the changes are in if_ndis.c:ndis_setstate_80211. > > > I don't understand why didn't use the existing API's that work with > wpa_supplicant? > >> >> I've tried two different cards: Linksys WPC54G and Dell WLAN 1350. >> Both cards associate fine, but do not get much further than that. I am >> unable to get an IP address from the NETGEAR router via DHCP, even >> though the link is up. >> Note that both cards work fine with the same router in Windows..... >> >> Is there anything else I need to do besides provide the right key and >> encryption method in ndis_setstate_80211? > > > Do your drivers implement a WPA supplicant in the kernel? If not you > need a supplicant to use WPA in station mode. wpa_supplicant is the > right program for this and to use it with FreeBSD you need to > implement ioctl's to get+set keys, set the optional information > element with negotiated WPA algorithms, and implement the scan results > interface so wpa_supplicant can identify WPA-capable AP's (and > probably a couple of other minor bits like enable the privacy bit and > handle TKIP countermeasures). I believe there are OID's that map to > all these mechanisms as I looked at the M$ spec when I designed the > ioctls. > > Sam > > From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 10 02:56:13 2005 Return-Path: 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 5B0A816A4CE for ; Thu, 10 Mar 2005 02:56:13 +0000 (GMT) Received: from www.raught.net (pcp0010251116pcs.lpaxtn01.pa.comcast.net [68.36.104.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id B042043D49 for ; Thu, 10 Mar 2005 02:56:12 +0000 (GMT) (envelope-from mraught@acm.org) Received: from [192.168.0.2] ([10.0.0.52]) by www.raught.net (8.12.9/8.12.9) with ESMTP id j2A2jtCg018653 for ; Wed, 9 Mar 2005 21:46:01 -0500 (EST) Message-ID: <422F8471.6040006@acm.org> Date: Wed, 09 Mar 2005 18:19:13 -0500 From: "Mark A-J. Raught (from the laptop)" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041204 X-Accept-Language: en-us, en MIME-Version: 1.0 To: mobile@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Activate wireless on Gateway 7325GZ X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 02:56:13 -0000 I have a Gateway 7325GZ. I can't get the wireless activated from FreeBSD 5.3 or the FreeSBIE CD. In windows X(tra)P(oopy) (which I refuse to use!) I need to hit Fn-F2 and it enables the wireless card which then is enabled every time ms-crap loads. Unfotunately the key combination does nothing in FreeBSD. Is there a fix for this, or a different way to activate the card using ifconfig or maybe acpi?!?! The card is a broadcom card which may or may not be supported, but the main thing is to get the wireless to come up, then I can think about making sure I have (or get) a supported card. I can currently use a pc card, but I hate the fact that I have mini-pci and have to use a pc card. Sorry for the MS bashing above, but I get so frustrated when stuff like this is built towards MS without any consideration for other OSes. I didn't think to check for something like this and was so happy when I found a pretty good laptop at a decent price that didn't have any problems with the FreeSBIE CD when I tried it at the store. I thought the wireless not showing up would be a worst case of buy a new minipci card that will work. I never expected something like this! AARRRGH! thanks, -mark From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 10 03:52:39 2005 Return-Path: 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 D153516A4CE for ; Thu, 10 Mar 2005 03:52:39 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67D4843D39 for ; Thu, 10 Mar 2005 03:52:39 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.89] ([66.127.85.89]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j2A3q3ms062835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Mar 2005 19:52:19 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <422FC495.5020006@errno.com> Date: Wed, 09 Mar 2005 19:52:53 -0800 From: Sam Leffler Organization: Errno Consulting User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Arvind Srinivasan References: <422F34CF.4020206@errno.com> <422F768D.50203@celar.us> In-Reply-To: <422F768D.50203@celar.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: WPA on laptops running FreeBSD 5.3 (hacked a custom driver but having trouble) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 03:52:39 -0000 Arvind Srinivasan wrote: > Sam: > I implemented it in if_ndis in the kernel because I wanted to get it > going in 5.3 for just NDIS and WPA without having to require that a > supplicant be running - to emulate the behavior of the utilities under > Windows. > The setting of keys is working, as well as association with SSIDs that > are known to be running WPA. The privacy bit is also working. I did not > implement anything relating to TKIP countermeasures, which may be why I > am unable to exchange any packets subsequently. > Is there way to debug what's going on when I try dhclient on the interface? > Thanks. I think you need to learn more about how WPA works. Your approach will not work unless the drivers you are working with include a supplicant--which they do not (so far as I understand). Sam > > Sam Leffler wrote: > >> Arvind Srinivasan wrote: >> >>> I hacked a custom ndis driver to use WPA-PSK. The driver pretends to >>> be WEP (so that I can continue to use the existing API's) but under >>> the covers it actually calls the ndis wrapper with WPA OIDs instead of >>> the WEP OIDs. >>> >>> The essential changes I made are a call to OID_802_11_ADD_KEY instead >>> of OID_802_11_ADD_WEP, and NDIS_80211_WEPSTAT_ENC2ENABLED instead of >>> NDIS_80211_WEPSTAT_ENABLED. >>> All the changes are in if_ndis.c:ndis_setstate_80211. >> >> >> >> I don't understand why didn't use the existing API's that work with >> wpa_supplicant? >> >>> >>> I've tried two different cards: Linksys WPC54G and Dell WLAN 1350. >>> Both cards associate fine, but do not get much further than that. I am >>> unable to get an IP address from the NETGEAR router via DHCP, even >>> though the link is up. >>> Note that both cards work fine with the same router in Windows..... >>> >>> Is there anything else I need to do besides provide the right key and >>> encryption method in ndis_setstate_80211? >> >> >> >> Do your drivers implement a WPA supplicant in the kernel? If not you >> need a supplicant to use WPA in station mode. wpa_supplicant is the >> right program for this and to use it with FreeBSD you need to >> implement ioctl's to get+set keys, set the optional information >> element with negotiated WPA algorithms, and implement the scan results >> interface so wpa_supplicant can identify WPA-capable AP's (and >> probably a couple of other minor bits like enable the privacy bit and >> handle TKIP countermeasures). I believe there are OID's that map to >> all these mechanisms as I looked at the M$ spec when I designed the >> ioctls. >> >> Sam >> >> > > > _______________________________________________ > 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 Mar 10 04:32:32 2005 Return-Path: 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 0282A16A4CE for ; Thu, 10 Mar 2005 04:32:32 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 861A743D62 for ; Thu, 10 Mar 2005 04:32:31 +0000 (GMT) (envelope-from arvind1@gmail.com) Received: by wproxy.gmail.com with SMTP id 70so451157wra for ; Wed, 09 Mar 2005 20:32:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Q+3IwFPusW9tuVfC0LKf3eiT6fwuEVwqU+mmhgdBdmTx7WyWSg3Yo7vGM/fI3s8oRiNz/v3KC2xCjyhy7mIj1Ga/jg+s2JkSEVVzCSGOONSgsQ4A1yD+mt9tQ1LVjGbEn1UloBPp3XR28TCFrx9CqaJj0mZ0PbIrsTLKZarobeI= Received: by 10.54.84.15 with SMTP id h15mr71467wrb; Wed, 09 Mar 2005 20:32:30 -0800 (PST) Received: by 10.54.26.41 with HTTP; Wed, 9 Mar 2005 20:32:30 -0800 (PST) Message-ID: Date: Wed, 9 Mar 2005 20:32:30 -0800 From: Arvind Srinivasan To: Arvind Srinivasan In-Reply-To: <422F768D.50203@celar.us> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <422F34CF.4020206@errno.com> <422F768D.50203@celar.us> cc: Sam Leffler cc: freebsd-mobile@freebsd.org Subject: Re: WPA on laptops running FreeBSD 5.3 (hacked a custom driver but having trouble) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Arvind Srinivasan List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 04:32:32 -0000 >From what I read, the 4-way handshake for WPA-PSK is the responsibility of the NDIS driver, and after that the link should be up? Would this approach work if I only want WPA-PSK? Thanks. On Wed, 09 Mar 2005 14:19:57 -0800, Arvind Srinivasan wrote: > Sam: > I implemented it in if_ndis in the kernel because I wanted to get it > going in 5.3 for just NDIS and WPA without having to require that a > supplicant be running - to emulate the behavior of the utilities under > Windows. > The setting of keys is working, as well as association with SSIDs that > are known to be running WPA. The privacy bit is also working. I did not > implement anything relating to TKIP countermeasures, which may be why I > am unable to exchange any packets subsequently. > Is there way to debug what's going on when I try dhclient on the interface? > Thanks. > > Sam Leffler wrote: > > > Arvind Srinivasan wrote: > > > >> I hacked a custom ndis driver to use WPA-PSK. The driver pretends to > >> be WEP (so that I can continue to use the existing API's) but under > >> the covers it actually calls the ndis wrapper with WPA OIDs instead of > >> the WEP OIDs. > >> > >> The essential changes I made are a call to OID_802_11_ADD_KEY instead > >> of OID_802_11_ADD_WEP, and NDIS_80211_WEPSTAT_ENC2ENABLED instead of > >> NDIS_80211_WEPSTAT_ENABLED. > >> All the changes are in if_ndis.c:ndis_setstate_80211. > > > > > > I don't understand why didn't use the existing API's that work with > > wpa_supplicant? > > > >> > >> I've tried two different cards: Linksys WPC54G and Dell WLAN 1350. > >> Both cards associate fine, but do not get much further than that. I am > >> unable to get an IP address from the NETGEAR router via DHCP, even > >> though the link is up. > >> Note that both cards work fine with the same router in Windows..... > >> > >> Is there anything else I need to do besides provide the right key and > >> encryption method in ndis_setstate_80211? > > > > > > Do your drivers implement a WPA supplicant in the kernel? If not you > > need a supplicant to use WPA in station mode. wpa_supplicant is the > > right program for this and to use it with FreeBSD you need to > > implement ioctl's to get+set keys, set the optional information > > element with negotiated WPA algorithms, and implement the scan results > > interface so wpa_supplicant can identify WPA-capable AP's (and > > probably a couple of other minor bits like enable the privacy bit and > > handle TKIP countermeasures). I believe there are OID's that map to > > all these mechanisms as I looked at the M$ spec when I designed the > > ioctls. > > > > Sam > > > > > > _______________________________________________ > 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 Mar 10 11:29:30 2005 Return-Path: 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 3700716A4CE for ; Thu, 10 Mar 2005 11:29:30 +0000 (GMT) Received: from enslaved.homeunix.org (ARennes-351-1-45-204.w82-126.abo.wanadoo.fr [82.126.57.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4054743D60 for ; Thu, 10 Mar 2005 11:29:29 +0000 (GMT) (envelope-from gomor@enslaved.homeunix.org) Received: from enslaved.homeunix.org (localhost.enslaved.lan [127.0.0.1]) by enslaved.homeunix.org (8.13.1/8.13.1) with ESMTP id j2ABTYK7076107 for ; Thu, 10 Mar 2005 12:29:34 +0100 (CET) (envelope-from gomor@enslaved.homeunix.org) Received: (from gomor@localhost) by enslaved.homeunix.org (8.13.1/8.13.1/Submit) id j2ABTX6j076106 for freebsd-mobile@freebsd.org; Thu, 10 Mar 2005 12:29:33 +0100 (CET) (envelope-from gomor) Date: Thu, 10 Mar 2005 12:29:33 +0100 From: GomoR To: freebsd-mobile@freebsd.org Message-ID: <20050310112933.GA76088@dani.enslaved.lan> References: <20050309112531.GA67558@dani.enslaved.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050309112531.GA67558@dani.enslaved.lan> User-Agent: Mutt, and under FreeBSD, obviously ;-) Organization: FreeBSD Network - http://www.gomor.org/ Subject: Re: Sony VAIO, sound card ICH6-like not working X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 11:29:30 -0000 Should I do a send-pr for that ? Or maybe try on freebsd-multimedia ? -- ^ ___ ___ FreeBSD Network - http://www.GomoR.org/ <-+ | / __ |__/ Systems & Security Engineer | | \__/ | \ ---[ zsh$ alias psed='perl -pe ' ]--- | +--> Net::Packet <=> http://search.cpan.org/~gomor/ <--+ From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 10 21:19:32 2005 Return-Path: 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 CBA4016A4CE; Thu, 10 Mar 2005 21:19:32 +0000 (GMT) Received: from out-2.mail.amis.net (out-2.mail.amis.net [212.18.32.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D66643D41; Thu, 10 Mar 2005 21:19:31 +0000 (GMT) (envelope-from karel.miklav@siol.net) Received: from localhost (in-3.mail.amis.net [212.18.32.22]) by out-2.mail.amis.net (Postfix) with ESMTP id 5AF9410692C; Thu, 10 Mar 2005 22:19:30 +0100 (CET) Received: from in-3.mail.amis.net ([127.0.0.1]) by localhost (in-3.mail.amis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 48340-03; Thu, 10 Mar 2005 22:19:28 +0100 (CET) Received: from piranha.amis.net (piranha.amis.net [212.18.32.3]) by in-3.mail.amis.net (Postfix) with ESMTP id EC8DEFB99E; Thu, 10 Mar 2005 22:19:27 +0100 (CET) Received: from siol.net (cpe-212-18-37-87.dialup.amis.net [212.18.37.87]) by piranha.amis.net (Postfix) with ESMTP id 5BEA3B2835; Thu, 10 Mar 2005 22:19:26 +0100 (CET) Message-ID: <4230B9DE.6040908@siol.net> Date: Thu, 10 Mar 2005 22:19:26 +0100 From: Karel Miklav User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en, sl, hr MIME-Version: 1.0 References: <20050219040357.47106754@spadger.best.vwh.net> <42197CA3.7050709@understudy.net> <421E331C.10804@siol.net> <20050224181142.B60128@sasami.jurai.net> <421E7780.6050800@understudy.net> <20050224202147.A60128@sasami.jurai.net> <421EAAA5.3090304@understudy.net> <20050225095658.D60128@sasami.jurai.net> <4226996D.3020402@understudy.net> <20050303004752.V16908@sasami.jurai.net> <422B9A6B.6050109@understudy.net> In-Reply-To: <422B9A6B.6050109@understudy.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at amis.net X-Spam-Status: No, hits=-5.838 required=5 tests=ALL_TRUSTED, AWL, BAYES_00, MISSING_HEADERS X-Spam-Level: cc: Understudy cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org Subject: Re: Thinkpad 600e interrupt storm X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 21:19:33 -0000 Understudy wrote: > Slacker# make all install > --Lots of compiling stuff-- > smapi_config.o smapi_power.o smapi_action.o bcd.o > gzip -cn smapi.8 > smapi.8.gz > install -s -o root -g wheel -m 555 smapi > usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > [-o owner] file1 file2 > install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > [-o owner] file1 ... fileN directory > install -d [-v] [-g group] [-m mode] [-o owner] directory ... > *** Error code 64 Brendhan, you can run the utility with ./smapi, or add 'BINDIR=/usr/sbin' to the makefile and 'make all install' again. Does it work for you? I have problems with /dev/mapi0. Maybe Mathew could give us another hint? My session follows... tp# mkdir /temp/x tp# cd /temp/x tp# tar -xf smapi.tar.gz tp# cd usr.sbin/smapi tp# vim Makefile tp# cat Makefile PROG= smapi SRCS= smapi.c smapi_subr.c \ smapi_info.c smapi_config.c smapi_power.c smapi_action.c \ bcd.c WARNS= 2 MAN= smapi.8 CFLAGS+=-I/sys BINDIR=/usr/sbin .include tp# make all install Warning: Object directory not changed from original /tmp/x/usr.sbin/smapi cc -O -pipe -I/sys -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c smapi.c cc -O -pipe -I/sys -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c smapi_subr.c cc -O -pipe -I/sys -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c smapi_info.c cc -O -pipe -I/sys -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c smapi_config.c cc -O -pipe -I/sys -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c smapi_power.c cc -O -pipe -I/sys -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c smapi_action.c cc -O -pipe -I/sys -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c bcd.c cc -O -pipe -I/sys -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -o smapi smapi.o smapi_subr.o smapi_info.o smapi_config.o smapi_power.o smapi_action.o bcd.o gzip -cn smapi.8 > smapi.8.gz install -s -o root -g wheel -m 555 smapi /usr/sbin install -o root -g wheel -m 444 smapi.8.gz /usr/share/man/man8 tp# kldload smapi tp# kldstat Id Refs Address Size Name 1 4 0xc0400000 37c730 kernel 2 14 0xc077d000 537f0 acpi.ko 3 1 0xc1611000 3000 smapi.ko tp# rehash tp# smapi config serial smapi: open(/dev/smapi0, ...): No such file or directory tp# mknod smapi c 0 0 <-- a wild guess tp# smapi config serial smapi: open(/dev/smapi0, ...): No such file or directory tp# uname -a FreeBSD tp.unitedpeople.info 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Thu Mar 10 04:59:01 CET 2005 me@here:/usr/obj/usr/src/sys/TP600E i386 From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 10 21:26:36 2005 Return-Path: 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 E61DC16A4CE for ; Thu, 10 Mar 2005 21:26:36 +0000 (GMT) Received: from sasami.jurai.net (sasami.jurai.net [69.17.104.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BFE743D48 for ; Thu, 10 Mar 2005 21:26:36 +0000 (GMT) (envelope-from winter@jurai.net) Received: from sasami.jurai.net (winter@sasami.jurai.net [69.17.104.113]) by sasami.jurai.net (8.13.1/8.13.1) with ESMTP id j2ALQXGU042097; Thu, 10 Mar 2005 16:26:35 -0500 (EST) (envelope-from winter@jurai.net) Date: Thu, 10 Mar 2005 16:26:32 -0500 (EST) From: "Matthew N. Dodd" To: Karel Miklav In-Reply-To: <4230B9DE.6040908@siol.net> Message-ID: <20050310162340.Q63068@sasami.jurai.net> References: <20050219040357.47106754@spadger.best.vwh.net> <42197CA3.7050709@understudy.net> <421E331C.10804@siol.net> <20050224181142.B60128@sasami.jurai.net> <421E7780.6050800@understudy.net> <20050224202147.A60128@sasami.jurai.net> <421EAAA5.3090304@understudy.net> <20050225095658.D60128@sasami.jurai.net> <4226996D.3020402@understudy.net> <20050303004752.V16908@sasami.jurai.net> <422B9A6B.6050109@understudy.net> <4230B9DE.6040908@siol.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (sasami.jurai.net [69.17.104.113]); Thu, 10 Mar 2005 16:26:35 -0500 (EST) cc: Understudy cc: freebsd-mobile@freebsd.org Subject: Re: Thinkpad 600e interrupt storm X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 21:26:37 -0000 On Thu, 10 Mar 2005, Karel Miklav wrote: > tp# kldload smapi Right, and the kernel will display something like this if it finds it. smapi0: at iomem 0xfe9a0-0xfe9bf on motherboard smapi0: Version: 0.83, Length: 32, Checksum: 0x43 smapi0: Information=0x7 > smapi: open(/dev/smapi0, ...): No such file or directory > tp# mknod smapi c 0 0 <-- a wild guess Nope, not with DEVFS. I'm guessing that the orm(4) driver has claimed that BIOS region. You'll have to load the module from the loader. Add 'smapi_load="YES"' to /boot/loader.conf -- 10 40 80 C0 00 FF FF FF FF C0 00 00 00 00 10 AA AA 03 00 00 00 08 00 From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 10 23:07:34 2005 Return-Path: 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 8216816A4CE for ; Thu, 10 Mar 2005 23:07:34 +0000 (GMT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0126F43D1D for ; Thu, 10 Mar 2005 23:07:34 +0000 (GMT) (envelope-from aiy@ferens.net) Received: from ferens.net ([67.180.9.34]) by comcast.net (sccrmhc11) with ESMTP id <20050310230730011005l8lpe>; Thu, 10 Mar 2005 23:07:31 +0000 Received: from yoleksiyw2k (dhcp-171-69-219-218.cisco.com [171.69.219.218]) (authenticated bits=0) by ferens.net (8.13.1/8.13.1) with ESMTP id j2AN8mop061267 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 10 Mar 2005 15:08:50 -0800 (PST) (envelope-from aiy@ferens.net) Message-Id: <200503102308.j2AN8mop061267@ferens.net> From: "Alexei Yakimovich" To: Date: Thu, 10 Mar 2005 15:07:23 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Thread-Index: AcUlxeqSG/ssSPvYQ36iRayReYZCUw== Subject: Working Cisco 350 Mini PCI card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 23:07:34 -0000 Hello, Does anybody have working Cisco 350 Mini PCI card on FreeBSD 5.3 and up? If does: 1. What firmware version? 2. What driver: an or ndis? If ndis, what version and where can I grab it? My environment: - FreeBSD 5.3-RELEASE and 5.3-p5. - ThinkPad T40 2373-75U. - firmware 5.30 and 5.60 - an and ndis 3.9.16 The most I have is 3 successful pings. After that I'm loosing connection ( I see 'time out' messages). It was on 5.3-p5 with 5.30 firmware and an0. I have successfully built latest ndis driver but I got something like (SIO180...) when I'm trying to bring if up. Thanks, Alexei From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 10 23:46:26 2005 Return-Path: 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 24B2216A4CE for ; Thu, 10 Mar 2005 23:46:26 +0000 (GMT) Received: from host1.communityconnect.com (host1.communityconnect.com [69.10.75.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C0E043D3F for ; Thu, 10 Mar 2005 23:46:25 +0000 (GMT) (envelope-from marius@communityconnect.com) Received: from 192.168.101.26 ([192.168.101.26]) by cci019.hq.communityconnect.com ([192.168.101.243]) with Microsoft Exchange Server HTTP-DAV ; Thu, 10 Mar 2005 23:46:24 +0000 Received: from Daath.hq.communityconnect.com by exchange.hq.communityconnect.com; 10 Mar 2005 18:45:59 -0500 From: "Marius M. Rex" To: Alexei Yakimovich In-Reply-To: <200503102308.j2AN8mop061267@ferens.net> References: <200503102308.j2AN8mop061267@ferens.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Community Connect Inc. Date: Thu, 10 Mar 2005 18:45:58 -0500 Message-Id: <1110498358.13820.131.camel@Daath.hq.communityconnect.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port cc: freebsd-mobile@freebsd.org Subject: Re: Working Cisco 350 Mini PCI card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: marius@communityconnect.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 23:46:26 -0000 On Thu, 2005-03-10 at 15:07 -0800, Alexei Yakimovich wrote: > Hello, > > Does anybody have working Cisco 350 Mini PCI card on FreeBSD 5.3 and up? > If does: > 1. What firmware version? > 2. What driver: an or ndis? If ndis, what version and where can I grab it? > > My environment: > - FreeBSD 5.3-RELEASE and 5.3-p5. > - ThinkPad T40 2373-75U. > - firmware 5.30 and 5.60 > - an and ndis 3.9.16 > > The most I have is 3 successful pings. After that I'm loosing connection ( I > see 'time out' messages). > It was on 5.3-p5 with 5.30 firmware and an0. > I have successfully built latest ndis driver but I got something like > (SIO180...) when I'm trying to bring if up. > > Thanks, > Alexei > > > _______________________________________________ > 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 been using the 'an' device throughout the 5.x series with good results. I am at at 5.3-Stable on my Thinkpad T30 right now. I am guessing your issue would be the firmware. I had to downgrade my firmware to get things working well. I am current at 5.00.01. I have heard that slightly newer firmware versions also work, but having anything too new will cause you problems in my experience. 5.00.01 is still available on the Cisco site, I would suggest downgrading unless someone gives you a better idea. -- Marius M. Rex Community Connect Inc. From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 10 23:53:56 2005 Return-Path: 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 0F14116A4CE for ; Thu, 10 Mar 2005 23:53:56 +0000 (GMT) Received: from out-1.mail.amis.net (out-1.mail.amis.net [212.18.32.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CA4943D31 for ; Thu, 10 Mar 2005 23:53:55 +0000 (GMT) (envelope-from karel.miklav@siol.net) Received: from localhost (in-2.mail.amis.net [212.18.32.19]) by out-1.mail.amis.net (Postfix) with ESMTP id 05E915B51AF; Fri, 11 Mar 2005 00:53:54 +0100 (CET) Received: from in-2.mail.amis.net ([127.0.0.1]) by localhost (in-2.mail.amis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 68317-10; Fri, 11 Mar 2005 00:53:52 +0100 (CET) Received: from piranha.amis.net (piranha.amis.net [212.18.32.3]) by in-2.mail.amis.net (Postfix) with ESMTP id 1F66F22862F; Fri, 11 Mar 2005 00:53:52 +0100 (CET) Received: from siol.net (cpe-212-18-37-115.dialup.amis.net [212.18.37.115]) by piranha.amis.net (Postfix) with ESMTP id 3635BB26C6; Fri, 11 Mar 2005 00:53:51 +0100 (CET) Message-ID: <4230DE0E.4060603@siol.net> Date: Fri, 11 Mar 2005 00:53:50 +0100 From: Karel Miklav User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en, sl, hr MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <20050219040357.47106754@spadger.best.vwh.net> <42197CA3.7050709@understudy.net> <421E331C.10804@siol.net> <20050224181142.B60128@sasami.jurai.net> <421E7780.6050800@understudy.net> <20050224202147.A60128@sasami.jurai.net> <421EAAA5.3090304@understudy.net> <20050225095658.D60128@sasami.jurai.net> <4226996D.3020402@understudy.net> <20050303004752.V16908@sasami.jurai.net> <422B9A6B.6050109@understudy.net> <4230B9DE.6040908@siol.net> <20050310162340.Q63068@sasami.jurai.net> In-Reply-To: <20050310162340.Q63068@sasami.jurai.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at amis.net X-Spam-Status: No, hits=-5.899 required=5 tests=ALL_TRUSTED, BAYES_00 X-Spam-Level: Subject: Re: Thinkpad 600e interrupt storm X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 23:53:56 -0000 Matthew N. Dodd wrote: > Add 'smapi_load="YES"' to /boot/loader.conf Wow, thanks Mathew, it works. What can I expect from your utility, is it a read-only PS2 substitute, or it can be used to poke around too? From owner-freebsd-mobile@FreeBSD.ORG Fri Mar 11 01:14:33 2005 Return-Path: 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 8B4A216A4CE for ; Fri, 11 Mar 2005 01:14:33 +0000 (GMT) Received: from sasami.jurai.net (sasami.jurai.net [69.17.104.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17C9843D1D for ; Fri, 11 Mar 2005 01:14:33 +0000 (GMT) (envelope-from mdodd@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [69.17.104.113]) by sasami.jurai.net (8.13.1/8.13.1) with ESMTP id j2B1ET8U059198; Thu, 10 Mar 2005 20:14:32 -0500 (EST) (envelope-from mdodd@FreeBSD.ORG) Date: Thu, 10 Mar 2005 20:14:29 -0500 (EST) From: "Matthew N. Dodd" X-X-Sender: winter@sasami.jurai.net To: Karel Miklav In-Reply-To: <4230DE0E.4060603@siol.net> Message-ID: <20050310201212.L63068@sasami.jurai.net> References: <20050219040357.47106754@spadger.best.vwh.net> <42197CA3.7050709@understudy.net> <421E331C.10804@siol.net> <20050224181142.B60128@sasami.jurai.net> <421E7780.6050800@understudy.net> <20050224202147.A60128@sasami.jurai.net> <421EAAA5.3090304@understudy.net> <20050225095658.D60128@sasami.jurai.net> <4226996D.3020402@understudy.net> <20050303004752.V16908@sasami.jurai.net> <422B9A6B.6050109@understudy.net> <4230B9DE.6040908@siol.net> <20050310162340.Q63068@sasami.jurai.net> <4230DE0E.4060603@siol.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (sasami.jurai.net [69.17.104.113]); Thu, 10 Mar 2005 20:14:32 -0500 (EST) cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Thinkpad 600e interrupt storm X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 01:14:33 -0000 On Fri, 11 Mar 2005, Karel Miklav wrote: > Wow, thanks Mathew, it works. What can I expect from your utility, is it > a read-only PS2 substitute, or it can be used to poke around too? Read-only. For some reason, any "write" commands result in a reboot. I'd -love- to know what the problem is; the Linux code does pretty much the same thing. Note that the utility will allow you to reboot your system as a result of this bug. -- 10 40 80 C0 00 FF FF FF FF C0 00 00 00 00 10 AA AA 03 00 00 00 08 00 From owner-freebsd-mobile@FreeBSD.ORG Fri Mar 11 05:17:22 2005 Return-Path: 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 E0B6A16A4CE for ; Fri, 11 Mar 2005 05:17:21 +0000 (GMT) Received: from diamond.34sp.com (diamond.34sp.com [195.50.105.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id A600043D4C for ; Fri, 11 Mar 2005 05:17:20 +0000 (GMT) (envelope-from list@understudy.net) Received: (qmail 22137 invoked from network); 11 Mar 2005 05:17:19 -0000 Received: from adsl-11-166-118.mia.bellsouth.net (HELO ?10.0.0.114?) (65.11.166.118) by mcp.34sp.com with SMTP; 11 Mar 2005 05:17:18 -0000 Message-ID: <423129DA.5070801@understudy.net> Date: Fri, 11 Mar 2005 00:17:14 -0500 From: Understudy User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050226 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Karel Miklav References: <20050219040357.47106754@spadger.best.vwh.net> <42197CA3.7050709@understudy.net> <421E331C.10804@siol.net> <20050224181142.B60128@sasami.jurai.net> <421E7780.6050800@understudy.net> <20050224202147.A60128@sasami.jurai.net> <421EAAA5.3090304@understudy.net> <20050225095658.D60128@sasami.jurai.net> <4226996D.3020402@understudy.net> <20050303004752.V16908@sasami.jurai.net> <422B9A6B.6050109@understudy.net> <4230B9DE.6040908@siol.net> In-Reply-To: <4230B9DE.6040908@siol.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: mdodd@freebsd.org cc: freebsd-mobile@freebsd.org Subject: Re: Thinkpad 600e interrupt storm X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 05:17:22 -0000 Karel Miklav wrote: > Understudy wrote: > >> Slacker# make all install >> --Lots of compiling stuff-- >> smapi_config.o smapi_power.o smapi_action.o bcd.o >> gzip -cn smapi.8 > smapi.8.gz >> install -s -o root -g wheel -m 555 smapi >> usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] >> [-o owner] file1 file2 >> install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] >> [-o owner] file1 ... fileN directory >> install -d [-v] [-g group] [-m mode] [-o owner] directory ... >> *** Error code 64 > > > Brendhan, you can run the utility with ./smapi, or add > 'BINDIR=/usr/sbin' to > the makefile and 'make all install' again. Does it work for you? I > have problems > with /dev/mapi0. Maybe Mathew could give us another hint? > > My session follows... > > tp# mkdir /temp/x > tp# cd /temp/x > tp# tar -xf smapi.tar.gz > tp# cd usr.sbin/smapi > tp# vim Makefile > tp# cat Makefile > PROG= smapi > SRCS= smapi.c smapi_subr.c \ > smapi_info.c smapi_config.c smapi_power.c smapi_action.c \ > bcd.c > WARNS= 2 > MAN= smapi.8 > CFLAGS+=-I/sys > BINDIR=/usr/sbin > > .include > tp# make all install > Warning: Object directory not changed from original /tmp/x/usr.sbin/smapi > cc -O -pipe -I/sys -Wsystem-headers -Werror -Wall -Wno-format-y2k > -Wno-uninitialized -c smapi.c > cc -O -pipe -I/sys -Wsystem-headers -Werror -Wall -Wno-format-y2k > -Wno-uninitialized -c smapi_subr.c > cc -O -pipe -I/sys -Wsystem-headers -Werror -Wall -Wno-format-y2k > -Wno-uninitialized -c smapi_info.c > cc -O -pipe -I/sys -Wsystem-headers -Werror -Wall -Wno-format-y2k > -Wno-uninitialized -c smapi_config.c > cc -O -pipe -I/sys -Wsystem-headers -Werror -Wall -Wno-format-y2k > -Wno-uninitialized -c smapi_power.c > cc -O -pipe -I/sys -Wsystem-headers -Werror -Wall -Wno-format-y2k > -Wno-uninitialized -c smapi_action.c > cc -O -pipe -I/sys -Wsystem-headers -Werror -Wall -Wno-format-y2k > -Wno-uninitialized -c bcd.c > cc -O -pipe -I/sys -Wsystem-headers -Werror -Wall -Wno-format-y2k > -Wno-uninitialized -o smapi smapi.o smapi_subr.o smapi_info.o > smapi_config.o smapi_power.o smapi_action.o bcd.o > gzip -cn smapi.8 > smapi.8.gz > install -s -o root -g wheel -m 555 smapi /usr/sbin > install -o root -g wheel -m 444 smapi.8.gz /usr/share/man/man8 > tp# kldload smapi > tp# kldstat > Id Refs Address Size Name > 1 4 0xc0400000 37c730 kernel > 2 14 0xc077d000 537f0 acpi.ko > 3 1 0xc1611000 3000 smapi.ko > tp# rehash > tp# smapi config serial > smapi: open(/dev/smapi0, ...): No such file or directory > tp# mknod smapi c 0 0 <-- a wild guess > tp# smapi config serial > smapi: open(/dev/smapi0, ...): No such file or directory > tp# uname -a > FreeBSD tp.unitedpeople.info 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: > Thu Mar 10 04:59:01 CET 2005 me@here:/usr/obj/usr/src/sys/TP600E i386 > Karel, That is a great instructional. Thank you very much. I am going to try that tomorrow. I will post my results then. Sincerely, Brendhan From owner-freebsd-mobile@FreeBSD.ORG Fri Mar 11 05:22:53 2005 Return-Path: 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 7981516A4CE for ; Fri, 11 Mar 2005 05:22:53 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC01143D41 for ; Fri, 11 Mar 2005 05:22:52 +0000 (GMT) (envelope-from arvind1@gmail.com) Received: by wproxy.gmail.com with SMTP id 70so845251wra for ; Thu, 10 Mar 2005 21:22:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=JhG13aKonalXrxaVZmyE6jYaXuxuygdWcgYup10sxVUnJhstYHPswvo7wVcbB+GoaXUQmkJoJFfxfZBQeUyjpsnHutU9tgka9mJUlC/mK8ScVaSlGkyiHq8x1OY3njH+P23gJoOrZ2VMRvO/RZObDWrYUg1aMn8FV6+RWp9Q8UQ= Received: by 10.54.71.17 with SMTP id t17mr2373376wra; Thu, 10 Mar 2005 21:22:48 -0800 (PST) Received: by 10.54.26.41 with HTTP; Thu, 10 Mar 2005 21:22:44 -0800 (PST) Message-ID: Date: Thu, 10 Mar 2005 21:22:44 -0800 From: Arvind Srinivasan To: freebsd-mobile@freebsd.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <422F34CF.4020206@errno.com> <422F768D.50203@celar.us> Subject: Re: WPA on laptops running FreeBSD 5.3 (hacked a custom driver but having trouble) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Arvind Srinivasan List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 05:22:53 -0000 Thanks. The link is definitely up and the router is sending packets back to the card but they are garbled. I think I may have messed up the encryption? How do the Linksys and Netgear routers convert the ascii passphrase into a PSK? On the laptop, I used pbkdf2_sha1 to convert an ascii password into a 256-bit PSK: pbkdf2_sha1(passphrase, ssid, strlen(ssid), 4096, psk, 32); Then I used the first 128 bits of psk as the encryption key, the next 64 bits as the receive MIC key and the last 64 bits as the transmit key (supplicant mode) to set the key in the NDIS driver. Some more info on the packets received from the router: Each packet's ethertype is unknown (0x888e). They are 113 bytes long and they all start with: 0103 005f fe00 8900 2000 0000 0000 0000 Thanks. Bruce M Simpson wrote: >On Wed, Mar 09, 2005 at 02:19:57PM -0800, Arvind Srinivasan wrote: > >>The setting of keys is working, as well as association with SSIDs that >>are known to be running WPA. The privacy bit is also working. I did not >>implement anything relating to TKIP countermeasures, which may be why I >>am unable to exchange any packets subsequently. >>Is there way to debug what's going on when I try dhclient on the interface? > > >Try ports/net/dhcpdump -- it's a postprocess filter for tcpdump which will >dump the dhcp packets in human readable format. > >BMS > > On Wed, 9 Mar 2005 20:32:30 -0800, Arvind Srinivasan wrote: > From what I read, the 4-way handshake for WPA-PSK is the > responsibility of the NDIS driver, and after that the link should be > up? Would this approach work if I only want WPA-PSK? > Thanks. > > On Wed, 09 Mar 2005 14:19:57 -0800, Arvind Srinivasan wrote: > > Sam: > > I implemented it in if_ndis in the kernel because I wanted to get it > > going in 5.3 for just NDIS and WPA without having to require that a > > supplicant be running - to emulate the behavior of the utilities under > > Windows. > > The setting of keys is working, as well as association with SSIDs that > > are known to be running WPA. The privacy bit is also working. I did not > > implement anything relating to TKIP countermeasures, which may be why I > > am unable to exchange any packets subsequently. > > Is there way to debug what's going on when I try dhclient on the interface? > > Thanks. > > > > Sam Leffler wrote: > > > > > Arvind Srinivasan wrote: > > > > > >> I hacked a custom ndis driver to use WPA-PSK. The driver pretends to > > >> be WEP (so that I can continue to use the existing API's) but under > > >> the covers it actually calls the ndis wrapper with WPA OIDs instead of > > >> the WEP OIDs. > > >> > > >> The essential changes I made are a call to OID_802_11_ADD_KEY instead > > >> of OID_802_11_ADD_WEP, and NDIS_80211_WEPSTAT_ENC2ENABLED instead of > > >> NDIS_80211_WEPSTAT_ENABLED. > > >> All the changes are in if_ndis.c:ndis_setstate_80211. > > > > > > > > > I don't understand why didn't use the existing API's that work with > > > wpa_supplicant? > > > > > >> > > >> I've tried two different cards: Linksys WPC54G and Dell WLAN 1350. > > >> Both cards associate fine, but do not get much further than that. I am > > >> unable to get an IP address from the NETGEAR router via DHCP, even > > >> though the link is up. > > >> Note that both cards work fine with the same router in Windows..... > > >> > > >> Is there anything else I need to do besides provide the right key and > > >> encryption method in ndis_setstate_80211? > > > > > > > > > Do your drivers implement a WPA supplicant in the kernel? If not you > > > need a supplicant to use WPA in station mode. wpa_supplicant is the > > > right program for this and to use it with FreeBSD you need to > > > implement ioctl's to get+set keys, set the optional information > > > element with negotiated WPA algorithms, and implement the scan results > > > interface so wpa_supplicant can identify WPA-capable AP's (and > > > probably a couple of other minor bits like enable the privacy bit and > > > handle TKIP countermeasures). I believe there are OID's that map to > > > all these mechanisms as I looked at the M$ spec when I designed the > > > ioctls. > > > > > > Sam > > > > > > > > > > _______________________________________________ > > 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 Mar 11 19:54:25 2005 Return-Path: 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 B73CC16A4CF for ; Fri, 11 Mar 2005 19:54:25 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FC1543D41 for ; Fri, 11 Mar 2005 19:54:25 +0000 (GMT) (envelope-from giuseppe.magnotta@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so961436wri for ; Fri, 11 Mar 2005 11:54:22 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=NQI1I45O1qcbON8RA/5EKevDKJwlAqcA6bdKKf2jB9VuYWAQe5PV2vbHTjjUc01Rphf9+0g7wT2VAHPdV85/MX5hWDgCVh1HH2DuMhiA4K7bXOxzE2vsActiLo6z1V5T7gU9rhtY7sFk4zoIUmO8WUzoEhGajxrhApLtsi3+Mlo= Received: by 10.54.29.35 with SMTP id c35mr1817499wrc; Fri, 11 Mar 2005 11:54:22 -0800 (PST) Received: by 10.54.14.62 with HTTP; Fri, 11 Mar 2005 11:54:22 -0800 (PST) Message-ID: Date: Fri, 11 Mar 2005 20:54:22 +0100 From: "Dott. Surricani" To: freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: VIA UniChrome & FreeBSD X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Dott. Surricani" List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 19:54:25 -0000 I Have An Acer 1360LM with a VIA UniChrome integrated video. I read previous post but I haven't solved any problem... X "works" with vesa driver... but isn't very usable... Can anyone help me? Thanks From owner-freebsd-mobile@FreeBSD.ORG Fri Mar 11 19:59:05 2005 Return-Path: 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 D813416A4CE for ; Fri, 11 Mar 2005 19:59:05 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F4A443D3F for ; Fri, 11 Mar 2005 19:59:05 +0000 (GMT) (envelope-from giuseppe.magnotta@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so962571wri for ; Fri, 11 Mar 2005 11:59:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=QfSkmEuMVGlaoGzwrJHD/WQ8RN6dDg+L2K5my3L2ThkR4vfAaGI1Sc3KDlUL+F6V5cWkJ3pKNclvPT98Qr2IVHA6IIKIU90fQnVFumopUwoegPCmnOX9QsnmoXJ02NVrnaTfjifm0ly04pR0RmZ5jSQulrv2FoHsTgw7ahiON5I= Received: by 10.54.65.13 with SMTP id n13mr1628776wra; Fri, 11 Mar 2005 11:59:04 -0800 (PST) Received: by 10.54.14.62 with HTTP; Fri, 11 Mar 2005 11:59:03 -0800 (PST) Message-ID: Date: Fri, 11 Mar 2005 20:59:03 +0100 From: "Dott. Surricani" To: freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Problem sound Via1612A X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Dott. Surricani" List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 19:59:06 -0000 I use FreeBSD 5.3-p5 and on my notebook (Acer 1360) with audio VIA1612A the driver that works is snd_via8233. When I try to listen music sometimes The card put littles "zz" "pop" "clip.".... ecc... when i move the mouse or I type... I think is a bug... From owner-freebsd-mobile@FreeBSD.ORG Fri Mar 11 20:08:49 2005 Return-Path: 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 ED45416A4CE for ; Fri, 11 Mar 2005 20:08:49 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CD9543D41 for ; Fri, 11 Mar 2005 20:08:49 +0000 (GMT) (envelope-from giuseppe.magnotta@gmail.com) Received: by wproxy.gmail.com with SMTP id 58so924816wri for ; Fri, 11 Mar 2005 12:08:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=BD/YhTWhz4zwMOkuKhwfSbPXlMEOQIvC4is3gkZ2eLPHWDO1jX5Sg7u4AO9Y6O+eSozUA1ELFvISWJhvv919bklt95EQLs0WZkv3ctskVCsGbr1KLJNv8/9S+i0uxH+j7h7Lur/trY0tUrfp6jpnFQ4YsG+6mdviwFAwyRFmhS4= Received: by 10.54.4.8 with SMTP id 8mr3012473wrd; Fri, 11 Mar 2005 12:08:49 -0800 (PST) Received: by 10.54.14.62 with HTTP; Fri, 11 Mar 2005 12:08:49 -0800 (PST) Message-ID: Date: Fri, 11 Mar 2005 21:08:49 +0100 From: "Dott. Surricani" To: freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Synaptics touchpad X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Dott. Surricani" List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 20:08:50 -0000 How I can make it works? From owner-freebsd-mobile@FreeBSD.ORG Fri Mar 11 21:58:01 2005 Return-Path: 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 7378F16A4CE for ; Fri, 11 Mar 2005 21:58:01 +0000 (GMT) Received: from mail.ambrisko.com (mail.ambrisko.com [64.174.51.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1119043D55 for ; Fri, 11 Mar 2005 21:58:01 +0000 (GMT) (envelope-from ambrisko@ambrisko.com) Received: from server2.ambrisko.com (HELO www.ambrisko.com) (192.168.1.2) by mail.ambrisko.com with ESMTP; 11 Mar 2005 13:58:00 -0800 Received: from ambrisko.com (localhost [127.0.0.1]) by www.ambrisko.com (8.12.11/8.12.9) with ESMTP id j2BLw0ON046288; Fri, 11 Mar 2005 13:58:00 -0800 (PST) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.12.11/8.12.11/Submit) id j2BLw0us046287; Fri, 11 Mar 2005 13:58:00 -0800 (PST) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200503112158.j2BLw0us046287@ambrisko.com> In-Reply-To: <1110498358.13820.131.camel@Daath.hq.communityconnect.com> To: marius@communityconnect.com Date: Fri, 11 Mar 2005 13:58:00 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: Alexei Yakimovich cc: freebsd-mobile@freebsd.org Subject: Re: Working Cisco 350 Mini PCI card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 21:58:01 -0000 Marius M. Rex writes: | On Thu, 2005-03-10 at 15:07 -0800, Alexei Yakimovich wrote: | > Does anybody have working Cisco 350 Mini PCI card on FreeBSD 5.3 and up? | > If does: | > 1. What firmware version? | > 2. What driver: an or ndis? If ndis, what version and where can I grab it? | > | > My environment: | > - FreeBSD 5.3-RELEASE and 5.3-p5. | > - ThinkPad T40 2373-75U. | > - firmware 5.30 and 5.60 | > - an and ndis 3.9.16 | > | > The most I have is 3 successful pings. After that I'm loosing connection ( I | > see 'time out' messages). | > It was on 5.3-p5 with 5.30 firmware and an0. | > I have successfully built latest ndis driver but I got something like | > (SIO180...) when I'm trying to bring if up. | | I have been using the 'an' device throughout the 5.x series with good | results. I am at at 5.3-Stable on my Thinkpad T30 right now. | | I am guessing your issue would be the firmware. I had to downgrade my | firmware to get things working well. I am current at 5.00.01. I have | heard that slightly newer firmware versions also work, but having | anything too new will cause you problems in my experience. 5.00.01 is | still available on the Cisco site, I would suggest downgrading unless | someone gives you a better idea. I agree. I've have limited success in making things work better with newer firmware. I almost thought I had it figured out then after a long time my test machine locked up. So that victory was short lived. I also have MIC started and the HW bits interfaced I do not have the encryption part tied it. That looks to be more of a challenge then I thought ... or that I haven't been inspired enough. I'm not sure if Sam's new stuff does MIC or not. If it does I might be able to tie into that. To be fair I haven't spent enough time on it due to other bugs that have popped up at work with FreeBSD. Doug A. From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 12 00:08:18 2005 Return-Path: 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 B100A16A4CE for ; Sat, 12 Mar 2005 00:08:18 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6380743D3F for ; Sat, 12 Mar 2005 00:08:18 +0000 (GMT) (envelope-from aiy@ferens.net) Received: from ferens.net ([67.180.9.34]) by comcast.net (rwcrmhc12) with ESMTP id <2005031200081701400jj36ge>; Sat, 12 Mar 2005 00:08:17 +0000 Received: from yoleksiyw2k (sj-natpool-220.cisco.com [128.107.248.220]) (authenticated bits=0) by ferens.net (8.13.1/8.13.1) with ESMTP id j2C09gLf065939 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 11 Mar 2005 16:09:44 -0800 (PST) (envelope-from aiy@ferens.net) Message-Id: <200503120009.j2C09gLf065939@ferens.net> From: "Alexei Yakimovich" To: Date: Fri, 11 Mar 2005 16:07:57 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcUly5NP04EJCkOHQGGOH7IPvikesQAySE1A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 In-Reply-To: <1110498358.13820.131.camel@Daath.hq.communityconnect.com> cc: freebsd-mobile@freebsd.org Subject: RE: Working Cisco 350 Mini PCI card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 00:08:18 -0000 Thanks a lot Marius. Two more questions :): 1. I was not able to downgrade my firmware to 5.00 using latest ACU. Should I downgrade ACU as well? I'm using ACU to do it. It's right way? 2. Do you know can I use latest ACU with 5.00 firmware? It seems to me ACU versions are different enough. The latest ACU has a lot more. I don't believe that 'an' driver will follow 'ndis' driver quick enough. Is anybody using latest 'ndis' driver right now? Thanks, Oleksiy > -----Original Message----- > From: Marius M. Rex [mailto:marius@mail.communityconnect.com] > Sent: Thursday, March 10, 2005 3:46 PM > To: Alexei Yakimovich > Cc: freebsd-mobile@freebsd.org > Subject: Re: Working Cisco 350 Mini PCI card > > On Thu, 2005-03-10 at 15:07 -0800, Alexei Yakimovich wrote: > > Hello, > > > > Does anybody have working Cisco 350 Mini PCI card on > FreeBSD 5.3 and up? > > If does: > > 1. What firmware version? > > 2. What driver: an or ndis? If ndis, what version and where > can I grab it? > > > > My environment: > > - FreeBSD 5.3-RELEASE and 5.3-p5. > > - ThinkPad T40 2373-75U. > > - firmware 5.30 and 5.60 > > - an and ndis 3.9.16 > > > > The most I have is 3 successful pings. After that I'm > loosing connection ( I > > see 'time out' messages). > > It was on 5.3-p5 with 5.30 firmware and an0. > > I have successfully built latest ndis driver but I got > something like > > (SIO180...) when I'm trying to bring if up. > > > > Thanks, > > Alexei > > > > > > _______________________________________________ > > 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 been using the 'an' device throughout the 5.x series with good > results. I am at at 5.3-Stable on my Thinkpad T30 right now. > > I am guessing your issue would be the firmware. I had to downgrade my > firmware to get things working well. I am current at 5.00.01. I have > heard that slightly newer firmware versions also work, but having > anything too new will cause you problems in my experience. 5.00.01 is > still available on the Cisco site, I would suggest downgrading unless > someone gives you a better idea. > > > -- > Marius M. Rex > Community Connect Inc. > From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 12 02:23:24 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 664) id 395E316A4CF; Sat, 12 Mar 2005 02:23:24 +0000 (GMT) Date: Sat, 12 Mar 2005 02:23:24 +0000 From: David O'Brien To: Bartosz Fabianowski Message-ID: <20050312022324.GA4899@hub.freebsd.org> References: <422ACE0B.4060503@lumachedelcervello.cjb.net> <422B502C.6090003@chillt.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <422B502C.6090003@chillt.de> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 4.11-STABLE Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: Eugenio cc: freebsd-stable@freebsd.org cc: freebsd-i386@freebsd.org cc: freebsd-mobile@freebsd.org Subject: Re: CPUTYPE=pentium-m X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 02:23:24 -0000 On Sun, Mar 06, 2005 at 07:47:08PM +0100, Bartosz Fabianowski wrote: > >i have read that were some problems compiling the kernel and the > >loader with "pentium-m" in CPUTYPE. are they fixed now? > > I'm the one who filed the original bug report: > http://www.freebsd.org/cgi/query-pr.cgi?pr=75898 .. > I'd assume the answer to this one is yes - it's safe. Personally, I compile > world and kernel as pentium3, but that's just out of laziness. As you can > read in the bug report, the problem is that SSE2 instructions get used by > the kernel and loader before they are enabled. Once the boot gets to the > first userland programs, SSE2 is enabled so any world programs should run > just fine when compiled as pentium-m. Are you saying, all we need to do is commit this diff to make everyone's environment happy? -- -- David (obrien@FreeBSD.org) Index: kern.mk =================================================================== RCS file: /home/ncvs/src/sys/conf/kern.mk,v retrieving revision 1.42 diff -u -r1.42 kern.mk --- kern.mk 14 May 2004 13:35:46 -0000 1.42 +++ kern.mk 12 Mar 2005 02:03:47 -0000 @@ -28,7 +28,8 @@ # cache tag lines) # .if ${MACHINE_ARCH} == "i386" && ${CC} != "icc" -CFLAGS+= -mno-align-long-strings -mpreferred-stack-boundary=2 +CFLAGS+= -mno-align-long-strings -mpreferred-stack-boundary=2 \ + -mno-sse -mno-sse2 INLINE_LIMIT?= 8000 .endif From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 12 05:01:12 2005 Return-Path: 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 3700216A4CE; Sat, 12 Mar 2005 05:01:12 +0000 (GMT) Received: from gate.soum.co.jp (gate.soum.co.jp [202.221.40.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34D3443D2F; Sat, 12 Mar 2005 05:01:11 +0000 (GMT) (envelope-from fujita@soum.co.jp) Received: from mail.soum.co.jp (mail.soum.co.jp [IPv6:2001:240:c4:1:203:baff:fea1:6471]) by gate.soum.co.jp (8.13.3/8.13.3) with ESMTP id j2C51ANK030424; Sat, 12 Mar 2005 14:01:10 +0900 (JST) (envelope-from fujita@soum.co.jp) Received: from localhost (vanilla.soum.co.jp [172.19.2.63]) by mail.soum.co.jp (8.13.3/8.13.3) with ESMTP id j2C519B5001421 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 12 Mar 2005 14:01:09 +0900 (JST) Date: Sat, 12 Mar 2005 14:01:08 +0900 (JST) Message-Id: <20050312.140108.71088219.fujita@soum.co.jp> To: freebsd-mobile@freebsd.org From: FUJITA Kazutoshi X-Face: "; PnIN=f2{%Xj2PnI+zHd.39&Cn1)}br_7:N|2[CbS87Du6#6?|UeqX'&OfyZG-mX#'5T>k/~8X(F,2Mb_pNd8]3Cb1u[kSZjF}J+#`L5(g); List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 05:01:12 -0000 ----Next_Part(Sat_Mar_12_14_01_08_2005_799)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi folks, I've got ThinkPad T43 which has BCM5751M, but it does not work with -current. It needs new device-id entry in bge driver. bge0@pci2:0:0: class=0x020000 card=0x05771014 chip=0x167d14e4 rev=0x11 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5751M NetXtreme Gigabit Ethernet PCI Express' class = network subclass = ethernet Thanks, ----Next_Part(Sat_Mar_12_14_01_08_2005_799)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bge.patch" diff -u sys.orig/dev/bge/if_bge.c sys/dev/bge/if_bge.c --- sys.orig/dev/bge/if_bge.c Thu Jan 6 10:42:30 2005 +++ sys/dev/bge/if_bge.c Sat Mar 12 13:52:33 2005 @@ -163,6 +163,8 @@ "Broadcom BCM5750M Gigabit Ethernet" }, { BCOM_VENDORID, BCOM_DEVICEID_BCM5751, "Broadcom BCM5751 Gigabit Ethernet" }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM5751M, + "Broadcom BCM5751M Gigabit Ethernet" }, { BCOM_VENDORID, BCOM_DEVICEID_BCM5782, "Broadcom BCM5782 Gigabit Ethernet" }, { BCOM_VENDORID, BCOM_DEVICEID_BCM5788, diff -u sys.orig/dev/bge/if_bgereg.h sys/dev/bge/if_bgereg.h --- sys.orig/dev/bge/if_bgereg.h Thu Jan 6 10:42:30 2005 +++ sys/dev/bge/if_bgereg.h Sat Mar 12 13:53:04 2005 @@ -1871,6 +1871,7 @@ #define BCOM_DEVICEID_BCM5750 0x1676 #define BCOM_DEVICEID_BCM5750M 0x167C #define BCOM_DEVICEID_BCM5751 0x1677 +#define BCOM_DEVICEID_BCM5751M 0x167D #define BCOM_DEVICEID_BCM5782 0x1696 #define BCOM_DEVICEID_BCM5788 0x169C #define BCOM_DEVICEID_BCM5901 0x170D ----Next_Part(Sat_Mar_12_14_01_08_2005_799)---- From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 12 05:40:56 2005 Return-Path: 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 7AB8E16A4CE; Sat, 12 Mar 2005 05:40:56 +0000 (GMT) Received: from gate.soum.co.jp (gate.soum.co.jp [202.221.40.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A224043D1D; Sat, 12 Mar 2005 05:40:55 +0000 (GMT) (envelope-from fujita@soum.co.jp) Received: from mail.soum.co.jp (hoth.soum.co.jp [IPv6:2001:240:c4:1:203:baff:fea1:6471]) by gate.soum.co.jp (8.13.3/8.13.3) with ESMTP id j2C5estu031073; Sat, 12 Mar 2005 14:40:54 +0900 (JST) (envelope-from fujita@soum.co.jp) Received: from localhost (vanilla.soum.co.jp [IPv6:2001:240:c4:1:202:b3ff:fe98:8115]) by mail.soum.co.jp (8.13.3/8.13.3) with ESMTP id j2C5er0j003387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 12 Mar 2005 14:40:53 +0900 (JST) Date: Sat, 12 Mar 2005 14:40:52 +0900 (JST) Message-Id: <20050312.144052.23007628.fujita@soum.co.jp> To: freebsd-mobile@freebsd.org From: FUJITA Kazutoshi X-Face: "; PnIN=f2{%Xj2PnI+zHd.39&Cn1)}br_7:N|2[CbS87Du6#6?|UeqX'&OfyZG-mX#'5T>k/~8X(F,2Mb_pNd8]3Cb1u[kSZjF}J+#`L5(g); List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 05:40:56 -0000 ----Next_Part(Sat_Mar_12_14_40_52_2005_246)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi folks, (especially sos ;-) One more patch for ThinkPad T43. -current probes as atapci0: port 0x18c0-0x18cf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.2 on pci0 <..snip..> ad0: 76319MB [155061/16/63] at ata0-master UDMA33 acd0: DVDR at ata1-master UDMA33 pciconf reports as atapci0@pci0:31:2: class=0x010180 card=0x056a1014 chip=0x26538086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801FBM ICH6M SATA Controller' class = mass storage subclass = ATA (but I think it is not SATA controller.) The disk ad0 supports UDMA100(and atapci0 too, maybe), but it falls down to UDMA33. It needs new device-id entry in ata-chipset. Thanks, ----Next_Part(Sat_Mar_12_14_40_52_2005_246)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ata.patch" diff -u sys.orig/dev/ata/ata-chipset.c sys/dev/ata/ata-chipset.c --- sys.orig/dev/ata/ata-chipset.c Sun Jan 2 04:24:25 2005 +++ sys/dev/ata/ata-chipset.c Sat Mar 12 14:16:21 2005 @@ -836,6 +836,7 @@ { ATA_I6300ESB_S1,0, 0, 0x00, ATA_SA150, "Intel 6300ESB" }, { ATA_I6300ESB_R1,0, 0, 0x00, ATA_SA150, "Intel 6300ESB" }, { ATA_I82801FB, 0, 0, 0x00, ATA_UDMA5, "Intel ICH6" }, + { ATA_I82801FB_1, 0, 0, 0x00, ATA_UDMA5, "Intel ICH6" }, { ATA_I82801FB_S1,0, 0, 0x00, ATA_SA150, "Intel ICH6" }, { ATA_I82801FB_R1,0, 0, 0x00, ATA_SA150, "Intel ICH6" }, { 0, 0, 0, 0, 0, 0}}; diff -u sys.orig/dev/ata/ata-pci.h sys/dev/ata/ata-pci.h --- sys.orig/dev/ata/ata-pci.h Wed Dec 8 20:17:38 2004 +++ sys/dev/ata/ata-pci.h Sat Mar 12 14:17:03 2005 @@ -125,6 +125,7 @@ #define ATA_I6300ESB_S1 0x25a38086 #define ATA_I6300ESB_R1 0x25b08086 #define ATA_I82801FB 0x266f8086 +#define ATA_I82801FB_1 0x26538086 #define ATA_I82801FB_S1 0x26518086 #define ATA_I82801FB_R1 0x26528086 ----Next_Part(Sat_Mar_12_14_40_52_2005_246)---- From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 12 07:07:34 2005 Return-Path: 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 19BF616A4CE; Sat, 12 Mar 2005 07:07:34 +0000 (GMT) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.150.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD97A43D1F; Sat, 12 Mar 2005 07:07:33 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 817514EFD55; Sat, 12 Mar 2005 15:07:32 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 7F7904EFD54; Sat, 12 Mar 2005 15:07:32 +0800 (CST) Date: Sat, 12 Mar 2005 15:07:32 +0800 (CST) From: Tai-hwa Liang To: FUJITA Kazutoshi In-Reply-To: <20050312.140108.71088219.fujita@soum.co.jp> Message-ID: <0503121504520.24962@www.mmlab.cse.yzu.edu.tw> References: <20050312.140108.71088219.fujita@soum.co.jp> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-current@freebsd.org cc: freebsd-mobile@freebsd.org Subject: Re: BCM5751M X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 07:07:34 -0000 Hi, Patch committed to -CURRENT, thanks! I'll look for re@'s approval to see whether we can make this change to RELENG_5 before 5.4-RELEASE. -- Cheers, Tai-hwa Liang On Sat, 12 Mar 2005, FUJITA Kazutoshi wrote: > Hi folks, > > > I've got ThinkPad T43 which has BCM5751M, > but it does not work with -current. > It needs new device-id entry in bge driver. > > > bge0@pci2:0:0: class=0x020000 card=0x05771014 chip=0x167d14e4 rev=0x11 hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'BCM5751M NetXtreme Gigabit Ethernet PCI Express' > class = network > subclass = ethernet From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 12 11:53:41 2005 Return-Path: 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 1FF6616A4CE for ; Sat, 12 Mar 2005 11:53:41 +0000 (GMT) Received: from mailhub01.unibe.ch (mailhub01-skge0.unibe.ch [130.92.9.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03E3943D39 for ; Sat, 12 Mar 2005 11:53:40 +0000 (GMT) (envelope-from roth@droopy.unibe.ch) Received: from localhost (scanhub01-eth0.unibe.ch [130.92.254.65]) by mailhub01.unibe.ch (Postfix) with ESMTP id 986F325BA44; Sat, 12 Mar 2005 12:53:37 +0100 (MET) Received: from mailhub01.unibe.ch ([130.92.9.52]) by localhost (scanhub01 [130.92.254.65]) (amavisd-new, port 10024) with LMTP id 27415-15-93; Sat, 12 Mar 2005 12:53:39 +0100 (CET) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub01.unibe.ch (Postfix) with ESMTP id 09BBA25BA1E; Sat, 12 Mar 2005 12:53:36 +0100 (MET) Received: from droopy.unibe.ch (droopy [130.92.64.20]) by asterix.unibe.ch (8.11.7p1+Sun/8.11.7) with ESMTP id j2CBrZ813963; Sat, 12 Mar 2005 12:53:35 +0100 (MET) Received: (from roth@localhost) by droopy.unibe.ch (8.12.10+Sun/8.12.9/Submit) id j2CBs8Af004786; Sat, 12 Mar 2005 12:54:08 +0100 (MET) Date: Sat, 12 Mar 2005 12:54:08 +0100 From: Tobias Roth To: FUJITA Kazutoshi Message-ID: <20050312115408.GA4746@droopy.unibe.ch> Mail-Followup-To: FUJITA Kazutoshi , freebsd-mobile@freebsd.org References: <20050312.140108.71088219.fujita@soum.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050312.140108.71088219.fujita@soum.co.jp> User-Agent: Mutt/1.4i X-message-flag: Warning! Using Outlook is insecure and promotes virus distribution. Please use a different email client. X-Virus-checked: by University of Berne cc: freebsd-mobile@freebsd.org Subject: IBM Thinkpad T43 [was: BCM5751M] X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 11:53:41 -0000 On Sat, Mar 12, 2005 at 02:01:08PM +0900, FUJITA Kazutoshi wrote: > Hi folks, > > > I've got ThinkPad T43 which has BCM5751M, > but it does not work with -current. > It needs new device-id entry in bge driver. Hi How does everything else work with the T43? Can you tell me a bit about compatibility? I'd like to replace my T30 soon (ie before the warranty runs out), and I am considering either a T42p or some T43 model. thanks, t. From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 12 19:46:26 2005 Return-Path: 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 0DE4416A4DC for ; Sat, 12 Mar 2005 19:46:26 +0000 (GMT) Received: from ace.botka.homeunix.org (botka.clnet.cz [213.180.61.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43D0443D4C for ; Sat, 12 Mar 2005 19:46:25 +0000 (GMT) (envelope-from vlado@botka.homeunix.org) Received: by ace.botka.homeunix.org (Postfix, from userid 1001) id 72A364C0E; Sat, 12 Mar 2005 20:46:22 +0100 (CET) Received: from srv (ac.botka.homeunix.org [192.168.1.5]) by ace.botka.homeunix.org (Postfix) with ESMTP id 1E5EB4B94; Sat, 12 Mar 2005 20:46:20 +0100 (CET) Date: Sat, 12 Mar 2005 20:46:20 +0100 (CET) From: Vladimir Botka X-X-Sender: vlado@localhost To: Pablo Allietti In-Reply-To: <20050309152136.GA4625@omega.lacnic.net.uy> Message-ID: <20050312204433.R61877@localhost> References: <20050302221736.GA5378@omega.lacnic.net.uy> <20050309152136.GA4625@omega.lacnic.net.uy> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on ace.botka.homeunix.org cc: freebsd-mobile@freebsd.org Subject: Re: ndiswrapper X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 19:46:26 -0000 Hi, Are you sure, you follow the instructions in: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html (25.3.3.6.3 802.11a & 802.11g Clients) ? Cheers, Vladimir On Wed, 9 Mar 2005, Pablo Allietti wrote: > On Wed, Mar 02, 2005 at 04:27:37PM -0500, Vince Vielhaber wrote: > > On Wed, 2 Mar 2005, Pablo Allietti wrote: > > > > > hi all again. :) > > > > > > i have a problem to install ndiswrapper any body have a port for that? > > > or any instruction to make this package? > > > > > > this is my error > > > > > > sony# make install > > > "Makefile", line 1: Need an operator > > > make: fatal errors encountered -- cannot continue > > > sony# > > > > > > and the make file have this in the first line. i add to > > > #!/usr/local/bin/bash but nothing happend. > > > > That error usually indicates you need gmake, unless there's some > > junk in that line. And you don't want #!/usr/local/bin/bash in > > no i try with gmake at the same error :(:( > > > the makefile. > > > > Vince. > > -- > > Fast, inexpensive internet service 56k and beyond! http://www.pop4.net/ > > http://www.meanstreamradio.com http://www.unknown-artists.com > > Online radio: It's not file sharing, it's just radio. > > _______________________________________________ > > 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" > ---end quoted text--- > > -- > > > Pablo Allietti > LACNIC > -------------- > > _______________________________________________ > 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 Sat Mar 12 21:48:53 2005 Return-Path: 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 B9CD216A4CE; Sat, 12 Mar 2005 21:48:53 +0000 (GMT) Received: from dd3.kasserver.com (dd2718.kasserver.com [81.209.184.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05C3C43D49; Sat, 12 Mar 2005 21:48:53 +0000 (GMT) (envelope-from freebsd@chillt.de) Received: from [192.168.0.5] (dsl-082-083-063-080.arcor-ip.net [82.83.63.80]) by dd3.kasserver.com (Postfix) with ESMTP id 442D39ACBE; Sat, 12 Mar 2005 22:48:49 +0100 (CET) Message-ID: <423363C4.60508@chillt.de> Date: Sat, 12 Mar 2005 22:48:52 +0100 From: Bartosz Fabianowski User-Agent: Mozilla Thunderbird 1.0 (X11/20050202) X-Accept-Language: en-us, en MIME-Version: 1.0 To: obrien@freebsd.org References: <422ACE0B.4060503@lumachedelcervello.cjb.net> <422B502C.6090003@chillt.de> <20050312022324.GA4899@hub.freebsd.org> In-Reply-To: <20050312022324.GA4899@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Eugenio cc: freebsd-stable@freebsd.org cc: freebsd-i386@freebsd.org cc: freebsd-mobile@freebsd.org Subject: Re: CPUTYPE=pentium-m X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 21:48:54 -0000 > Are you saying, all we need to do is commit this diff to make everyone's > environment happy? Obviously, I can't speak for everyone. For me, your patch fixes the kernel. But the loader still causes an exception. That's of course because your patch only affects the kernel itself and not the loader. If it was possible to do a similar tweak for the loader, I am confident it would make the bug go away. From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 12 22:58:19 2005 Return-Path: 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 B2B2B16A4CE for ; Sat, 12 Mar 2005 22:58:19 +0000 (GMT) Received: from diamond.34sp.com (diamond.34sp.com [195.50.105.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FCDF43D41 for ; Sat, 12 Mar 2005 22:58:18 +0000 (GMT) (envelope-from list@understudy.net) Received: (qmail 90956 invoked from network); 12 Mar 2005 22:58:17 -0000 Received: from adsl-11-166-118.mia.bellsouth.net (HELO ?10.0.0.114?) (65.11.166.118) by mcp.34sp.com with SMTP; 12 Mar 2005 22:58:16 -0000 Message-ID: <423373FD.5000506@understudy.net> Date: Sat, 12 Mar 2005 17:58:05 -0500 From: Understudy User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050226 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Matthew N. Dodd" References: <20050219040357.47106754@spadger.best.vwh.net> <42197CA3.7050709@understudy.net> <421E331C.10804@siol.net> <20050224181142.B60128@sasami.jurai.net> <421E7780.6050800@understudy.net> <20050224202147.A60128@sasami.jurai.net> <421EAAA5.3090304@understudy.net> <20050225095658.D60128@sasami.jurai.net> <4226996D.3020402@understudy.net> <20050303004752.V16908@sasami.jurai.net> <422B9A6B.6050109@understudy.net> <4230B9DE.6040908@siol.net> <20050310162340.Q63068@sasami.jurai.net> In-Reply-To: <20050310162340.Q63068@sasami.jurai.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Karel Miklav cc: freebsd-mobile@freebsd.org Subject: Re: Thinkpad 600e interrupt storm X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 22:58:19 -0000 Matthew N. Dodd wrote: > On Thu, 10 Mar 2005, Karel Miklav wrote: > >> tp# kldload smapi > > > Right, and the kernel will display something like this if it finds it. > > smapi0: at iomem 0xfe9a0-0xfe9bf on motherboard > smapi0: Version: 0.83, Length: 32, Checksum: 0x43 > smapi0: Information=0x7 > >> smapi: open(/dev/smapi0, ...): No such file or directory >> tp# mknod smapi c 0 0 <-- a wild guess > > > Nope, not with DEVFS. > > I'm guessing that the orm(4) driver has claimed that BIOS region. > You'll have to load the module from the loader. > > Add 'smapi_load="YES"' to /boot/loader.conf > Thanks for the help here is where I am at. I had the file untarred in /tmp already so I just went from there. Slacker# cd usr.sbin/smapi Slacker# ee Makefile I added BINDIR=/usr/sbin tot he Makefile here. Slacker# make all install Warning: Object directory not changed from original /tmp/usr.sbin/smapi install -s -o root -g wheel -m 555 smapi /usr/sbin install -o root -g wheel -m 444 smapi.8.gz /usr/share/man/man8 Slacker# kldload smapi Slacker# kldstat Id Refs Address Size Name 1 8 0xc0400000 42ec90 kernel 2 1 0xc1560000 4000 logo_saver.ko 3 1 0xc1573000 17000 linux.ko 4 1 0xc19d7000 3000 smapi.ko Slacker# rehash Slacker# smapi config serial [Serial Port Settings] Commands: A/ Serial Port A Settigs B/ Serial Port A Settigs MWAVE/ Serial Port A Settigs Port Enabled IRQ Address ----- -------- ---- ------------------------ A No(No) 255(4) 0x2f3d-0x2f44(0x3f8-0x3ff) B No(No) - - MWAVE Yes(Yes) 3(3) 0x2f8-0x2ff(0x2f8-0x2ff) Note: CMOS settings appear inside of (). Slacker# rehash Slacker# Oaky my question is this do I do this: mknod smapi c 0 0 <-- a wild guess or go for another step like Add 'smapi_load="YES"' to /boot/loader.conf ? Sincerely, Brendhan