LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   SATA hotplug and notification popup window (https://www.linuxquestions.org/questions/linux-hardware-18/sata-hotplug-and-notification-popup-window-702153/)

galapogos 02-04-2009 02:44 AM

SATA hotplug and notification popup window
 
Hi,
I'm not sure if this is the right place to post it but couldn't find any other forum with an appropriate title so hear goes...

I'm developing a SATA storage device, and I'm hot-plugging it in Mandriva Linux 2008.1. Sometimes I get a popup window informing me of the drive, but sometimes I don't. I've also noticed from my probing, that when a do get the window, the SATA reset is applied immediately upon hot-plug(or at least very soon after). However, when I don't get that window, the device is reset only a few seconds later. Before that, if I do a fdisk on the drive it will pause until the reset is applied before returning the IDENTIFY information.

My question is, what determines the behavior of the SATA device upon hot-plug? Is it the OS, controller, device? Why does it sometimes give the windows notification and sometimes doesn't? Does the sequence of cable plug(power first, then data or the opposite, or at the same time?) matter?

The behavior of my device is dependent on the reset signal being applied ASAP, so if there's a delay, it would affect the device.

Would appreciate any insights...Thanks!


All times are GMT -5. The time now is 03:15 AM.