This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Integrate usb_modeswitch with Network Manager

65

Votes
65
0
Tags: usb_modeswitch, network manager, network, manager usb_modeswitch, network manager, network, manager usb_modeswitch, network manager, network, manager
(comma "," separated)
skynet
Registered Member
Posts
17
Karma
0
Integrate usb_modeswitch with the Network Manager.

mockup
Image

If vid and pid of the USB device are in /etc/usb_modeswitch.d/ or ~/.config/kusb_modeswitch/list/; Network Manager allows to switch the USB device.

Should be a script[imho writen in bash] that will check if there are devices that can switch and also switches the device.
Code: Select all
$ kusb_modeswitch check<br /># kusb_modeswitch switch vid:pid

Network Manager only run scripts.

Standard list delivered with usb_modeswitch
Code: Select all
# usb_modeswitch -c /etc/usb_modeswitch.d/vid:pid

User list
Code: Select all
# usb_modeswitch -c /home/user/.config/kusb_modeswitch/list/vid:pid
kbroulik
KDE Developer
Posts
131
Karma
0
OS
You cannot even connect via your USB connected cellphone to the internet while your wire is plugged in (as it will automatically re-connect the wired net all the time) so I dont give that suggestion a change though.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]