linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: sean <seandarcy2@gmail.com>
To: linux-hotplug@vger.kernel.org
Subject: udev rule for a 1394 port on a video card?
Date: Mon, 22 May 2006 17:10:56 +0000	[thread overview]
Message-ID: <e4srb1$f45$1@sea.gmane.org> (raw)

I have a radeon dv video card, that has an ieee1394 port. 
The kernel finds it:

dmesg | grep 1394
ieee1394: Initialized config rom entry `ip1394'
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[193] 
MMIO=[f5000000-f50007ff]  Max Packet=[2048]  IR/IT 
contexts=[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.

find /dev -name "*1394*" returns nil.

ohci1394 and ieee1394 drivers ( but not raw1394 ) are loaded:

lsmod | grep 1394
ohci1394               71961  0
ieee1394              411865  1 ohci1394

So I used udevinfo to create some rules:

cat /etc/udev/rules.d/09-ieee1394.rules
KERNEL="fw-host0" , SYMLINK="dv1394"

BUS="ieee1394" , SYSFS{vendor_name_kv}="Linux - ohci1394", 
SYSFS{vendor_oui}="ATI Technologies Inc.", NAME="%k", 
SYMLINK="dv1394"

ran udevtrigger again. Still no dv1394.

How do I get dv1394 created? How do I get the raw1394 loaded?


FWIW:

  udevinfo -a -p /sys/class/ieee1394_host/fw-host0
.............................
   looking at device '/class/ieee1394_host/fw-host0':
     KERNEL="fw-host0"
     SUBSYSTEM="ieee1394_host"

   looking at device 
'/devices/pci0000:00/0000:00:0b.0/0000:01:00.1/0000:02:00.0/fw-host0':
     ID="fw-host0"
     BUS="ieee1394"
     DRIVER=""
     SYSFS{is_busmgr}="0"
     SYSFS{is_irm}="1"
     SYSFS{is_cycmst}="1"
     SYSFS{is_root}="1"
     SYSFS{in_bus_reset}="0"
     SYSFS{nodes_active}="1"
     SYSFS{selfid_count}="1"
     SYSFS{node_count}="1"

   looking at device 
'/devices/pci0000:00/0000:00:0b.0/0000:01:00.1/0000:02:00.0':
     ID="0000:02:00.0"
     BUS="pci"
     DRIVER="ohci1394"
 
SYSFS{modalias}="pci:v000011C1d00005811sv00001002sd00005811bc0Csc00i10"
 
SYSFS{local_cpus}="00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001"
     SYSFS{irq}="193"
     SYSFS{class}="0x0c0010"
     SYSFS{subsystem_device}="0x5811"
     SYSFS{subsystem_vendor}="0x1002"
     SYSFS{device}="0x5811"
     SYSFS{vendor}="0x11c1"

   looking at device 
'/devices/pci0000:00/0000:00:0b.0/0000:01:00.1':
     ID="0000:01:00.1"
     BUS="pci"
     DRIVER=""
 
SYSFS{modalias}="pci:v00001002d00004243sv00000000sd00000000bc06sc04i00"
 
SYSFS{local_cpus}="00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001"
     SYSFS{irq}="0"
     SYSFS{class}="0x060400"
     SYSFS{subsystem_device}="0x0000"
     SYSFS{subsystem_vendor}="0x0000"
     SYSFS{device}="0x4243"
     SYSFS{vendor}="0x1002"
................


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 easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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

             reply	other threads:[~2006-05-22 17:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-22 17:10 sean [this message]
2006-05-22 18:11 ` udev rule for a 1394 port on a video card? sean darcy
2006-06-01 12:32 ` Kay Sievers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='e4srb1$f45$1@sea.gmane.org' \
    --to=seandarcy2@gmail.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).