Yes, I think it's possible to drive the LED from user space utility. BRs Peer Chen > -----Original Message----- > From: Yan Seiner [mailto:yan@xxxxxxxxxx] > Sent: Sunday, January 18, 2009 9:50 PM > To: Peer Chen > Cc: linux-ide@xxxxxxxxxxxxxxx > Subject: Re: [PATCH] SCSI: Add the SGPIO support for sata_nv.c > > Yinghai Lu wrote: > > On Tue, Nov 6, 2007 at 8:09 PM, Yinghai Lu > <yhlu.kernel@xxxxxxxxx> wrote: > > > >> On Nov 7, 2006 1:55 AM, Peer Chen <pchen@xxxxxxxxxx> wrote: > >> > >>> Modified and resent out the patch as attachment. > >>> Description about the patch: > >>> Add SGPIO support in sata_nv.c. > >>> SGPIO (Serial General Purpose Input Output) is a sideband serial > >>> 4-wire interface that a storage controller uses to > communicate with > >>> a storage enclosure management controller, primarily to control > >>> activity and status LEDs that are located within drive > bays or on a > >>> storage backplane. SGPIO is defined by [SFF8485]. > >>> In this patch,we drive the LEDs to blink when read/write > operation > >>> happen on SATA drives connect the corresponding ports on > MCP55 board. > >>> > I missed the start of this thread.... Is it possible to > blink the lights from user space? This is very useful when > trying to locate a > dead or dying drive. for example, /dev/sdc dies, but I have > no way of > knowing which one it is without unplugging all the cables one > at a time. A userspace utility that would allow me to blink > a drive activity light would be very useful. > > --Yan > ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html