[OpenWrt-Devel] Help required for LED toggling for SATA host controller

2015-04-07 Thread Deepanjan Kar
Dear All, I have introduced a new file in the linux-3.10.49/drivers/leds directory for SATA LED toggling. I however find that the callback registered for LED activity is not getting called. Underneath is the snippet of code and the function in RED is the one that I am talking about. I do see th

Re: [OpenWrt-Devel] LED Toggling for SATA

2015-03-30 Thread Deepanjan Kar
Hi Daniel, I forgot to mention that the Linux kernel Version in our code base is 3.10.49. Regards, Deepanjan -Original Message- From: Deepanjan Kar Sent: Tuesday, March 31, 2015 11:46 AM To: 'Daniel Golle' Cc: openwrt-devel@lists.openwrt.org Subject: RE: [OpenWrt-Devel] LE

Re: [OpenWrt-Devel] LED Toggling for SATA

2015-03-30 Thread Deepanjan Kar
ssage- From: Daniel Golle [mailto:dan...@makrotopia.org] Sent: Monday, March 30, 2015 6:49 PM To: Deepanjan Kar Cc: openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] LED Toggling for SATA Hi Deepanjan, have a look at ledtrig-ata on how to register a LED trigger for each port [1]. Curr

[OpenWrt-Devel] LED Toggling for SATA

2015-03-30 Thread Deepanjan Kar
Dear All, I would be thankful if you could provide me hint on to how to implement a driver for LED for a AHCI Controller. At present the LED is driven by GPIO. The requirement is that the LED should GLOW SOLID once the SATA link is UP, TOGGLE during SATA traffic and GLOW HOLLOW once the link is