This is what I get from lsusb:

oshirowanen@laptop:~$ sudo lsusb
[sudo] password for oshirowanen: 
Bus 001 Device 003: ID 19d2:0031 ONDA Communication S.p.A. ZTE MF636

As I have tried the following and it did not work:

SUBSYSTEM=="usb_device", ATTR{idVentor}=="ZTE MF636", ATTR{idProduct}=="19d2:0031",ENV{UDISKS_PRESENTATION_HIDE}:="1"


OS = Ubuntu 10.04.2
USB Stick = ZTE MF112


I've looked at the documentation for usb_modeswitch, but find it to complex to understand. Can someone please point me to a step by step guide on how to use it and setup my usb drive?


Is it possible to stop my usb mobile broadband stick from automatically mounting as a drive, yet continue to mount all other usb devices (camera, usb memory stick, usb camera etc) as normal, i.e. usb memory stick, usb harddrive stick should mount as normal usb drives as they currently do, web cam should mount as a cam as it does etc etc?

Basically, when I plug in the mobile broadband usb stick, it automatically mounts as a usb drive, and I have to unmount it. It then automatically gets detected as a mobile broadband device.

So if it is possible to stop just the mobile broadband usb stick from mounting as a drive, it should automatically get detected as a mobile broadband device.

Can this be done? I am using Ubuntu 10.04.

  • Which stick do you have? Which version of ubuntu do you use? Maybe AU would be a better place to ask. May 16, 2011 at 18:08
  • Added details to update 2 in original question above. May 16, 2011 at 18:12

2 Answers 2


You can do it with udev rules. I don't have ubuntu, but you can try this. Create a file called /etc/udev/rules.d/99-hide.rules with the following in it:

SUBSYSTEM=="usb_device", ATTR{idVentor}=="<VENDID>", ATTR{idProduct}=="<DRIVECODE>",ENV{UDISKS_PRESENTATION_HIDE}:="1" 

Where you have to substitute your usb storage device's vendor and product ID for the and fields. Find that out with the lsusb command.

  • Please see update 3. I don't know which part of that info is the vendor string which which part is the product id. May 17, 2011 at 16:52
  • @oshiro Replace the "<VENDID>" with "19d2", and "<DRIVECODE>" with "0031". But that might not still work since that looks like the modem. Some devices have multiple endpoints and we'll have to specify the particular endpoint for the storage function.
    – Keith
    May 17, 2011 at 19:59
  • So wouldn't this be better done with usb_modeswitch? May 18, 2011 at 9:10
  • If his is the kind of device that does that. It's worth a try. I haven't used that product myself.
    – Keith
    May 18, 2011 at 11:57

You need to tweak your device with command:



You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .