~ubuntu-branches/debian/sid/usb-modeswitch-data/sid

« back to all changes in this revision

Viewing changes to 40-usb_modeswitch.rules

  • Committer: Package Import Robot
  • Author(s): Didier Raboud
  • Date: 2013-06-11 09:50:29 UTC
  • mfrom: (1.4.3)
  • Revision ID: package-import@ubuntu.com-20130611095029-tqc4t59qii07rb9v
Tags: 20130610-1
* New upstream release
  - Fixed rules file and gen-rules script to make the symlink rule
    append instead of replace (thanks to John Hedges)
    Closes: #698284

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Part of usb-modeswitch-data, version 20130607
 
1
# Part of usb-modeswitch-data, version 20130610
2
2
#
3
3
# Recommended use with USB_ModeSwitch >= 1.2.5, works with versions >= 1.0.3
4
4
# (New style, interface class check moved to dispatcher)
7
7
 
8
8
# Adds a symlink "gsmmodem[n]" to the lowest ttyUSB port with interrupt
9
9
# transfer; checked against a list of known modems, or else no action
10
 
KERNEL=="ttyUSB*", ATTRS{bNumConfigurations}=="*", PROGRAM="usb_modeswitch --symlink-name %p %s{idVendor} %s{idProduct} %E{PRODUCT}", SYMLINK="%c"
 
10
KERNEL=="ttyUSB*", ATTRS{bNumConfigurations}=="*", PROGRAM="usb_modeswitch --symlink-name %p %s{idVendor} %s{idProduct} %E{PRODUCT}", SYMLINK+="%c"
11
11
 
12
12
SUBSYSTEM!="usb", GOTO="modeswitch_rules_end"
13
13