Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
mischael1
Posts: 1
Joined: 14 Jan 2013, 21:21

cant install usb_modeswitch on Xandros eee PC

Post by mischael1 » 14 Jan 2013, 21:50

I download last usb-modeswitch-1.2.5.tar.bz2 and usb-modeswitch-data.
Unpacked them.
Then i type in bash: "sudo make install":

Code: Select all

install -D -s --mode=755 usb_modeswitch /usr/sbin/usb_modeswitch
install -D --mode=755 usb_modeswitch.sh /lib/udev/usb_modeswitch
install -D --mode=644 usb_modeswitch.conf /etc/usb_modeswitch.conf
install -D --mode=644 usb_modeswitch.1 /usr/share/man/man1/usb_modeswitch.1
install -d /var/lib/usb_modeswitch
install -D --mode=755 usb_modeswitch_dispatcher /usr/sbin/usb_modeswitch_dispatcher
And nothing changed.
If i type in bash "usb_modeswitch":

Code: Select all

bash: usb_modeswitch: comand not found
How to install?

Josh
Site Admin
Posts: 6593
Joined: 03 Nov 2007, 00:30

Re: cant install usb_modeswitch on Xandros eee PC

Post by Josh » 15 Jan 2013, 09:12

The path where usb_modeswitch is installed is usually not accessible for normal users; it is not contained in the PATH variable

If you want to play around with the program, it's much easier to become "root". Run "su" as a shell command; if that does not work, run "sudo bash".

Note that if your modem model is supported, you don't have to run usb_modeswitch manually.

Post Reply