I tried to follow this method (https://ubuntuforums.org/showthread.php?t=2217416) with no luck. When I put my modem, it always show Mass Storage Mode, here's my lsusb result:
denny@GIGABYTE-PC ~ $ lsusb
Bus 001 Device 009: ID 12d1:15ca Huawei Technologies Co., Ltd. E3131 3G/UMTS/HSPA+ Modem (Mass Storage Mode)
Note here that vid:pid value should be 12d1:1506 then I try modprobe -v option and followed by
sudo echo "12d1 1506" >/sys/bus/usb-serial/drivers/option1/new_id
bash: /sys/bus/usb-serial/drivers/option1/new_id: Permission denied
No matter what vid:pid that I supplied, system always spouts permission denied. So what's wrong ? and is there easier way to use my USB modem with Ubuntu ?
echo "thing" | sudo tee fileinstead of>, or dosudo -ithen repeat the command - redirection will not work withsudo– Zanna Sep 18 '16 at 09:13/syswhich isn't a real file system... that "file" might not be writable at all – Zanna Sep 18 '16 at 09:17sysfsutilsto make the change permanent... – Zanna Sep 18 '16 at 09:20