Advertisement
Infra_HDC

Huawei e173 devd.conf rules

Nov 14th, 2018
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.00 KB | None | 0 0
  1. # by RD, 16.11.2018 - BEGIN -
  2. attach 100 {
  3.         match "vendor"          "0x12d1";
  4.         match "product"         "0x1001";
  5.         action "/usr/bin/chgrp dialer /dev/tty$ttyname.0 ; /bin/chmod 0660 /dev/tty$ttyname.0 ; /bin/ln -s /dev/tty$ttyname.0 /dev/ttyMEGAFON";
  6. };
  7. notify 100 {
  8.         match "subsystem"       "DEVICE";
  9.         match "type"            "DETACH";
  10.         match "vendor"          "0x12d1";
  11.         match "product"         "0x1001";
  12.         action "/bin/rm -f /dev/ttyMEGAFON";
  13. };
  14. attach 100 {
  15.         match "vendor"          "0x19d2";
  16.         match "product"         "0x2003";
  17.         action "/usr/bin/chgrp dialer /dev/tty$ttyname.1 ; /bin/chmod 0660 /dev/tty$ttyname.1 ; /bin/ln -s /dev/tty$ttyname.1 /dev/ttyMTS";
  18. };
  19. notify 100 {
  20.         match "subsystem"       "DEVICE";
  21.         match "type"            "DETACH";
  22.         match "vendor"          "0x19d2";
  23.         match "product"         "0x2003";
  24.         action "/bin/rm -f /dev/ttyMTS";
  25. };
  26. # by RD, 16.11.2018 - END -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement