From owner-freebsd-mobile@FreeBSD.ORG Mon May 28 10:06:54 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D40FB16A488 for ; Mon, 28 May 2007 10:06:54 +0000 (UTC) (envelope-from quetzal@zone3000.net) Received: from mx1.sitevalley.com (sitevalley.com [209.67.60.43]) by mx1.freebsd.org (Postfix) with SMTP id 75E2013C489 for ; Mon, 28 May 2007 10:06:54 +0000 (UTC) (envelope-from quetzal@zone3000.net) Received: from zone3000.kharkov.ua (HELO localhost) (217.144.69.37) by 209.67.61.254 with SMTP; 28 May 2007 09:40:12 -0000 Date: Mon, 28 May 2007 12:39:45 +0300 From: Nikolay Pavlov To: freebsd-usb@freebsd.org, freebsd-mobile@freebsd.org Message-ID: <20070528093944.GA12606@zone3000.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 6.2-RELEASE-p4 User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: quetzal@zone3000.net Subject: ucom0: could not set data multiplex mode X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2007 10:06:54 -0000 Hi folks. I have an issue with CCU-550 CDMA modem (http://www.cmotech.com/eproduct6-1.htm) on recent current. Every time i am reattaching it i see this error: ucom0: could not set data multiplex mode So in order to work with it i have to reboot after each detache procedure. The only known workaround for this is to delete the "goto bad;" code in /usr/src/sys/dev/usb/umodem.c: printf("%s: could not set data multiplex mode\n", devname); goto bad; Could someone comment on this? P.S. Please cc me, becuase i am not subscribe to freebsd-usb or freebsd-mobile -- ====================================================================== - Best regards, Nikolay Pavlov. <<<----------------------------------- ====================================================================== From owner-freebsd-mobile@FreeBSD.ORG Mon May 28 13:05:22 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 51BEA16A4FA for ; Mon, 28 May 2007 13:05:22 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 1E34113C44B for ; Mon, 28 May 2007 13:05:21 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 9399 invoked from network); 28 May 2007 22:38:40 +1000 Received: from 210-84-60-60.dyn.iinet.net.au (HELO localhost) (210.84.60.60) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 28 May 2007 22:38:39 +1000 Date: Mon, 28 May 2007 22:38:33 +1000 From: Norberto Meijome To: freebsd-mobile@freebsd.org Message-ID: <20070528223833.0b7b3294@localhost> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Working quite well : xorg7.2, DRI, suspend, Radeon Mobility X600 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2007 13:05:22 -0000 Hello everyone, well, for once I'm not writing with a problem, and extremely happy w/FreeBSD :) Over the last year i've been writing to this list with snippets of info on what worked for me and the laptop I'm currently using ( a Thinkpad z60M ). I had an entry for this laptop in the Compatibility list. With the latest software from ports (xorg, mainly) and kernel / world, there have been some good improvements to the whole situation. I've added more info to the entry in the laptop compat list :, http://laptop.bsdgroup.de/freebsd/index.html?action=show_laptop_comment&commentid=29803&laptop=1202 . But here goes with the lot :) Upgrade to xorg 7.2, latest kernel + World to date (2007-05-28). Loading agp and radeon kernel modules, enables DRI to load fine in xorg! it now works quite well with OpenGL: $ kldstat Id Refs Address Size Name 1 31 0xc0400000 4de640 kernel 2 1 0xc08df000 7a68 linprocfs.ko 3 3 0xc08e7000 1f39c linux.ko 4 1 0xc0907000 13be0 snd_hda.ko 5 2 0xc091b000 3dadc sound.ko 6 2 0xc0959000 17920 agp.ko 7 2 0xc0971000 65474 acpi.ko 8 1 0xc09d7000 4c2c acpi_ibm.ko 9 1 0xc09dc000 1d498 kqemu.ko 10 1 0xc09fa000 22140 radeon.ko 11 2 0xc0a1d000 10c68 drm.ko 12 1 0xc5d66000 c000 ipfw.ko 13 1 0xc5de6000 2000 rtc.ko 14 1 0xc5e5e000 7000 aio.ko The video card is a drm0@pci1:0:0: class=0x030000 card=0x058e1014 chip=0x31501002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'M24 1P Radeon Mobility X600' class = display subclass = VGA A year ago, xorg 6.x, no DRI, glxgears would show : [betom@ayiin] [Wed May 10 11:22:41 2006] ~ $ glxgears 3086 frames in 5.4 seconds = 567.330 FPS 3760 frames in 5.0 seconds = 749.966 FPS 3860 frames in 5.0 seconds = 768.628 FPS 3800 frames in 5.0 seconds = 756.635 FPS 3760 frames in 5.0 seconds = 749.888 FPS 3780 frames in 5.0 seconds = 749.527 FPS 3800 frames in 5.0 seconds = 756.423 FPS 3860 frames in 5.0 seconds = 770.521 FPS 3840 frames in 5.0 seconds = 767.983 FPS 3837 frames in 5.0 seconds = 766.985 FPS Currently: [betom@ayiin] [Mon May 28 22:23:12 2007] ~ $ glxgears 8772 frames in 5.0 seconds = 1754.273 FPS 7113 frames in 5.0 seconds = 1422.555 FPS 8184 frames in 5.0 seconds = 1636.676 FPS 8841 frames in 5.0 seconds = 1768.043 FPS 9415 frames in 5.0 seconds = 1882.501 FPS 8845 frames in 5.0 seconds = 1768.976 FPS 9036 frames in 5.0 seconds = 1806.932 FPS 8637 frames in 5.0 seconds = 1727.369 FPS So it's a DEFINITE improvement. There are still some things that need some fixing though: - There are a few cases when, after logging off from X, the video memory seems to be stuck with the old image - GDM doesn't show up at all (although I can type my username and pwd and log in). the session afterwards is the same - things "are" there , but rather useless as they dont show on screen. Zapping the server (Ctrl-Alt-Backspace) works, but doesn't solve the problem. Again, sometimes there is no problem at all. - When using some OpenGL apps (been testing with graphics/mesa-demos), some artifacts appear on the screen. Sometimes only in the area of the GL app, sometimes on the screen overall. For example , http://www.meijome.net/files/freebsd/2007-05-28-22.25.04.jpg On the good side, there hasn't been any lockup that I could attribute to OpenGL / DRI / xorg. When using some games that use, i believe, opengl , like games/warzone2100 in full screen, there is no problem at all (other than hours spent playing :D ) Following messages from mesa-demos apps, I've added R300_SPAN_DISABLE_LOCKING=yes to my X Session environment. the demos worked better when this was set, though I need to find a test case to see whether this affects in any way the screen artifacts I've seen - Composite , although working faster than before , it is definitely slower, even with just drop shadows enabled. I have XFCE4, default composite settings (I haven't played with tuning composite itself) Sound works out of the box with the snd_hda from FreeBSD itself (YEAY!), but I found that it makes the sound a bit choppy under high-cpu loads (buildworld, for instance). Ariff's low latency binaries (sound.ko and snd_hda.ko), build of April 26, 2007 works without any choppiness, and no conflicts with the kernel either. Suspend and resume work fine, with DRI inclusive - it is a single core CPU ( I believe there are still issues with suspend/resume with dual cores. One down side of using xorg7.2 - i can't seem to be able to have 2 keyboard layouts and be able to use the Alt key. I'll put more info into another email when I can -i've gone full 'us' for now.. that's it :) B _________________________ {Beto|Norberto|Numard} Meijome Q. How do you make God laugh? A. Tell him your plans. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-mobile@FreeBSD.ORG Mon May 28 16:33:52 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3F2C16A421 for ; Mon, 28 May 2007 16:33:52 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 5F13F13C457 for ; Mon, 28 May 2007 16:33:52 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [88.88.46.79] (account mc467741@c2i.net HELO [192.168.0.102]) by mailfe05.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 404028381; Mon, 28 May 2007 17:33:49 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 28 May 2007 17:33:38 +0200 User-Agent: KMail/1.9.5 References: <20070528093944.GA12606@zone3000.net> In-Reply-To: <20070528093944.GA12606@zone3000.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705281733.38786.hselasky@c2i.net> Cc: Nikolay Pavlov , freebsd-mobile@freebsd.org Subject: Re: ucom0: could not set data multiplex mode X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2007 16:33:52 -0000 On Monday 28 May 2007 11:39, Nikolay Pavlov wrote: > Hi folks. > I have an issue with CCU-550 CDMA modem > (http://www.cmotech.com/eproduct6-1.htm) on recent current. > Every time i am reattaching it i see this error: > ucom0: could not set data multiplex mode > > So in order to work with it i have to reboot after each detache > procedure. The only known workaround for this is to delete the > "goto bad;" code in /usr/src/sys/dev/usb/umodem.c: > > printf("%s: could not set data multiplex mode\n", > devname); > goto bad; > > Could someone comment on this? > > P.S. Please cc me, becuase i am not subscribe to freebsd-usb or > freebsd-mobile I'm not sure if it will help, but there is a new USB stack that you can try: http://www.turbocat.net/~hselasky/usb4bsd Download the SVN version. I recommend installing on FreeBSD 6-stable, hence there is a small bug in the memory allocation code on FreeBSD 7-current, that will cause regular panics. --HPS From owner-freebsd-mobile@FreeBSD.ORG Tue May 29 03:46:34 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C89516A400 for ; Tue, 29 May 2007 03:46:34 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 0031113C480 for ; Tue, 29 May 2007 03:46:33 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 2892 invoked from network); 29 May 2007 13:46:33 +1000 Received: from 210-84-60-60.dyn.iinet.net.au (HELO localhost) (210.84.60.60) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 29 May 2007 13:46:33 +1000 Date: Tue, 29 May 2007 13:46:29 +1000 From: Norberto Meijome To: "J. Porter Clark" , FreeBSD Mobile ML Message-ID: <20070529134629.4e50dbd6@localhost> In-Reply-To: <20070528145808.GA30921@auricle.charter.net> References: <20070528145808.GA30921@auricle.charter.net> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Re: Working quite well : xorg7.2, DRI, suspend, Radeon Mobility X600 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 03:46:34 -0000 On Mon, 28 May 2007 09:58:08 -0500 "J. Porter Clark" wrote: > You write: > > >Upgrade to xorg 7.2, latest kernel + World to date (2007-05-28). > > Can you send me your xorg.conf? I have a somewhat similar > setup. (Same graphics adapter, but an HP nc8230 laptop.) > Hi JPC :) please keep the list in the CC: I've uploaded xorg.conf and some related info to : http://www.meijome.net/files/freebsd/ayiin_20070529/ Hope that helps, B _________________________ {Beto|Norberto|Numard} Meijome If Bill Gates had a dollar for every time a Windows box crashed... .. Oh, wait a minute, he already does. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-mobile@FreeBSD.ORG Tue May 29 03:50:59 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0349816A468 for ; Tue, 29 May 2007 03:50:59 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id C329C13C447 for ; Tue, 29 May 2007 03:50:58 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 3407 invoked from network); 29 May 2007 13:50:59 +1000 Received: from 210-84-60-60.dyn.iinet.net.au (HELO localhost) (210.84.60.60) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 29 May 2007 13:50:58 +1000 Date: Tue, 29 May 2007 13:50:54 +1000 From: Norberto Meijome To: Bruce Burden Message-ID: <20070529135054.3b1e9f30@localhost> In-Reply-To: <20070528153201.GA1384@tigerfish2.my.domain> References: <20070528223833.0b7b3294@localhost> <20070528153201.GA1384@tigerfish2.my.domain> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mobile ML Subject: Re: Working quite well : xorg7.2, DRI, suspend, Radeon Mobility X600 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 03:50:59 -0000 On Mon, 28 May 2007 10:32:02 -0500 Bruce Burden wrote: > > > Hello Norberto, Hi Bruce, please keep the list in CC: > [...] > > I have a HP ZD8000 with the X600 in it, and while DRI is > better under 6.2-Stable and Xorg 7.2, the display is still not > correct. And, yes, the world is up to date, as of last week. what do you mean, is not correct? If you see artifacts, you may want to grab a screenshot so we can see what it is... > > So, I am curious as to what modules you have loaded? As I > say, if I uncomment DRI in the Modules section, the display > does not render correctly. I have "radeon" as the driver in > the card section. I do see drm.ko and radeon.ko in the kldstat > output when I uncomment DRI, but it is not useful. at least in my case: 1) I need to have AGP support in your kernel (or load it as module, for some reason I've built it in...) 2) I loaded radeon by hand, drm got loaded automatically 3) i started X and it didnt die. 4) I then enabled DRI and tried again... I then spent some more time re-running xorgcfg to get a clean config (in case the options available in xorg6.x were different to the ones in xorg7.2 > > Perhaps you can tell me what I am overlooking? not sure, i've put some of hte info I think is relevant here : http://www.meijome.net/files/freebsd/ayiin_20070529/ Beto _________________________ {Beto|Norberto|Numard} Meijome "A problem cannot be solved with the same type of thinking that created it." Albert Einstein I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-mobile@FreeBSD.ORG Tue May 29 04:03:13 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 31ECB16A400 for ; Tue, 29 May 2007 04:03:13 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id DAF9913C457 for ; Tue, 29 May 2007 04:03:12 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 4252 invoked from network); 29 May 2007 14:03:13 +1000 Received: from 210-84-60-60.dyn.iinet.net.au (HELO localhost) (210.84.60.60) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 29 May 2007 14:03:12 +1000 Date: Tue, 29 May 2007 14:03:09 +1000 From: Norberto Meijome To: freebsd-mobile@freebsd.org Message-ID: <20070529140309.2a89dced@localhost> In-Reply-To: <20070528223833.0b7b3294@localhost> References: <20070528223833.0b7b3294@localhost> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Working quite well : xorg7.2, DRI, suspend, Radeon Mobility X600 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 04:03:13 -0000 On Mon, 28 May 2007 22:38:33 +1000 Norberto Meijome wrote: > Suspend and resume work fine, with DRI inclusive - it is a single core CPU ( I > believe there are still issues with suspend/resume with dual cores. Ian Smith reminded me of some previous postings I made on this (august 2006). with xorg 7.2 I made some slight changes to the my suspend script, basically i dont switch back to VT1 before sending zzz - it works fine. Resuming on text mode seemed to be corrupting video RAM too (more tests needed). relevant sysctls that are working ok currently --- # Should prevent freezing in X when doing suspend ## for TOSHIBA A2, NOT THINKPAD ## hw.syscons.sc_no_suspend_vtswitch=1 # Fixes resume on RELENG_6 hw.acpi.reset_video=1 --- _________________________ {Beto|Norberto|Numard} Meijome Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-mobile@FreeBSD.ORG Tue May 29 06:10:06 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D7F4B16A478 for ; Tue, 29 May 2007 06:10:06 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 561B513C487 for ; Tue, 29 May 2007 06:10:04 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id QAA03087; Tue, 29 May 2007 16:09:58 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 29 May 2007 16:09:57 +1000 (EST) From: Ian Smith To: Norberto Meijome In-Reply-To: <20070529140309.2a89dced@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-mobile@freebsd.org Subject: Re: Working quite well : xorg7.2, DRI, suspend, Radeon Mobility X600 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 06:10:06 -0000 On Tue, 29 May 2007, Norberto Meijome wrote: > On Mon, 28 May 2007 22:38:33 +1000 > Norberto Meijome wrote: > > > Suspend and resume work fine, with DRI inclusive - it is a single core CPU ( I > > believe there are still issues with suspend/resume with dual cores. > > Ian Smith reminded me of some previous postings I made on this (august 2006). > with xorg 7.2 I made some slight changes to the my suspend script, basically i > dont switch back to VT1 before sending zzz - it works fine. Resuming on text > mode seemed to be corrupting video RAM too (more tests needed). > > relevant sysctls that are working ok currently > > --- > # Should prevent freezing in X when doing suspend > ## for TOSHIBA A2, NOT THINKPAD > ## hw.syscons.sc_no_suspend_vtswitch=1 > > # Fixes resume on RELENG_6 > hw.acpi.reset_video=1 > --- FWIW: for my T23 (6.1-R, xorg 6.9) to work reliably with suspend/resume from either a vty or from X I needed hw.syscons.sc_no_suspend_vtswitch=1 hw.acpi.reset_video=0 but with no mods to rc.{suspend,resume} however after quitting X the screen was (and still sometimes? is) blank, as you described elsewhere recently; things 'work' but with no video. In my case loading VESA helped, as setting any of the vtys with (say) vidcontrol 80x30 meant that vty would later display correctly (and after selecting that one, so would the others still at the default 80x24) but if I'd neglected to do that before starting X (I use startx), running this particularly weird script works to restore the text mode vtys: % cat ~/bin/fixme #!/bin/sh # strangely enough, this invalid mode restores vttyX with the error message: # vidcontrol: cannot activate raster display: Inappropriate ioctl for device vidcontrol VESA_800x600 At least I can reliably type 'fixme' blind .. there's bound to be a more elegant fix, but this gets me back on the road .. Cheers, Ian From owner-freebsd-mobile@FreeBSD.ORG Tue May 29 06:46:06 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2204816A46C for ; Tue, 29 May 2007 06:46:06 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id E12C613C44B for ; Tue, 29 May 2007 06:46:05 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 15598 invoked from network); 29 May 2007 16:46:05 +1000 Received: from 210-84-60-60.dyn.iinet.net.au (HELO localhost) (210.84.60.60) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 29 May 2007 16:46:05 +1000 Date: Tue, 29 May 2007 16:46:00 +1000 From: Norberto Meijome To: Ian Smith Message-ID: <20070529164600.097d6e62@localhost> In-Reply-To: References: <20070529140309.2a89dced@localhost> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: Working quite well : xorg7.2, DRI, suspend, Radeon Mobility X600 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 06:46:06 -0000 On Tue, 29 May 2007 16:09:57 +1000 (EST) Ian Smith wrote: > FWIW: for my T23 (6.1-R, xorg 6.9) to work reliably with suspend/resume > from either a vty or from X I needed > hw.syscons.sc_no_suspend_vtswitch=1 interesting...the comments in my sysctl.conf about it locking up my thinkpad are from pre-radeon/DRM support times, so it may be different now (I just rather avoid another bg fsck :-| > hw.acpi.reset_video=0 > but with no mods to rc.{suspend,resume} I added some code in them both to disable the video outputs (using radeontool from ports)of the laptop before suspend and bringing them back up after. I read in a list it's supposed to save some battery power. I also restart moused on .resume as it's usually hosed.I haven't changed these scripts for a llloooonnggggg time. > > however after quitting X the screen was (and still sometimes? is) blank, > as you described elsewhere recently; things 'work' but with no video. > > In my case loading VESA helped, as setting any of the vtys with (say) > vidcontrol 80x30 meant that vty would later display correctly (and after > selecting that one, so would the others still at the default 80x24) but > if I'd neglected to do that before starting X (I use startx), running > this particularly weird script works to restore the text mode vtys: > > % cat ~/bin/fixme > #!/bin/sh > # strangely enough, this invalid mode restores vttyX with the error message: > # vidcontrol: cannot activate raster display: Inappropriate ioctl for device > vidcontrol VESA_800x600 weird... > > At least I can reliably type 'fixme' blind .. there's bound to be a more > elegant fix, but this gets me back on the road .. :-D _________________________ {Beto|Norberto|Numard} Meijome "He has the attention span of a lightning bolt." Robert Redford I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-mobile@FreeBSD.ORG Tue May 29 18:12:02 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0255216A400 for ; Tue, 29 May 2007 18:12:02 +0000 (UTC) (envelope-from jaybebe@addr23.addr.com) Received: from addr23.addr.com (addr23.addr.com [38.113.244.13]) by mx1.freebsd.org (Postfix) with ESMTP id CE25E13C489 for ; Tue, 29 May 2007 18:12:01 +0000 (UTC) (envelope-from jaybebe@addr23.addr.com) Received: from addr23.addr.com (localhost [127.0.0.1]) by addr23.addr.com (8.12.11/8.12.8/Submit) with ESMTP id l4THxhmG014130 for ; Tue, 29 May 2007 10:59:44 -0700 (PDT) Received: (from jaybebe@localhost) by addr23.addr.com (8.12.11/8.12.7/Submit) id l4THxhFZ014125; Tue, 29 May 2007 10:59:43 -0700 (PDT) Date: Tue, 29 May 2007 10:59:43 -0700 (PDT) Message-Id: <200705291759.l4THxhFZ014125@addr23.addr.com> To: freebsd-mobile@freebsd.org References: <200705291654.l4TGshnA003076@addr-mx01.addr.com> In-Reply-To: <200705291654.l4TGshnA003076@addr-mx01.addr.com> X-Loop: psupport@isotope244.com. From: psupport@isotope244.com Subject: Re: Free porn X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 18:12:02 -0000 This message is an automated response. Thanks for taking the time write, but due to the high volume of spam I am receiving at this address, this email will not be read. If you wish to contact me directly you can do so at the following page, I'm sorry for the inconvenience. http://www.isotope244.com/contact.html Or if you're having a problem you can read our FAQ at the following page. http://www.isotope244.com/help.html Sincerely, James Bryant Isotope244 Graphics http://www.isotope244.com From owner-freebsd-mobile@FreeBSD.ORG Thu May 31 01:03:40 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E23F416A41F for ; Thu, 31 May 2007 01:03:40 +0000 (UTC) (envelope-from clarkjp@charter.net) Received: from mail.cluebytwelve.org (clueby12.org [198.186.190.239]) by mx1.freebsd.org (Postfix) with ESMTP id BE25413C458 for ; Thu, 31 May 2007 01:03:40 +0000 (UTC) (envelope-from clarkjp@charter.net) Received: from localdomain.local (24-158-190-156.dhcp.jcsn.tn.charter.com [24.158.190.156]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cluebytwelve.org (Postfix) with ESMTP id 8162527126; Wed, 30 May 2007 19:30:35 -0500 (CDT) Received: by localdomain.local (Postfix, from userid 1001) id 5BA36B8A5; Wed, 30 May 2007 19:30:34 -0500 (CDT) Date: Wed, 30 May 2007 19:30:34 -0500 From: "J. Porter Clark" To: Norberto Meijome Message-ID: <20070531003034.GA32323@auricle.charter.net> Mail-Followup-To: Norberto Meijome , freebsd-mobile@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: http://www.angelfire.com/ego/porterclark/ User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: freebsd-mobile@freebsd.org Subject: Re: Working quite well : xorg7.2, DRI, suspend, Radeon Mobility X600 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2007 01:03:41 -0000 On Tue, May 29, 2007 at 11:52:22AM +0800, Norberto Meijome wrote: > > On Mon, 28 May 2007 09:58:08 -0500 > "J. Porter Clark" wrote: > > > You write: > > > > >Upgrade to xorg 7.2, latest kernel + World to date (2007-05-28). > > > > Can you send me your xorg.conf? I have a somewhat similar > > setup. (Same graphics adapter, but an HP nc8230 laptop.) > > > Hi JPC :) > please keep the list in the CC: Well, I'm not actually a subscriber, but here goes. > I've uploaded xorg.conf and some related info to : > > http://www.meijome.net/files/freebsd/ayiin_20070529/ Mine is so similar...but doesn't work. It's an HP (Compaq) nc8230, also with an ATI Radeon. I have placed the relevant files here, for a limited time: The "good" files are with Load "dri" commented out of xorg.conf. In the "bad" files, the text is all torn and stretched, and there are other visible problems, but amazingly, much of it is okay. As you can see from the xorg.conf file, I did have EnablePageFlip and DynamicClocks turned on, but it makes no difference if they are off. Also had the same problems with twm instead of Window Maker. I get glxgears results similar to yours with DRI off. I've lived without DRI for a couple of years and can presumably continue to do so, although it would be nice to get it going. -- J. Porter Clark From owner-freebsd-mobile@FreeBSD.ORG Thu May 31 05:49:14 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 44DF116A479 for ; Thu, 31 May 2007 05:49:14 +0000 (UTC) (envelope-from quetzal@zone3000.net) Received: from mx1.sitevalley.com (sitevalley.com [209.67.60.43]) by mx1.freebsd.org (Postfix) with SMTP id D8AEA13C46C for ; Thu, 31 May 2007 05:49:11 +0000 (UTC) (envelope-from quetzal@zone3000.net) Received: from zone3000.kharkov.ua (HELO localhost) (217.144.69.37) by 209.67.61.254 with SMTP; 31 May 2007 05:49:10 -0000 Date: Thu, 31 May 2007 08:48:45 +0300 From: Nikolay Pavlov To: imp@freebsd.org Message-ID: <20070531054845.GA22380@zone3000.net> References: <20070528093944.GA12606@zone3000.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070528093944.GA12606@zone3000.net> X-Operating-System: FreeBSD 6.2-RELEASE-p4 User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: freebsd-usb@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: ucom0: could not set data multiplex mode X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2007 05:49:14 -0000 On Monday, 28 May 2007 at 12:39:44 +0300, Nikolay Pavlov wrote: > Hi folks. > I have an issue with CCU-550 CDMA modem > (http://www.cmotech.com/eproduct6-1.htm) on recent current. > Every time i am reattaching it i see this error: > ucom0: could not set data multiplex mode > > So in order to work with it i have to reboot after each detache > procedure. The only known workaround for this is to delete the > "goto bad;" code in /usr/src/sys/dev/usb/umodem.c: > > printf("%s: could not set data multiplex mode\n", > devname); > goto bad; > > Could someone comment on this? > > P.S. Please cc me, becuase i am not subscribe to freebsd-usb or > freebsd-mobile > May be i should send this to maintainer..? -- ====================================================================== - Best regards, Nikolay Pavlov. <<<----------------------------------- ====================================================================== From owner-freebsd-mobile@FreeBSD.ORG Thu May 31 07:04:54 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EDB2316A46D; Thu, 31 May 2007 07:04:54 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 918ED13C457; Thu, 31 May 2007 07:04:54 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l4V74J6s059191; Thu, 31 May 2007 01:04:19 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 31 May 2007 01:04:36 -0600 (MDT) Message-Id: <20070531.010436.-460543608.imp@bsdimp.com> To: quetzal@zone3000.net From: "M. Warner Losh" In-Reply-To: <20070531054845.GA22380@zone3000.net> References: <20070528093944.GA12606@zone3000.net> <20070531054845.GA22380@zone3000.net> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Thu, 31 May 2007 01:04:19 -0600 (MDT) Cc: freebsd-usb@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: ucom0: could not set data multiplex mode X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2007 07:04:55 -0000 In message: <20070531054845.GA22380@zone3000.net> Nikolay Pavlov writes: : On Monday, 28 May 2007 at 12:39:44 +0300, Nikolay Pavlov wrote: : > Hi folks. : > I have an issue with CCU-550 CDMA modem : > (http://www.cmotech.com/eproduct6-1.htm) on recent current. : > Every time i am reattaching it i see this error: : > ucom0: could not set data multiplex mode : > : > So in order to work with it i have to reboot after each detache : > procedure. The only known workaround for this is to delete the : > "goto bad;" code in /usr/src/sys/dev/usb/umodem.c: : > : > printf("%s: could not set data multiplex mode\n", : > devname); : > goto bad; : > : > Could someone comment on this? : > : > P.S. Please cc me, becuase i am not subscribe to freebsd-usb or : > freebsd-mobile : > : : May be i should send this to maintainer..? I thought that NetBSD did something clever in this condition, but it doesn't. Try adding the device to usb_quirks.c. You'll need an entry like the following: { USB_VENDOR_METRICOM, USB_PRODUCT_METRICOM_RICOCHET_GS, 0x100, { UQ_ASSUME_CM_OVER_DATA }}, for whatever values your CCU-550 CDMA modem has. alternatively, you could try the following patch, which may be lame: Index: umodem.c =================================================================== RCS file: /home/ncvs/src/sys/dev/usb/umodem.c,v retrieving revision 1.60 diff -u -r1.60 umodem.c --- umodem.c 7 Sep 2006 00:06:42 -0000 1.60 +++ umodem.c 31 May 2007 07:03:49 -0000 @@ -279,7 +279,6 @@ usb_cdc_cm_descriptor_t *cmd; char *devinfo = NULL; const char *devname; - usbd_status err; int data_ifcno; int i; struct ucom_softc *ucom; @@ -373,16 +372,8 @@ } else { if (sc->sc_cm_cap & USB_CDC_CM_OVER_DATA) { if (sc->sc_acm_cap & USB_CDC_ACM_HAS_FEATURE) - err = umodem_set_comm_feature(sc, - UCDC_ABSTRACT_STATE, UCDC_DATA_MULTIPLEXED); - else - err = 0; - if (err) { - printf("%s: could not set data multiplex mode\n", - devname); - goto bad; - } - sc->sc_cm_over_data = 1; + umodem_set_comm_feature(sc, + UCDC_ABSTRACT_STATE, UCDC_DATA_MULTIPLEXED); sc->sc_cm_over_data = 1; } } this patch just feels wrong to me, but I suspect it will just work. Warner From owner-freebsd-mobile@FreeBSD.ORG Fri Jun 1 04:15:24 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1AEF516A468 for ; Fri, 1 Jun 2007 04:15:24 +0000 (UTC) (envelope-from louisk@cryptomonkeys.com) Received: from abeyance.cryptomonkeys.com (abeyance.cryptomonkeys.com [67.42.3.2]) by mx1.freebsd.org (Postfix) with ESMTP id B7BC213C45D for ; Fri, 1 Jun 2007 04:15:23 +0000 (UTC) (envelope-from louisk@cryptomonkeys.com) Received: from localhost (h-64-105-36-158.snvacaid.covad.net [64.105.36.158]) (authenticated bits=0) by abeyance.cryptomonkeys.com (8.13.8+Sun/8.13.8) with ESMTP id l513psg1023291 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 31 May 2007 20:52:01 -0700 (PDT) Date: Thu, 31 May 2007 20:51:48 -0700 From: Louis Kowolowski To: freebsd-mobile@freebsd.org Message-ID: <20070601035148.GB1755@cryptomonkeys.com> Mail-Followup-To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i9LlY+UWpKt15+FH" Content-Disposition: inline User-Agent: TV Remote 3.2b X-Disclaimer: WARNING: May contain scarcasm! X-Header: "WARNING: POLITICALLY INCORRECT AREA All P.C. Personnel entering these premises will encounter gravely offensive behavior and opinions. (SEC4623. Ministry of political incorrection security act of 1995) RAMPANT INSENSITIVITY AUTHORIZED" X-GPG-Fingerprint: 7A77 80FD 3F4D 995E A807 A218 664D 2BEA 8024 37B6 X-GPG-Key: http://www.cryptomonkeys.com/~louisk/pgp.html Organization: Hopelessly Disorganized Subject: PCMCIA and Lenovo T60p X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 04:15:24 -0000 --i9LlY+UWpKt15+FH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm having an issue with PCMCIA cards on my T60p. I've tried google, didn't turn up anything. They used to work fine (3-4mo ago) but now, simply produce this in the logs: May 26 14:16:20 localhost kernel: CIS is too long -- truncating May 26 14:16:20 localhost kernel: pccard0: Card has no functions! May 26 14:16:20 localhost kernel: cbb0: PC Card card activation failed I can make dmsg output and kernel config available upon request. Anybody have any thoughts and/or suggestions? Thanks. --=20 Louis Kowolowski KE7BAX louisk@cryptomonkeys.com Cryptomonkeys: http://www.cryptomonkeys.com/~louisk Warning: Do not point laser at remaining eye! --i9LlY+UWpKt15+FH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGX5fUZk0r6oAkN7YRAriNAJwPR4SBZt9/LoI6XnA3e7lcL/UGrwCeNcny MB0hTsv/9WQYEISp9idOEao= =+NAw -----END PGP SIGNATURE----- --i9LlY+UWpKt15+FH-- From owner-freebsd-mobile@FreeBSD.ORG Fri Jun 1 14:31:19 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17DBC16A468 for ; Fri, 1 Jun 2007 14:31:19 +0000 (UTC) (envelope-from M.Apitz@oclcpica.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 6B14C13C447 for ; Fri, 1 Jun 2007 14:31:18 +0000 (UTC) (envelope-from M.Apitz@oclcpica.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.1830); Fri, 1 Jun 2007 16:19:03 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.13.8/8.13.8/Submit) id l51EJDvu076312; Fri, 1 Jun 2007 16:19:13 +0200 (CEST) (envelope-from m.apitz@oclcpica.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to m.apitz@oclcpica.org using -f Date: Fri, 1 Jun 2007 16:19:13 +0200 From: Matthias Apitz To: freebsd-mobile@freebsd.org Message-ID: <20070601141913.GA76123@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Operating-System: FreeBSD 6.2-RELEASE (i386) X-OriginalArrivalTime: 01 Jun 2007 14:19:04.0022 (UTC) FILETIME=[CEB1D760:01C7A457] Subject: 6.2-REL && iwi0: link state changed to DOWN / UP / DOWN / UP X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 14:31:19 -0000 Hello, Recently I upgraded to 6.2-REL and have had massive problems with our WPA-PSK AP in my office: May 31 15:05:55 rebelion kernel: iwi0: link state changed to DOWN May 31 15:06:03 rebelion kernel: iwi0: link state changed to UP May 31 15:06:06 rebelion kernel: iwi0: link state changed to DOWN May 31 15:06:14 rebelion kernel: iwi0: link state changed to UP May 31 15:06:18 rebelion kernel: iwi0: link state changed to DOWN May 31 15:06:26 rebelion kernel: iwi0: link state changed to UP May 31 15:06:31 rebelion kernel: iwi0: link state changed to DOWN May 31 15:06:39 rebelion kernel: iwi0: link state changed to UP the iwi0 interface was from time to time nearly unusable. It turned out that sometimes near our building other small companies appeared on air. I don't really understand why they can be seen only sometimes with $ ifconfig iwi0 scan SSID BSSID CHAN RATE S:N INT CAPS mywifi xxxxxxxxxxxxxxxxxxxxxx:0b 11 54M 56:0 100 EP WPA default xxxxxxxxxxxxxxxxxxxxxx:eb 11 54M 37:0 100 EP SCHLxxxxxxxxxxxxxxxxxxxxxxxxd6:cc 11 54M 31:0 100 EP SCHLxxxxxxxxxxxxxxxxxxxxxxxx21:84 11 54M 31:0 100 EP SCHLxxxxxxxxxxxxxxxxxxxxxxxx21:87 11 54M 31:0 100 EP and sometimes I only see my own one 'mywifi'. Any way, since I've switched my AP to use channel 7 all is fine now. Just to let you know in case others have the same trouble. matthias -- Matthias Apitz Manager Technical Support - OCLC PICA GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclcpica.org/ http://guru.UnixArea.de/ b http://gurucubano.blogspot.com/ OCLC PICA GmbH, Geschaeftsfuehrer: Christine Magin-Weeger, Norbert Weinberger Sitz der Gesellschaft: Oberhaching, HRB Muenchen: 113261 From owner-freebsd-mobile@FreeBSD.ORG Fri Jun 1 15:34:57 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F4B416A468 for ; Fri, 1 Jun 2007 15:34:57 +0000 (UTC) (envelope-from M.Apitz@oclcpica.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id A717113C484 for ; Fri, 1 Jun 2007 15:34:56 +0000 (UTC) (envelope-from M.Apitz@oclcpica.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.1830); Fri, 1 Jun 2007 17:34:44 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.13.8/8.13.8/Submit) id l51FYqxg078095; Fri, 1 Jun 2007 17:34:52 +0200 (CEST) (envelope-from m.apitz@oclcpica.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to m.apitz@oclcpica.org using -f Date: Fri, 1 Jun 2007 17:34:52 +0200 From: Matthias Apitz To: Giorgos Kapetanakis Message-ID: <20070601153452.GA77923@rebelion.Sisis.de> References: <20070601141913.GA76123@rebelion.Sisis.de> <63724.147.52.66.55.1180710902.squirrel@webmail.sians.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <63724.147.52.66.55.1180710902.squirrel@webmail.sians.org> User-Agent: Mutt/1.4.2.2i X-Operating-System: FreeBSD 6.2-RELEASE (i386) X-OriginalArrivalTime: 01 Jun 2007 15:34:44.0687 (UTC) FILETIME=[612455F0:01C7A462] Cc: freebsd-mobile@freebsd.org Subject: Re: 6.2-REL && iwi0: link state changed to DOWN / UP / DOWN / UP X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 15:34:57 -0000 El día Friday, June 01, 2007 a las 06:15:02PM +0300, Giorgos Kapetanakis escribió: > 20060711: > The iwi(4) was updated to use the firmware(9) framework. In order > for it to work you need a port change from net/iwi-firmware to > net/iwi-firmware-kmod. > > maybe this helps... I'm using already the kmod from the ports: $ pkg_info | fgrep iwi-firmware iwi-firmware-kmod-3.0_1 Intel PRO/Wireless 2200 Firmware Kernel Module $ kldstat Id Refs Address Size Name 1 20 0xc0400000 6f6544 kernel 2 1 0xc0af7000 42e8 if_tap.ko 3 1 0xc0afc000 e284 if_iwi.ko 4 3 0xc0b0b000 2d60 firmware.ko 5 1 0xc0b0e000 5fa0 snd_ich.ko 6 2 0xc0b14000 22b88 sound.ko 7 1 0xc0b37000 1d278 kqemu.ko 8 1 0xc0b55000 4ae8 atapicam.ko 9 1 0xc0b5a000 59f20 acpi.ko 10 1 0xc4fcd000 2a000 ipl.ko 11 1 0xc50fb000 16000 linux.ko 12 1 0xc545c000 30000 iwi_bss.ko matthias -- Matthias Apitz Manager Technical Support - OCLC PICA GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclcpica.org/ http://guru.UnixArea.de/ b http://gurucubano.blogspot.com/ OCLC PICA GmbH, Geschaeftsfuehrer: Christine Magin-Weeger, Norbert Weinberger Sitz der Gesellschaft: Oberhaching, HRB Muenchen: 113261 From owner-freebsd-mobile@FreeBSD.ORG Fri Jun 1 15:43:50 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A4E6716A41F for ; Fri, 1 Jun 2007 15:43:50 +0000 (UTC) (envelope-from zoulou@sians.org) Received: from zermelo.mathimatiko.net (zermelo.mathimatiko.net [72.21.52.250]) by mx1.freebsd.org (Postfix) with ESMTP id 83A5213C43E for ; Fri, 1 Jun 2007 15:43:50 +0000 (UTC) (envelope-from zoulou@sians.org) Received: from localhost (localhost [127.0.0.1]) by zermelo.mathimatiko.net (Postfix) with ESMTP id D5E9910AB01; Fri, 1 Jun 2007 18:15:03 +0300 (EEST) Received: from zermelo.mathimatiko.net ([127.0.0.1]) by localhost (zermelo.mathimatiko.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13351-07; Fri, 1 Jun 2007 18:15:02 +0300 (EEST) Received: from webmail.sians.org (localhost [127.0.0.1]) by zermelo.mathimatiko.net (Postfix) with ESMTP id 4717F10AB00; Fri, 1 Jun 2007 18:15:02 +0300 (EEST) Received: from 147.52.66.55 (SquirrelMail authenticated user zoulou@sians.org) by webmail.sians.org with HTTP; Fri, 1 Jun 2007 18:15:02 +0300 (EEST) Message-ID: <63724.147.52.66.55.1180710902.squirrel@webmail.sians.org> In-Reply-To: <20070601141913.GA76123@rebelion.Sisis.de> References: <20070601141913.GA76123@rebelion.Sisis.de> Date: Fri, 1 Jun 2007 18:15:02 +0300 (EEST) From: "Giorgos Kapetanakis" To: "Matthias Apitz" User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-mobile@freebsd.org Subject: Re: 6.2-REL && iwi0: link state changed to DOWN / UP / DOWN / UP X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 15:43:50 -0000 On Fri, June 1, 2007 5:19 pm, Matthias Apitz wrote: > > Hello, > > Recently I upgraded to 6.2-REL and have had massive problems with > our WPA-PSK AP in my office: > > May 31 15:05:55 rebelion kernel: iwi0: link state changed to DOWN > May 31 15:06:03 rebelion kernel: iwi0: link state changed to UP > May 31 15:06:06 rebelion kernel: iwi0: link state changed to DOWN > May 31 15:06:14 rebelion kernel: iwi0: link state changed to UP > May 31 15:06:18 rebelion kernel: iwi0: link state changed to DOWN > May 31 15:06:26 rebelion kernel: iwi0: link state changed to UP > May 31 15:06:31 rebelion kernel: iwi0: link state changed to DOWN > May 31 15:06:39 rebelion kernel: iwi0: link state changed to UP > > the iwi0 interface was from time to time nearly unusable. It turned > out that sometimes near our building other small companies > appeared on air. I don't really understand why they can be seen > only sometimes with > > > $ ifconfig iwi0 scan > SSID BSSID CHAN RATE S:N INT CAPS > mywifi xxxxxxxxxxxxxxxxxxxxxx:0b 11 54M 56:0 100 EP WPA > default xxxxxxxxxxxxxxxxxxxxxx:eb 11 54M 37:0 100 EP > SCHLxxxxxxxxxxxxxxxxxxxxxxxxd6:cc 11 54M 31:0 100 EP > SCHLxxxxxxxxxxxxxxxxxxxxxxxx21:84 11 54M 31:0 100 EP > SCHLxxxxxxxxxxxxxxxxxxxxxxxx21:87 11 54M 31:0 100 EP > > and sometimes I only see my own one 'mywifi'. Any way, since I've > switched my AP to use channel 7 all is fine now. Just to let > you know in case others have the same trouble. > > matthias > -- > Matthias Apitz > Manager Technical Support - OCLC PICA GmbH > Gruenwalder Weg 28g - 82041 Oberhaching - Germany > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e - w http://www.oclcpica.org/ > http://guru.UnixArea.de/ > b http://gurucubano.blogspot.com/ > OCLC PICA GmbH, Geschaeftsfuehrer: Christine Magin-Weeger, Norbert > Weinberger > Sitz der Gesellschaft: Oberhaching, HRB Muenchen: 113261 > _______________________________________________ > 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 /usr/src/UPDATING: 20060711: The iwi(4) was updated to use the firmware(9) framework. In order for it to work you need a port change from net/iwi-firmware to net/iwi-firmware-kmod. maybe this helps... -- Giorgos Kapetanakis From owner-freebsd-mobile@FreeBSD.ORG Sat Jun 2 12:24:53 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 081CD16A469 for ; Sat, 2 Jun 2007 12:24:53 +0000 (UTC) (envelope-from quetzal@zone3000.net) Received: from mx1.sitevalley.com (sitevalley.com [209.67.60.43]) by mx1.freebsd.org (Postfix) with SMTP id C12B213C483 for ; Sat, 2 Jun 2007 12:24:52 +0000 (UTC) (envelope-from quetzal@zone3000.net) Received: from zone3000.kharkov.ua (HELO localhost) (217.144.69.37) by 0 with SMTP; 2 Jun 2007 12:24:51 -0000 Date: Sat, 2 Jun 2007 15:24:53 +0300 From: Nikolay Pavlov To: "M. Warner Losh" Message-ID: <20070602122453.GA48237@zone3000.net> References: <20070528093944.GA12606@zone3000.net> <20070531054845.GA22380@zone3000.net> <20070531.010436.-460543608.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070531.010436.-460543608.imp@bsdimp.com> X-Operating-System: FreeBSD 6.2-RELEASE-p4 User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: freebsd-usb@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: ucom0: could not set data multiplex mode X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2007 12:24:53 -0000 On Thursday, 31 May 2007 at 1:04:36 -0600, M. Warner Losh wrote: > In message: <20070531054845.GA22380@zone3000.net> > Nikolay Pavlov writes: > : On Monday, 28 May 2007 at 12:39:44 +0300, Nikolay Pavlov wrote: > : > Hi folks. > : > I have an issue with CCU-550 CDMA modem > : > (http://www.cmotech.com/eproduct6-1.htm) on recent current. > : > Every time i am reattaching it i see this error: > : > ucom0: could not set data multiplex mode > : > > : > So in order to work with it i have to reboot after each detache > : > procedure. The only known workaround for this is to delete the > : > "goto bad;" code in /usr/src/sys/dev/usb/umodem.c: > : > > : > printf("%s: could not set data multiplex mode\n", > : > devname); > : > goto bad; > : > > : > Could someone comment on this? > : > > : > P.S. Please cc me, becuase i am not subscribe to freebsd-usb or > : > freebsd-mobile > : > > : > : May be i should send this to maintainer..? > > I thought that NetBSD did something clever in this condition, but it > doesn't. Try adding the device to usb_quirks.c. You'll need an entry > like the following: > > { USB_VENDOR_METRICOM, USB_PRODUCT_METRICOM_RICOCHET_GS, > 0x100, { UQ_ASSUME_CM_OVER_DATA }}, Thanks for response Warner. I want to check the usb_quirks variant first. Could you please advise me on what this line should be if i have this on dmesg: ucom0: on uhub1 ucom0: CMOTECH CO., LTD. CMOTECH CDMA Technologies, rev 2.00/0.00, addr 2, iclass 2/2 ucom0: data interface 1, has CM over data, has break ucom0: status change notification available > > for whatever values your CCU-550 CDMA modem has. alternatively, you > could try the following patch, which may be lame: > > Index: umodem.c > =================================================================== > RCS file: /home/ncvs/src/sys/dev/usb/umodem.c,v > retrieving revision 1.60 > diff -u -r1.60 umodem.c > --- umodem.c 7 Sep 2006 00:06:42 -0000 1.60 > +++ umodem.c 31 May 2007 07:03:49 -0000 > @@ -279,7 +279,6 @@ > usb_cdc_cm_descriptor_t *cmd; > char *devinfo = NULL; > const char *devname; > - usbd_status err; > int data_ifcno; > int i; > struct ucom_softc *ucom; > @@ -373,16 +372,8 @@ > } else { > if (sc->sc_cm_cap & USB_CDC_CM_OVER_DATA) { > if (sc->sc_acm_cap & USB_CDC_ACM_HAS_FEATURE) > - err = umodem_set_comm_feature(sc, > - UCDC_ABSTRACT_STATE, UCDC_DATA_MULTIPLEXED); > - else > - err = 0; > - if (err) { > - printf("%s: could not set data multiplex mode\n", > - devname); > - goto bad; > - } > - sc->sc_cm_over_data = 1; > + umodem_set_comm_feature(sc, > + UCDC_ABSTRACT_STATE, UCDC_DATA_MULTIPLEXED); sc->sc_cm_over_data = 1; > } > } > > > this patch just feels wrong to me, but I suspect it will just work. > > > Warner -- ====================================================================== - Best regards, Nikolay Pavlov. <<<----------------------------------- ====================================================================== From owner-freebsd-mobile@FreeBSD.ORG Sat Jun 2 19:11:30 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB3B116A468; Sat, 2 Jun 2007 19:11:30 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 6BD4F13C44B; Sat, 2 Jun 2007 19:11:30 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l52J9puN000920; Sat, 2 Jun 2007 13:09:52 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 02 Jun 2007 13:10:11 -0600 (MDT) Message-Id: <20070602.131011.-1370572280.imp@bsdimp.com> To: quetzal@zone3000.net From: "M. Warner Losh" In-Reply-To: <20070602122453.GA48237@zone3000.net> References: <20070531054845.GA22380@zone3000.net> <20070531.010436.-460543608.imp@bsdimp.com> <20070602122453.GA48237@zone3000.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sat, 02 Jun 2007 13:09:52 -0600 (MDT) Cc: freebsd-usb@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: ucom0: could not set data multiplex mode X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2007 19:11:31 -0000 In message: <20070602122453.GA48237@zone3000.net> Nikolay Pavlov writes: : On Thursday, 31 May 2007 at 1:04:36 -0600, M. Warner Losh wrote: : > In message: <20070531054845.GA22380@zone3000.net> : > Nikolay Pavlov writes: : > : On Monday, 28 May 2007 at 12:39:44 +0300, Nikolay Pavlov wrote: : > : > Hi folks. : > : > I have an issue with CCU-550 CDMA modem : > : > (http://www.cmotech.com/eproduct6-1.htm) on recent current. : > : > Every time i am reattaching it i see this error: : > : > ucom0: could not set data multiplex mode : > : > : > : > So in order to work with it i have to reboot after each detache : > : > procedure. The only known workaround for this is to delete the : > : > "goto bad;" code in /usr/src/sys/dev/usb/umodem.c: : > : > : > : > printf("%s: could not set data multiplex mode\n", : > : > devname); : > : > goto bad; : > : > : > : > Could someone comment on this? : > : > : > : > P.S. Please cc me, becuase i am not subscribe to freebsd-usb or : > : > freebsd-mobile : > : > : > : : > : May be i should send this to maintainer..? : > : > I thought that NetBSD did something clever in this condition, but it : > doesn't. Try adding the device to usb_quirks.c. You'll need an entry : > like the following: : > : > { USB_VENDOR_METRICOM, USB_PRODUCT_METRICOM_RICOCHET_GS, : > 0x100, { UQ_ASSUME_CM_OVER_DATA }}, : : Thanks for response Warner. I want to check the usb_quirks variant : first. Could you please advise me on what this line should be if i have : this on dmesg: : : ucom0: on uhub1 : ucom0: CMOTECH CO., LTD. CMOTECH CDMA Technologies, rev 2.00/0.00, addr 2, iclass 2/2 : ucom0: data interface 1, has CM over data, has break : ucom0: status change notification available Unfortunately, there's not enough info there. usbdevs -v will tell us. : > for whatever values your CCU-550 CDMA modem has. alternatively, you : > could try the following patch, which may be lame: : > : > Index: umodem.c : > =================================================================== : > RCS file: /home/ncvs/src/sys/dev/usb/umodem.c,v : > retrieving revision 1.60 : > diff -u -r1.60 umodem.c : > --- umodem.c 7 Sep 2006 00:06:42 -0000 1.60 : > +++ umodem.c 31 May 2007 07:03:49 -0000 : > @@ -279,7 +279,6 @@ : > usb_cdc_cm_descriptor_t *cmd; : > char *devinfo = NULL; : > const char *devname; : > - usbd_status err; : > int data_ifcno; : > int i; : > struct ucom_softc *ucom; : > @@ -373,16 +372,8 @@ : > } else { : > if (sc->sc_cm_cap & USB_CDC_CM_OVER_DATA) { : > if (sc->sc_acm_cap & USB_CDC_ACM_HAS_FEATURE) : > - err = umodem_set_comm_feature(sc, : > - UCDC_ABSTRACT_STATE, UCDC_DATA_MULTIPLEXED); : > - else : > - err = 0; : > - if (err) { : > - printf("%s: could not set data multiplex mode\n", : > - devname); : > - goto bad; : > - } : > - sc->sc_cm_over_data = 1; : > + umodem_set_comm_feature(sc, : > + UCDC_ABSTRACT_STATE, UCDC_DATA_MULTIPLEXED); sc->sc_cm_over_data = 1; : > } : > } : > : > : > this patch just feels wrong to me, but I suspect it will just work. Please try this patch too :-) Warner