Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 2009 13:53:17 +0800
From:      Eugene Grosbein <eugen@kuzbass.ru>
To:        Sagara Wijetunga <sagara@tomahawk.com.sg>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: SCSI device not created upon a CF card plug in
Message-ID:  <20090723055317.GA72627@svzserv.kemerovo.su>
In-Reply-To: <20090723021418.29042.qmail@us1.tomahawkonline.net>
References:  <20090722022027.12059.qmail@us1.tomahawkonline.net> <20090722142033.GA13316@svzserv.kemerovo.su> <20090723001338.27858.qmail@us1.tomahawkonline.net> <20090723035900.GA67095@svzserv.kemerovo.su> <20090723021418.29042.qmail@us1.tomahawkonline.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 23, 2009 at 10:14:18AM +0800, Sagara Wijetunga wrote:

> If you conversant in this area, could you help us to identify what is/are 
> the exact function/s in which program/s to look into identify the media 
> insertion activity, so that we can generate relevant devd event. 

No, I'm not. In your position I would study the device specs -
does it generate hardware event in case of media change in first place?

If yes, I'd read sources of umass driver to see how it generates events
for single flash device and add such event for reader's media change.

If not, there should be polling anyway.

Eugene Grosbein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090723055317.GA72627>