pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


Quantron Wifi LED patch #002
Posted by Anonymous on Tue 26th Nov 2019 14:35
raw | new post

  1. diff --git a/ptxdist/configs/ecu01/kernelconfig-3.10.108 b/ptxdist/configs/ecu01/kernelconfig-3.10.108
  2. index 880d65b..4e51d76 100644
  3. --- a/ptxdist/configs/ecu01/kernelconfig-3.10.108
  4. +++ b/ptxdist/configs/ecu01/kernelconfig-3.10.108
  5. @@ -626,6 +626,7 @@ CONFIG_MAC80211_RC_MINSTREL_HT=y
  6.  CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
  7.  CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
  8.  # CONFIG_MAC80211_MESH is not set
  9. +CONFIG_MAC80211_LEDS=y
  10.  # CONFIG_MAC80211_DEBUGFS is not set
  11.  # CONFIG_MAC80211_MESSAGE_TRACING is not set
  12.  # CONFIG_MAC80211_DEBUG_MENU is not set
  13. @@ -1034,6 +1035,7 @@ CONFIG_RT2X00_LIB_USB=y
  14.  CONFIG_RT2X00_LIB=y
  15.  CONFIG_RT2X00_LIB_FIRMWARE=y
  16.  CONFIG_RT2X00_LIB_CRYPTO=y
  17. +CONFIG_RT2X00_LIB_LEDS=y
  18.  # CONFIG_RT2X00_DEBUG is not set
  19.  CONFIG_RTLWIFI=y
  20.  CONFIG_RTLWIFI_DEBUG=y
  21. @@ -1080,6 +1082,7 @@ CONFIG_KEYBOARD_GPIO=y
  22.  # CONFIG_KEYBOARD_TCA6416 is not set
  23.  # CONFIG_KEYBOARD_TCA8418 is not set
  24.  CONFIG_KEYBOARD_MATRIX=y
  25. +# CONFIG_KEYBOARD_LM8323 is not set
  26.  # CONFIG_KEYBOARD_LM8333 is not set
  27.  # CONFIG_KEYBOARD_MAX7359 is not set
  28.  # CONFIG_KEYBOARD_MCS is not set
  29. @@ -1656,7 +1659,10 @@ CONFIG_HID_GENERIC=y
  30.  # CONFIG_HID_SMARTJOYPLUS is not set
  31.  # CONFIG_HID_TIVO is not set
  32.  # CONFIG_HID_TOPSEED is not set
  33. +# CONFIG_HID_THINGM is not set
  34.  # CONFIG_HID_THRUSTMASTER is not set
  35. +# CONFIG_HID_WACOM is not set
  36. +# CONFIG_HID_WIIMOTE is not set
  37.  # CONFIG_HID_ZEROPLUS is not set
  38.  # CONFIG_HID_ZYDACRON is not set
  39.  # CONFIG_HID_SENSOR_HUB is not set
  40. @@ -1861,7 +1867,48 @@ CONFIG_MMC_MXC=y
  41.  # CONFIG_MMC_VUB300 is not set
  42.  # CONFIG_MMC_USHC is not set
  43.  # CONFIG_MEMSTICK is not set
  44. -# CONFIG_NEW_LEDS is not set
  45. +CONFIG_NEW_LEDS=y
  46. +CONFIG_LEDS_CLASS=y
  47. +
  48. +#
  49. +# LED drivers
  50. +#
  51. +# CONFIG_LEDS_LM3530 is not set
  52. +# CONFIG_LEDS_LM3642 is not set
  53. +# CONFIG_LEDS_PCA9532 is not set
  54. +# CONFIG_LEDS_GPIO is not set
  55. +# CONFIG_LEDS_LP3944 is not set
  56. +# CONFIG_LEDS_LP5521 is not set
  57. +# CONFIG_LEDS_LP5523 is not set
  58. +# CONFIG_LEDS_LP5562 is not set
  59. +# CONFIG_LEDS_PCA955X is not set
  60. +# CONFIG_LEDS_PCA9633 is not set
  61. +# CONFIG_LEDS_DAC124S085 is not set
  62. +# CONFIG_LEDS_PWM is not set
  63. +# CONFIG_LEDS_BD2802 is not set
  64. +# CONFIG_LEDS_LT3593 is not set
  65. +# CONFIG_LEDS_RENESAS_TPU is not set
  66. +# CONFIG_LEDS_TCA6507 is not set
  67. +# CONFIG_LEDS_LM355x is not set
  68. +# CONFIG_LEDS_OT200 is not set
  69. +# CONFIG_LEDS_BLINKM is not set
  70. +
  71. +#
  72. +# LED Triggers
  73. +#
  74. +CONFIG_LEDS_TRIGGERS=y
  75. +CONFIG_LEDS_TRIGGER_TIMER=y
  76. +CONFIG_LEDS_TRIGGER_ONESHOT=y
  77. +CONFIG_LEDS_TRIGGER_HEARTBEAT=y
  78. +# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
  79. +# CONFIG_LEDS_TRIGGER_GPIO is not set
  80. +CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
  81. +
  82. +#
  83. +# iptables trigger is under Netfilter config (LED target)
  84. +#
  85. +CONFIG_LEDS_TRIGGER_TRANSIENT=y
  86. +CONFIG_LEDS_TRIGGER_CAMERA=y
  87.  # CONFIG_ACCESSIBILITY is not set
  88.  # CONFIG_EDAC is not set
  89.  CONFIG_RTC_LIB=y
  90. diff --git a/ptxdist/local_src/rtl8188eu/Makefile b/ptxdist/local_src/rtl8188eu/Makefile
  91. index 5da95c9..8209ba2 100755
  92. --- a/ptxdist/local_src/rtl8188eu/Makefile
  93. +++ b/ptxdist/local_src/rtl8188eu/Makefile
  94. @@ -43,6 +43,7 @@ CONFIG_WAPI_SUPPORT = n
  95.  CONFIG_EFUSE_CONFIG_FILE = y
  96.  CONFIG_EXT_CLK = n
  97.  CONFIG_TRAFFIC_PROTECT = y
  98. +CONFIG_LED = y
  99.  CONFIG_LOAD_PHY_PARA_FROM_FILE = y
  100.  CONFIG_TXPWR_BY_RATE_EN = n
  101.  CONFIG_TXPWR_LIMIT_EN = n
  102. diff --git a/ptxdist/local_src/rtl8188eu/include/autoconf.h b/ptxdist/local_src/rtl8188eu/include/autoconf.h
  103. index 75f1071..4c14a52 100644
  104. --- a/ptxdist/local_src/rtl8188eu/include/autoconf.h
  105. +++ b/ptxdist/local_src/rtl8188eu/include/autoconf.h
  106. @@ -148,7 +148,7 @@
  107.  
  108.  #define CONFIG_SKB_COPY        /* for amsdu */
  109.  
  110. -/* #define CONFIG_LED */
  111. +#define CONFIG_LED
  112.  #ifdef CONFIG_LED
  113.         #define CONFIG_SW_LED
  114.         #ifdef CONFIG_SW_LED

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}





All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at