From: "sean darcy" Date: Mon, 22 May 2006 18:11:07 +0000 Subject: Re: udev rule for a 1394 port on a video card? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On 5/22/06, Kay Sievers wrote: > On Mon, 2006-05-22 at 13:10 -0400, sean wrote: > > I have a radeon dv video card, that has an ieee1394 port. > > The kernel finds it: > > Always include version numbers! > kernel-2.6.17-rc4 udev-0.92 > > dmesg | grep 1394 > > ieee1394: Initialized config rom entry `ip1394' > > ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=3D[193] > > MMIO=3D[f5000000-f50007ff] Max Packet=3D[2048] IR/IT > > contexts=3D[8/8] > > ieee1394: Host added: ID:BUS[0-00:1023] GUID[0006bb0016051a55] > > > > > > I'm trying to create /dev/dv1394 , raw1394. > > > > udev appears to find the port: > > > > udevtrigger --verbose | grep 1394 > > /sys/bus/ieee1394/devices/0006bb0016051a55-0 > > /sys/bus/ieee1394/devices/0006bb0016051a55 > > /sys/bus/ieee1394/devices/fw-host0 > > /sys/class/ieee1394/0006bb0016051a55-0 > > /sys/class/ieee1394_node/0006bb0016051a55 > > /sys/class/ieee1394_host/fw-host0 > > > > but neither dv1394 or raw1394 are created, and I can't > > figure out what devices are created. > > What does: > ls -l /sys/bus/ieee1394/devices/0006bb0016051a55-0 > (repeat for all devices you mentioned above) > print? Is there a "dev" file? > Nope: find /sys/class/ieee1394 -name dev find /sys/bus/ieee1394 -name dev > And run: > udevmonitor --env > > do: > echo add > /sys/bus/ieee1394/devices/0006bb0016051a55-0/uevent > (repeat for all devices you mentioned above) > > and copy the output of udevmonitor. > > If you find a "dev" file there should be MAJOR/MINOR in the udevmonitor > output, if not, the driver needs to be fixed. > > Kay > Since there are no "dev" files it's probably not a surprise udevmonitor showed no MAJOR/MINOR numbers: UEVENT[1148320025.647790] add@/class/ieee1394/0006bb0016051a55-0 ACTION=ADd DEVPATH=3D/class/ieee1394/0006bb0016051a55-0 SUBSYSTEM=3Dieee1394 SEQNUM!40 PHYSDEVPATH=3D/devices/pci0000:00/0000:00:0b.0/0000:01:00.1/0000:02:00.0/fw= -host0/0006bb0016051a55/0006bb0016051a55-0 PHYSDEVBUS=3Dieee1394 VENDOR_ID=000000 MODEL_ID=000000 GUID=0006bb0016051a55 SPECIFIER_ID=00005e VERSION=000001 MODALIAS=3Dieee1394:ven00000000mo00000000sp0000005Ever00000001 UEVENT[1148320025.648263] add@/class/ieee1394_node/0006bb0016051a55 ACTION=ADd DEVPATH=3D/class/ieee1394_node/0006bb0016051a55 SUBSYSTEM=3Dieee1394_node SEQNUM!41 PHYSDEVPATH=3D/devices/pci0000:00/0000:00:0b.0/0000:01:00.1/0000:02:00.0/fw= -host0/0006bb0016051a55 PHYSDEVBUS=3Dieee1394 UEVENT[1148320025.648692] add@/class/ieee1394_host/fw-host0 ACTION=ADd DEVPATH=3D/class/ieee1394_host/fw-host0 SUBSYSTEM=3Dieee1394_host SEQNUM!42 PHYSDEVPATH=3D/devices/pci0000:00/0000:00:0b.0/0000:01:00.1/0000:02:00.0/fw= -host0 PHYSDEVBUS=3Dieee1394 So the *1394 drivers need to be fixed? I'll post to the 1394 list. In the mean time, do I manually mknod the /dev/*1394? How does udev know to connect this physical device to those /dev files? Or is that the drivers' problem? Thanks for the help. sean ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd________________________________________= _______ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel