Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 2008 17:02:55 -0800 (PST)
From:      Vishwanathan S V N <vishketan@yahoo.com>
To:        freebsd-acpi@freebsd.org
Subject:   Sony Vaio VGN SZ483NC warm docking issues
Message-ID:  <492229.54112.qm@web31708.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
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 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?492229.54112.qm>