Skip to content

Commit

Permalink
Document setup for modem with multiple interfaces
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Mar 18, 2016
1 parent b83b82c commit 0e79eb4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/manual/faq/general.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ Better is to use vendor and product IDs (you can get them for example using :com

ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="xxxx", ATTRS{idProduct}=="yyyy", SYMLINK+="phone"

If you're using 3G modem, it's quite likely that it exposes multiple interfaces
and only one of them is good for Gammu usage. In this case you should match
against interface number as well::

ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="xxxx", ATTRS{idProduct}=="yyyy", ATTRS{bInterfaceNumber}=="00", SYMLINK+="phone"

You can match by various attributes, you can figure them using udevadm command:

.. code-block:: sh
Expand Down

0 comments on commit 0e79eb4

Please sign in to comment.