NoPaste

NUT Problem

von TRex
Beschreibung:
https://debianforum.de/forum/posting.php?mode=edit&f=13&p=1170646
Snippet erstellt:
08.04.2018 00:23:05
Snippet wird automatisch gelöscht:
Niemals

Dein Code:
  1. # This file is generated and installed by the Network UPS Tools package.
  2.  
  3. ACTION!="add|change", GOTO="nut-usbups_rules_end"
  4. SUBSYSTEM=="usb_device", GOTO="nut-usbups_rules_real"
  5. SUBSYSTEM=="usb", GOTO="nut-usbups_rules_real"
  6. SUBSYSTEM!="usb", GOTO="nut-usbups_rules_end"
  7.  
  8. LABEL="nut-usbups_rules_real"
  9. #  ATCL FOR UPS  - nutdrv_atcl_usb
  10. ATTR{idVendor}=="0001", ATTR{idProduct}=="0000", MODE="664", GROUP="nut"
  11.  
  12. # Hewlett Packard
  13. #  e.g. ?  - usbhid-ups
  14. ATTR{idVendor}=="03f0", ATTR{idProduct}=="0001", MODE="664", GROUP="nut"
  15. #  T500  - bcmxcp_usb
  16. ATTR{idVendor}=="03f0", ATTR{idProduct}=="1f01", MODE="664", GROUP="nut"
  17. #  T750  - bcmxcp_usb
  18. ATTR{idVendor}=="03f0", ATTR{idProduct}=="1f02", MODE="664", GROUP="nut"
  19. #  HP T750 INTL  - usbhid-ups
  20. ATTR{idVendor}=="03f0", ATTR{idProduct}=="1f06", MODE="664", GROUP="nut"
  21. #  HP T1000 INTL  - usbhid-ups
  22. ATTR{idVendor}=="03f0", ATTR{idProduct}=="1f08", MODE="664", GROUP="nut"
  23. #  HP T1500 INTL  - usbhid-ups
  24. ATTR{idVendor}=="03f0", ATTR{idProduct}=="1f09", MODE="664", GROUP="nut"
  25. #  HP R/T 2200 INTL (like SMART2200RMXL2U)  - usbhid-ups
  26. ATTR{idVendor}=="03f0", ATTR{idProduct}=="1f0a", MODE="664", GROUP="nut"
  27. #  HP R1500 G2 and G3 INTL  - usbhid-ups
  28. ATTR{idVendor}=="03f0", ATTR{idProduct}=="1fe0", MODE="664", GROUP="nut"
  29. #  HP T750 G2  - usbhid-ups
  30. ATTR{idVendor}=="03f0", ATTR{idProduct}=="1fe1", MODE="664", GROUP="nut"
  31. #  e.g. ?  - usbhid-ups
  32. ATTR{idVendor}=="03f0", ATTR{idProduct}=="1fe2", MODE="664", GROUP="nut"
  33. #  HP T1500 G3  - usbhid-ups
  34. ATTR{idVendor}=="03f0", ATTR{idProduct}=="1fe3", MODE="664", GROUP="nut"
  35. #  R/T3000  - usbhid-ups
  36. ATTR{idVendor}=="03f0", ATTR{idProduct}=="1fe5", MODE="664", GROUP="nut"
  37. #  R/T3000  - usbhid-ups
  38. ATTR{idVendor}=="03f0", ATTR{idProduct}=="1fe6", MODE="664", GROUP="nut"
  39. #  various models  - usbhid-ups
  40. ATTR{idVendor}=="03f0", ATTR{idProduct}=="1fe7", MODE="664", GROUP="nut"
  41. #  various models  - usbhid-ups
  42. ATTR{idVendor}=="03f0", ATTR{idProduct}=="1fe8", MODE="664", GROUP="nut"
  43.  
  44. # Eaton
  45. #  various models  - usbhid-ups
  46. ATTR{idVendor}=="0463", ATTR{idProduct}=="0001", MODE="664", GROUP="nut"
  47. #  various models  - usbhid-ups
  48. ATTR{idVendor}=="0463", ATTR{idProduct}=="ffff", MODE="664", GROUP="nut"
  49.  
  50. # Dell
  51. #  various models  - usbhid-ups
  52. ATTR{idVendor}=="047c", ATTR{idProduct}=="ffff", MODE="664", GROUP="nut"
  53.  
  54. # Riello (Cypress Semiconductor Corp.)
  55. #  various models  - riello_usb
  56. ATTR{idVendor}=="04b4", ATTR{idProduct}=="5500", MODE="664", GROUP="nut"
  57.  
  58. # Minibox
  59. #  openUPS Intelligent UPS (minimum required firmware 1.4)  - usbhid-ups
  60. ATTR{idVendor}=="04d8", ATTR{idProduct}=="d004", MODE="664", GROUP="nut"
  61.  
  62. # Belkin
  63. #  F6H375-USB  - usbhid-ups
  64. ATTR{idVendor}=="050d", ATTR{idProduct}=="0375", MODE="664", GROUP="nut"
  65. #  F6C550-AVR  - usbhid-ups
  66. ATTR{idVendor}=="050d", ATTR{idProduct}=="0551", MODE="664", GROUP="nut"
  67. #  F6C1250-TW-RK  - usbhid-ups
  68. ATTR{idVendor}=="050d", ATTR{idProduct}=="0750", MODE="664", GROUP="nut"
  69. #  F6C1500-TW-RK  - usbhid-ups
  70. ATTR{idVendor}=="050d", ATTR{idProduct}=="0751", MODE="664", GROUP="nut"
  71. #  F6C900-UNV  - usbhid-ups
  72. ATTR{idVendor}=="050d", ATTR{idProduct}=="0900", MODE="664", GROUP="nut"
  73. #  F6C100-UNV  - usbhid-ups
  74. ATTR{idVendor}=="050d", ATTR{idProduct}=="0910", MODE="664", GROUP="nut"
  75. #  F6C120-UNV  - usbhid-ups
  76. ATTR{idVendor}=="050d", ATTR{idProduct}=="0912", MODE="664", GROUP="nut"
  77. #  F6C800-UNV  - usbhid-ups
  78. ATTR{idVendor}=="050d", ATTR{idProduct}=="0980", MODE="664", GROUP="nut"
  79. #  F6C1100-UNV, F6C1200-UNV  - usbhid-ups
  80. ATTR{idVendor}=="050d", ATTR{idProduct}=="1100", MODE="664", GROUP="nut"
  81.  
  82. # APC
  83. #  various models  - usbhid-ups
  84. ATTR{idVendor}=="051d", ATTR{idProduct}=="0002", MODE="664", GROUP="nut"
  85. #  various 5G models  - usbhid-ups
  86. ATTR{idVendor}=="051d", ATTR{idProduct}=="0003", MODE="664", GROUP="nut"
  87.  
  88. # Powerware
  89. #  various models  - bcmxcp_usb
  90. ATTR{idVendor}=="0592", ATTR{idProduct}=="0002", MODE="664", GROUP="nut"
  91. #  PW 9140  - usbhid-ups
  92. ATTR{idVendor}=="0592", ATTR{idProduct}=="0004", MODE="664", GROUP="nut"
  93. #  Agiler UPS  - blazer_usb
  94. ATTR{idVendor}=="05b8", ATTR{idProduct}=="0000", MODE="664", GROUP="nut"
  95. #  Belkin F6C1200-UNV  - blazer_usb
  96. ATTR{idVendor}=="0665", ATTR{idProduct}=="5161", MODE="664", GROUP="nut"
  97.  
  98. # Phoenixtec Power Co., Ltd
  99. #  Online Yunto YQ450  - blazer_usb
  100. ATTR{idVendor}=="06da", ATTR{idProduct}=="0002", MODE="664", GROUP="nut"
  101. #  Mustek Powermust  - blazer_usb
  102. ATTR{idVendor}=="06da", ATTR{idProduct}=="0003", MODE="664", GROUP="nut"
  103. #  Phoenixtec Innova 3/1 T  - blazer_usb
  104. ATTR{idVendor}=="06da", ATTR{idProduct}=="0004", MODE="664", GROUP="nut"
  105. #  Phoenixtec Innova RT  - blazer_usb
  106. ATTR{idVendor}=="06da", ATTR{idProduct}=="0005", MODE="664", GROUP="nut"
  107. #  Phoenixtec Innova T  - blazer_usb
  108. ATTR{idVendor}=="06da", ATTR{idProduct}=="0201", MODE="664", GROUP="nut"
  109. #  Online Zinto A  - blazer_usb
  110. ATTR{idVendor}=="06da", ATTR{idProduct}=="0601", MODE="664", GROUP="nut"
  111. #  various models  - usbhid-ups
  112. ATTR{idVendor}=="06da", ATTR{idProduct}=="ffff", MODE="664", GROUP="nut"
  113.  
  114. # iDowell
  115. #  iDowell  - usbhid-ups
  116. ATTR{idVendor}=="075d", ATTR{idProduct}=="0300", MODE="664", GROUP="nut"
  117.  
  118. # Cyber Power Systems
  119. #  900AVR/BC900D, CP1200AVR/BC1200D  - usbhid-ups
  120. ATTR{idVendor}=="0764", ATTR{idProduct}=="0005", MODE="664", GROUP="nut"
  121. #  Dynex DX-800U?  - usbhid-ups
  122. ATTR{idVendor}=="0764", ATTR{idProduct}=="0501", MODE="664", GROUP="nut"
  123. #  OR2200LCDRM2U, OR700LCDRM1U, PR6000LCDRTXL5U  - usbhid-ups
  124. ATTR{idVendor}=="0764", ATTR{idProduct}=="0601", MODE="664", GROUP="nut"
  125. #  Sweex 1000VA  - richcomm_usb
  126. ATTR{idVendor}=="0925", ATTR{idProduct}=="1234", MODE="664", GROUP="nut"
  127.  
  128. # TrippLite
  129. #  e.g. OMNIVS1000, SMART550USB, ...  - tripplite_usb
  130. ATTR{idVendor}=="09ae", ATTR{idProduct}=="0001", MODE="664", GROUP="nut"
  131. #  e.g. TrippLite AVR550U  - usbhid-ups
  132. ATTR{idVendor}=="09ae", ATTR{idProduct}=="1003", MODE="664", GROUP="nut"
  133. #  e.g. TrippLite AVR750U  - usbhid-ups
  134. ATTR{idVendor}=="09ae", ATTR{idProduct}=="1007", MODE="664", GROUP="nut"
  135. #  e.g. TrippLite ECO550UPS  - usbhid-ups
  136. ATTR{idVendor}=="09ae", ATTR{idProduct}=="1008", MODE="664", GROUP="nut"
  137. #  e.g. TrippLite ECO550UPS  - usbhid-ups
  138. ATTR{idVendor}=="09ae", ATTR{idProduct}=="1009", MODE="664", GROUP="nut"
  139. #  e.g. TrippLite ECO550UPS  - usbhid-ups
  140. ATTR{idVendor}=="09ae", ATTR{idProduct}=="1010", MODE="664", GROUP="nut"
  141. #  e.g. TrippLite OMNI1000LCD  - usbhid-ups
  142. ATTR{idVendor}=="09ae", ATTR{idProduct}=="2005", MODE="664", GROUP="nut"
  143. #  e.g. TrippLite OMNI900LCD  - usbhid-ups
  144. ATTR{idVendor}=="09ae", ATTR{idProduct}=="2007", MODE="664", GROUP="nut"
  145. #  e.g. ?  - usbhid-ups
  146. ATTR{idVendor}=="09ae", ATTR{idProduct}=="2008", MODE="664", GROUP="nut"
  147. #  e.g. TrippLite Smart1000LCD  - usbhid-ups
  148. ATTR{idVendor}=="09ae", ATTR{idProduct}=="2009", MODE="664", GROUP="nut"
  149. #  e.g. ?  - usbhid-ups
  150. ATTR{idVendor}=="09ae", ATTR{idProduct}=="2010", MODE="664", GROUP="nut"
  151. #  e.g. ?  - usbhid-ups
  152. ATTR{idVendor}=="09ae", ATTR{idProduct}=="2011", MODE="664", GROUP="nut"
  153. #  e.g. ?  - usbhid-ups
  154. ATTR{idVendor}=="09ae", ATTR{idProduct}=="2012", MODE="664", GROUP="nut"
  155. #  e.g. ?  - usbhid-ups
  156. ATTR{idVendor}=="09ae", ATTR{idProduct}=="2013", MODE="664", GROUP="nut"
  157. #  e.g. ?  - usbhid-ups
  158. ATTR{idVendor}=="09ae", ATTR{idProduct}=="2014", MODE="664", GROUP="nut"
  159. #  e.g. ?  - usbhid-ups
  160. ATTR{idVendor}=="09ae", ATTR{idProduct}=="3008", MODE="664", GROUP="nut"
  161. #  e.g. ?  - usbhid-ups
  162. ATTR{idVendor}=="09ae", ATTR{idProduct}=="3009", MODE="664", GROUP="nut"
  163. #  e.g. ?  - usbhid-ups
  164. ATTR{idVendor}=="09ae", ATTR{idProduct}=="3010", MODE="664", GROUP="nut"
  165. #  e.g. ?  - usbhid-ups
  166. ATTR{idVendor}=="09ae", ATTR{idProduct}=="3011", MODE="664", GROUP="nut"
  167. #  e.g. TrippLite smart2200RMXL2U  - usbhid-ups
  168. ATTR{idVendor}=="09ae", ATTR{idProduct}=="3012", MODE="664", GROUP="nut"
  169. #  e.g. ?  - usbhid-ups
  170. ATTR{idVendor}=="09ae", ATTR{idProduct}=="3013", MODE="664", GROUP="nut"
  171. #  e.g. ?  - usbhid-ups
  172. ATTR{idVendor}=="09ae", ATTR{idProduct}=="3014", MODE="664", GROUP="nut"
  173. #  e.g. ?  - usbhid-ups
  174. ATTR{idVendor}=="09ae", ATTR{idProduct}=="3015", MODE="664", GROUP="nut"
  175. #  e.g. TrippLite Smart1500LCD (newer unit)  - usbhid-ups
  176. ATTR{idVendor}=="09ae", ATTR{idProduct}=="3016", MODE="664", GROUP="nut"
  177. #  e.g. TrippLite SmartOnline SU1500RTXL2UA (older unit?)  - usbhid-ups
  178. ATTR{idVendor}=="09ae", ATTR{idProduct}=="4001", MODE="664", GROUP="nut"
  179. #  e.g. TrippLite SmartOnline SU6000RT4U?  - usbhid-ups
  180. ATTR{idVendor}=="09ae", ATTR{idProduct}=="4002", MODE="664", GROUP="nut"
  181. #  e.g. TrippLite SmartOnline SU1500RTXL2ua  - usbhid-ups
  182. ATTR{idVendor}=="09ae", ATTR{idProduct}=="4003", MODE="664", GROUP="nut"
  183. #  e.g. TrippLite SmartOnline SU1000XLA  - usbhid-ups
  184. ATTR{idVendor}=="09ae", ATTR{idProduct}=="4004", MODE="664", GROUP="nut"
  185. #  e.g. ?  - usbhid-ups
  186. ATTR{idVendor}=="09ae", ATTR{idProduct}=="4005", MODE="664", GROUP="nut"
  187. #  e.g. ?  - usbhid-ups
  188. ATTR{idVendor}=="09ae", ATTR{idProduct}=="4006", MODE="664", GROUP="nut"
  189. #  e.g. ?  - usbhid-ups
  190. ATTR{idVendor}=="09ae", ATTR{idProduct}=="4007", MODE="664", GROUP="nut"
  191. #  e.g. ?  - usbhid-ups
  192. ATTR{idVendor}=="09ae", ATTR{idProduct}=="4008", MODE="664", GROUP="nut"
  193.  
  194. # PowerCOM
  195. #  PowerCOM Vanguard and BNT-xxxAP  - usbhid-ups
  196. ATTR{idVendor}=="0d9f", ATTR{idProduct}=="0004", MODE="664", GROUP="nut"
  197. #  PowerCOM IMP - IMPERIAL Series  - usbhid-ups
  198. ATTR{idVendor}=="0d9f", ATTR{idProduct}=="00a2", MODE="664", GROUP="nut"
  199. #  PowerCOM SKP - Smart KING Pro (all Smart series)  - usbhid-ups
  200. ATTR{idVendor}=="0d9f", ATTR{idProduct}=="00a3", MODE="664", GROUP="nut"
  201. #  PowerCOM WOW  - usbhid-ups
  202. ATTR{idVendor}=="0d9f", ATTR{idProduct}=="00a4", MODE="664", GROUP="nut"
  203. #  PowerCOM VGD - Vanguard  - usbhid-ups
  204. ATTR{idVendor}=="0d9f", ATTR{idProduct}=="00a5", MODE="664", GROUP="nut"
  205. #  PowerCOM BNT - Black Knight Pro  - usbhid-ups
  206. ATTR{idVendor}=="0d9f", ATTR{idProduct}=="00a6", MODE="664", GROUP="nut"
  207. #  Unitek Alpha 1200Sx  - blazer_usb
  208. ATTR{idVendor}=="0f03", ATTR{idProduct}=="0001", MODE="664", GROUP="nut"
  209.  
  210. # Liebert
  211. #  Liebert PowerSure PSA UPS  - usbhid-ups
  212. ATTR{idVendor}=="10af", ATTR{idProduct}=="0001", MODE="664", GROUP="nut"
  213. #  Liebert PowerSure PSI 1440  - usbhid-ups
  214. ATTR{idVendor}=="10af", ATTR{idProduct}=="0004", MODE="664", GROUP="nut"
  215. #  GE EP series  - blazer_usb
  216. ATTR{idVendor}=="14f0", ATTR{idProduct}=="00c9", MODE="664", GROUP="nut"
  217. #  Ablerex 625L USB  - blazer_usb
  218. ATTR{idVendor}=="ffff", ATTR{idProduct}=="0000", MODE="664", GROUP="nut"
  219.  
  220. LABEL="nut-usbups_rules_end"

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. Alternativ kannst du den gesamten Eintrag auch als Datei herunterladen.