LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   XF86Config-4 and docking station (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/xf86config-4-and-docking-station-195110/)

Cons 06-18-2004 04:56 PM

XF86Config-4 and docking station
 
Hi All,

I have tried to solve this problem for some days, and i need some help.

I'm running Mandrake 10 on my Dell Latitude C600, when I'm using my laptop only; I don't have any problems with the monitor. But when I use my docking station and my external monitor (Dell P790) the screen goes black.

I know the problem is with the XF86Config-4 file, but i have no idea on how to fix it.

Besides that I found this script, that i think can solve my problem.

Can anyone help me create the XF86Config and help me use this script?
--------------------------------------------------------------------------
SOCKETS=`tail -1 /var/run/stab | cut -d ":" -f 1`
case "$SOCKETS" in
'Socket 3')
echo Laptop is in Dockingstation
echo Disabeling internal LCD Display for X11
echo
cp /etc/XF86Config_extern
/etc/XF86Config
echo
echo "Setting up eth0 for use at Network ..."
echo
/sbin/ifconfig eth0 10.1.9.5 netmask 255.255.0.0 broadcast 10.1.255.255
/sbin/route add -net 10.1.0.0 gw 10.1.9.5
/sbin/route add default gw 10.1.10.1
;;;Unavngivet 1
'Socket 1')
echo Laptop is standalone
echo Disabling external Monitor for X11
cp /etc/XF86Config_intern /etc/XF86Config
echo
echo Network device NOT setup
;;
esac
--------------------------------------------------------------------------
Thanks,
Cons

Augustino 06-21-2007 03:32 PM

Can you get it?


All times are GMT -5. The time now is 02:32 AM.