Date: Thu, 23 Jul 2009 19:59:09 +0100 From: Bruce Simpson <bms@incunabulum.net> To: Eugene Grosbein <eugen@kuzbass.ru> Cc: freebsd-stable@freebsd.org, Sagara Wijetunga <sagara@tomahawk.com.sg> Subject: Re: SCSI device not created upon a CF card plug in Message-ID: <4A68B2FD.5090807@incunabulum.net> In-Reply-To: <20090723055317.GA72627@svzserv.kemerovo.su> 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> <20090723055317.GA72627@svzserv.kemerovo.su>
next in thread | previous in thread | raw e-mail | index | archive | help
Eugene Grosbein wrote: > 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. > rwatson@ has or has had a patch to do something like this. It is complicated by the fact that GEOM and NEWBUS don't necessarily talk to each other directly. I agree something needs to be done about removable volume management in FreeBSD. cheers, BMS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A68B2FD.5090807>