File 50-huawei-modem.rules of Package huawei_umtsmodem

#
# Copyright (c) 2008 Klaus Singvogel, <kssingvo@suse.de>, SUSE / Novell Inc.
#
#     This library is free software; you can redistribute it and/or modify it
#     under the terms of the GNU Lesser General Public License as published by
#     the Free Software Foundation; either version 2.1 of the License, or (at
#     your option) any later version.
#
# This rule does the necessary initialization for Huawei UMTS/HSDPA modems
#
# it might not be complete, so adding some devices with correct product ID
# might become necessary.
#
# please note that this file will never (!) be overwritten on any update
# if changes were done manually
#
ACTION!="add", GOTO="huawei_umtsmodem_autoconfig_rules_end"

ACTION=="add" SUBSYSTEM=="usb", SYSFS{idProduct}=="1001", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/huawei_modem_add.sh $SYSFS{idVendor} $SYSFS{idProduct}"
ACTION=="add" SUBSYSTEM=="usb", SYSFS{idProduct}=="1003", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/huawei_modem_add.sh $SYSFS{idVendor} $SYSFS{idProduct}"
ACTION=="add" SUBSYSTEM=="usb", SYSFS{idProduct}=="1004", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/huawei_modem_add.sh $SYSFS{idVendor} $SYSFS{idProduct}"

LABEL="huawei_umtsmodem_autoconfig_rules_end"

openSUSE Build Service is sponsored by