Comment 162 for bug 554099

Revision history for this message
Konstantin (jakshi) wrote :

My workaround is:
Create file ~/bin/gobi1000:

#! /bin/sh
sudo /lib/udev/gobi_loader-25-generic /dev/ttyUSB0 /lib/firmware/gobi
sudo pkill modem-manager

Set execution bit for this file:

chmod a+x ~/bin/gobi1000

place gobi1000.desktop in ~/.config/autostart:

[Desktop Entry]
Type=Application
Exec=/home/jakshi/bin/gobi1000
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[ru_UA]=Gobi1000 3G activate
Name=Gobi1000 3G activate
Comment[ru_UA]=upload firmware and restart modem-manager
Comment=upload firmware and restart modem-manager

add to /etc/sudoers:

%admin ALL=NOPASSWD: /lib/udev/gobi_loader-25-generic
%admin ALL=NOPASSWD: /usr/bin/pkill