Hello Beaglebone experts:
I will appreciate your help in configuring Huawei E303 cellular modem on Beaglebone Black running Debian Linux.
I found some help on the web and I have tried the following:
1) I installed USB-modeswith and USB-modeswitch-data
2) I also installed sakis3G
Upon installing Huawei E303 i notice that the modem is recognized as storage device. Sakis3g, can change it to comm device, but it fails to comnnect. Fillowing is the output from lsusb and sakis3g.
PLEASE HELP!!!
login as: root
Debian GNU/Linux 7
BeagleBoard.org BeagleBone Debian Image 2014-04-23
Support/FAQ:
http://elinux.org/Beagleboard:BeagleBoneBlack_DebianLast login: Thu Aug 13 23:06:06 2015 from raj-pc.local
root@beaglebone:~# lsusb
Bus 001 Device 002: ID 12d1:1f01 Huawei Technologies Co., Ltd.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@beaglebone:~#
root@beaglebone:~#
root@beaglebone:~# uname -a
Linux beaglebone 3.8.13-bone47 #1 SMP Fri Apr 11 01:36:09 UTC 2014 armv7l GNU/Linux
-------------------------------------------------------------------------------------------
root@beaglebone:~# lsusb -v
Bus 001 Device 002: ID 12d1:1f01 Huawei Technologies Co., Ltd.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x12d1 Huawei Technologies Co., Ltd.
idProduct 0x1f01
bcdDevice 1.02
iManufacturer 2 HUAWEI
iProduct 1 HUAWEI HiLink
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
---------------------------------------------------------------------------------------------
sakis3g debug output:
root@beaglebone:~# ./sakis3g --interactive -debug
-------------------------------------------
Sakis3G 0.2.0e running on DEBUG mode.
-------------------------------------------
Fri Aug 14 15:12:37 UTC 2015
-------------------------------------------
Command line was: /tmp/sakis3gz.1279.sakis3g "--interactive" "-debug"
Running with PID: 1309
-------------------------------------------
Environment is:
DEBUG='on'
DESKTOP=''
DISPLAY=''
EXTRACTED='/tmp/sakis3gz.1279.sakis3g'
HOME='/root'
IFS='
'
LOGNAME='root'
MAIL='/var/mail/root'
MEGZ='./sakis3g'
MYVERSION='0.2.0e'
NODE_PATH='/usr/local/lib/node_modules'
NOFUNCNAME='1'
OPTIND='1'
PATH='/bin:/sbin:/usr/bin:/usr/sbin'
PPID='1279'
PROVIDER='./sakis3g'
PS1='# '
PS2='> '
PS4='+ '
PWD='/root'
SHELL='/bin/bash'
SHLVL='1'
SSH_CLIENT='192.168.7.1 54561 22'
SSH_CONNECTION='192.168.7.1 54561 192.168.7.2 22'
SSH_TTY='/dev/pts/0'
TERM='xterm'
TRAPS='cleanscreen '
USER='root'
USERNAME=''
XAUTHORITY=''
_='./sakis3g'
allargs='"--interactive" "-debug"'
binaryfree='yes'
binaryvariable='grep'
cutbin='/usr/bin/cut'
grepbin='/bin/grep'
interactive='yes'
lastverbosetext='Starting up'
me='/tmp/sakis3gz.1279.sakis3g'
printfbin='/usr/bin/printf'
sedbin='/bin/sed'
trbin='/usr/bin/tr'
verbosecurrentcount='7'
whichbin='/bin/which'
-------------------------------------------
Will now proceed with Sakis3G execution.
-------------------------------------------
[01309] [15:12:37] Located "echo" within PATH (/bin/echo).
[01309] [15:12:37] Level 1 dependencies met.
[01309] [15:12:37] Dir "/bin" exists in PATH.
[01309] [15:12:37] Dir "/usr/bin" exists in PATH.
[01309] [15:12:37] Dir "/sbin" exists in PATH.
[01309] [15:12:37] Dir "/usr/sbin" exists in PATH.
[01309] [15:12:37] Done setting up PATH.
[01309] [15:12:37] Located "readlink" within PATH (/bin/readlink).
[01309] [15:12:37] My location is "/root/sakis3g".
[01309] [15:12:37] Located "wc" within PATH (/usr/bin/wc).
[01309] [15:12:37] Located "cat" within PATH (/bin/cat).
[01309] [15:12:37] Located "tail" within PATH (/usr/bin/tail).
[01309] [15:12:37] Located "head" within PATH (/usr/bin/head).
[01309] [15:12:37] Located "sort" within PATH (/usr/bin/sort).
[01309] [15:12:37] Located "uniq" within PATH (/usr/bin/uniq).
[01309] [15:12:37] Located "ls" within PATH (/bin/ls).
[01309] [15:12:37] Located "setsid" within PATH (/usr/bin/setsid).
[01309] [15:12:37] Located "getent" within PATH (/usr/bin/getent).
[01309] [15:12:37] Located "ps" within PATH (/bin/ps).
[01309] [15:12:37] Located "chmod" within PATH (/bin/chmod).
[01309] [15:12:37] Located "chown" within PATH (/bin/chown).
[01309] [15:12:37] Located "touch" within PATH (/bin/touch).
[01309] [15:12:37] Located "expr" within PATH (/usr/bin/expr).
[01309] [15:12:38] Located "seq" within PATH (/usr/bin/seq).
[01309] [15:12:38] Located "cp" within PATH (/bin/cp).
[01309] [15:12:38] Located "rm" within PATH (/bin/rm).
[01309] [15:12:38] Located "who" within PATH (/usr/bin/who).
[01309] [15:12:38] Located "mv" within PATH (/bin/mv).
[01309] [15:12:38] Located "basename" within PATH (/usr/bin/basename).
[01309] [15:12:38] Located "dirname" within PATH (/usr/bin/dirname).
[01309] [15:12:38] Level 2 dependencies met.
[01309] [15:12:38] Basic binaries are resolved.
[01309] [15:12:38] Parent process is: bash
[01309] [15:12:38] Running by user request.
[01309] [15:12:38] Person behind screen is root.
[01309] [15:12:38] Configuration file /etc/default/sakis3g does not exist or is not readable.
[01309] [15:12:38] Configuration file /etc/sysconfig/sakis3g does not exist or is not readable.
[01309] [15:12:38] Configuration file /etc/sakis3g.conf does not exist or is not readable.
[01309] [15:12:38] Configuration file(s) loaded.
[01309] [15:12:38] Unable to find a local X display, will stick to terminal.
[01309] [15:12:38] Selecting GUI.
[01309] [15:12:38] Unable to locate "dialog" within PATH.
[01309] [15:12:39] Located "whiptail" within PATH (/usr/bin/whiptail).
[01309] [15:12:39] whiptail selected as GUI.
[01309] [15:12:39] Selecting GUI.
[01309] [15:12:39] Validating pre-selected GUI: whiptail
[01309] [15:12:39] whiptail selected as GUI.
[01309] [15:12:39] No locale reported by system. Will not be using translations.
[01309] [15:12:39] Loaded default value for foldwrapping: 60
[01309] [15:12:39] Located "ifconfig" within PATH (/sbin/ifconfig).
[01309] [15:12:39] Root level dependencies met.
[01309] [15:12:39] Loading Usb-ModeSwitch device database.
[01309] [15:12:39] Embedded device database contains 0 entries.
[01309] [15:12:39] Folder "/etc/usb_modeswitch.d" exists. Will check if it contains configuration files.
[01309] [15:12:39] Loading system supplied device database.
[01309] [15:12:39] Switchable devices within system device database:
[01309] [15:12:39] Switched devices within system device database:
[01309] [15:12:39] Finished starting up.
[01309] [15:12:39] No actors defined.
[01309] [15:12:39] Executing default actor for "whiptail".
[01309] [15:12:39] Loaded default value for pppint: ppp0
[01309] [15:12:39] Asking user to select: MENU Please select an action Choose action for Sakis3G script to follow. OK Cancel CONNECT Connect with 3G MOREMENU More options... ABOUT About Sakis3G EXIT Exit
[01309] [15:12:40] Asking user to select: MENU Please select an action Choose action for Sakis3G script to follow. OK Cancel CONNECT Connect with 3G MOREMENU More options... ABOUT About Sakis3G EXIT Exit
[01309] [15:12:40] Variable MENU is not set already.
[01309] [15:12:40] Prompting user to select variable MENU.
[01309] [15:12:44] User selected: "1. Connect with 3G"
[01309] [15:12:44] Considering selection: 1
[01309] [15:12:44] User selection was 1.
[01309] [15:12:44] Verbosing: 7% Locating device
Locating device [01309] [15:12:44] Loading Usb-ModeSwitch device database.
[01309] [15:12:44] Embedded device database contains 0 entries.
[01309] [15:12:44] Folder "/etc/usb_modeswitch.d" exists. Will check if it contains configuration files.
[01309] [15:12:44] Loading system supplied device database.
[01309] [15:12:45] Switchable devices within system device database:
[01309] [15:12:45] Switched devices within system device database:
[01309] [15:12:45] Fetching connected USB devices by using "/sys/bus/usb/devices".
[01309] [15:12:45] Connected USB devices are:
12d1:1f01:HUAWEI HiLink
1d6b:0002:MUSB HDRC host driver
[01309] [15:12:45] No plugged modems found.
[01309] [15:12:45] Asking user to select: OTHER Please select modem type Select modem category that best fits your 3G modem. Select Cancel USBMODEM USB device BLUETOOTH Bluetooth modem CUSTOM_TTY Custom tty...
[01309] [15:12:45] Asking user to select: OTHER Please select modem type Select modem category that best fits your 3G modem. Select Cancel USBMODEM USB device BLUETOOTH Bluetooth modem CUSTOM_TTY Custom tty...
[01309] [15:12:45] Variable OTHER is not set already.
[01309] [15:12:45] Prompting user to select variable OTHER.
[01309] [15:12:48] User selected: "1. USB device"
[01309] [15:12:48] Considering selection: 1
[01309] [15:12:48] User selection was 1.
[01309] [15:12:48] Fetching connected USB devices by using "/sys/bus/usb/devices".
[01309] [15:12:48] Connected USB devices are:
12d1:1f01:HUAWEI HiLink
1d6b:0002:MUSB HDRC host driver
[01309] [15:12:48] Asking user to select: USBMODEM Please select USB modem Select USB device that provides modem capabilities. Select Cancel 12d1:1f01 HUAWEI HiLink 1d6b:0002 MUSB HDRC host driver
[01309] [15:12:48] Asking user to select: USBMODEM Please select USB modem Select USB device that provides modem capabilities. Select Cancel 12d1:1f01 HUAWEI HiLink 1d6b:0002 MUSB HDRC host driver
[01309] [15:12:48] Variable USBMODEM is not set already.
[01309] [15:12:49] Prompting user to select variable USBMODEM.
[01309] [15:12:51] User selected: "1. HUAWEI HiLink"
[01309] [15:12:51] Considering selection: 1
[01309] [15:12:51] User selection was 1.
[01309] [15:12:51] Fetching connected USB devices by using "/sys/bus/usb/devices".
[01309] [15:12:51] Connected USB devices are:
12d1:1f01:HUAWEI HiLink
1d6b:0002:MUSB HDRC host driver
[01309] [15:12:51] User selected USB modem "12d1:1f01".
[01309] [15:12:51] Setting up modem.
[01309] [15:12:51] We are root already. Proceeding.
[01309] [15:12:51] Setting up USB modem 12d1:1f01.
[01309] [15:12:52] Fetching connected USB devices by using "/sys/bus/usb/devices".
[01309] [15:12:52] Connected USB devices are:
12d1:1f01:HUAWEI HiLink
1d6b:0002:MUSB HDRC host driver
[01309] [15:12:52] Located "lsusb" within PATH (/usr/bin/lsusb).
[01309] [15:12:52] Using information of lsusb to determine usable interfaces.
[01309] [15:12:52] USB Device 12d1:1f01 provides 0 interruptable endpoint(s).
[01309] [15:12:52] lsusb output was:
Bus 001 Device 002: ID 12d1:1f01 Huawei Technologies Co., Ltd.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x12d1 Huawei Technologies Co., Ltd.
idProduct 0x1f01
bcdDevice 1.02
iManufacturer 2 HUAWEI
iProduct 1 HUAWEI HiLink
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
[01309] [15:12:52] No modem lines on USB device "12d1:1f01". Device may need switching.
[01309] [15:12:52] Interfaces collected from lsusb are:
[01309] [15:12:52] Failed to locate any usable interface for device 12d1:1f01.
[01309] [15:12:52] Failed to get an interface for device.
[01309] [15:12:53] Loading Usb-ModeSwitch device database.
[01309] [15:12:53] Embedded device database contains 0 entries.
[01309] [15:12:53] Folder "/etc/usb_modeswitch.d" exists. Will check if it contains configuration files.
[01309] [15:12:53] Loading system supplied device database.
[01309] [15:12:53] Switchable devices within system device database:
[01309] [15:12:53] Switched devices within system device database:
[01309] [15:12:53] Device "12d1:1f01" is not switchable.
[01309] [15:12:53] Failed setting up USB modem "12d1:1f01".
[01309] [15:12:53] Error: Failed to connect.
[01309] [15:12:58] Asking user to select: MENU Please select an action Choose action for Sakis3G script to follow. OK Cancel CONNECT Connect with 3G MOREMENU More options... ABOUT About Sakis3G EXIT Exit
[01309] [15:12:58] Asking user to select: MENU Please select an action Choose action for Sakis3G script to follow. OK Cancel CONNECT Connect with 3G MOREMENU More options... ABOUT About Sakis3G EXIT Exit
[01309] [15:12:58] Variable MENU is not set already.
[01309] [15:12:58] Prompting user to select variable MENU.
[01309] [15:13:01] User selected: "2. More options..."
[01309] [15:13:01] Considering selection: 2
[01309] [15:13:01] User selection was 2.
[01309] [15:13:02] Asking user to select: MOREMENU Please select an action Choose action for Sakis3G script to follow. OK Cancel CONNECT Connect with 3G PREPARE Only prepare modem (Setup + PIN unlock + Register Network + Update HAL) SETUP Only setup modem (Switch + Load module + Setup tty) SWITCH Only switch modem (if applicable) DESKTOP Create desktop shortcut ABOUT About Sakis3G HELP Show help EXIT Exit
[01309] [15:13:02] Asking user to select: MOREMENU Please select an action Choose action for Sakis3G script to follow. OK Cancel CONNECT Connect with 3G PREPARE Only prepare modem (Setup + PIN unlock + Register Network + Update HAL) SETUP Only setup modem (Switch + Load module + Setup tty) SWITCH Only switch modem (if applicable) DESKTOP Create desktop shortcut ABOUT About Sakis3G HELP Show help EXIT Exit
[01309] [15:13:02] Variable MOREMENU is not set already.
[01309] [15:13:02] Prompting user to select variable MOREMENU.
[01309] [15:13:09] User selected: "4. Only switch modem (if applicable)"
[01309] [15:13:09] Considering selection: 4
[01309] [15:13:09] User selection was 4.
[01309] [15:13:09] Verbosing: 1% Locating device
Locating device [01309] [15:13:09] Loading Usb-ModeSwitch device database.
[01309] [15:13:09] Embedded device database contains 0 entries.
[01309] [15:13:09] Folder "/etc/usb_modeswitch.d" exists. Will check if it contains configuration files.
[01309] [15:13:09] Loading system supplied device database.
[01309] [15:13:10] Switchable devices within system device database:
[01309] [15:13:10] Switched devices within system device database:
[01309] [15:13:10] Fetching connected USB devices by using "/sys/bus/usb/devices".
[01309] [15:13:10] Connected USB devices are:
12d1:1f01:HUAWEI HiLink
1d6b:0002:MUSB HDRC host driver
[01309] [15:13:10] Connected USB modems are:
12d1:1f01:HUAWEI HiLink
[01309] [15:13:10] Asking user to select: MODEM Please select modem Select modem that will be used for establishing 3G connection. Select Cancel 12d1:1f01 HUAWEI HiLink OTHER Other...
[01309] [15:13:10] Asking user to select: MODEM Please select modem Select modem that will be used for establishing 3G connection. Select Cancel 12d1:1f01 HUAWEI HiLink OTHER Other...
[01309] [15:13:10] MODEM=OTHER
[01309] [15:13:10] 12d1:1f01!=OTHER
[01309] [15:13:10] OTHER==OTHER.
[01309] [15:13:10] User has already selected MODEM="OTHER". Returning 2.
[01309] [15:13:10] Asking user to select: OTHER Please select modem type Select modem category that best fits your 3G modem. Select Cancel USBMODEM USB device BLUETOOTH Bluetooth modem CUSTOM_TTY Custom tty...
[01309] [15:13:11] Asking user to select: OTHER Please select modem type Select modem category that best fits your 3G modem. Select Cancel USBMODEM USB device BLUETOOTH Bluetooth modem CUSTOM_TTY Custom tty...
[01309] [15:13:11] OTHER=USBMODEM
[01309] [15:13:11] USBMODEM==USBMODEM.
[01309] [15:13:11] User has already selected OTHER="USBMODEM". Returning 1.
[01309] [15:13:11] Fetching connected USB devices by using "/sys/bus/usb/devices".
[01309] [15:13:11] Connected USB devices are:
12d1:1f01:HUAWEI HiLink
1d6b:0002:MUSB HDRC host driver
[01309] [15:13:11] Asking user to select: USBMODEM Please select USB modem Select USB device that provides modem capabilities. Select Cancel 12d1:1f01 HUAWEI HiLink 1d6b:0002 MUSB HDRC host driver
[01309] [15:13:11] Asking user to select: USBMODEM Please select USB modem Select USB device that provides modem capabilities. Select Cancel 12d1:1f01 HUAWEI HiLink 1d6b:0002 MUSB HDRC host driver
[01309] [15:13:11] USBMODEM=12d1:1f01
[01309] [15:13:11] 12d1:1f01==12d1:1f01.
[01309] [15:13:11] User has already selected USBMODEM="12d1:1f01". Returning 1.
[01309] [15:13:11] Fetching connected USB devices by using "/sys/bus/usb/devices".
[01309] [15:13:11] Connected USB devices are:
12d1:1f01:HUAWEI HiLink
1d6b:0002:MUSB HDRC host driver
[01309] [15:13:11] User selected USB modem "12d1:1f01".
[01309] [15:13:11] Loading Usb-ModeSwitch device database.
[01309] [15:13:11] Embedded device database contains 0 entries.
[01309] [15:13:11] Folder "/etc/usb_modeswitch.d" exists. Will check if it contains configuration files.
[01309] [15:13:11] Loading system supplied device database.
[01309] [15:13:12] Switchable devices within system device database:
[01309] [15:13:12] Switched devices within system device database:
[01309] [15:13:12] Device "OTHER" is not switchable.
[01309] [15:13:12] Loading Usb-ModeSwitch device database.
[01309] [15:13:12] Embedded device database contains 0 entries.
[01309] [15:13:12] Folder "/etc/usb_modeswitch.d" exists. Will check if it contains configuration files.
[01309] [15:13:12] Loading system supplied device database.
[01309] [15:13:12] Switchable devices within system device database:
[01309] [15:13:12] Switched devices within system device database:
[01309] [15:13:12] Device "12d1:1f01" is not switchable.
[01309] [15:13:12] Currently selected modem cannot be switched. No need to switch anything.
[01309] [15:13:12] Notify: Modem switched.
[01309] [15:13:15] Asking user to select: MOREMENU Please select an action Choose action for Sakis3G script to follow. OK Cancel CONNECT Connect with 3G PREPARE Only prepare modem (Setup + PIN unlock + Register Network + Update HAL) SETUP Only setup modem (Switch + Load module + Setup tty) SWITCH Only switch modem (if applicable) DESKTOP Create desktop shortcut ABOUT About Sakis3G HELP Show help EXIT Exit
[01309] [15:13:15] Asking user to select: MOREMENU Please select an action Choose action for Sakis3G script to follow. OK Cancel CONNECT Connect with 3G PREPARE Only prepare modem (Setup + PIN unlock + Register Network + Update HAL) SETUP Only setup modem (Switch + Load module + Setup tty) SWITCH Only switch modem (if applicable) DESKTOP Create desktop shortcut ABOUT About Sakis3G HELP Show help EXIT Exit
[01309] [15:13:15] Variable MOREMENU is not set already.
[01309] [15:13:15] Prompting user to select variable MOREMENU.
[01309] [15:13:20] User selected: "1. Connect with 3G"
[01309] [15:13:20] Considering selection: 1
[01309] [15:13:20] User selection was 1.
[01309] [15:13:21] Verbosing: 1% Locating device
Locating device [01309] [15:13:21] Loading Usb-ModeSwitch device database.
[01309] [15:13:21] Embedded device database contains 0 entries.
[01309] [15:13:21] Folder "/etc/usb_modeswitch.d" exists. Will check if it contains configuration files.
[01309] [15:13:21] Loading system supplied device database.
[01309] [15:13:21] Switchable devices within system device database:
[01309] [15:13:21] Switched devices within system device database:
[01309] [15:13:21] Fetching connected USB devices by using "/sys/bus/usb/devices".
[01309] [15:13:21] Connected USB devices are:
12d1:1f01:HUAWEI HiLink
1d6b:0002:MUSB HDRC host driver
[01309] [15:13:21] Connected USB modems are:
12d1:1f01:HUAWEI HiLink
[01309] [15:13:21] Asking user to select: MODEM Please select modem Select modem that will be used for establishing 3G connection. Select Cancel 12d1:1f01 HUAWEI HiLink OTHER Other...
[01309] [15:13:22] Asking user to select: MODEM Please select modem Select modem that will be used for establishing 3G connection. Select Cancel 12d1:1f01 HUAWEI HiLink OTHER Other...
[01309] [15:13:22] MODEM=OTHER
[01309] [15:13:22] 12d1:1f01!=OTHER
[01309] [15:13:22] OTHER==OTHER.
[01309] [15:13:22] User has already selected MODEM="OTHER". Returning 2.
[01309] [15:13:22] Asking user to select: OTHER Please select modem type Select modem category that best fits your 3G modem. Select Cancel USBMODEM USB device BLUETOOTH Bluetooth modem CUSTOM_TTY Custom tty...
[01309] [15:13:22] Asking user to select: OTHER Please select modem type Select modem category that best fits your 3G modem. Select Cancel USBMODEM USB device BLUETOOTH Bluetooth modem CUSTOM_TTY Custom tty...
[01309] [15:13:22] OTHER=USBMODEM
[01309] [15:13:22] USBMODEM==USBMODEM.
[01309] [15:13:22] User has already selected OTHER="USBMODEM". Returning 1.
[01309] [15:13:22] Fetching connected USB devices by using "/sys/bus/usb/devices".
[01309] [15:13:22] Connected USB devices are:
12d1:1f01:HUAWEI HiLink
1d6b:0002:MUSB HDRC host driver
[01309] [15:13:22] Asking user to select: USBMODEM Please select USB modem Select USB device that provides modem capabilities. Select Cancel 12d1:1f01 HUAWEI HiLink 1d6b:0002 MUSB HDRC host driver
[01309] [15:13:22] Asking user to select: USBMODEM Please select USB modem Select USB device that provides modem capabilities. Select Cancel 12d1:1f01 HUAWEI HiLink 1d6b:0002 MUSB HDRC host driver
[01309] [15:13:22] USBMODEM=12d1:1f01
[01309] [15:13:22] 12d1:1f01==12d1:1f01.
[01309] [15:13:22] User has already selected USBMODEM="12d1:1f01". Returning 1.
[01309] [15:13:23] Fetching connected USB devices by using "/sys/bus/usb/devices".
[01309] [15:13:23] Connected USB devices are:
12d1:1f01:HUAWEI HiLink
1d6b:0002:MUSB HDRC host driver
[01309] [15:13:23] User selected USB modem "12d1:1f01".
[01309] [15:13:23] Setting up modem.
[01309] [15:13:23] We are root already. Proceeding.
[01309] [15:13:23] Setting up USB modem 12d1:1f01.
[01309] [15:13:23] Fetching connected USB devices by using "/sys/bus/usb/devices".
[01309] [15:13:23] Connected USB devices are:
12d1:1f01:HUAWEI HiLink
1d6b:0002:MUSB HDRC host driver
[01309] [15:13:23] Using information of lsusb to determine usable interfaces.
[01309] [15:13:24] USB Device 12d1:1f01 provides 0 interruptable endpoint(s).
[01309] [15:13:24] lsusb output was:
Bus 001 Device 002: ID 12d1:1f01 Huawei Technologies Co., Ltd.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x12d1 Huawei Technologies Co., Ltd.
idProduct 0x1f01
bcdDevice 1.02
iManufacturer 2 HUAWEI
iProduct 1 HUAWEI HiLink
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
[01309] [15:13:24] No modem lines on USB device "12d1:1f01". Device may need switching.
[01309] [15:13:24] Interfaces collected from lsusb are:
[01309] [15:13:24] Failed to locate any usable interface for device 12d1:1f01.
[01309] [15:13:24] Failed to get an interface for device.
[01309] [15:13:24] Loading Usb-ModeSwitch device database.
[01309] [15:13:24] Embedded device database contains 0 entries.
[01309] [15:13:24] Folder "/etc/usb_modeswitch.d" exists. Will check if it contains configuration files.
[01309] [15:13:24] Loading system supplied device database.
[01309] [15:13:24] Switchable devices within system device database:
[01309] [15:13:24] Switched devices within system device database:
[01309] [15:13:24] Device "12d1:1f01" is not switchable.
[01309] [15:13:24] Failed setting up USB modem "12d1:1f01".
[01309] [15:13:24] Error: Failed to connect.
[01309] [15:13:26] Asking user to select: MOREMENU Please select an action Choose action for Sakis3G script to follow. OK Cancel CONNECT Connect with 3G PREPARE Only prepare modem (Setup + PIN unlock + Register Network + Update HAL) SETUP Only setup modem (Switch + Load module + Setup tty) SWITCH Only switch modem (if applicable) DESKTOP Create desktop shortcut ABOUT About Sakis3G HELP Show help EXIT Exit
[01309] [15:13:27] Asking user to select: MOREMENU Please select an action Choose action for Sakis3G script to follow. OK Cancel CONNECT Connect with 3G PREPARE Only prepare modem (Setup + PIN unlock + Register Network + Update HAL) SETUP Only setup modem (Switch + Load module + Setup tty) SWITCH Only switch modem (if applicable) DESKTOP Create desktop shortcut ABOUT About Sakis3G HELP Show help EXIT Exit
[01309] [15:13:27] Variable MOREMENU is not set already.
[01309] [15:13:27] Prompting user to select variable MOREMENU.
[01309] [15:13:31] User selected: "8. Exit"
[01309] [15:13:31] Considering selection: 8
[01309] [15:13:31] User selection was 8.
[01309] [15:13:32] Verbosing: 7% Cleaning
Cleaning [01309] [15:13:32] Stopping operation with return status: 98
[01309] [15:13:32] Now executing traps.
[01309] [15:13:32] Executing trap "cleanscreen".
root@beaglebone:~#