I've noticed that when I plug my SL6000 into the USB cradle while the Zaurus is powered on, my usbd0 interface comes up properly (SL6000 as dhcpcd client talking to Windows XP which is using Internet Connection Sharing).
This works ok.
However, when I remove the zaurus from the cradle (while powered on) - then the usbd0 interface remains up (it never runs the /etc/hotplug/usbd.func script file in this case). How can I fix this?
Also, I tried making the screen rotate when I insert the 6000 into the cradle, but it doesn't work (xrandr says: "Can't open display"). I added the xrandr call to the /etc/hotplug/usbd.func script.
I also tried starting the VNC server from that script, but that also fails.
How can I rotate the screen and start the VNC server (if X is up) when the 6000 is inserted into the cradle?
Thanks for any help!