From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 7 14:03:23 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 D5DEE16A407; Sun, 7 Jan 2007 14:03:23 +0000 (UTC) (envelope-from stefan@fafoe.narf.at) Received: from viefep14-int.chello.at (viefep13-int.chello.at [213.46.255.15]) by mx1.freebsd.org (Postfix) with ESMTP id 054B713C455; Sun, 7 Jan 2007 14:03:22 +0000 (UTC) (envelope-from stefan@fafoe.narf.at) Received: from lizard.fafoe.narf.at ([213.47.85.26]) by viefep11-int.chello.at (InterMail vM.6.01.05.04 201-2131-123-105-20051025) with ESMTP id <20070107134813.ZBNE4990.viefep11-int.chello.at@lizard.fafoe.narf.at>; Sun, 7 Jan 2007 14:48:13 +0100 Received: by lizard.fafoe.narf.at (Postfix, from userid 1001) id C65A2BB3D; Sun, 7 Jan 2007 14:48:12 +0100 (CET) Date: Sun, 7 Jan 2007 14:48:12 +0100 From: Stefan Farfeleder To: freebsd-mobile@FreeBSD.org, freebsd-acpi@FreeBSD.org Message-ID: <20070107134812.GA881@lizard.fafoe.narf.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: Dell Precision M70 and S3 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2007 14:03:23 -0000 Hi, I'm trying to get S3 working on an Dell Precision M70, for the moment without X. I have two problems: 1) This notebook has a serial port which I'd like to use for debugging my second problem. However, after resuming it seems to be dead. If I restart getty on /dev/ttyd0 I get this error: open /dev/ttyd0: Input/output error Is the combination sio and ACPI suspend/resume generally suppposed to work? 2) Resuming basically works but the display stays black. If I write to hw.acpi.video.*.active or press the CRT/LCD Fn-key the notebook completely freezes. If I load acpi_video, I get this: --- acpi_video0: on vgapci0 found TV/HDTV or Analog-Video Monitor(200), idx#0, port#0, detectable by BIOS, head #0 found VGA CRT or VESA Compatible Analog Monitor(100), idx#0, port#0, detectable by BIOS, head #0 found Internal/Integrated Digital Flat Panel(110), idx#0, port#1, detectable by BIOS, head #0 found VGA CRT or VESA Compatible Analog Monitor(120), idx#0, port#2, detectable by BIOS, head #0 -- And this is the -v kernel output from suspending and resuming in case that's any help: --- acpi_button1: sleep button pressed acpi_lid0: wake_prep enabled for \\_SB_.LID_ (S3) acpi_button0: wake_prep enabled for \\_SB_.PBTN (S3) unknown: wake_prep disabled wake for \\_SB_.PCI0.USB0 (S3) unknown: wake_prep disabled wake for \\_SB_.PCI0.USB1 (S3) unknown: wake_prep disabled wake for \\_SB_.PCI0.USB2 (S3) unknown: wake_prep disabled wake for \\_SB_.PCI0.USB4 (S3) unknown: wake_prep disabled wake for \\_SB_.PCI0.USB3 (S3) pci1:0:0: Transition from D0 to D3 pci3:3:0: Transition from D0 to D3 vga0: saving 68 bytes of video state pci0:31:2: Transition from D0 to D3 ======== acpi_printcpu() debug dump ======== gdt[0097:c0655680] idt[07ff:c0655b40] ldt[0050] tr[0048] efl[00080086] eax[c48b4101] ebx[c48fde80] ecx[00000004] edx[c48b41b0] esi[00000003] edi[00000000] ebp[e350dc5c] esp[e350dc40] cr0[8005003b] cr2[bfbfdf1c] cr3[0081e000] cr4[00000691] cs[0020] ds[0028] es[0028] fs[0008] gs[003b] ss[0028] ======== acpi_printcpu() debug dump ======== gdt[0097:c0655680] idt[07ff:c0655b40] ldt[0050] tr[0048] efl[00000002] eax[00000046] ebx[c48fde80] ecx[e30cf000] edx[00000001] esi[00000003] edi[00000000] ebp[e350dc5c] esp[e350dc40] cr0[8005003b] cr2[bfbfdf1c] cr3[0081e000] cr4[00000691] cs[0020] ds[0028] es[0028] fs[0008] gs[003b] ss[0028] acpi_lid0: run_prep cleaned up for \\_SB_.LID_ acpi_button0: run_prep cleaned up for \\_SB_.PBTN pci2:0:0: Transition from D3 to D0 battery0: battery initialization start battery1: battery initialization start battery0: battery initialization done, tried 1 times wakeup from sleeping state (slept 00:00:20) ata0: reiniting channel .. ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=00 devices=0x1 ata0: reinit done .. ata1: reiniting channel .. ata1: reset tp1 mask=03 ostat0=50 ostat1=00 ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb ata1: stat1=0x00 err=0x00 lsb=0x00 msb=0x00 ata1: reset tp2 stat0=00 stat1=00 devices=0x4 ata1: reinit done .. atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa battery1: battery initialization failed, giving up --- You can find the ASL and the boot -v output at http://people.freebsd.org/~stefanf/dell-m70/ . I patched the _WAK method as advised on http://forums.gentoo.org/viewtopic.php?t=122145 , but it makes no difference over the original DSDT. Regards, Stefan From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 7 16:14: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 16C8E16A403 for ; Sun, 7 Jan 2007 16:14:02 +0000 (UTC) (envelope-from xpahos@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id A793613C442 for ; Sun, 7 Jan 2007 16:14:01 +0000 (UTC) (envelope-from xpahos@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so5378597uge for ; Sun, 07 Jan 2007 08:14:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=V5vKaJiXlUPpod9BWST5noR1aJ94H6ABbIBd+5jOqHYDboiW815SGaTB1vGYGGmJ+EKCk2D6QJkJo3Y13Jnis2qrXuIFxOcTGVRV9KjpkQEUVeAM0hxmecXDwhHQTeF26Pmd3jCYrTxXP+PcfUZHTyoRrG0ZPiopIe9lnW58tzA= Received: by 10.78.200.3 with SMTP id x3mr5221143huf.1168184982726; Sun, 07 Jan 2007 07:49:42 -0800 (PST) Received: by 10.78.156.19 with HTTP; Sun, 7 Jan 2007 07:49:42 -0800 (PST) Message-ID: <789c35740701070749o700de749l6bd312b9994857b@mail.gmail.com> Date: Sun, 7 Jan 2007 15:49:42 +0000 From: "Necro Dogs Fucker" To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Asus A6km WebCam X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2007 16:14:02 -0000 Hello, freebsd-mobile. I have Asus A6km notebook with integrated USB 2.0. usbdevs: addr 2: high speed, power 500 mA, config 1, USB2.0 Video(0xa311), Syntek Semicon.(0x174f), rev 0.01 dmesg: ugen0: Syntek Semicon. USB2.0 Video, rev 2.00/0.01, addr 2 Has anybody stared this web cam on FreeBSD ? -- Best regards, phasma aka ][p@H()5 mailto:xpahos@mail.ru or mailto:mobile_xpahos@mail.ru From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 7 21:44:16 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 D9CD516A407 for ; Sun, 7 Jan 2007 21:44:16 +0000 (UTC) (envelope-from dennis.melentyev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.225]) by mx1.freebsd.org (Postfix) with ESMTP id 8769813C428 for ; Sun, 7 Jan 2007 21:44:16 +0000 (UTC) (envelope-from dennis.melentyev@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so7205695wxc for ; Sun, 07 Jan 2007 13:44:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZWSDitWieYd22KNx44aQOxQ3ObADOkdijWfzHLUPGxjn6+P1MFPgQ1K6O2fPsd7wFN7wk7p3CzH2JATh1fCEspEWHZ+d12JPQ0kwM1QcCm5d+iwyRGPMW1lJC+CzQo2/YY68FFinQfa6GqVrUTk5GG6LxfInot143tCZiF1z4oM= Received: by 10.90.78.9 with SMTP id a9mr1664145agb.1168206256027; Sun, 07 Jan 2007 13:44:16 -0800 (PST) Received: by 10.90.65.6 with HTTP; Sun, 7 Jan 2007 13:44:15 -0800 (PST) Message-ID: Date: Sun, 7 Jan 2007 23:44:16 +0200 From: "Dennis Melentyev" To: "Chen Xu" In-Reply-To: <184b087c0612302037s49d84c45qf1158d28cee28839@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <184b087c0611152045l20d16bc6r396aea3eb53b7275@mail.gmail.com> <184b087c0612302037s49d84c45qf1158d28cee28839@mail.gmail.com> Cc: freebsd-mobile@freebsd.org Subject: Re: Dell Inspirion 1300 doesn't wake 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: Sun, 07 Jan 2007 21:44:16 -0000 Well, xUSSR are slowly coming back to life... Happy everything, guys'n'girls! Suspend was working good, but does the text below mean that resume is working also? Let's see what do I have: dennis@dennis > cat /boot/loader.conf # that's for ndis driver bcmwl5_sys_load="YES" # this for 915resolution #/etc/rc.local:/usr/local/bin/915resolution 34 1280 800 linux_load="YES" # sound driver snd_hda_load="YES" # this for video on/off acpi_video_load="YES" # this is for bluetooth ng_ubt_load="YES" Mixer could need ajustments: dennis@dennis > mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer rec is currently set to 0:0 Recording source: mic dennis@dennis > cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit) Installed devices: pcm0: at memory 0xdfebc000 irq 16 kld snd_hda [20061017_0033] (1p/1r/0v channels duplex default) dennis@dennis > ll /dev/pcm* ls: No match. But sound is working (output only, no input yet)... 2006/12/31, Chen Xu : > Thanks Dennis, > > as recently around Dec. 25, 2006, the suspension works > most of times. > > For sound, I did what the link says, but got so sound coming > out the speaker, the pcm0 seems fine though. > > Any more advices? > > -Chen > > On 12/24/06, Dennis Melentyev wrote: > > For sound, check Ariff's lowlatency binaries > > http://people.freebsd.org/~ariff/lowlatency/ > > > > For resume - yes, it never wakes up. > > > > 2006/11/16, Chen Xu : > > > Dear list, > > > > > > I searched but could not fine enough information. Here is my problem: > > > zzz or acpiconf -s 3 both seems working, i.e. put the laptop into > > > standby mode. However, it doesn't wake up -- open the lid or press on > > > the power button seem to have some disk activity, but nothing is on > > > the display. > > > > > > Hardware: Dell 1300, everything works except sound card and resume. > > > FreeBSD: 6.2-prerelease > > > > > > Anyone can point me a direction what to check? > > > > > > Thanks, > > > -Chen > > > _______________________________________________ > > > 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" > > > > > > > > > -- > > Dennis Melentyev > > > > > -- > Chen Xu > Brandeis University > Rosenstiel Center, MS029 > Waltham, MA 02454 > (Office)781-736-2469 > (Fax)781-736-2419 > -- Dennis Melentyev From owner-freebsd-mobile@FreeBSD.ORG Mon Jan 8 15:30:31 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 7ED1316A415 for ; Mon, 8 Jan 2007 15:30:31 +0000 (UTC) (envelope-from dennis.melentyev@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id EA0CF13C44B for ; Mon, 8 Jan 2007 15:30:30 +0000 (UTC) (envelope-from dennis.melentyev@gmail.com) Received: by wr-out-0506.google.com with SMTP id i22so1305531wra for ; Mon, 08 Jan 2007 07:30:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FB3F2fiU5is9L9HfGZ7yveqSc/MRzQDKN4NhAgX1ykUXG9LfHTTG3AUKXON3Ohw/p+x/x4yC2f1+8jYkuQeyXZizvGVH1m0dk//bBgt2d+DBS72pNVZdUPtgZR2Elfq4iBAFIzghcmHIn046oFWiX7qG7OfzLIyoJTlgBP40fO4= Received: by 10.90.89.5 with SMTP id m5mr2072632agb.1168270230214; Mon, 08 Jan 2007 07:30:30 -0800 (PST) Received: by 10.90.50.16 with HTTP; Mon, 8 Jan 2007 07:30:30 -0800 (PST) Message-ID: Date: Mon, 8 Jan 2007 17:30:30 +0200 From: "Dennis Melentyev" To: "Chen Xu" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <184b087c0611152045l20d16bc6r396aea3eb53b7275@mail.gmail.com> <184b087c0612302037s49d84c45qf1158d28cee28839@mail.gmail.com> Cc: freebsd-mobile@freebsd.org Subject: Re: Dell Inspirion 1300 doesn't wake 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: Mon, 08 Jan 2007 15:30:31 -0000 Kind of status update: Installed yesterday's RC2 - suspension/resuming work Ok. With 2 seconds delay and sysctl hw.acpi.video.lcd0.active=1 in rc.restore. Great! With binary sound driver from URL below (as of Dec, 23rd) - it does not survive S3 suspension/resuming, writting series of these string into xconsole: pcm0: timeout in reset pcm0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0 pcm0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0 pcm0: timeout in reset pcm0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0 pcm0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0 So, Chen, you could try not to mix sound with S3 suspension. 2007/1/7, Dennis Melentyev : > Well, xUSSR are slowly coming back to life... > Happy everything, guys'n'girls! > > Suspend was working good, but does the text below mean that resume is > working also? > > Let's see what do I have: > > dennis@dennis > cat /boot/loader.conf > # that's for ndis driver > bcmwl5_sys_load="YES" > > # this for 915resolution > #/etc/rc.local:/usr/local/bin/915resolution 34 1280 800 > linux_load="YES" > > # sound driver > snd_hda_load="YES" > > # this for video on/off > acpi_video_load="YES" > > # this is for bluetooth > ng_ubt_load="YES" > > Mixer could need ajustments: > dennis@dennis > mixer > Mixer vol is currently set to 75:75 > Mixer pcm is currently set to 75:75 > Mixer speaker is currently set to 75:75 > Mixer line is currently set to 75:75 > Mixer rec is currently set to 0:0 > Recording source: mic > > dennis@dennis > cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 64bit) > Installed devices: > pcm0: at memory > 0xdfebc000 irq 16 kld snd_hda [20061017_0033] (1p/1r/0v channels > duplex default) > > dennis@dennis > ll /dev/pcm* > ls: No match. > > But sound is working (output only, no input yet)... > > > 2006/12/31, Chen Xu : > > Thanks Dennis, > > > > as recently around Dec. 25, 2006, the suspension works > > most of times. > > > > For sound, I did what the link says, but got so sound coming > > out the speaker, the pcm0 seems fine though. > > > > Any more advices? > > > > -Chen > > > > On 12/24/06, Dennis Melentyev wrote: > > > For sound, check Ariff's lowlatency binaries > > > http://people.freebsd.org/~ariff/lowlatency/ > > > > > > For resume - yes, it never wakes up. > > > > > > 2006/11/16, Chen Xu : > > > > Dear list, > > > > > > > > I searched but could not fine enough information. Here is my problem: > > > > zzz or acpiconf -s 3 both seems working, i.e. put the laptop into > > > > standby mode. However, it doesn't wake up -- open the lid or press on > > > > the power button seem to have some disk activity, but nothing is on > > > > the display. > > > > > > > > Hardware: Dell 1300, everything works except sound card and resume. > > > > FreeBSD: 6.2-prerelease > > > > > > > > Anyone can point me a direction what to check? > > > > > > > > Thanks, > > > > -Chen > > > > _______________________________________________ > > > > 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" > > > > > > > > > > > > > -- > > > Dennis Melentyev > > > > > > > > > -- > > Chen Xu > > Brandeis University > > Rosenstiel Center, MS029 > > Waltham, MA 02454 > > (Office)781-736-2469 > > (Fax)781-736-2419 > > > > > -- > Dennis Melentyev > -- Dennis Melentyev From owner-freebsd-mobile@FreeBSD.ORG Mon Jan 8 16:35:45 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BBAF216A40F for ; Mon, 8 Jan 2007 16:35:45 +0000 (UTC) (envelope-from xuchen66@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 2EE2213C441 for ; Mon, 8 Jan 2007 16:35:44 +0000 (UTC) (envelope-from xuchen66@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so5598651uge for ; Mon, 08 Jan 2007 08:35:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WuxvPnYNV6dI48Cw/VCvgzYaZQeL9Dnj9ut2q2fEeJdBjxCj4vorL+ms0Bu/ZOaIAruaggnLM9cMJLi0PC/YywqlQs/Z6UVcZQjGya2lEtlZJCkQYxuEWhQD+C2RgXddt1Yh0SBsa1m9KSL/Lp7WP4pH9+mmLwqswK1KDO1dQBQ= Received: by 10.82.183.19 with SMTP id g19mr2367624buf.1168274143799; Mon, 08 Jan 2007 08:35:43 -0800 (PST) Received: by 10.82.161.6 with HTTP; Mon, 8 Jan 2007 08:35:43 -0800 (PST) Message-ID: <184b087c0701080835h1f2f55d8y8375cd04dac534e4@mail.gmail.com> Date: Mon, 8 Jan 2007 11:35:43 -0500 From: "Chen Xu" To: "Dennis Melentyev" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <184b087c0611152045l20d16bc6r396aea3eb53b7275@mail.gmail.com> <184b087c0612302037s49d84c45qf1158d28cee28839@mail.gmail.com> Cc: freebsd-mobile@freebsd.org Subject: Re: Dell Inspirion 1300 doesn't wake 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: Mon, 08 Jan 2007 16:35:45 -0000 On 1/8/07, Dennis Melentyev wrote: > Kind of status update: > > Installed yesterday's RC2 - suspension/resuming work Ok. With 2 > seconds delay and sysctl hw.acpi.video.lcd0.active=1 in rc.restore. That sound good. However, I got kernel panic with recent RC2 after Dec 29th. I reverse back to 24th src. I have now ~90% is suspension/resume. In the other 10% times, there was no spin down sound from HDD. > > With binary sound driver from URL below (as of Dec, 23rd) - it does > not survive S3 suspension/resuming, writting series of these string > into xconsole: I have found similar thing, after suspension/resume, I have to kldunload and kldload snd_hda.ko to have sound back. Chen > pcm0: timeout in reset > pcm0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0 > pcm0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0 > pcm0: timeout in reset > pcm0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0 > pcm0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0 > > So, Chen, you could try not to mix sound with S3 suspension. > > 2007/1/7, Dennis Melentyev : > > Well, xUSSR are slowly coming back to life... > > Happy everything, guys'n'girls! > > > > Suspend was working good, but does the text below mean that resume is > > working also? > > > > Let's see what do I have: > > > > dennis@dennis > cat /boot/loader.conf > > # that's for ndis driver > > bcmwl5_sys_load="YES" > > > > # this for 915resolution > > #/etc/rc.local:/usr/local/bin/915resolution 34 1280 800 > > linux_load="YES" > > > > # sound driver > > snd_hda_load="YES" > > > > # this for video on/off > > acpi_video_load="YES" > > > > # this is for bluetooth > > ng_ubt_load="YES" > > > > Mixer could need ajustments: > > dennis@dennis > mixer > > Mixer vol is currently set to 75:75 > > Mixer pcm is currently set to 75:75 > > Mixer speaker is currently set to 75:75 > > Mixer line is currently set to 75:75 > > Mixer rec is currently set to 0:0 > > Recording source: mic > > > > dennis@dennis > cat /dev/sndstat > > FreeBSD Audio Driver (newpcm: 64bit) > > Installed devices: > > pcm0: at memory > > 0xdfebc000 irq 16 kld snd_hda [20061017_0033] (1p/1r/0v channels > > duplex default) > > > > dennis@dennis > ll /dev/pcm* > > ls: No match. > > > > But sound is working (output only, no input yet)... > > > > > > 2006/12/31, Chen Xu : > > > Thanks Dennis, > > > > > > as recently around Dec. 25, 2006, the suspension works > > > most of times. > > > > > > For sound, I did what the link says, but got so sound coming > > > out the speaker, the pcm0 seems fine though. > > > > > > Any more advices? > > > > > > -Chen > > > > > > On 12/24/06, Dennis Melentyev wrote: > > > > For sound, check Ariff's lowlatency binaries > > > > http://people.freebsd.org/~ariff/lowlatency/ > > > > > > > > For resume - yes, it never wakes up. > > > > > > > > 2006/11/16, Chen Xu : > > > > > Dear list, > > > > > > > > > > I searched but could not fine enough information. Here is my problem: > > > > > zzz or acpiconf -s 3 both seems working, i.e. put the laptop into > > > > > standby mode. However, it doesn't wake up -- open the lid or press on > > > > > the power button seem to have some disk activity, but nothing is on > > > > > the display. > > > > > > > > > > Hardware: Dell 1300, everything works except sound card and resume. > > > > > FreeBSD: 6.2-prerelease > > > > > > > > > > Anyone can point me a direction what to check? > > > > > > > > > > Thanks, > > > > > -Chen > > > > > _______________________________________________ > > > > > 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" > > > > > > > > > > > > > > > > > -- > > > > Dennis Melentyev > > > > > > > > > > > > > -- > > > Chen Xu > > > Brandeis University > > > Rosenstiel Center, MS029 > > > Waltham, MA 02454 > > > (Office)781-736-2469 > > > (Fax)781-736-2419 > > > > > > > > > -- > > Dennis Melentyev > > > > From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 11 18:41: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 91D7516A962 for ; Thu, 11 Jan 2007 18:41:59 +0000 (UTC) (envelope-from Fatima.Peter@u4eatech.com) Received: from phoenix.u4eatechinc.com (phoenix.u4eatechinc.com [66.206.164.201]) by mx1.freebsd.org (Postfix) with ESMTP id 796AA13C461 for ; Thu, 11 Jan 2007 18:41:59 +0000 (UTC) (envelope-from Fatima.Peter@u4eatech.com) Received: from exus.u4eatechinc.com ([172.16.1.215]) by phoenix.u4eatechinc.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 11 Jan 2007 10:29:57 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 11 Jan 2007 10:29:56 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Atheros AR2414/AR5414 Thread-Index: Acc1rn6Ix4WwSKa8Q/mumFTUVQT7GQ== From: "Fatima Peter" To: X-OriginalArrivalTime: 11 Jan 2007 18:29:57.0323 (UTC) FILETIME=[7EEA89B0:01C735AE] Subject: Atheros AR2414/AR5414 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, 11 Jan 2007 18:41:59 -0000 Hello, I am new to this thread and so, my email coule be a duplicate. I am interested in getting information on: 1) Whether freebsd supports Atheros AR2414/AR5414 chips.=20 2) If yes, which branch would contain the source? Thanks in advance. Regards, Fatima From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 11 20:22:07 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D85616A506 for ; Thu, 11 Jan 2007 20:22:07 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id D589B13C45D for ; Thu, 11 Jan 2007 20:22:06 +0000 (UTC) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l0BJmdND005081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 11 Jan 2007 11:48:40 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <45A69497.8070406@errno.com> Date: Thu, 11 Jan 2007 11:48:39 -0800 From: Sam Leffler User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: Fatima Peter References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: Atheros AR2414/AR5414 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, 11 Jan 2007 20:22:07 -0000 Fatima Peter wrote: > Hello, > I am new to this thread and so, my email coule be a duplicate. I am > interested in getting information on: > 1) Whether freebsd supports Atheros AR2414/AR5414 chips. > 2) If yes, which branch would contain the source? HEAD supports both. STABLE (RELENG_6 and 6.x) support the 5414 but not the 2414. MFC of the fix for the 2414 is in my q but won't make 6.2. Sam From owner-freebsd-mobile@FreeBSD.ORG Fri Jan 12 07:45:00 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 7278316A403 for ; Fri, 12 Jan 2007 07:45:00 +0000 (UTC) (envelope-from casner@acm.org) Received: from mailman.packetdesign.com (dns.packetdesign.com [65.192.41.10]) by mx1.freebsd.org (Postfix) with ESMTP id 62DB413C455 for ; Fri, 12 Jan 2007 07:45:00 +0000 (UTC) (envelope-from casner@acm.org) Received: from packetdesign.com (main-fw-eth1.packetdesign.com [192.168.0.254]) by mailman.packetdesign.com (8.13.1/8.13.1) with ESMTP id l0C7ivGn005851; Thu, 11 Jan 2007 23:44:58 -0800 Date: Thu, 11 Jan 2007 23:59:10 -0800 (PST) From: Stephen Casner Sender: casner@kao To: freebsd-mobile@freebsd.org Message-ID: <20070111235726.T15765@kao> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: System hang on laptop suspend/resume 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, 12 Jan 2007 07:45:00 -0000 [Didn't get any response on this at freebsd-questions; bmah suggested I try here; sorry if some see it twice.] I was running FreeBSD 4.8 on my Sony PCG-505TR laptop for about three years until I recently upgraded to 6.1 with a clean install on a new disk drive. One aspect of FreeBSD that I really liked was that suspend-to-memory and resume worked perfectly and quickly every time, whereas when I had previously tried this with Windows it usually failed. I did not even need to run apmd or configure any suspend or resume scripts other than the normal configuration in pccard.conf for the an0 802.11 network card. Sadly, with FreeBSD 6.1, the result is often a system hang requiring a power cycle to recover. I have found that I can avoid the hang if I do two things before suspend: - switch the display from X to the console vty (which I have automated using vidcontrol as suggested in the laptop article) - manually unplug the 802.11 network card and wait for dhclient to exit before suspending, and leave the card unplugged until after resuming My question is this: How can I programmatically power down or detach the network card? "ifconfig an0 down" is not sufficient. I'm worried about wearing out my PC Card slot by frequently unplugging the card. On 4.8, I used "pccardc power 0 0" to power down the card, but on 6.1 it results in the error message: pccardc: /dev/card0: No such file or directory In the mail archive, I saw that pccardc is not supported in NEWCARD, but the binary and man page are still included in the 6.1 release. Or is there something else I should be doing instead? Here are additional details -- - This laptop BIOS supports APM but not ACPI. - I am running apmd and have it configured to invoke rc.suspend and rc.resume, which in turn run vidcontrol. - I have two network cards: an0 and ath0. For an0, the hang occurs on resume about half the time. With ath0, it aways hangs. - The hang is indicated by a timeout on ad0 (see below). At that point, I can switch vtys among 1-8, but going to vty9 (X server) will hang. Ctrl-Alt-Delete does nothing. Return just echoes return, no login prompt (will echo more than once). - Pulling Aironet card and replugging results in: Interrupt storm detected on "irq9:"; throttling interrrupt source Messages on the console vty (manually copied): Dec 2 00:57:56 kao root: Received USERSUSPENDREQ Dec 2 00:57:56 kao apm: suspend an0: detached Dec 2 14:32:20 kao root: Received NORMRESUME Dec 2 14:32:20 kao apm: resumed from suspend Dec 2 14:32:20 kao dhclient[3365]: send_packet: Device not configured an0: at port 0x100-0x13f irq 9 function 0 config 5 on pccard0 an0: got RSSI <-> dBM map an0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps an0: Ethernet address: 00:40:96:32:05:b7 an0: [GIANT-LOCKED] ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=68041200 Messages from /var/log/messages: Dec 2 00:57:56 kao apmd[412]: apmevent 000a index 7 Dec 2 00:57:56 kao root: Received USERSUSPENDREQ Dec 2 00:57:56 kao apm: suspend Dec 2 14:32:20 kao kernel: an0: detached Dec 2 14:32:20 kao kernel: wakeup from sleeping state (slept 13:34:17) Dec 2 14:32:19 kao apmd[412]: apmevent 0003 index 8 Dec 2 14:32:20 kao root: Received NORMRESUME Dec 2 14:32:20 kao apm: resumed from suspend Dec 2 14:32:20 kao dhclient[3365]: send_packet: Device not configured Dec 2 14:54:13 kao syslogd: kernel boot file is /boot/kernel/kernel Note that some log messages are written after resuming and before the hang, so ad0 is working up to the point where it gets the timeout. -- Steve