Re: Firewire + 5-STABLE + devd?

From: Joe Marcus Clarke (marcus_at_marcuscom.com)
Date: 08/23/05

  • Next message: Ben Paley: "/dev/midi and /dev/sequencer"
    To: Christopher Sean Hilton <chris@vindaloo.com>
    Date: Tue, 23 Aug 2005 11:52:12 -0400
    
    
    

    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
    
    



  • Next message: Ben Paley: "/dev/midi and /dev/sequencer"

    Relevant Pages

    • Firewire + 5-STABLE + devd?
      ... I'm trying to get my hotplug utility, which works well with usb ... to work with firewire devices under 5-STABLE. ... But when I devd ...
      (freebsd-stable)
    • Re: VHS tape to a DVD
      ... I prefer firewire devices, and if you want quality equipment look at the ... USB boxes often save in mpeg files, which are then hard to edit. ... >>> you need (capture device, software, DVD authoring software). ...
      (microsoft.public.windowsxp.video)
    • Re: Retirement of CAM_QUIRK_NOSERIAL
      ... The attached patch should make CAM behave properly with regard to ... So please focus testing on USB, but I'd also ask that people test ... the following devices as well as any firewire devices: ...
      (freebsd-current)
    • Re: Retirement of CAM_QUIRK_NOSERIAL
      ... CAM_QUIRK_NOSERIAL quirk (one instance is left because of an unrelated ... So please focus testing on USB, but I'd also ask that people test ... the following devices as well as any firewire devices: ... Maxtor Personal Storage 3000XT ...
      (freebsd-current)
    • Re: Retirement of CAM_QUIRK_NOSERIAL
      ... The attached patch should make CAM behave properly with regard to ... So please focus testing on USB, but I'd also ask that people test ... the following devices as well as any firewire devices: ...
      (freebsd-current)