Note: Your user name is not your email address.
Your account is locked out! Please click
here to unlock your account.
Your account is not activated yet. Please check your email and click on the activation link that was sent to you when you registered to our site.
Did not received the activation email? Please click here to contact us.
Login failed, username or password is incorrect.
This topic provides details on how to customize the USB behavior of the Legato Yocto distribution when working with the following Sierra Wireless devices:
The information is based on the USB Driver Developer Guide available from the Source.
USB endpoints are enumerated during the boot sequence as follows:
First, the USB boot script (S41usb) starts /usr/bin/usb/boot_hsusb_composition.
This script executes the following:
IF /etc/legato/usbmode exists THEN execute /etc/legato/usbsetup ELSE setup default composition
The actions taken are described in the rest of this topic.
This table shows all the possible USB interfaces available on the AR7 family:
On AR7 products, these endpoints are grouped into compositions. A fixed set of compositions is shown in the table below. You switch between these compositions using the AT!UDUSBCOMP command with this format:
Where <Composition> is one of the composition numbers defined in this table (composition 2 is default):
USB composition on WP75, WP76, WP77 and WP85 modules is set through the AT!USBCOMP command with this format:
AT!USBCOMP=<Config Index>,<Config Type>,<Interface Bitmask>
<Config Index> Configuration index to which the composition applies (valid value: 1)
<Config Type> Configuration type (valid value: 1 -- Generic)
<Interface Bitmask> Bit field defining which interfaces/endpoints are enabled. To obtain a list of possible compositions for your target device, use AT!USBCOMP=?.
Use AT!USBCOMP? to retrieve the current USB composition.
The response format should be:
at!usbcomp?Config Index: 1Config Type: 1 (Generic)Interface bitmask: 0008011E (adb,nmea,modem,at,rmnet0,ecm)
If none of the provided compositions meet your needs, it's possible to override the USB configuration using a mechanism built into Legato. This method is only reccomended as a last resort and does not work when only the NMEA port is enumerated.
A sample file called usbmode.ex is provided in /etc/legato in the default Legato distribution with a list of sample endpoints, like this:
This is the full list of supported modes: