| 13:14 | TomyWork | hi |
| 13:16 | TomyWork | I'm on "Linux linux 3.14.60-fslc-imx6-sr #1 SMP Mon Aug 22 22:06:26 UTC 2016 armv7l GNU/Linux", lsmod lists the modules xt_connmark,rpcsec_gss_krb5,cpufreq_stats,bnep,iptable_nat,bluetooth,6lowpan_iphc,nf_conntrack_ipv4,nf_defrag_ipv4,nf_nat_ipv4,nf_nat,nf_conntrack,iptable_mangle,joydev,brcmfmac,nfsd,brcmutil,cfg80211,rfkill,ir_mce_kbd_decoder,ir_lirc_codec,lirc_dev,ir_sony_decoder,ir_nec_decoder,ir_sanyo_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder |
| 13:16 | TomyWork | ,gpio_ir_recv |
| 13:16 | TomyWork | I'm trying to access the red front led |
| 13:17 | TomyWork | acording to various forum posts it should be under /sys/devices/soc0/pwmleds.23/leds/imx6:red:front/brightness, however there is no pwmleds.23, only pwmleds.27, which doesn't contain "leds" |
| 13:18 | TomyWork | the short name, /sys/class/leds/imx6:red:front/brightness, doesn't exist either |
| 13:19 | TomyWork | i read that the feature was added in the 3.10 kernel. was it removed with 3.14? |
| 13:20 | TomyWork | http://forum.solid-run.com/linux-kernel-and-bootloaders-on-cubox-i-and-hummin-f10/introducing-kernel-3-14-x-t1525-s100.html oh here's something to try |
| 13:20 | vpeter | thuis doesn't work to turn off? echo 0 > /sys/class/leds/imx6:red:front/brightness |
| 13:33 | TomyWork | -bash: /sys/class/leds/imx6:red:front/brightness: No such file or directory |
| 13:34 | TomyWork | root@linux:~# cat /boot/config-$(uname -r) | grep CONFIG_LEDS_PWM |
| 13:34 | TomyWork | CONFIG_LEDS_PWM=y |
| 13:35 | TomyWork | i just put that there. before, it said somethign like "# CONFIG_LEDS_PWM is not set" |
| 13:35 | TomyWork | rebooted, and the device still isnt visible |
| 13:37 | vpeter | No device in /sys/class/leds/ ? |
| 14:14 | TomyWork | just mmc0/1 |
| 14:14 | TomyWork | root@linux:~# ls /sys/class/leds/ |
| 14:14 | TomyWork | mmc0:: mmc1:: |