User Tools

Site Tools


Sidebar

* [[start]] * [[som|System on module]] * [[usomiq-beaglebone|Mentorel Beaglebone uSomIQ]] * [[usomiq|uSomIQ AM335x]] * [[somiq|SomIQ family]] * [[blueshark|BlueShark family]] * [[devkit|DevKits]] * [[usomiq-bone-cape|uSomIQ Bone Cape]] * [[somiqboard|Somiqboard]] * [[atoll|Atoll]] * [[expansion|Expansion boards]] * [[somiq-wlan|SomIQ-WLAN]] * [[os|OS support]] * [[ubuntu|Ubuntu Linux]] * [[sw-hints|SW hints]] * [[tslib|Tslib]] * [[qt-embedded|Qt embedded]] Follow us * [[http://twitter.com/mentorel|Twitter]] * [[http://www.linkedin.com/company/mentorel|LinkedIn]] * [[https://www.facebook.com/mentorel.company|Facebook]] * [[https://plus.google.com/105868322858146792212/posts|Google+]] * [[http://www.mentorel.com|MENTOREL home page]]

udev-disable-zerocd

Disable ZeroCD mode at Huawei E352

This was tested at an embedded system running Ubuntu Core.

Create an udev rule ”/etc/udev/rules.d/45-huawei1550.rules” with the following content:

SUBSYSTEM=="usb", ATTRS{idProduct}=="1446", ATTRS{idVendor}=="12d1", RUN+="/usr/sbin/usb_modeswitch --vendor 0x12d1 --product 0x1446 --type option-zerocd"

make it executable:

chmod +x /etc/udev/rules.d/45-huawei1550.rules

From now any time a USB modem is inserted into a USB connector this udev rule will run and disable a flash drive on the USB modem.

udev-disable-zerocd.txt · Last modified: 2013/06/10 07:44 (external edit)