From owner-freebsd-acpi@FreeBSD.ORG Tue Mar 4 01:29:36 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFD591065671 for ; Tue, 4 Mar 2008 01:29:36 +0000 (UTC) (envelope-from vishketan@yahoo.com) Received: from web31708.mail.mud.yahoo.com (web31708.mail.mud.yahoo.com [68.142.201.188]) by mx1.freebsd.org (Postfix) with SMTP id D1D5D8FC1F for ; Tue, 4 Mar 2008 01:29:36 +0000 (UTC) (envelope-from vishketan@yahoo.com) Received: (qmail 54818 invoked by uid 60001); 4 Mar 2008 01:02:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=TbiempS2eUY4hcffay6eR5gwLRvABXYbnp7LEK1LxINWSFLU78+I+8nMwXN29p34qQwLmK64SSCeJNfANXNUzosc9Gxrt4Pjk+W79Bd0l/TWq6psMiIGFXOkRiWWRPon3FQgSquiVj7LVaq1L3aomUAjFxSvgNauFoF+bcGWc4Q=; X-YMail-OSG: Z3uRiCYVM1lHr.ACwWOEgg1oOS6GRuKCWg0z9F.2luUwTRHc.63MQugd2rKF0.sLnLyYw.LEZuH3Dw1fFwtGrX5vNaBWX3Wfsxl.ROnqSEvdxJ2K1Wo- Received: from [203.143.165.74] by web31708.mail.mud.yahoo.com via HTTP; Mon, 03 Mar 2008 17:02:55 PST Date: Mon, 3 Mar 2008 17:02:55 -0800 (PST) From: Vishwanathan S V N To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <492229.54112.qm@web31708.mail.mud.yahoo.com> Subject: Sony Vaio VGN SZ483NC warm docking issues X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 01:29:37 -0000 Hi, I am running DesktopBSD 1.6.1 live DVD on my sony vaio VGN SZ483NC laptop with a corresponding docking station and am having problems with warm docking the laptop. I am new to BSD but have used various flavors of *Unix (mainly Linux) on and off for the past 10 years. So please let me know if something is unclear or if you me to run any command for more information. Scenario 1: If I boot the laptop while it is docked then the Marvell Yukon Ethernet card (PCI) is recognized correctly and I can do a kldload if_msk and it shows up if I do ifconfig. I can also do a dhclient msk1 and configure it using DHCP. If I now try to undock the laptop by pressing the Undock button on the docking station nothing happens. The "In Use" orange LED continues to glow. But I can detach the laptop from the docking station with no hard lockups or kernel panics. Of course the network card is no longer available, but pciconf -lv still shows the card as available. Scenario 2: If I boot the laptop away from the dock and then subsequently dock it the Ethernet card on the docking station is not recognized at all. The "In Use" LED also does not glow indicating that the OS did not recognize the docking station. The problem only seems to be with the PCI card and not with the other USB devices or the monitor connected to the docking station. Summary: I think a PCI bus scan is not triggered every time the machine docks or undocks thus preventing warm docking. Files: My decompiled asl can be found at http://users.rsise.anu.edu.au/~vishy/FreeBSD/sony-vaio-vgn-sz483nc.asl Output from various commands like uname -a, pciconf -lv, ifconfig etc can be found at http://users.rsise.anu.edu.au/~vishy/FreeBSD/dmesg.txt http://users.rsise.anu.edu.au/~vishy/FreeBSD/hw.acpi.txt http://users.rsise.anu.edu.au/~vishy/FreeBSD/ifconfig.txt http://users.rsise.anu.edu.au/~vishy/FreeBSD/pciconf-lv.txt http://users.rsise.anu.edu.au/~vishy/FreeBSD/uname-a.txt Other Information: This works perfectly under Windows Vista. A similar bug exists under Linux. In fact the machine hard freezes whenever the Ethernet card on the docking station is in use and I undock the machine without pressing the Undock button. More details about the problem can be found at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/194617 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/163211 and http://ubuntuforums.org/showthread.php?t=666757 I believe that the SONY docking stations are slightly different from the IBM ones in that the docking station does not appear as a device under PCI0 but appears as a separate device. This seems to be common feature of most SONY laptops which support a docking station. vishy ps: I am not subscribed to the list. So please CC me on any replies. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ