2010年4月29日 星期四

MD300 in ubuntu 9.1

Install the MD300 Sony 3G card in the ubuntu 9.1

vi /etc/udev/rules.d/50-md300config.rules
then copy follow lines
ACTION!="add", GOTO="3G_End"

#SUBSYSTEMS=="usb", ATTRS{idProduct}=="d0cf", ATTRS{idVendor}=="0fce", NAME="%k", RUN+="/bin/sh -c 'echo 3 > /sys/%p/bConfigurationValue'"
SUBSYSTEMS=="usb", ATTRS{idProduct}=="d0cf", ATTRS{idVendor}=="0fce", RUN+="/bin/sh -c 'echo 2 > /sys/%p/bConfigurationValue'"
#SUBSYSTEMS=="usb", ATTRS{idProduct}=="d0cf", ATTRS{idVendor}=="0fce", RUN+="/usr/sbin/usb_modeswitch --default-vendor 0x0fce --default-product 0xd0cf"
LABEL="3G_End"

沒有留言: