Difference between revisions of "IoTGateway/Features/Linux/Module"

From ESS-WIKI
Jump to: navigation, search
(AM Telecom AMM561KT)
(AM Telecom AMM561KT)
Line 79: Line 79:
 
</small>
 
</small>
 
</tt>
 
</tt>
 +
* load drivers
 +
<div style="margin-left: 2em;">
 +
# rmmod usbserial
 +
# modprobe rndis_host
 +
# modprobe usbserial vendor=0x1ECB product=0x0205
 +
 +
e.g. put the 3 lines to /etc/rc.local<br>
 +
[[File:AMM561KT_load_drivers.png|720px]]
 +
</div>
 +
* list usb devices
 +
<div style="margin-left: 2em;">
 +
# lsusb
 +
# ll /dev/ttyUSB[012]
 +
 +
[[File:AMM561KT_list_usb_devices.png|600px]]
 +
</div>
  
 
==Bluetooth==
 
==Bluetooth==

Revision as of 08:17, 20 September 2016

3G

EWM-C106FT01E

Sierra AirPrime MC8090

The following operations are performed with UBC-221 using U221LBV1050.

  • linux kernel config
set the following lines to meta-advantech/recipes-kernel/linux/linux-yocto-clanton/advantech.cfg
CONFIG_USB_SERIAL_FTDI_SIO=m
CONFIG_USB_SERIAL_SIERRAWIRELESS=m
add the following line to meta-advantech/recipes-kernel/advantech-init/files/advantech.conf
sierra
execute the following command
$ bitbake advantech-init
  • rebuild the kernel
$ bitbake linux-yocto-clanton
  • rebuild the full image
$ bitbake image-full
  • practical test on target board
# pppd connect 'chat -v -s -t 10 "" "AT" "" "ATDT*99#" "CONNECT" ""' \
user username password password /dev/ttyUSB3 460800 nodetach crtscts debug usepeerdns defaultroute &

Sierra AirPrime MC8090 connecting.png

# ifconfig

Sierra AirPrime MC8090 ifconfig.png

# pinc -c5 8.8.8.8

Sierra AirPrime MC8090 ping.png

Telit HE910-D

The following operations are performed with UBC-221 using U221LBV1050.

  • practical test on target board
# modprobe cdc-acm

Telit HE910-D modprobe.png

# dmesg | grep ttyACM

Telit HE910-D dmesg.png

# pppd connect 'chat -v -s -t 10 "" "AT" "" "ATDT*99#" "CONNECT" ""' \
user username password password /dev/ttyACM0 460800 nodetach crtscts debug usepeerdns defaultroute &
# pinc -c5 8.8.8.8

Telit HE910-D pppd 2.png Telit HE910-D ping.png

4G

AM Telecom AMM561KT

The following operations are performed with UBC-222(U222LBV2011).

  • linux kernel config

Device Drivers --->
[*] USB support --->
<M> Support for Host-side USB
[*] Network device support --->
USB Network Adapters --->
<M> Multi-purpose USB Networking Framework
<M> Host for RNDIS and ActiveSync devices (EXPERIMENTAL)

  • load drivers
# rmmod usbserial
# modprobe rndis_host
# modprobe usbserial vendor=0x1ECB product=0x0205

e.g. put the 3 lines to /etc/rc.local
AMM561KT load drivers.png

  • list usb devices
# lsusb
# ll /dev/ttyUSB[012]

AMM561KT list usb devices.png

Bluetooth

EWM-W155H01E

Please refer to Bluetooth Testing Guide for Quark Platform for all operations performed using UBC-222 with U222LBV2011.

WiFi

EWM-W142F01E

EWM-W151H01E

EWM-W155H01E

USB

EMIO-200U3

Set CONFIG_USB_XHCI_HCD=y in kernel config