Re: Firewire + 5-STABLE + devd?
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 signature.asc Description: This is a digitally signed message part
Re: Firewire + 5-STABLE + devd?
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? 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. Thanks in advance Chris -- Chris Hilton chris-at-vindaloo-dot-com "All I was doing was trying to get home from work!" -- Rosa Parks pgpaTSPO5LWaJ.pgp Description: PGP signature
Firewire + 5-STABLE + devd?
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? $ uname -a FreeBSD endaba.vindaloo.com 5.4-STABLE FreeBSD 5.4-STABLE #0: \ Thu Jun 9 16:25:22 EDT 2005 \ [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ENDABA i386 Thanks in advance Chris -- Chris Hilton chris-at-vindaloo-dot-com "All I was doing was trying to get home from work!" -- Rosa Parks pgp5IP9nRY6Qh.pgp Description: PGP signature