Date: Tue, 23 Aug 2005 11:52:12 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Christopher Sean Hilton <chris@vindaloo.com> Cc: freebsd-stable@freebsd.org Subject: Re: Firewire + 5-STABLE + devd? Message-ID: <1124812332.48218.5.camel@shumai.marcuscom.com> In-Reply-To: <20050823151842.GA1509@endaba.vindaloo.com> References: <20050823115856.GA854@endaba.vindaloo.com> <20050823151842.GA1509@endaba.vindaloo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Tue, 2005-08-23 at 11:18 -0400, Christopher Sean Hilton wrote:
> On Tue, Aug 23, 2005 at 07:58:56AM -0400, Christopher Sean Hilton wrote:
> > Hi,
> >
> > I'm trying to get my hotplug utility, which works well with usb
> > devices, to work with firewire devices under 5-STABLE. But when I devd
> > doesn't seem to do anything with firewire devices and when I cat
> > /dev/devctl I get get nothing on firewire. Is there a sysctl I can
> > tune or do I need to upgrade to the 6-{RELEASE,CURRENT} branch?
> >
>
> Also, will devd generate events for the attachment of a da[0-9]
> device?
No. Unfortunately, CAM is not newbus-ified, and thus will not send
devctl events. ATA disks will in 6.X and higher, though.
> Right now it seems as though it doesn't and that is
> problematic. The issue is this. If I attach my usb pendrive to my
> computer it gets devices umass0 and da0. But if I attach a firewire
> device first then my usb pendrive is umass0, da1. So, if events aren't
> generated to say that da1 has become available then I have to figure
> out what umass0 is connected to.
Yep. You should be able to work backwards through the CAM subsystem to
obtain this information. Take a look at the output of ``camcontrol
devlist -v''. The information is there, and you can use libcam to get
it.
Joe
>
> Thanks in advance
> Chris
>
--
PGP Key : http://www.marcuscom.com/pgp.asc
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQBDC0Ysb2iPiv4Uz4cRAjx7AJ9kfnl/9ITF5ojeVpZtE0lKx4ye4ACfdDU1
5bggjkaAkPXd3cV+WsMIEGM=
=v52Z
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1124812332.48218.5.camel>
