Here is my script to prepare a git-svn repository to be pushed on a plain git repository. It create local branches from svn branches and local tags from svn tags.
#! /usr/bin/python
from subprocess import *
output = Popen(["git", "branch", "-rl"], stdout=PIPE).communicate()[0]
for b in output.split("\n"):
b=b.strip()
if b != "trunk" and len(b)>0:
ref="remotes/"+b
parent=Popen(["git", "log", "-n1", "--pretty=%P", ref], stdout=PIPE).communicate()[0]
parent=parent.split()[-1]
if b.startswith("tags/"):
tag=b[len("tags/"):]
message=Popen(["git", "log", "-n1", "--pretty=%B", ref], stdout=PIPE).communicate()[0]
message=message.strip()
call(["git", "tag", "-m", message, tag, parent])
else:
call(["git", "branch", b, parent])
Installing Debian on a 1001PX Eee PC is almost straightforward. Here are solutions for the few issues I met.
The first problem came with the ath9k driver for the AR9285 wireless adapter. The hardware encryption seem buggy so I disabled it:
echo options ath9k nohwcrypt=1 > /etc/modprobe.d/ath9.conf
Next I get the Query no Synaptics: 6003C8 error message in the Xorg log. /usr/share/X11/xorg.conf.d configure the touchpad with both /dev/input/mouse* and /dev/input/event*. Adding the following content to /etc/X11/xorg.conf.d/10-touchpad.conf solved the problem:
Section "InputClass"
Identifier "disable mouse touchpad"
MatchDevicePath "/dev/input/mouse*"
MatchIsTouchpad "on"
Option "Ignore" "true"
EndSection
Section "InputClass"
Identifier "touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "synaptics"
EndSection
Finally, as xdpyinfo|dimensions reported a screen much larger than 10.1″ I forced the dimension in /etc/X11/10-monitor.conf:
Section "Monitor"
Identifier ""
DisplaySize 223 125
EndSection
I found the problem on Debian Wheezy/Sid with both Linux 2.6.38 and 2.6.39.
To begin udev won’t modprobe any module for the touchpad. To fix it:
echo psmouse > /etc/modules
modprobe psmouse
Unfortunnatly the touchpad will be detected as a PS/2 Mouse not as an ALPS Touchpad. Xorg won’t find any rules from
/usr/share/X11/xorg.conf.d to associate drivers to devices. To help it just create a file in /etc/X11/xorg.conf.d
with the following content:
Section "InputClass"
Identifier "Touchpad Emulation"
MatchDevicePath "/dev/input/event1"
Driver "evdev"
Option "GrabDevice" "true"
EndSection
This solution is less thant satisfactory because XInput will see the touchpad as a mouse, which will prevent to do any sensible configuration.
I suspect this is related to this bug: https://bugzilla.kernel.org/show_bug.cgi?id=14660.