linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Report about error: unknown bus]
@ 2004-10-20  3:56 Paul Blazejowski
  2004-10-20  4:27 ` Kay Sievers
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Paul Blazejowski @ 2004-10-20  3:56 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 3317 bytes --]

Hello folks,

Just wanted to report these errors as per the error msg i found
in /var/log/messages.

Kernel 2.6.9 / Slackware 10.0 on nForce 2 system.

-- begin --

Oct 19 23:34:38 blaze logger: /etc/rc.d/rc.hotplug start (entering
script)
Oct 19 23:34:38 blaze kernel: ohci1394: $Rev: 1223 $ Ben Collins
<bcollins@debian.org>
Oct 19 23:34:38 blaze kernel: ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI
22 (level, high) -> IRQ 22
Oct 19 23:34:38 blaze wait_for_sysfs[2049]: error: unknown bus, please
report to <linux-hotplug-devel@lists.sourceforge.net> 'ieee1394'
Oct 19 23:34:38 blaze wait_for_sysfs[2049]: error: wait_for_sysfs needs
an update to handle the device
'/devices/pci0000:00/0000:00:0d.0/fw-host0' properly, please report to
<linux-hotplug-devel@lists.sourceforge.net>
Oct 19 23:34:38 blaze ieee1394.agent[2061]: ... no drivers for IEEE1394
product 0x/0x/0x
Oct 19 23:34:38 blaze kernel: ohci1394: fw-host0: OHCI-1394 1.1 (PCI):
IRQ=[22]  MMIO=[ee084000-ee0847ff]  Max Packet=[2048]
Oct 19 23:34:40 blaze kernel: eth1394: $Rev: 1224 $ Ben Collins
<bcollins@debian.org>
Oct 19 23:34:40 blaze wait_for_sysfs[2449]: error: unknown bus, please
report to <linux-hotplug-devel@lists.sourceforge.net> 'ieee1394'
Oct 19 23:34:40 blaze wait_for_sysfs[2449]: error: wait_for_sysfs needs
an update to handle the device
'/devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed' properly,
please report to <linux-hotplug-devel@lists.sourceforge.net>
Oct 19 23:34:40 blaze ieee1394.agent[2496]: ... no drivers for IEEE1394
product 0x/0x/0x
Oct 19 23:34:40 blaze wait_for_sysfs[2460]: error: unknown bus, please
report to <linux-hotplug-devel@lists.sourceforge.net> 'ieee1394'Oct 19
23:34:40 blaze kernel: eth1394: $Rev: 1224 $ Ben Collins
<bcollins@debian.org>
Oct 19 23:34:40 blaze wait_for_sysfs[2449]: error: unknown bus, please
report to <linux-hotplug-devel@lists.sourceforge.net> 'ieee1394'
Oct 19 23:34:40 blaze wait_for_sysfs[2449]: error: wait_for_sysfs needs
an update to handle the device
'/devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed' properly,
please report to <linux-hotplug-devel@lists.sourceforge.net>
Oct 19 23:34:40 blaze ieee1394.agent[2496]: ... no drivers for IEEE1394
product 0x/0x/0x
Oct 19 23:34:40 blaze wait_for_sysfs[2460]: error: unknown bus, please
report to <linux-hotplug-devel@lists.sourceforge.net> 'ieee1394'
Oct 19 23:34:40 blaze wait_for_sysfs[2460]: error: wait_for_sysfs needs
an update to handle the device
'/devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed/8a1cc7ffff0020ed-0' properly, please report to <linux-hotplug-devel@lists.sourceforge.net>
Oct 19 23:34:40 blaze ieee1394.agent[2509]: ... no drivers for IEEE1394
product 0x/0x/0x
Oct 19 23:34:40 blaze wait_for_sysfs[2460]: error: wait_for_sysfs needs
an update to handle the device
'/devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed/8a1cc7ffff0020ed-0' properly, please report to <linux-hotplug-devel@lists.sourceforge.net>
Oct 19 23:34:40 blaze ieee1394.agent[2509]: ... no drivers for IEEE1394
product 0x/0x/0x
Oct 19 23:35:06 blaze usb.agent[4352]: ... no modules for USB product
0/0/0
Oct 19 23:35:06 blaze logger: /etc/rc.d/rc.hotplug start (exiting
script)

Regards,

Paul B.
-- 
FreeBSD -- The Power to Serve!

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Report about error: unknown bus]
  2004-10-20  3:56 [Report about error: unknown bus] Paul Blazejowski
@ 2004-10-20  4:27 ` Kay Sievers
  2004-10-20  5:33 ` Paul Blazejowski
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Kay Sievers @ 2004-10-20  4:27 UTC (permalink / raw)
  To: linux-hotplug

On Tue, Oct 19, 2004 at 11:56:46PM -0400, Paul Blazejowski wrote:
> Hello folks,
> 
> Just wanted to report these errors as per the error msg i found
> in /var/log/messages.

> Oct 19 23:34:38 blaze wait_for_sysfs[2049]: error: unknown bus, please
> report to <linux-hotplug-devel@lists.sourceforge.net> 'ieee1394'
> Oct 19 23:34:38 blaze wait_for_sysfs[2049]: error: wait_for_sysfs needs
> an update to handle the device
> '/devices/pci0000:00/0000:00:0d.0/fw-host0' properly, please report to
> <linux-hotplug-devel@lists.sourceforge.net>
> Oct 19 23:34:38 blaze ieee1394.agent[2061]: ... no drivers for IEEE1394
> product 0x/0x/0x

A lot of these errors are already fixed. If possible, please update to a
newer version of udev. If you still get errors, please report it again.
We've added some more detailed information to the log, to see what exactly
failed.

Thanks,
Kay


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Report about error: unknown bus]
  2004-10-20  3:56 [Report about error: unknown bus] Paul Blazejowski
  2004-10-20  4:27 ` Kay Sievers
@ 2004-10-20  5:33 ` Paul Blazejowski
  2004-10-20 13:17 ` Kay Sievers
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Paul Blazejowski @ 2004-10-20  5:33 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 3421 bytes --]

On Wed, 2004-10-20 at 06:27 +0200, Kay Sievers wrote:

> A lot of these errors are already fixed. If possible, please update to a
> newer version of udev. If you still get errors, please report it again.
> We've added some more detailed information to the log, to see what exactly
> failed.
> 
> Thanks,
> Kay
> 

Kay, thanks for suggestion. 

I did upgrade to 040 and it still spits some errors such as:

Oct 20 01:09:44 blaze logger: /etc/rc.d/rc.hotplug start (entering
script)
Oct 20 01:09:44 blaze kernel: ohci1394: $Rev: 1223 $ Ben Collins
<bcollins@debian.org>
Oct 20 01:09:44 blaze kernel: ACPI: PCI interrupt 0000:00:0d.0[A] -> GSI
22 (level, high) -> IRQ 22
Oct 20 01:09:44 blaze wait_for_sysfs[2039]: error: unknown bus, please
report to <linux-hotplug-devel@lists.sourceforge.net> 'ieee1394'
Oct 20 01:09:44 blaze wait_for_sysfs[2039]: either wait_for_sysfs (udev
040) needs an update to handle the device
'/devices/pci0000:00/0000:00:0d.0/fw-host0' properly (unknown bus) or
the sysfs-support of your device's driver needs to be fixed, please
report to <linux-hotplug-devel@lists.sourceforge.net>
Oct 20 01:09:44 blaze ieee1394.agent[2051]: ... no drivers for IEEE1394
product 0x/0x/0x
Oct 20 01:09:44 blaze kernel: ohci1394: fw-host0: OHCI-1394 1.1 (PCI):
IRQ=[22]  MMIO=[ee084000-ee0847ff]  Max Packet=[2048]
Oct 20 01:09:46 blaze wait_for_sysfs[2431]: error: unknown bus, please
report to <linux-hotplug-devel@lists.sourceforge.net> 'ieee1394'
Oct 20 01:09:46 blaze wait_for_sysfs[2431]: either wait_for_sysfs (udev
040) needs an update to handle the device
'/devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed' properly
(unknown bus) or the sysfs-support of your device's driver needs to be
fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
Oct 20 01:09:46 blaze ieee1394.agent[2467]: ... no drivers for IEEE1394
product 0x/0x/0x
Oct 20 01:09:46 blaze wait_for_sysfs[2442]: error: unknown bus, please
report to <linux-hotplug-devel@lists.sourceforge.net> 'ieee1394'
Oct 20 01:09:46 blaze wait_for_sysfs[2442]: either wait_for_sysfs (udev
040) needs an update to handle the device
'/devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed/8a1cc7ffff0020ed-0' properly (unknown bus) or the sysfs-support of your device's driver needs to be fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
Oct 20 01:09:46 blaze ieee1394.agent[2480]: ... no drivers for IEEE1394
product 0x/0x/0x
Oct 20 01:09:46 blaze kernel: eth1394: $Rev: 1224 $ Ben Collins
<bcollins@debian.org>
Oct 20 01:09:48 blaze kernel: usb 3-1: new full speed USB device using
address 2
Oct 20 01:09:48 blaze usb.agent[3424]: ... no modules for USB product
46d/840/100
Oct 20 01:09:49 blaze kernel: USB Universal Host Controller Interface
driver v2.2
Oct 20 01:09:52 blaze wait_for_sysfs[2505]: either wait_for_sysfs (udev
040) needs an update to handle the device '/class/net/eth1' properly (no
device symlink) or the sysfs-support of your device's driver needs to be
fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
Oct 20 01:10:12 blaze usb.agent[4314]: ... no modules for USB product
0/0/0
Oct 20 01:10:12 blaze logger: /etc/rc.d/rc.hotplug start (exiting
script)

If you need more info such as full dmesg or /proc/pci or lspci please
let me know.

Thanks again,

Paul

-- 
FreeBSD -- The Power to Serve!

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Report about error: unknown bus]
  2004-10-20  3:56 [Report about error: unknown bus] Paul Blazejowski
  2004-10-20  4:27 ` Kay Sievers
  2004-10-20  5:33 ` Paul Blazejowski
@ 2004-10-20 13:17 ` Kay Sievers
  2004-10-20 17:05 ` Kay Sievers
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Kay Sievers @ 2004-10-20 13:17 UTC (permalink / raw)
  To: linux-hotplug

On Wed, Oct 20, 2004 at 01:33:45AM -0400, Paul Blazejowski wrote:
> On Wed, 2004-10-20 at 06:27 +0200, Kay Sievers wrote:
> 
> > A lot of these errors are already fixed. If possible, please update to a
> > newer version of udev. If you still get errors, please report it again.
> > We've added some more detailed information to the log, to see what exactly
> > failed.
> > 
> > Thanks,
> > Kay
> > 
> 
> Kay, thanks for suggestion. 
> 
> I did upgrade to 040 and it still spits some errors such as:
> 
> unknown bus, please > report to <linux-hotplug-devel@lists.sourceforge.net> 'ieee1394'

Fine, I will go fix that tonight.

> '/devices/pci0000:00/0000:00:0d.0/fw-host0' properly (unknown bus)

Greg, any idea how to handle that properly? Should we exclude
"fw-host*"? Or is it expected to have a "bus" and the firewire driver
should be fixed instead?

> '/class/net/eth1' properly (no device symlink)

What driver creates the eth1 device? It needs to crete the "device" symlink
and the maintainer should know.

Thanks,
Kay


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Report about error: unknown bus]
  2004-10-20  3:56 [Report about error: unknown bus] Paul Blazejowski
                   ` (2 preceding siblings ...)
  2004-10-20 13:17 ` Kay Sievers
@ 2004-10-20 17:05 ` Kay Sievers
  2004-10-20 17:44 ` Paul Blazejowski
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Kay Sievers @ 2004-10-20 17:05 UTC (permalink / raw)
  To: linux-hotplug

On Wed, Oct 20, 2004 at 01:33:45AM -0400, Paul Blazejowski wrote:
> On Wed, 2004-10-20 at 06:27 +0200, Kay Sievers wrote:
> 
> > A lot of these errors are already fixed. If possible, please update to a
> > newer version of udev. If you still get errors, please report it again.
> > We've added some more detailed information to the log, to see what exactly
> > failed.
> > 
> > Thanks,
> > Kay
> > 
> 
> Kay, thanks for suggestion. 
> 
> I did upgrade to 040 and it still spits some errors such as:
> 
> Oct 20 01:09:46 blaze wait_for_sysfs[2431]: error: unknown bus, please
> report to <linux-hotplug-devel@lists.sourceforge.net> 'ieee1394'

Please let me know, which files are in this directory:
  "ls -l /sys/devices/pci0000:00/0000:00:0d.0/fw-host0"

Thanks,
Kay


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Report about error: unknown bus]
  2004-10-20  3:56 [Report about error: unknown bus] Paul Blazejowski
                   ` (3 preceding siblings ...)
  2004-10-20 17:05 ` Kay Sievers
@ 2004-10-20 17:44 ` Paul Blazejowski
  2004-10-20 17:48 ` Paul Blazejowski
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Paul Blazejowski @ 2004-10-20 17:44 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

On Wed, 2004-10-20 at 15:17 +0200, Kay Sievers wrote:

Kay,

> 
> Fine, I will go fix that tonight.
> 
> > '/devices/pci0000:00/0000:00:0d.0/fw-host0' properly (unknown bus)
> 
> Greg, any idea how to handle that properly? Should we exclude
> "fw-host*"? Or is it expected to have a "bus" and the firewire driver
> should be fixed instead?
> 
> > '/class/net/eth1' properly (no device symlink)
> 
> What driver creates the eth1 device? It needs to crete the "device" symlink
> and the maintainer should know.

eth1      Link encap:UNSPEC  HWaddr
8A-1C-C7-FF-FF-00-20-ED-00-00-00-00-00-00-00-00

is created by the eth1394 driver.


> 
> Thanks,
> Kay
> 

Thanks,

Paul

-- 
FreeBSD -- The Power to Serve!

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Report about error: unknown bus]
  2004-10-20  3:56 [Report about error: unknown bus] Paul Blazejowski
                   ` (4 preceding siblings ...)
  2004-10-20 17:44 ` Paul Blazejowski
@ 2004-10-20 17:48 ` Paul Blazejowski
  2004-10-20 18:03 ` Kay Sievers
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Paul Blazejowski @ 2004-10-20 17:48 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 1257 bytes --]

On Wed, 2004-10-20 at 19:05 +0200, Kay Sievers wrote:
> 
> Please let me know, which files are in this directory:
>   "ls -l /sys/devices/pci0000:00/0000:00:0d.0/fw-host0"


This is the output of the ls:

--> ls -l /sys/devices/pci0000:00/0000:00:0d.0/fw-host0
total 0
drwxr-xr-x  4 root root    0 2004-10-20 13:32 8a1cc7ffff0020ed/
-rw-r--r--  1 root root 4096 2004-10-20 13:32 detach_state
lrwxrwxrwx  1 root root    0 2004-10-20 13:32 host_id
-> ../../../../devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed/
-r--r--r--  1 root root 4096 2004-10-20 13:32 in_bus_reset
lrwxrwxrwx  1 root root    0 2004-10-20 13:32 irm_id
-> ../../../../devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed/
-r--r--r--  1 root root 4096 2004-10-20 13:32 is_busmgr
-r--r--r--  1 root root 4096 2004-10-20 13:32 is_cycmst
-r--r--r--  1 root root 4096 2004-10-20 13:32 is_irm
-r--r--r--  1 root root 4096 2004-10-20 13:32 is_root
-r--r--r--  1 root root 4096 2004-10-20 13:32 node_count
-r--r--r--  1 root root 4096 2004-10-20 13:32 nodes_active
drwxr-xr-x  2 root root    0 2004-10-20 13:32 power/
-r--r--r--  1 root root 4096 2004-10-20 13:32 selfid_count

> Thanks,
> Kay
> 

Regards,
Paul
-- 
FreeBSD -- The Power to Serve!

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Report about error: unknown bus]
  2004-10-20  3:56 [Report about error: unknown bus] Paul Blazejowski
                   ` (5 preceding siblings ...)
  2004-10-20 17:48 ` Paul Blazejowski
@ 2004-10-20 18:03 ` Kay Sievers
  2004-10-20 20:44 ` Kay Sievers
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Kay Sievers @ 2004-10-20 18:03 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 1369 bytes --]

On Wed, Oct 20, 2004 at 01:48:31PM -0400, Paul Blazejowski wrote:
> On Wed, 2004-10-20 at 19:05 +0200, Kay Sievers wrote:
> > 
> > Please let me know, which files are in this directory:
> >   "ls -l /sys/devices/pci0000:00/0000:00:0d.0/fw-host0"
> 
> 
> This is the output of the ls:
> 
> --> ls -l /sys/devices/pci0000:00/0000:00:0d.0/fw-host0
> total 0
> drwxr-xr-x  4 root root    0 2004-10-20 13:32 8a1cc7ffff0020ed/
> -rw-r--r--  1 root root 4096 2004-10-20 13:32 detach_state
> lrwxrwxrwx  1 root root    0 2004-10-20 13:32 host_id
> -> ../../../../devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed/
> -r--r--r--  1 root root 4096 2004-10-20 13:32 in_bus_reset
> lrwxrwxrwx  1 root root    0 2004-10-20 13:32 irm_id
> -> ../../../../devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed/
> -r--r--r--  1 root root 4096 2004-10-20 13:32 is_busmgr
> -r--r--r--  1 root root 4096 2004-10-20 13:32 is_cycmst
> -r--r--r--  1 root root 4096 2004-10-20 13:32 is_irm
> -r--r--r--  1 root root 4096 2004-10-20 13:32 is_root
> -r--r--r--  1 root root 4096 2004-10-20 13:32 node_count
> -r--r--r--  1 root root 4096 2004-10-20 13:32 nodes_active
> drwxr-xr-x  2 root root    0 2004-10-20 13:32 power/
> -r--r--r--  1 root root 4096 2004-10-20 13:32 selfid_count

This should fix the bus error and the /class/net/tun* wait error.
Greg, please apply.

Thanks,
Kay

[-- Attachment #2: wait-fixes.patch --]
[-- Type: text/plain, Size: 754 bytes --]

===== udev_sysfs.c 1.1 vs edited =====
--- 1.1/udev_sysfs.c	2004-10-19 03:50:52 +02:00
+++ edited/udev_sysfs.c	2004-10-20 20:02:09 +02:00
@@ -167,6 +167,7 @@
 		{ .subsystem = "net",		.device = "dummy" },
 		{ .subsystem = "net",		.device = "irda" },
 		{ .subsystem = "net",		.device = "ppp" },
+		{ .subsystem = "net",		.device = "tun" },
 		{ .subsystem = "ppp",		.device = NULL },
 		{ .subsystem = "sound",		.device = NULL },
 		{ .subsystem = "printer",	.device = "lp" },
@@ -247,7 +248,8 @@
 		{ .bus = "pci",		.file = "vendor" },
 		{ .bus = "platform",	.file = "detach_state" },
 		{ .bus = "i2c",		.file = "detach_state" },
-		{ NULL }
+		{ .bus = "ieee1394",	.file = "host_id" },
+		{ NULL, NULL }
 	};
 	struct bus_file *busfile;
 	int loop;

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Report about error: unknown bus]
  2004-10-20  3:56 [Report about error: unknown bus] Paul Blazejowski
                   ` (6 preceding siblings ...)
  2004-10-20 18:03 ` Kay Sievers
@ 2004-10-20 20:44 ` Kay Sievers
  2004-10-21  4:15 ` Paul Blazejowski
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Kay Sievers @ 2004-10-20 20:44 UTC (permalink / raw)
  To: linux-hotplug

On Wed, Oct 20, 2004 at 01:44:58PM -0400, Paul Blazejowski wrote:
> On Wed, 2004-10-20 at 15:17 +0200, Kay Sievers wrote:
> 
> > > '/class/net/eth1' properly (no device symlink) or the sysfs-support of
> > > your device's driver needs to be fixed
> > 
> > What driver creates the eth1 device? It needs to crete the "device" symlink
> > and the maintainer should know.
> 
> eth1      Link encap:UNSPEC  HWaddr
> 8A-1C-C7-FF-FF-00-20-ED-00-00-00-00-00-00-00-00
> 
> is created by the eth1394 driver.

[CC: to the 1394 devel-list]

The eth1394.c driver needs to create the symlinks in its sysfs
representation to get support for modern userspace integration.
Most networkd drivers use:

  SET_NETDEV_DEV(dev, &pdev->dev);

to do that.

Thanks,
Kay


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Report about error: unknown bus]
  2004-10-20  3:56 [Report about error: unknown bus] Paul Blazejowski
                   ` (7 preceding siblings ...)
  2004-10-20 20:44 ` Kay Sievers
@ 2004-10-21  4:15 ` Paul Blazejowski
  2004-10-21  8:11 ` Kay Sievers
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Paul Blazejowski @ 2004-10-21  4:15 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 2874 bytes --]

On Wed, 2004-10-20 at 20:03 +0200, Kay Sievers wrote:

> 
> This should fix the bus error and the /class/net/tun* wait error.
> Greg, please apply.
> 
> Thanks,
> Kay
> plain text document attachment (wait-fixes.patch)
> ===== udev_sysfs.c 1.1 vs edited =====
> --- 1.1/udev_sysfs.c	2004-10-19 03:50:52 +02:00
> +++ edited/udev_sysfs.c	2004-10-20 20:02:09 +02:00
> @@ -167,6 +167,7 @@
>  		{ .subsystem = "net",		.device = "dummy" },
>  		{ .subsystem = "net",		.device = "irda" },
>  		{ .subsystem = "net",		.device = "ppp" },
> +		{ .subsystem = "net",		.device = "tun" },
>  		{ .subsystem = "ppp",		.device = NULL },
>  		{ .subsystem = "sound",		.device = NULL },
>  		{ .subsystem = "printer",	.device = "lp" },
> @@ -247,7 +248,8 @@
>  		{ .bus = "pci",		.file = "vendor" },
>  		{ .bus = "platform",	.file = "detach_state" },
>  		{ .bus = "i2c",		.file = "detach_state" },
> -		{ NULL }
> +		{ .bus = "ieee1394",	.file = "host_id" },
> +		{ NULL, NULL }
>  	};
>  	struct bus_file *busfile;
>  	int loop;

Kay , i applied the patch to udev-040/wait_for_sysfs.c and it still
shows some errors:

Oct 20 23:58:12 blaze wait_for_sysfs[2039]: either wait_for_sysfs (udev
040) needs an update to handle the device
'/devices/pci0000:00/0000:00:0d.0/fw-host0' properly (bus specific file
unavailable) or the sysfs-support of your device's driver needs to be
fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
Oct 20 23:58:12 blaze ieee1394.agent[4202]: ... no drivers for IEEE1394
product 0x/0x/0x
Oct 20 23:58:14 blaze wait_for_sysfs[2279]: either wait_for_sysfs (udev
040) needs an update to handle the device
'/devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed' properly
(bus specific file unavailable) or the sysfs-support of your device's
driver needs to be fixed, please report to
<linux-hotplug-devel@lists.sourceforge.net>
Oct 20 23:58:14 blaze wait_for_sysfs[2287]: either wait_for_sysfs (udev
040) needs an update to handle the device
'/devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed/8a1cc7ffff0020ed-0' properly (bus specific file unavailable) or the sysfs-support of your device's driver needs to be fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
Oct 20 23:58:14 blaze ieee1394.agent[4249]: ... no drivers for IEEE1394
product 0x/0x/0x
Oct 20 23:58:14 blaze ieee1394.agent[4238]: ... no drivers for IEEE1394
product 0x/0x/0x
Oct 20 23:58:14 blaze wait_for_sysfs[2322]: either wait_for_sysfs (udev
040) needs an update to handle the device '/class/net/eth2' properly
(bus specific file unavailable) or the sysfs-support of your device's
driver needs to be fixed, please report to
<linux-hotplug-devel@lists.sourceforge.net>
Oct 20 23:58:14 blaze net.agent[4270]: add event not handled

Thank you,

Paul
-- 
FreeBSD -- The Power to Serve!

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Report about error: unknown bus]
  2004-10-20  3:56 [Report about error: unknown bus] Paul Blazejowski
                   ` (8 preceding siblings ...)
  2004-10-21  4:15 ` Paul Blazejowski
@ 2004-10-21  8:11 ` Kay Sievers
  2004-10-21 18:40 ` Paul Blazejowski
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Kay Sievers @ 2004-10-21  8:11 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 1042 bytes --]

On Thu, Oct 21, 2004 at 12:15:35AM -0400, Paul Blazejowski wrote:
> On Wed, 2004-10-20 at 20:03 +0200, Kay Sievers wrote:
> 
> > 
> > This should fix the bus error and the /class/net/tun* wait error.
> 
> Kay , i applied the patch to udev-040/wait_for_sysfs.c and it still
> shows some errors:
> 
> '/devices/pci0000:00/0000:00:0d.0/fw-host0' properly (bus specific file unavailable)
> '/devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed' properly (bus specific file unavailable)
> '/devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed/8a1cc7ffff0020ed-0' properly (bus specific file unavailable)
> '/class/net/eth2' properly (bus specific file unavailable)

Hi Paul,
here is a new patch, that does not try to open the attribute. It
just waits until the file shows up.

Unfortunately, I don't have this hardware to test. If you still get these
errors please attach the output from "tree /sys" for the next round. We
may just need to add more files to the ieee1394 list, they may be different
from device to device.

Thanks,
Kay

[-- Attachment #2: wait-fixes-02.patch --]
[-- Type: text/plain, Size: 2423 bytes --]

===== udev_sysfs.c 1.1 vs edited =====
--- 1.1/udev_sysfs.c	2004-10-19 03:50:52 +02:00
+++ edited/udev_sysfs.c	2004-10-21 09:48:31 +02:00
@@ -93,10 +93,8 @@ static int wait_for_class_device_attribu
 		return 0;
 	}
 
-	strcpy(filename, class_dev->path);
-	strcat(filename, "/");
-	strcat(filename, file);
-	dbg("looking at class '%s' for specific file '%s' with full name %s", class_dev->classname, file, filename);
+	snprintf(filename, SYSFS_PATH_MAX-1, "%s/%s", class_dev->path, file);
+	dbg("looking at class '%s' for specific file '%s'", class_dev->classname, filename);
 
 	loop = WAIT_MAX_SECONDS * WAIT_LOOP_PER_SECOND;
 	while (--loop) {
@@ -167,6 +165,7 @@ static int class_device_expect_no_device
 		{ .subsystem = "net",		.device = "dummy" },
 		{ .subsystem = "net",		.device = "irda" },
 		{ .subsystem = "net",		.device = "ppp" },
+		{ .subsystem = "net",		.device = "tun" },
 		{ .subsystem = "ppp",		.device = NULL },
 		{ .subsystem = "sound",		.device = NULL },
 		{ .subsystem = "printer",	.device = "lp" },
@@ -247,7 +246,8 @@ int wait_for_bus_device(struct sysfs_dev
 		{ .bus = "pci",		.file = "vendor" },
 		{ .bus = "platform",	.file = "detach_state" },
 		{ .bus = "i2c",		.file = "detach_state" },
-		{ NULL }
+		{ .bus = "ieee1394",	.file = "host_id" },
+		{ NULL, NULL }
 	};
 	struct bus_file *busfile;
 	int loop;
@@ -271,19 +271,24 @@ int wait_for_bus_device(struct sysfs_dev
 	/* wait for a bus specific file to show up */
 	loop = WAIT_MAX_SECONDS * WAIT_LOOP_PER_SECOND;
 	while (--loop) {
-		int found = 0;
+		int found_bus_type = 0;
 
 		for (busfile = bus_files; busfile->bus != NULL; busfile++) {
 			if (strcmp(devices_dev->bus, busfile->bus) == 0) {
-				found = 1;
-				dbg("looking at bus '%s' for specific file '%s'", devices_dev->bus, busfile->file);
-				if (sysfs_get_device_attr(devices_dev, busfile->file) != NULL) {
+				char filename[SYSFS_PATH_MAX];
+				struct stat stats;
+
+				found_bus_type = 1;
+				snprintf(filename, SYSFS_PATH_MAX-1, "%s/%s", devices_dev->path, busfile->file);
+				dbg("looking at bus '%s' for specific file '%s'", devices_dev->bus, filename);
+
+				if (stat(filename, &stats) == 0) {
 					dbg("bus '%s' specific file '%s' found", devices_dev->bus, busfile->file);
 					return 0;
 				}
 			}
 		}
-		if (found == 0) {
+		if (found_bus_type == 0) {
 			if (error)
 				*error = "unknown bus";
 			info("error: unknown bus, please report to "

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Report about error: unknown bus]
  2004-10-20  3:56 [Report about error: unknown bus] Paul Blazejowski
                   ` (9 preceding siblings ...)
  2004-10-21  8:11 ` Kay Sievers
@ 2004-10-21 18:40 ` Paul Blazejowski
  2004-10-21 19:58 ` Kay Sievers
  2004-10-21 20:28 ` Paul Blazejowski
  12 siblings, 0 replies; 14+ messages in thread
From: Paul Blazejowski @ 2004-10-21 18:40 UTC (permalink / raw)
  To: linux-hotplug


[-- Attachment #1.1: Type: text/plain, Size: 4230 bytes --]

On Thu, 2004-10-21 at 10:11 +0200, Kay Sievers wrote:
> 
> Hi Paul,
> here is a new patch, that does not try to open the attribute. It
> just waits until the file shows up.
> 
> Unfortunately, I don't have this hardware to test. If you still get these
> errors please attach the output from "tree /sys" for the next round. We
> may just need to add more files to the ieee1394 list, they may be different
> from device to device.
> 
> Thanks,
> Kay
> plain text document attachment (wait-fixes-02.patch)
> ===== udev_sysfs.c 1.1 vs edited =====
> --- 1.1/udev_sysfs.c	2004-10-19 03:50:52 +02:00
> +++ edited/udev_sysfs.c	2004-10-21 09:48:31 +02:00
> @@ -93,10 +93,8 @@ static int wait_for_class_device_attribu
>  		return 0;
>  	}
>  
> -	strcpy(filename, class_dev->path);
> -	strcat(filename, "/");
> -	strcat(filename, file);
> -	dbg("looking at class '%s' for specific file '%s' with full name %s", class_dev->classname, file, filename);
> +	snprintf(filename, SYSFS_PATH_MAX-1, "%s/%s", class_dev->path, file);
> +	dbg("looking at class '%s' for specific file '%s'", class_dev->classname, filename);
>  
>  	loop = WAIT_MAX_SECONDS * WAIT_LOOP_PER_SECOND;
>  	while (--loop) {
> @@ -167,6 +165,7 @@ static int class_device_expect_no_device
>  		{ .subsystem = "net",		.device = "dummy" },
>  		{ .subsystem = "net",		.device = "irda" },
>  		{ .subsystem = "net",		.device = "ppp" },
> +		{ .subsystem = "net",		.device = "tun" },
>  		{ .subsystem = "ppp",		.device = NULL },
>  		{ .subsystem = "sound",		.device = NULL },
>  		{ .subsystem = "printer",	.device = "lp" },
> @@ -247,7 +246,8 @@ int wait_for_bus_device(struct sysfs_dev
>  		{ .bus = "pci",		.file = "vendor" },
>  		{ .bus = "platform",	.file = "detach_state" },
>  		{ .bus = "i2c",		.file = "detach_state" },
> -		{ NULL }
> +		{ .bus = "ieee1394",	.file = "host_id" },
> +		{ NULL, NULL }
>  	};
>  	struct bus_file *busfile;
>  	int loop;
> @@ -271,19 +271,24 @@ int wait_for_bus_device(struct sysfs_dev
>  	/* wait for a bus specific file to show up */
>  	loop = WAIT_MAX_SECONDS * WAIT_LOOP_PER_SECOND;
>  	while (--loop) {
> -		int found = 0;
> +		int found_bus_type = 0;
>  
>  		for (busfile = bus_files; busfile->bus != NULL; busfile++) {
>  			if (strcmp(devices_dev->bus, busfile->bus) == 0) {
> -				found = 1;
> -				dbg("looking at bus '%s' for specific file '%s'", devices_dev->bus, busfile->file);
> -				if (sysfs_get_device_attr(devices_dev, busfile->file) != NULL) {
> +				char filename[SYSFS_PATH_MAX];
> +				struct stat stats;
> +
> +				found_bus_type = 1;
> +				snprintf(filename, SYSFS_PATH_MAX-1, "%s/%s", devices_dev->path, busfile->file);
> +				dbg("looking at bus '%s' for specific file '%s'", devices_dev->bus, filename);
> +
> +				if (stat(filename, &stats) == 0) {
>  					dbg("bus '%s' specific file '%s' found", devices_dev->bus, busfile->file);
>  					return 0;
>  				}
>  			}
>  		}
> -		if (found == 0) {
> +		if (found_bus_type == 0) {
>  			if (error)
>  				*error = "unknown bus";
>  			info("error: unknown bus, please report to "

Hello Kay,

Thanks for the fix, i think we are getting closer... udev list only this
line this time:

Oct 21 14:28:35 blaze wait_for_sysfs[2279]: either wait_for_sysfs (udev
040) needs an update to handle the device
'/devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed' properly
(bus specific file unavailable) or the sysfs-support of your device's
driver needs to be fixed, please report to
<linux-hotplug-devel@lists.sourceforge.net>
Oct 21 14:28:35 blaze wait_for_sysfs[2288]: either wait_for_sysfs (udev
040) needs an update to handle the device
'/devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed/8a1cc7ffff0020ed-0' properly (bus specific file unavailable) or the sysfs-support of your device's driver needs to be fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
Oct 21 14:28:35 blaze ieee1394.agent[4583]: ... no drivers for IEEE1394
product 0x/0x/0x

I had 2 hunks failed from this patch but applied them by hand and
recompiled udev-040

Attached is the tree output of /sys

Thank you,

Paul
-- 
FreeBSD -- The Power to Serve!

[-- Attachment #1.2: list_tree_sys --]
[-- Type: text/plain, Size: 77579 bytes --]

/sys
|-- block
|   |-- hda
|   |   |-- dev
|   |   |-- device -> ../../devices/pci0000:00/0000:00:09.0/ide0/0.0
|   |   |-- hda1
|   |   |   |-- dev
|   |   |   |-- size
|   |   |   |-- start
|   |   |   `-- stat
|   |   |-- queue
|   |   |   |-- iosched
|   |   |   |   |-- antic_expire
|   |   |   |   |-- est_time
|   |   |   |   |-- read_batch_expire
|   |   |   |   |-- read_expire
|   |   |   |   |-- write_batch_expire
|   |   |   |   `-- write_expire
|   |   |   |-- max_hw_sectors_kb
|   |   |   |-- max_sectors_kb
|   |   |   |-- nr_requests
|   |   |   `-- read_ahead_kb
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- ram0
|   |   |-- dev
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- ram1
|   |   |-- dev
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- ram10
|   |   |-- dev
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- ram11
|   |   |-- dev
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- ram12
|   |   |-- dev
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- ram13
|   |   |-- dev
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- ram14
|   |   |-- dev
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- ram15
|   |   |-- dev
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- ram2
|   |   |-- dev
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- ram3
|   |   |-- dev
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- ram4
|   |   |-- dev
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- ram5
|   |   |-- dev
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- ram6
|   |   |-- dev
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- ram7
|   |   |-- dev
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- ram8
|   |   |-- dev
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- ram9
|   |   |-- dev
|   |   |-- range
|   |   |-- removable
|   |   |-- size
|   |   `-- stat
|   |-- sda
|   |   |-- dev
|   |   |-- device -> ../../devices/pci0000:00/0000:00:08.0/0000:01:0a.0/host0/0:0:6:0
|   |   |-- queue
|   |   |   |-- iosched
|   |   |   |   |-- antic_expire
|   |   |   |   |-- est_time
|   |   |   |   |-- read_batch_expire
|   |   |   |   |-- read_expire
|   |   |   |   |-- write_batch_expire
|   |   |   |   `-- write_expire
|   |   |   |-- max_hw_sectors_kb
|   |   |   |-- max_sectors_kb
|   |   |   |-- nr_requests
|   |   |   `-- read_ahead_kb
|   |   |-- range
|   |   |-- removable
|   |   |-- sda1
|   |   |   |-- dev
|   |   |   |-- size
|   |   |   |-- start
|   |   |   `-- stat
|   |   |-- sda2
|   |   |   |-- dev
|   |   |   |-- size
|   |   |   |-- start
|   |   |   `-- stat
|   |   |-- sda3
|   |   |   |-- dev
|   |   |   |-- size
|   |   |   |-- start
|   |   |   `-- stat
|   |   |-- sda4
|   |   |   |-- dev
|   |   |   |-- size
|   |   |   |-- start
|   |   |   `-- stat
|   |   |-- sda5
|   |   |   |-- dev
|   |   |   |-- size
|   |   |   |-- start
|   |   |   `-- stat
|   |   |-- sda6
|   |   |   |-- dev
|   |   |   |-- size
|   |   |   |-- start
|   |   |   `-- stat
|   |   |-- sda7
|   |   |   |-- dev
|   |   |   |-- size
|   |   |   |-- start
|   |   |   `-- stat
|   |   |-- size
|   |   `-- stat
|   `-- sdb
|       |-- dev
|       |-- device -> ../../devices/platform/host1/1:0:0:0
|       |-- queue
|       |   |-- iosched
|       |   |   |-- antic_expire
|       |   |   |-- est_time
|       |   |   |-- read_batch_expire
|       |   |   |-- read_expire
|       |   |   |-- write_batch_expire
|       |   |   `-- write_expire
|       |   |-- max_hw_sectors_kb
|       |   |-- max_sectors_kb
|       |   |-- nr_requests
|       |   `-- read_ahead_kb
|       |-- range
|       |-- removable
|       |-- sdb1
|       |   |-- dev
|       |   |-- size
|       |   |-- start
|       |   `-- stat
|       |-- size
|       `-- stat
|-- bus
|   |-- ide
|   |   |-- devices
|   |   |   |-- 0.0 -> ../../../devices/pci0000:00/0000:00:09.0/ide0/0.0
|   |   |   `-- 1.0 -> ../../../devices/pci0000:00/0000:00:09.0/ide1/1.0
|   |   `-- drivers
|   |       `-- ide-disk
|   |-- ieee1394
|   |   |-- destroy_node
|   |   |-- devices
|   |   |   |-- 8a1cc7ffff0020ed -> ../../../devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed
|   |   |   |-- 8a1cc7ffff0020ed-0 -> ../../../devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed/8a1cc7ffff0020ed-0
|   |   |   `-- fw-host0 -> ../../../devices/pci0000:00/0000:00:0d.0/fw-host0
|   |   |-- drivers
|   |   |   `-- eth1394
|   |   |       |-- 8a1cc7ffff0020ed-0 -> ../../../../devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed/8a1cc7ffff0020ed-0
|   |   |       |-- device_ids
|   |   |       `-- name
|   |   |-- ignore_drivers
|   |   `-- rescan
|   |-- pci
|   |   |-- devices
|   |   |   |-- 0000:00:00.0 -> ../../../devices/pci0000:00/0000:00:00.0
|   |   |   |-- 0000:00:00.1 -> ../../../devices/pci0000:00/0000:00:00.1
|   |   |   |-- 0000:00:00.2 -> ../../../devices/pci0000:00/0000:00:00.2
|   |   |   |-- 0000:00:00.3 -> ../../../devices/pci0000:00/0000:00:00.3
|   |   |   |-- 0000:00:00.4 -> ../../../devices/pci0000:00/0000:00:00.4
|   |   |   |-- 0000:00:00.5 -> ../../../devices/pci0000:00/0000:00:00.5
|   |   |   |-- 0000:00:01.0 -> ../../../devices/pci0000:00/0000:00:01.0
|   |   |   |-- 0000:00:01.1 -> ../../../devices/pci0000:00/0000:00:01.1
|   |   |   |-- 0000:00:02.0 -> ../../../devices/pci0000:00/0000:00:02.0
|   |   |   |-- 0000:00:02.1 -> ../../../devices/pci0000:00/0000:00:02.1
|   |   |   |-- 0000:00:02.2 -> ../../../devices/pci0000:00/0000:00:02.2
|   |   |   |-- 0000:00:04.0 -> ../../../devices/pci0000:00/0000:00:04.0
|   |   |   |-- 0000:00:05.0 -> ../../../devices/pci0000:00/0000:00:05.0
|   |   |   |-- 0000:00:06.0 -> ../../../devices/pci0000:00/0000:00:06.0
|   |   |   |-- 0000:00:08.0 -> ../../../devices/pci0000:00/0000:00:08.0
|   |   |   |-- 0000:00:09.0 -> ../../../devices/pci0000:00/0000:00:09.0
|   |   |   |-- 0000:00:0d.0 -> ../../../devices/pci0000:00/0000:00:0d.0
|   |   |   |-- 0000:00:1e.0 -> ../../../devices/pci0000:00/0000:00:1e.0
|   |   |   |-- 0000:01:0a.0 -> ../../../devices/pci0000:00/0000:00:08.0/0000:01:0a.0
|   |   |   |-- 0000:01:0b.0 -> ../../../devices/pci0000:00/0000:00:08.0/0000:01:0b.0
|   |   |   |-- 0000:01:0c.0 -> ../../../devices/pci0000:00/0000:00:08.0/0000:01:0c.0
|   |   |   |-- 0000:03:00.0 -> ../../../devices/pci0000:00/0000:00:1e.0/0000:03:00.0
|   |   |   `-- 0000:03:00.1 -> ../../../devices/pci0000:00/0000:00:1e.0/0000:03:00.1
|   |   `-- drivers
|   |       |-- AMD_IDE
|   |       |   |-- 0000:00:09.0 -> ../../../../devices/pci0000:00/0000:00:09.0
|   |       |   `-- new_id
|   |       |-- Intel ICH
|   |       |   `-- new_id
|   |       |-- Intel ICH Joystick
|   |       |   `-- new_id
|   |       |-- PCI_IDE
|   |       |   `-- new_id
|   |       |-- agpgart-nvidia
|   |       |   |-- 0000:00:00.0 -> ../../../../devices/pci0000:00/0000:00:00.0
|   |       |   `-- new_id
|   |       |-- aic7xxx
|   |       |   |-- 0000:01:0a.0 -> ../../../../devices/pci0000:00/0000:00:08.0/0000:01:0a.0
|   |       |   `-- new_id
|   |       |-- e1000
|   |       |   |-- 0000:01:0b.0 -> ../../../../devices/pci0000:00/0000:00:08.0/0000:01:0b.0
|   |       |   `-- new_id
|   |       |-- ehci_hcd
|   |       |   |-- 0000:00:02.2 -> ../../../../devices/pci0000:00/0000:00:02.2
|   |       |   `-- new_id
|   |       |-- forcedeth
|   |       |   |-- 0000:00:04.0 -> ../../../../devices/pci0000:00/0000:00:04.0
|   |       |   `-- new_id
|   |       |-- nforce_audio
|   |       |   |-- 0000:00:05.0 -> ../../../../devices/pci0000:00/0000:00:05.0
|   |       |   |-- 0000:00:06.0 -> ../../../../devices/pci0000:00/0000:00:06.0
|   |       |   `-- new_id
|   |       |-- nvnet
|   |       |   `-- new_id
|   |       |-- ohci1394
|   |       |   |-- 0000:00:0d.0 -> ../../../../devices/pci0000:00/0000:00:0d.0
|   |       |   `-- new_id
|   |       |-- ohci_hcd
|   |       |   |-- 0000:00:02.0 -> ../../../../devices/pci0000:00/0000:00:02.0
|   |       |   |-- 0000:00:02.1 -> ../../../../devices/pci0000:00/0000:00:02.1
|   |       |   `-- new_id
|   |       |-- serial
|   |       |   `-- new_id
|   |       `-- uhci_hcd
|   |           `-- new_id
|   |-- platform
|   |   |-- devices
|   |   |   |-- i8042 -> ../../../devices/platform/i8042
|   |   |   `-- vesafb0 -> ../../../devices/platform/vesafb0
|   |   `-- drivers
|   |       |-- i8042
|   |       |   `-- i8042 -> ../../../../devices/platform/i8042
|   |       `-- vesafb
|   |           `-- vesafb0 -> ../../../../devices/platform/vesafb0
|   |-- scsi
|   |   |-- devices
|   |   |   |-- 0:0:3:0 -> ../../../devices/pci0000:00/0000:00:08.0/0000:01:0a.0/host0/0:0:3:0
|   |   |   |-- 0:0:4:0 -> ../../../devices/pci0000:00/0000:00:08.0/0000:01:0a.0/host0/0:0:4:0
|   |   |   |-- 0:0:6:0 -> ../../../devices/pci0000:00/0000:00:08.0/0000:01:0a.0/host0/0:0:6:0
|   |   |   `-- 1:0:0:0 -> ../../../devices/platform/host1/1:0:0:0
|   |   `-- drivers
|   |       `-- sd
|   |           |-- 0:0:6:0 -> ../../../../devices/pci0000:00/0000:00:08.0/0000:01:0a.0/host0/0:0:6:0
|   |           `-- 1:0:0:0 -> ../../../../devices/platform/host1/1:0:0:0
|   |-- serio
|   |   |-- devices
|   |   |   |-- serio0 -> ../../../devices/platform/i8042/serio0
|   |   |   `-- serio1 -> ../../../devices/platform/i8042/serio1
|   |   `-- drivers
|   |       |-- atkbd
|   |       |   |-- bind_mode
|   |       |   |-- description
|   |       |   `-- serio1 -> ../../../../devices/platform/i8042/serio1
|   |       `-- psmouse
|   |           |-- bind_mode
|   |           |-- description
|   |           `-- serio0 -> ../../../../devices/platform/i8042/serio0
|   `-- usb
|       |-- devices
|       |   |-- 1-0:1.0 -> ../../../devices/pci0000:00/0000:00:02.2/usb1/1-0:1.0
|       |   |-- 2-0:1.0 -> ../../../devices/pci0000:00/0000:00:02.0/usb2/2-0:1.0
|       |   |-- 2-1 -> ../../../devices/pci0000:00/0000:00:02.0/usb2/2-1
|       |   |-- 2-1:1.0 -> ../../../devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0
|       |   |-- 2-2 -> ../../../devices/pci0000:00/0000:00:02.0/usb2/2-2
|       |   |-- 2-2.1 -> ../../../devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2.1
|       |   |-- 2-2.1:1.0 -> ../../../devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2.1/2-2.1:1.0
|       |   |-- 2-2.1:1.1 -> ../../../devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2.1/2-2.1:1.1
|       |   |-- 2-2:1.0 -> ../../../devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2:1.0
|       |   |-- 3-0:1.0 -> ../../../devices/pci0000:00/0000:00:02.1/usb3/3-0:1.0
|       |   |-- 3-1 -> ../../../devices/pci0000:00/0000:00:02.1/usb3/3-1
|       |   |-- 3-1:1.0 -> ../../../devices/pci0000:00/0000:00:02.1/usb3/3-1/3-1:1.0
|       |   |-- usb1 -> ../../../devices/pci0000:00/0000:00:02.2/usb1
|       |   |-- usb2 -> ../../../devices/pci0000:00/0000:00:02.0/usb2
|       |   `-- usb3 -> ../../../devices/pci0000:00/0000:00:02.1/usb3
|       `-- drivers
|           |-- hiddev
|           |-- hub
|           |   |-- 1-0:1.0 -> ../../../../devices/pci0000:00/0000:00:02.2/usb1/1-0:1.0
|           |   |-- 2-0:1.0 -> ../../../../devices/pci0000:00/0000:00:02.0/usb2/2-0:1.0
|           |   |-- 2-2:1.0 -> ../../../../devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2:1.0
|           |   `-- 3-0:1.0 -> ../../../../devices/pci0000:00/0000:00:02.1/usb3/3-0:1.0
|           |-- usb
|           |   |-- 2-1 -> ../../../../devices/pci0000:00/0000:00:02.0/usb2/2-1
|           |   |-- 2-2 -> ../../../../devices/pci0000:00/0000:00:02.0/usb2/2-2
|           |   |-- 2-2.1 -> ../../../../devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2.1
|           |   |-- 3-1 -> ../../../../devices/pci0000:00/0000:00:02.1/usb3/3-1
|           |   |-- usb1 -> ../../../../devices/pci0000:00/0000:00:02.2/usb1
|           |   |-- usb2 -> ../../../../devices/pci0000:00/0000:00:02.0/usb2
|           |   `-- usb3 -> ../../../../devices/pci0000:00/0000:00:02.1/usb3
|           |-- usbfs
|           `-- usbhid
|               |-- 2-1:1.0 -> ../../../../devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0
|               |-- 2-2.1:1.0 -> ../../../../devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2.1/2-2.1:1.0
|               `-- 2-2.1:1.1 -> ../../../../devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2.1/2-2.1:1.1
|-- class
|   |-- graphics
|   |   `-- fb0
|   |       `-- dev
|   |-- ieee1394
|   |   `-- 8a1cc7ffff0020ed-0
|   |       `-- device -> ../../../devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed/8a1cc7ffff0020ed-0
|   |-- ieee1394_host
|   |   `-- fw-host0
|   |       `-- device -> ../../../devices/pci0000:00/0000:00:0d.0/fw-host0
|   |-- ieee1394_node
|   |   `-- 8a1cc7ffff0020ed
|   |       `-- device -> ../../../devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed
|   |-- input
|   |   |-- event0
|   |   |   `-- dev
|   |   |-- event1
|   |   |   `-- dev
|   |   |-- event2
|   |   |   |-- dev
|   |   |   |-- device -> ../../../devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0
|   |   |   `-- driver -> ../../../bus/usb/drivers/usbhid
|   |   |-- event3
|   |   |   |-- dev
|   |   |   |-- device -> ../../../devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2.1/2-2.1:1.0
|   |   |   `-- driver -> ../../../bus/usb/drivers/usbhid
|   |   |-- event4
|   |   |   |-- dev
|   |   |   |-- device -> ../../../devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2.1/2-2.1:1.1
|   |   |   `-- driver -> ../../../bus/usb/drivers/usbhid
|   |   |-- mice
|   |   |   `-- dev
|   |   |-- mouse0
|   |   |   `-- dev
|   |   `-- mouse1
|   |       |-- dev
|   |       |-- device -> ../../../devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0
|   |       `-- driver -> ../../../bus/usb/drivers/usbhid
|   |-- mem
|   |   |-- full
|   |   |   `-- dev
|   |   |-- kmem
|   |   |   `-- dev
|   |   |-- kmsg
|   |   |   `-- dev
|   |   |-- mem
|   |   |   `-- dev
|   |   |-- null
|   |   |   `-- dev
|   |   |-- port
|   |   |   `-- dev
|   |   |-- random
|   |   |   `-- dev
|   |   |-- urandom
|   |   |   `-- dev
|   |   `-- zero
|   |       `-- dev
|   |-- misc
|   |   |-- agpgart
|   |   |   `-- dev
|   |   |-- device-mapper
|   |   |   `-- dev
|   |   `-- psaux
|   |       `-- dev
|   |-- net
|   |   |-- eth0
|   |   |   |-- addr_len
|   |   |   |-- address
|   |   |   |-- broadcast
|   |   |   |-- device -> ../../../devices/pci0000:00/0000:00:08.0/0000:01:0b.0
|   |   |   |-- driver -> ../../../bus/pci/drivers/e1000
|   |   |   |-- features
|   |   |   |-- flags
|   |   |   |-- ifindex
|   |   |   |-- iflink
|   |   |   |-- mtu
|   |   |   |-- statistics
|   |   |   |   |-- collisions
|   |   |   |   |-- multicast
|   |   |   |   |-- rx_bytes
|   |   |   |   |-- rx_compressed
|   |   |   |   |-- rx_crc_errors
|   |   |   |   |-- rx_dropped
|   |   |   |   |-- rx_errors
|   |   |   |   |-- rx_fifo_errors
|   |   |   |   |-- rx_frame_errors
|   |   |   |   |-- rx_length_errors
|   |   |   |   |-- rx_missed_errors
|   |   |   |   |-- rx_over_errors
|   |   |   |   |-- rx_packets
|   |   |   |   |-- tx_aborted_errors
|   |   |   |   |-- tx_bytes
|   |   |   |   |-- tx_carrier_errors
|   |   |   |   |-- tx_compressed
|   |   |   |   |-- tx_dropped
|   |   |   |   |-- tx_errors
|   |   |   |   |-- tx_fifo_errors
|   |   |   |   |-- tx_heartbeat_errors
|   |   |   |   |-- tx_packets
|   |   |   |   `-- tx_window_errors
|   |   |   |-- tx_queue_len
|   |   |   `-- type
|   |   |-- eth1
|   |   |   |-- addr_len
|   |   |   |-- address
|   |   |   |-- broadcast
|   |   |   |-- device -> ../../../devices/pci0000:00/0000:00:04.0
|   |   |   |-- driver -> ../../../bus/pci/drivers/forcedeth
|   |   |   |-- features
|   |   |   |-- flags
|   |   |   |-- ifindex
|   |   |   |-- iflink
|   |   |   |-- mtu
|   |   |   |-- statistics
|   |   |   |   |-- collisions
|   |   |   |   |-- multicast
|   |   |   |   |-- rx_bytes
|   |   |   |   |-- rx_compressed
|   |   |   |   |-- rx_crc_errors
|   |   |   |   |-- rx_dropped
|   |   |   |   |-- rx_errors
|   |   |   |   |-- rx_fifo_errors
|   |   |   |   |-- rx_frame_errors
|   |   |   |   |-- rx_length_errors
|   |   |   |   |-- rx_missed_errors
|   |   |   |   |-- rx_over_errors
|   |   |   |   |-- rx_packets
|   |   |   |   |-- tx_aborted_errors
|   |   |   |   |-- tx_bytes
|   |   |   |   |-- tx_carrier_errors
|   |   |   |   |-- tx_compressed
|   |   |   |   |-- tx_dropped
|   |   |   |   |-- tx_errors
|   |   |   |   |-- tx_fifo_errors
|   |   |   |   |-- tx_heartbeat_errors
|   |   |   |   |-- tx_packets
|   |   |   |   `-- tx_window_errors
|   |   |   |-- tx_queue_len
|   |   |   `-- type
|   |   |-- eth2
|   |   |   |-- addr_len
|   |   |   |-- address
|   |   |   |-- broadcast
|   |   |   |-- device -> ../../../devices/pci0000:00/0000:00:0d.0/fw-host0
|   |   |   |-- features
|   |   |   |-- flags
|   |   |   |-- ifindex
|   |   |   |-- iflink
|   |   |   |-- mtu
|   |   |   |-- statistics
|   |   |   |   |-- collisions
|   |   |   |   |-- multicast
|   |   |   |   |-- rx_bytes
|   |   |   |   |-- rx_compressed
|   |   |   |   |-- rx_crc_errors
|   |   |   |   |-- rx_dropped
|   |   |   |   |-- rx_errors
|   |   |   |   |-- rx_fifo_errors
|   |   |   |   |-- rx_frame_errors
|   |   |   |   |-- rx_length_errors
|   |   |   |   |-- rx_missed_errors
|   |   |   |   |-- rx_over_errors
|   |   |   |   |-- rx_packets
|   |   |   |   |-- tx_aborted_errors
|   |   |   |   |-- tx_bytes
|   |   |   |   |-- tx_carrier_errors
|   |   |   |   |-- tx_compressed
|   |   |   |   |-- tx_dropped
|   |   |   |   |-- tx_errors
|   |   |   |   |-- tx_fifo_errors
|   |   |   |   |-- tx_heartbeat_errors
|   |   |   |   |-- tx_packets
|   |   |   |   `-- tx_window_errors
|   |   |   |-- tx_queue_len
|   |   |   `-- type
|   |   |-- lo
|   |   |   |-- addr_len
|   |   |   |-- address
|   |   |   |-- broadcast
|   |   |   |-- features
|   |   |   |-- flags
|   |   |   |-- ifindex
|   |   |   |-- iflink
|   |   |   |-- mtu
|   |   |   |-- statistics
|   |   |   |   |-- collisions
|   |   |   |   |-- multicast
|   |   |   |   |-- rx_bytes
|   |   |   |   |-- rx_compressed
|   |   |   |   |-- rx_crc_errors
|   |   |   |   |-- rx_dropped
|   |   |   |   |-- rx_errors
|   |   |   |   |-- rx_fifo_errors
|   |   |   |   |-- rx_frame_errors
|   |   |   |   |-- rx_length_errors
|   |   |   |   |-- rx_missed_errors
|   |   |   |   |-- rx_over_errors
|   |   |   |   |-- rx_packets
|   |   |   |   |-- tx_aborted_errors
|   |   |   |   |-- tx_bytes
|   |   |   |   |-- tx_carrier_errors
|   |   |   |   |-- tx_compressed
|   |   |   |   |-- tx_dropped
|   |   |   |   |-- tx_errors
|   |   |   |   |-- tx_fifo_errors
|   |   |   |   |-- tx_heartbeat_errors
|   |   |   |   |-- tx_packets
|   |   |   |   `-- tx_window_errors
|   |   |   |-- tx_queue_len
|   |   |   `-- type
|   |   `-- sit0
|   |       |-- addr_len
|   |       |-- address
|   |       |-- broadcast
|   |       |-- features
|   |       |-- flags
|   |       |-- ifindex
|   |       |-- iflink
|   |       |-- mtu
|   |       |-- statistics
|   |       |   |-- collisions
|   |       |   |-- multicast
|   |       |   |-- rx_bytes
|   |       |   |-- rx_compressed
|   |       |   |-- rx_crc_errors
|   |       |   |-- rx_dropped
|   |       |   |-- rx_errors
|   |       |   |-- rx_fifo_errors
|   |       |   |-- rx_frame_errors
|   |       |   |-- rx_length_errors
|   |       |   |-- rx_missed_errors
|   |       |   |-- rx_over_errors
|   |       |   |-- rx_packets
|   |       |   |-- tx_aborted_errors
|   |       |   |-- tx_bytes
|   |       |   |-- tx_carrier_errors
|   |       |   |-- tx_compressed
|   |       |   |-- tx_dropped
|   |       |   |-- tx_errors
|   |       |   |-- tx_fifo_errors
|   |       |   |-- tx_heartbeat_errors
|   |       |   |-- tx_packets
|   |       |   `-- tx_window_errors
|   |       |-- tx_queue_len
|   |       `-- type
|   |-- pci_bus
|   |   |-- 0000:00
|   |   |   |-- bridge -> ../../../devices/pci0000:00
|   |   |   `-- cpuaffinity
|   |   |-- 0000:01
|   |   |   |-- bridge -> ../../../devices/pci0000:00/0000:00:08.0
|   |   |   `-- cpuaffinity
|   |   `-- 0000:03
|   |       |-- bridge -> ../../../devices/pci0000:00/0000:00:1e.0
|   |       `-- cpuaffinity
|   |-- scsi_device
|   |   |-- 0:0:3:0
|   |   |   `-- device -> ../../../devices/pci0000:00/0000:00:08.0/0000:01:0a.0/host0/0:0:3:0
|   |   |-- 0:0:4:0
|   |   |   `-- device -> ../../../devices/pci0000:00/0000:00:08.0/0000:01:0a.0/host0/0:0:4:0
|   |   |-- 0:0:6:0
|   |   |   `-- device -> ../../../devices/pci0000:00/0000:00:08.0/0000:01:0a.0/host0/0:0:6:0
|   |   `-- 1:0:0:0
|   |       `-- device -> ../../../devices/platform/host1/1:0:0:0
|   |-- scsi_host
|   |   |-- host0
|   |   |   |-- cmd_per_lun
|   |   |   |-- device -> ../../../devices/pci0000:00/0000:00:08.0/0000:01:0a.0/host0
|   |   |   |-- host_busy
|   |   |   |-- proc_name
|   |   |   |-- scan
|   |   |   |-- sg_tablesize
|   |   |   |-- unchecked_isa_dma
|   |   |   `-- unique_id
|   |   `-- host1
|   |       |-- cmd_per_lun
|   |       |-- device -> ../../../devices/platform/host1
|   |       |-- host_busy
|   |       |-- proc_name
|   |       |-- scan
|   |       |-- sg_tablesize
|   |       |-- unchecked_isa_dma
|   |       `-- unique_id
|   |-- sound
|   |   |-- controlC0
|   |   |   `-- dev
|   |   |-- dsp
|   |   |   `-- dev
|   |   |-- mixer
|   |   |   `-- dev
|   |   `-- timer
|   |       `-- dev
|   |-- tty
|   |   |-- console
|   |   |   `-- dev
|   |   |-- ptmx
|   |   |   `-- dev
|   |   |-- ptya0
|   |   |   `-- dev
|   |   |-- ptya1
|   |   |   `-- dev
|   |   |-- ptya2
|   |   |   `-- dev
|   |   |-- ptya3
|   |   |   `-- dev
|   |   |-- ptya4
|   |   |   `-- dev
|   |   |-- ptya5
|   |   |   `-- dev
|   |   |-- ptya6
|   |   |   `-- dev
|   |   |-- ptya7
|   |   |   `-- dev
|   |   |-- ptya8
|   |   |   `-- dev
|   |   |-- ptya9
|   |   |   `-- dev
|   |   |-- ptyaa
|   |   |   `-- dev
|   |   |-- ptyab
|   |   |   `-- dev
|   |   |-- ptyac
|   |   |   `-- dev
|   |   |-- ptyad
|   |   |   `-- dev
|   |   |-- ptyae
|   |   |   `-- dev
|   |   |-- ptyaf
|   |   |   `-- dev
|   |   |-- ptyb0
|   |   |   `-- dev
|   |   |-- ptyb1
|   |   |   `-- dev
|   |   |-- ptyb2
|   |   |   `-- dev
|   |   |-- ptyb3
|   |   |   `-- dev
|   |   |-- ptyb4
|   |   |   `-- dev
|   |   |-- ptyb5
|   |   |   `-- dev
|   |   |-- ptyb6
|   |   |   `-- dev
|   |   |-- ptyb7
|   |   |   `-- dev
|   |   |-- ptyb8
|   |   |   `-- dev
|   |   |-- ptyb9
|   |   |   `-- dev
|   |   |-- ptyba
|   |   |   `-- dev
|   |   |-- ptybb
|   |   |   `-- dev
|   |   |-- ptybc
|   |   |   `-- dev
|   |   |-- ptybd
|   |   |   `-- dev
|   |   |-- ptybe
|   |   |   `-- dev
|   |   |-- ptybf
|   |   |   `-- dev
|   |   |-- ptyc0
|   |   |   `-- dev
|   |   |-- ptyc1
|   |   |   `-- dev
|   |   |-- ptyc2
|   |   |   `-- dev
|   |   |-- ptyc3
|   |   |   `-- dev
|   |   |-- ptyc4
|   |   |   `-- dev
|   |   |-- ptyc5
|   |   |   `-- dev
|   |   |-- ptyc6
|   |   |   `-- dev
|   |   |-- ptyc7
|   |   |   `-- dev
|   |   |-- ptyc8
|   |   |   `-- dev
|   |   |-- ptyc9
|   |   |   `-- dev
|   |   |-- ptyca
|   |   |   `-- dev
|   |   |-- ptycb
|   |   |   `-- dev
|   |   |-- ptycc
|   |   |   `-- dev
|   |   |-- ptycd
|   |   |   `-- dev
|   |   |-- ptyce
|   |   |   `-- dev
|   |   |-- ptycf
|   |   |   `-- dev
|   |   |-- ptyd0
|   |   |   `-- dev
|   |   |-- ptyd1
|   |   |   `-- dev
|   |   |-- ptyd2
|   |   |   `-- dev
|   |   |-- ptyd3
|   |   |   `-- dev
|   |   |-- ptyd4
|   |   |   `-- dev
|   |   |-- ptyd5
|   |   |   `-- dev
|   |   |-- ptyd6
|   |   |   `-- dev
|   |   |-- ptyd7
|   |   |   `-- dev
|   |   |-- ptyd8
|   |   |   `-- dev
|   |   |-- ptyd9
|   |   |   `-- dev
|   |   |-- ptyda
|   |   |   `-- dev
|   |   |-- ptydb
|   |   |   `-- dev
|   |   |-- ptydc
|   |   |   `-- dev
|   |   |-- ptydd
|   |   |   `-- dev
|   |   |-- ptyde
|   |   |   `-- dev
|   |   |-- ptydf
|   |   |   `-- dev
|   |   |-- ptye0
|   |   |   `-- dev
|   |   |-- ptye1
|   |   |   `-- dev
|   |   |-- ptye2
|   |   |   `-- dev
|   |   |-- ptye3
|   |   |   `-- dev
|   |   |-- ptye4
|   |   |   `-- dev
|   |   |-- ptye5
|   |   |   `-- dev
|   |   |-- ptye6
|   |   |   `-- dev
|   |   |-- ptye7
|   |   |   `-- dev
|   |   |-- ptye8
|   |   |   `-- dev
|   |   |-- ptye9
|   |   |   `-- dev
|   |   |-- ptyea
|   |   |   `-- dev
|   |   |-- ptyeb
|   |   |   `-- dev
|   |   |-- ptyec
|   |   |   `-- dev
|   |   |-- ptyed
|   |   |   `-- dev
|   |   |-- ptyee
|   |   |   `-- dev
|   |   |-- ptyef
|   |   |   `-- dev
|   |   |-- ptyp0
|   |   |   `-- dev
|   |   |-- ptyp1
|   |   |   `-- dev
|   |   |-- ptyp2
|   |   |   `-- dev
|   |   |-- ptyp3
|   |   |   `-- dev
|   |   |-- ptyp4
|   |   |   `-- dev
|   |   |-- ptyp5
|   |   |   `-- dev
|   |   |-- ptyp6
|   |   |   `-- dev
|   |   |-- ptyp7
|   |   |   `-- dev
|   |   |-- ptyp8
|   |   |   `-- dev
|   |   |-- ptyp9
|   |   |   `-- dev
|   |   |-- ptypa
|   |   |   `-- dev
|   |   |-- ptypb
|   |   |   `-- dev
|   |   |-- ptypc
|   |   |   `-- dev
|   |   |-- ptypd
|   |   |   `-- dev
|   |   |-- ptype
|   |   |   `-- dev
|   |   |-- ptypf
|   |   |   `-- dev
|   |   |-- ptyq0
|   |   |   `-- dev
|   |   |-- ptyq1
|   |   |   `-- dev
|   |   |-- ptyq2
|   |   |   `-- dev
|   |   |-- ptyq3
|   |   |   `-- dev
|   |   |-- ptyq4
|   |   |   `-- dev
|   |   |-- ptyq5
|   |   |   `-- dev
|   |   |-- ptyq6
|   |   |   `-- dev
|   |   |-- ptyq7
|   |   |   `-- dev
|   |   |-- ptyq8
|   |   |   `-- dev
|   |   |-- ptyq9
|   |   |   `-- dev
|   |   |-- ptyqa
|   |   |   `-- dev
|   |   |-- ptyqb
|   |   |   `-- dev
|   |   |-- ptyqc
|   |   |   `-- dev
|   |   |-- ptyqd
|   |   |   `-- dev
|   |   |-- ptyqe
|   |   |   `-- dev
|   |   |-- ptyqf
|   |   |   `-- dev
|   |   |-- ptyr0
|   |   |   `-- dev
|   |   |-- ptyr1
|   |   |   `-- dev
|   |   |-- ptyr2
|   |   |   `-- dev
|   |   |-- ptyr3
|   |   |   `-- dev
|   |   |-- ptyr4
|   |   |   `-- dev
|   |   |-- ptyr5
|   |   |   `-- dev
|   |   |-- ptyr6
|   |   |   `-- dev
|   |   |-- ptyr7
|   |   |   `-- dev
|   |   |-- ptyr8
|   |   |   `-- dev
|   |   |-- ptyr9
|   |   |   `-- dev
|   |   |-- ptyra
|   |   |   `-- dev
|   |   |-- ptyrb
|   |   |   `-- dev
|   |   |-- ptyrc
|   |   |   `-- dev
|   |   |-- ptyrd
|   |   |   `-- dev
|   |   |-- ptyre
|   |   |   `-- dev
|   |   |-- ptyrf
|   |   |   `-- dev
|   |   |-- ptys0
|   |   |   `-- dev
|   |   |-- ptys1
|   |   |   `-- dev
|   |   |-- ptys2
|   |   |   `-- dev
|   |   |-- ptys3
|   |   |   `-- dev
|   |   |-- ptys4
|   |   |   `-- dev
|   |   |-- ptys5
|   |   |   `-- dev
|   |   |-- ptys6
|   |   |   `-- dev
|   |   |-- ptys7
|   |   |   `-- dev
|   |   |-- ptys8
|   |   |   `-- dev
|   |   |-- ptys9
|   |   |   `-- dev
|   |   |-- ptysa
|   |   |   `-- dev
|   |   |-- ptysb
|   |   |   `-- dev
|   |   |-- ptysc
|   |   |   `-- dev
|   |   |-- ptysd
|   |   |   `-- dev
|   |   |-- ptyse
|   |   |   `-- dev
|   |   |-- ptysf
|   |   |   `-- dev
|   |   |-- ptyt0
|   |   |   `-- dev
|   |   |-- ptyt1
|   |   |   `-- dev
|   |   |-- ptyt2
|   |   |   `-- dev
|   |   |-- ptyt3
|   |   |   `-- dev
|   |   |-- ptyt4
|   |   |   `-- dev
|   |   |-- ptyt5
|   |   |   `-- dev
|   |   |-- ptyt6
|   |   |   `-- dev
|   |   |-- ptyt7
|   |   |   `-- dev
|   |   |-- ptyt8
|   |   |   `-- dev
|   |   |-- ptyt9
|   |   |   `-- dev
|   |   |-- ptyta
|   |   |   `-- dev
|   |   |-- ptytb
|   |   |   `-- dev
|   |   |-- ptytc
|   |   |   `-- dev
|   |   |-- ptytd
|   |   |   `-- dev
|   |   |-- ptyte
|   |   |   `-- dev
|   |   |-- ptytf
|   |   |   `-- dev
|   |   |-- ptyu0
|   |   |   `-- dev
|   |   |-- ptyu1
|   |   |   `-- dev
|   |   |-- ptyu2
|   |   |   `-- dev
|   |   |-- ptyu3
|   |   |   `-- dev
|   |   |-- ptyu4
|   |   |   `-- dev
|   |   |-- ptyu5
|   |   |   `-- dev
|   |   |-- ptyu6
|   |   |   `-- dev
|   |   |-- ptyu7
|   |   |   `-- dev
|   |   |-- ptyu8
|   |   |   `-- dev
|   |   |-- ptyu9
|   |   |   `-- dev
|   |   |-- ptyua
|   |   |   `-- dev
|   |   |-- ptyub
|   |   |   `-- dev
|   |   |-- ptyuc
|   |   |   `-- dev
|   |   |-- ptyud
|   |   |   `-- dev
|   |   |-- ptyue
|   |   |   `-- dev
|   |   |-- ptyuf
|   |   |   `-- dev
|   |   |-- ptyv0
|   |   |   `-- dev
|   |   |-- ptyv1
|   |   |   `-- dev
|   |   |-- ptyv2
|   |   |   `-- dev
|   |   |-- ptyv3
|   |   |   `-- dev
|   |   |-- ptyv4
|   |   |   `-- dev
|   |   |-- ptyv5
|   |   |   `-- dev
|   |   |-- ptyv6
|   |   |   `-- dev
|   |   |-- ptyv7
|   |   |   `-- dev
|   |   |-- ptyv8
|   |   |   `-- dev
|   |   |-- ptyv9
|   |   |   `-- dev
|   |   |-- ptyva
|   |   |   `-- dev
|   |   |-- ptyvb
|   |   |   `-- dev
|   |   |-- ptyvc
|   |   |   `-- dev
|   |   |-- ptyvd
|   |   |   `-- dev
|   |   |-- ptyve
|   |   |   `-- dev
|   |   |-- ptyvf
|   |   |   `-- dev
|   |   |-- ptyw0
|   |   |   `-- dev
|   |   |-- ptyw1
|   |   |   `-- dev
|   |   |-- ptyw2
|   |   |   `-- dev
|   |   |-- ptyw3
|   |   |   `-- dev
|   |   |-- ptyw4
|   |   |   `-- dev
|   |   |-- ptyw5
|   |   |   `-- dev
|   |   |-- ptyw6
|   |   |   `-- dev
|   |   |-- ptyw7
|   |   |   `-- dev
|   |   |-- ptyw8
|   |   |   `-- dev
|   |   |-- ptyw9
|   |   |   `-- dev
|   |   |-- ptywa
|   |   |   `-- dev
|   |   |-- ptywb
|   |   |   `-- dev
|   |   |-- ptywc
|   |   |   `-- dev
|   |   |-- ptywd
|   |   |   `-- dev
|   |   |-- ptywe
|   |   |   `-- dev
|   |   |-- ptywf
|   |   |   `-- dev
|   |   |-- ptyx0
|   |   |   `-- dev
|   |   |-- ptyx1
|   |   |   `-- dev
|   |   |-- ptyx2
|   |   |   `-- dev
|   |   |-- ptyx3
|   |   |   `-- dev
|   |   |-- ptyx4
|   |   |   `-- dev
|   |   |-- ptyx5
|   |   |   `-- dev
|   |   |-- ptyx6
|   |   |   `-- dev
|   |   |-- ptyx7
|   |   |   `-- dev
|   |   |-- ptyx8
|   |   |   `-- dev
|   |   |-- ptyx9
|   |   |   `-- dev
|   |   |-- ptyxa
|   |   |   `-- dev
|   |   |-- ptyxb
|   |   |   `-- dev
|   |   |-- ptyxc
|   |   |   `-- dev
|   |   |-- ptyxd
|   |   |   `-- dev
|   |   |-- ptyxe
|   |   |   `-- dev
|   |   |-- ptyxf
|   |   |   `-- dev
|   |   |-- ptyy0
|   |   |   `-- dev
|   |   |-- ptyy1
|   |   |   `-- dev
|   |   |-- ptyy2
|   |   |   `-- dev
|   |   |-- ptyy3
|   |   |   `-- dev
|   |   |-- ptyy4
|   |   |   `-- dev
|   |   |-- ptyy5
|   |   |   `-- dev
|   |   |-- ptyy6
|   |   |   `-- dev
|   |   |-- ptyy7
|   |   |   `-- dev
|   |   |-- ptyy8
|   |   |   `-- dev
|   |   |-- ptyy9
|   |   |   `-- dev
|   |   |-- ptyya
|   |   |   `-- dev
|   |   |-- ptyyb
|   |   |   `-- dev
|   |   |-- ptyyc
|   |   |   `-- dev
|   |   |-- ptyyd
|   |   |   `-- dev
|   |   |-- ptyye
|   |   |   `-- dev
|   |   |-- ptyyf
|   |   |   `-- dev
|   |   |-- ptyz0
|   |   |   `-- dev
|   |   |-- ptyz1
|   |   |   `-- dev
|   |   |-- ptyz2
|   |   |   `-- dev
|   |   |-- ptyz3
|   |   |   `-- dev
|   |   |-- ptyz4
|   |   |   `-- dev
|   |   |-- ptyz5
|   |   |   `-- dev
|   |   |-- ptyz6
|   |   |   `-- dev
|   |   |-- ptyz7
|   |   |   `-- dev
|   |   |-- ptyz8
|   |   |   `-- dev
|   |   |-- ptyz9
|   |   |   `-- dev
|   |   |-- ptyza
|   |   |   `-- dev
|   |   |-- ptyzb
|   |   |   `-- dev
|   |   |-- ptyzc
|   |   |   `-- dev
|   |   |-- ptyzd
|   |   |   `-- dev
|   |   |-- ptyze
|   |   |   `-- dev
|   |   |-- ptyzf
|   |   |   `-- dev
|   |   |-- tty
|   |   |   `-- dev
|   |   |-- tty0
|   |   |   `-- dev
|   |   |-- tty1
|   |   |   `-- dev
|   |   |-- tty10
|   |   |   `-- dev
|   |   |-- tty11
|   |   |   `-- dev
|   |   |-- tty12
|   |   |   `-- dev
|   |   |-- tty13
|   |   |   `-- dev
|   |   |-- tty14
|   |   |   `-- dev
|   |   |-- tty15
|   |   |   `-- dev
|   |   |-- tty16
|   |   |   `-- dev
|   |   |-- tty17
|   |   |   `-- dev
|   |   |-- tty18
|   |   |   `-- dev
|   |   |-- tty19
|   |   |   `-- dev
|   |   |-- tty2
|   |   |   `-- dev
|   |   |-- tty20
|   |   |   `-- dev
|   |   |-- tty21
|   |   |   `-- dev
|   |   |-- tty22
|   |   |   `-- dev
|   |   |-- tty23
|   |   |   `-- dev
|   |   |-- tty24
|   |   |   `-- dev
|   |   |-- tty25
|   |   |   `-- dev
|   |   |-- tty26
|   |   |   `-- dev
|   |   |-- tty27
|   |   |   `-- dev
|   |   |-- tty28
|   |   |   `-- dev
|   |   |-- tty29
|   |   |   `-- dev
|   |   |-- tty3
|   |   |   `-- dev
|   |   |-- tty30
|   |   |   `-- dev
|   |   |-- tty31
|   |   |   `-- dev
|   |   |-- tty32
|   |   |   `-- dev
|   |   |-- tty33
|   |   |   `-- dev
|   |   |-- tty34
|   |   |   `-- dev
|   |   |-- tty35
|   |   |   `-- dev
|   |   |-- tty36
|   |   |   `-- dev
|   |   |-- tty37
|   |   |   `-- dev
|   |   |-- tty38
|   |   |   `-- dev
|   |   |-- tty39
|   |   |   `-- dev
|   |   |-- tty4
|   |   |   `-- dev
|   |   |-- tty40
|   |   |   `-- dev
|   |   |-- tty41
|   |   |   `-- dev
|   |   |-- tty42
|   |   |   `-- dev
|   |   |-- tty43
|   |   |   `-- dev
|   |   |-- tty44
|   |   |   `-- dev
|   |   |-- tty45
|   |   |   `-- dev
|   |   |-- tty46
|   |   |   `-- dev
|   |   |-- tty47
|   |   |   `-- dev
|   |   |-- tty48
|   |   |   `-- dev
|   |   |-- tty49
|   |   |   `-- dev
|   |   |-- tty5
|   |   |   `-- dev
|   |   |-- tty50
|   |   |   `-- dev
|   |   |-- tty51
|   |   |   `-- dev
|   |   |-- tty52
|   |   |   `-- dev
|   |   |-- tty53
|   |   |   `-- dev
|   |   |-- tty54
|   |   |   `-- dev
|   |   |-- tty55
|   |   |   `-- dev
|   |   |-- tty56
|   |   |   `-- dev
|   |   |-- tty57
|   |   |   `-- dev
|   |   |-- tty58
|   |   |   `-- dev
|   |   |-- tty59
|   |   |   `-- dev
|   |   |-- tty6
|   |   |   `-- dev
|   |   |-- tty60
|   |   |   `-- dev
|   |   |-- tty61
|   |   |   `-- dev
|   |   |-- tty62
|   |   |   `-- dev
|   |   |-- tty63
|   |   |   `-- dev
|   |   |-- tty7
|   |   |   `-- dev
|   |   |-- tty8
|   |   |   `-- dev
|   |   |-- tty9
|   |   |   `-- dev
|   |   |-- ttyS0
|   |   |   `-- dev
|   |   |-- ttyS1
|   |   |   `-- dev
|   |   |-- ttyS2
|   |   |   `-- dev
|   |   |-- ttyS3
|   |   |   `-- dev
|   |   |-- ttyS4
|   |   |   `-- dev
|   |   |-- ttyS5
|   |   |   `-- dev
|   |   |-- ttyS6
|   |   |   `-- dev
|   |   |-- ttyS7
|   |   |   `-- dev
|   |   |-- ttya0
|   |   |   `-- dev
|   |   |-- ttya1
|   |   |   `-- dev
|   |   |-- ttya2
|   |   |   `-- dev
|   |   |-- ttya3
|   |   |   `-- dev
|   |   |-- ttya4
|   |   |   `-- dev
|   |   |-- ttya5
|   |   |   `-- dev
|   |   |-- ttya6
|   |   |   `-- dev
|   |   |-- ttya7
|   |   |   `-- dev
|   |   |-- ttya8
|   |   |   `-- dev
|   |   |-- ttya9
|   |   |   `-- dev
|   |   |-- ttyaa
|   |   |   `-- dev
|   |   |-- ttyab
|   |   |   `-- dev
|   |   |-- ttyac
|   |   |   `-- dev
|   |   |-- ttyad
|   |   |   `-- dev
|   |   |-- ttyae
|   |   |   `-- dev
|   |   |-- ttyaf
|   |   |   `-- dev
|   |   |-- ttyb0
|   |   |   `-- dev
|   |   |-- ttyb1
|   |   |   `-- dev
|   |   |-- ttyb2
|   |   |   `-- dev
|   |   |-- ttyb3
|   |   |   `-- dev
|   |   |-- ttyb4
|   |   |   `-- dev
|   |   |-- ttyb5
|   |   |   `-- dev
|   |   |-- ttyb6
|   |   |   `-- dev
|   |   |-- ttyb7
|   |   |   `-- dev
|   |   |-- ttyb8
|   |   |   `-- dev
|   |   |-- ttyb9
|   |   |   `-- dev
|   |   |-- ttyba
|   |   |   `-- dev
|   |   |-- ttybb
|   |   |   `-- dev
|   |   |-- ttybc
|   |   |   `-- dev
|   |   |-- ttybd
|   |   |   `-- dev
|   |   |-- ttybe
|   |   |   `-- dev
|   |   |-- ttybf
|   |   |   `-- dev
|   |   |-- ttyc0
|   |   |   `-- dev
|   |   |-- ttyc1
|   |   |   `-- dev
|   |   |-- ttyc2
|   |   |   `-- dev
|   |   |-- ttyc3
|   |   |   `-- dev
|   |   |-- ttyc4
|   |   |   `-- dev
|   |   |-- ttyc5
|   |   |   `-- dev
|   |   |-- ttyc6
|   |   |   `-- dev
|   |   |-- ttyc7
|   |   |   `-- dev
|   |   |-- ttyc8
|   |   |   `-- dev
|   |   |-- ttyc9
|   |   |   `-- dev
|   |   |-- ttyca
|   |   |   `-- dev
|   |   |-- ttycb
|   |   |   `-- dev
|   |   |-- ttycc
|   |   |   `-- dev
|   |   |-- ttycd
|   |   |   `-- dev
|   |   |-- ttyce
|   |   |   `-- dev
|   |   |-- ttycf
|   |   |   `-- dev
|   |   |-- ttyd0
|   |   |   `-- dev
|   |   |-- ttyd1
|   |   |   `-- dev
|   |   |-- ttyd2
|   |   |   `-- dev
|   |   |-- ttyd3
|   |   |   `-- dev
|   |   |-- ttyd4
|   |   |   `-- dev
|   |   |-- ttyd5
|   |   |   `-- dev
|   |   |-- ttyd6
|   |   |   `-- dev
|   |   |-- ttyd7
|   |   |   `-- dev
|   |   |-- ttyd8
|   |   |   `-- dev
|   |   |-- ttyd9
|   |   |   `-- dev
|   |   |-- ttyda
|   |   |   `-- dev
|   |   |-- ttydb
|   |   |   `-- dev
|   |   |-- ttydc
|   |   |   `-- dev
|   |   |-- ttydd
|   |   |   `-- dev
|   |   |-- ttyde
|   |   |   `-- dev
|   |   |-- ttydf
|   |   |   `-- dev
|   |   |-- ttye0
|   |   |   `-- dev
|   |   |-- ttye1
|   |   |   `-- dev
|   |   |-- ttye2
|   |   |   `-- dev
|   |   |-- ttye3
|   |   |   `-- dev
|   |   |-- ttye4
|   |   |   `-- dev
|   |   |-- ttye5
|   |   |   `-- dev
|   |   |-- ttye6
|   |   |   `-- dev
|   |   |-- ttye7
|   |   |   `-- dev
|   |   |-- ttye8
|   |   |   `-- dev
|   |   |-- ttye9
|   |   |   `-- dev
|   |   |-- ttyea
|   |   |   `-- dev
|   |   |-- ttyeb
|   |   |   `-- dev
|   |   |-- ttyec
|   |   |   `-- dev
|   |   |-- ttyed
|   |   |   `-- dev
|   |   |-- ttyee
|   |   |   `-- dev
|   |   |-- ttyef
|   |   |   `-- dev
|   |   |-- ttyp0
|   |   |   `-- dev
|   |   |-- ttyp1
|   |   |   `-- dev
|   |   |-- ttyp2
|   |   |   `-- dev
|   |   |-- ttyp3
|   |   |   `-- dev
|   |   |-- ttyp4
|   |   |   `-- dev
|   |   |-- ttyp5
|   |   |   `-- dev
|   |   |-- ttyp6
|   |   |   `-- dev
|   |   |-- ttyp7
|   |   |   `-- dev
|   |   |-- ttyp8
|   |   |   `-- dev
|   |   |-- ttyp9
|   |   |   `-- dev
|   |   |-- ttypa
|   |   |   `-- dev
|   |   |-- ttypb
|   |   |   `-- dev
|   |   |-- ttypc
|   |   |   `-- dev
|   |   |-- ttypd
|   |   |   `-- dev
|   |   |-- ttype
|   |   |   `-- dev
|   |   |-- ttypf
|   |   |   `-- dev
|   |   |-- ttyq0
|   |   |   `-- dev
|   |   |-- ttyq1
|   |   |   `-- dev
|   |   |-- ttyq2
|   |   |   `-- dev
|   |   |-- ttyq3
|   |   |   `-- dev
|   |   |-- ttyq4
|   |   |   `-- dev
|   |   |-- ttyq5
|   |   |   `-- dev
|   |   |-- ttyq6
|   |   |   `-- dev
|   |   |-- ttyq7
|   |   |   `-- dev
|   |   |-- ttyq8
|   |   |   `-- dev
|   |   |-- ttyq9
|   |   |   `-- dev
|   |   |-- ttyqa
|   |   |   `-- dev
|   |   |-- ttyqb
|   |   |   `-- dev
|   |   |-- ttyqc
|   |   |   `-- dev
|   |   |-- ttyqd
|   |   |   `-- dev
|   |   |-- ttyqe
|   |   |   `-- dev
|   |   |-- ttyqf
|   |   |   `-- dev
|   |   |-- ttyr0
|   |   |   `-- dev
|   |   |-- ttyr1
|   |   |   `-- dev
|   |   |-- ttyr2
|   |   |   `-- dev
|   |   |-- ttyr3
|   |   |   `-- dev
|   |   |-- ttyr4
|   |   |   `-- dev
|   |   |-- ttyr5
|   |   |   `-- dev
|   |   |-- ttyr6
|   |   |   `-- dev
|   |   |-- ttyr7
|   |   |   `-- dev
|   |   |-- ttyr8
|   |   |   `-- dev
|   |   |-- ttyr9
|   |   |   `-- dev
|   |   |-- ttyra
|   |   |   `-- dev
|   |   |-- ttyrb
|   |   |   `-- dev
|   |   |-- ttyrc
|   |   |   `-- dev
|   |   |-- ttyrd
|   |   |   `-- dev
|   |   |-- ttyre
|   |   |   `-- dev
|   |   |-- ttyrf
|   |   |   `-- dev
|   |   |-- ttys0
|   |   |   `-- dev
|   |   |-- ttys1
|   |   |   `-- dev
|   |   |-- ttys2
|   |   |   `-- dev
|   |   |-- ttys3
|   |   |   `-- dev
|   |   |-- ttys4
|   |   |   `-- dev
|   |   |-- ttys5
|   |   |   `-- dev
|   |   |-- ttys6
|   |   |   `-- dev
|   |   |-- ttys7
|   |   |   `-- dev
|   |   |-- ttys8
|   |   |   `-- dev
|   |   |-- ttys9
|   |   |   `-- dev
|   |   |-- ttysa
|   |   |   `-- dev
|   |   |-- ttysb
|   |   |   `-- dev
|   |   |-- ttysc
|   |   |   `-- dev
|   |   |-- ttysd
|   |   |   `-- dev
|   |   |-- ttyse
|   |   |   `-- dev
|   |   |-- ttysf
|   |   |   `-- dev
|   |   |-- ttyt0
|   |   |   `-- dev
|   |   |-- ttyt1
|   |   |   `-- dev
|   |   |-- ttyt2
|   |   |   `-- dev
|   |   |-- ttyt3
|   |   |   `-- dev
|   |   |-- ttyt4
|   |   |   `-- dev
|   |   |-- ttyt5
|   |   |   `-- dev
|   |   |-- ttyt6
|   |   |   `-- dev
|   |   |-- ttyt7
|   |   |   `-- dev
|   |   |-- ttyt8
|   |   |   `-- dev
|   |   |-- ttyt9
|   |   |   `-- dev
|   |   |-- ttyta
|   |   |   `-- dev
|   |   |-- ttytb
|   |   |   `-- dev
|   |   |-- ttytc
|   |   |   `-- dev
|   |   |-- ttytd
|   |   |   `-- dev
|   |   |-- ttyte
|   |   |   `-- dev
|   |   |-- ttytf
|   |   |   `-- dev
|   |   |-- ttyu0
|   |   |   `-- dev
|   |   |-- ttyu1
|   |   |   `-- dev
|   |   |-- ttyu2
|   |   |   `-- dev
|   |   |-- ttyu3
|   |   |   `-- dev
|   |   |-- ttyu4
|   |   |   `-- dev
|   |   |-- ttyu5
|   |   |   `-- dev
|   |   |-- ttyu6
|   |   |   `-- dev
|   |   |-- ttyu7
|   |   |   `-- dev
|   |   |-- ttyu8
|   |   |   `-- dev
|   |   |-- ttyu9
|   |   |   `-- dev
|   |   |-- ttyua
|   |   |   `-- dev
|   |   |-- ttyub
|   |   |   `-- dev
|   |   |-- ttyuc
|   |   |   `-- dev
|   |   |-- ttyud
|   |   |   `-- dev
|   |   |-- ttyue
|   |   |   `-- dev
|   |   |-- ttyuf
|   |   |   `-- dev
|   |   |-- ttyv0
|   |   |   `-- dev
|   |   |-- ttyv1
|   |   |   `-- dev
|   |   |-- ttyv2
|   |   |   `-- dev
|   |   |-- ttyv3
|   |   |   `-- dev
|   |   |-- ttyv4
|   |   |   `-- dev
|   |   |-- ttyv5
|   |   |   `-- dev
|   |   |-- ttyv6
|   |   |   `-- dev
|   |   |-- ttyv7
|   |   |   `-- dev
|   |   |-- ttyv8
|   |   |   `-- dev
|   |   |-- ttyv9
|   |   |   `-- dev
|   |   |-- ttyva
|   |   |   `-- dev
|   |   |-- ttyvb
|   |   |   `-- dev
|   |   |-- ttyvc
|   |   |   `-- dev
|   |   |-- ttyvd
|   |   |   `-- dev
|   |   |-- ttyve
|   |   |   `-- dev
|   |   |-- ttyvf
|   |   |   `-- dev
|   |   |-- ttyw0
|   |   |   `-- dev
|   |   |-- ttyw1
|   |   |   `-- dev
|   |   |-- ttyw2
|   |   |   `-- dev
|   |   |-- ttyw3
|   |   |   `-- dev
|   |   |-- ttyw4
|   |   |   `-- dev
|   |   |-- ttyw5
|   |   |   `-- dev
|   |   |-- ttyw6
|   |   |   `-- dev
|   |   |-- ttyw7
|   |   |   `-- dev
|   |   |-- ttyw8
|   |   |   `-- dev
|   |   |-- ttyw9
|   |   |   `-- dev
|   |   |-- ttywa
|   |   |   `-- dev
|   |   |-- ttywb
|   |   |   `-- dev
|   |   |-- ttywc
|   |   |   `-- dev
|   |   |-- ttywd
|   |   |   `-- dev
|   |   |-- ttywe
|   |   |   `-- dev
|   |   |-- ttywf
|   |   |   `-- dev
|   |   |-- ttyx0
|   |   |   `-- dev
|   |   |-- ttyx1
|   |   |   `-- dev
|   |   |-- ttyx2
|   |   |   `-- dev
|   |   |-- ttyx3
|   |   |   `-- dev
|   |   |-- ttyx4
|   |   |   `-- dev
|   |   |-- ttyx5
|   |   |   `-- dev
|   |   |-- ttyx6
|   |   |   `-- dev
|   |   |-- ttyx7
|   |   |   `-- dev
|   |   |-- ttyx8
|   |   |   `-- dev
|   |   |-- ttyx9
|   |   |   `-- dev
|   |   |-- ttyxa
|   |   |   `-- dev
|   |   |-- ttyxb
|   |   |   `-- dev
|   |   |-- ttyxc
|   |   |   `-- dev
|   |   |-- ttyxd
|   |   |   `-- dev
|   |   |-- ttyxe
|   |   |   `-- dev
|   |   |-- ttyxf
|   |   |   `-- dev
|   |   |-- ttyy0
|   |   |   `-- dev
|   |   |-- ttyy1
|   |   |   `-- dev
|   |   |-- ttyy2
|   |   |   `-- dev
|   |   |-- ttyy3
|   |   |   `-- dev
|   |   |-- ttyy4
|   |   |   `-- dev
|   |   |-- ttyy5
|   |   |   `-- dev
|   |   |-- ttyy6
|   |   |   `-- dev
|   |   |-- ttyy7
|   |   |   `-- dev
|   |   |-- ttyy8
|   |   |   `-- dev
|   |   |-- ttyy9
|   |   |   `-- dev
|   |   |-- ttyya
|   |   |   `-- dev
|   |   |-- ttyyb
|   |   |   `-- dev
|   |   |-- ttyyc
|   |   |   `-- dev
|   |   |-- ttyyd
|   |   |   `-- dev
|   |   |-- ttyye
|   |   |   `-- dev
|   |   |-- ttyyf
|   |   |   `-- dev
|   |   |-- ttyz0
|   |   |   `-- dev
|   |   |-- ttyz1
|   |   |   `-- dev
|   |   |-- ttyz2
|   |   |   `-- dev
|   |   |-- ttyz3
|   |   |   `-- dev
|   |   |-- ttyz4
|   |   |   `-- dev
|   |   |-- ttyz5
|   |   |   `-- dev
|   |   |-- ttyz6
|   |   |   `-- dev
|   |   |-- ttyz7
|   |   |   `-- dev
|   |   |-- ttyz8
|   |   |   `-- dev
|   |   |-- ttyz9
|   |   |   `-- dev
|   |   |-- ttyza
|   |   |   `-- dev
|   |   |-- ttyzb
|   |   |   `-- dev
|   |   |-- ttyzc
|   |   |   `-- dev
|   |   |-- ttyzd
|   |   |   `-- dev
|   |   |-- ttyze
|   |   |   `-- dev
|   |   `-- ttyzf
|   |       `-- dev
|   |-- usb
|   |-- usb_host
|   |   |-- usb1
|   |   |   |-- device -> ../../../devices/pci0000:00/0000:00:02.2
|   |   |   `-- driver -> ../../../bus/pci/drivers/ehci_hcd
|   |   |-- usb2
|   |   |   |-- device -> ../../../devices/pci0000:00/0000:00:02.0
|   |   |   `-- driver -> ../../../bus/pci/drivers/ohci_hcd
|   |   `-- usb3
|   |       |-- device -> ../../../devices/pci0000:00/0000:00:02.1
|   |       `-- driver -> ../../../bus/pci/drivers/ohci_hcd
|   `-- vc
|       |-- vcs
|       |   `-- dev
|       |-- vcs1
|       |   `-- dev
|       |-- vcs2
|       |   `-- dev
|       |-- vcs3
|       |   `-- dev
|       |-- vcs4
|       |   `-- dev
|       |-- vcs5
|       |   `-- dev
|       |-- vcs6
|       |   `-- dev
|       |-- vcs7
|       |   `-- dev
|       |-- vcsa
|       |   `-- dev
|       |-- vcsa1
|       |   `-- dev
|       |-- vcsa2
|       |   `-- dev
|       |-- vcsa3
|       |   `-- dev
|       |-- vcsa4
|       |   `-- dev
|       |-- vcsa5
|       |   `-- dev
|       |-- vcsa6
|       |   `-- dev
|       `-- vcsa7
|           `-- dev
|-- devices
|   |-- pci0000:00
|   |   |-- 0000:00:00.0
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- irq
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   `-- vendor
|   |   |-- 0000:00:00.1
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- irq
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   `-- vendor
|   |   |-- 0000:00:00.2
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- irq
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   `-- vendor
|   |   |-- 0000:00:00.3
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- irq
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   `-- vendor
|   |   |-- 0000:00:00.4
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- irq
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   `-- vendor
|   |   |-- 0000:00:00.5
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- irq
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   `-- vendor
|   |   |-- 0000:00:01.0
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- irq
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   `-- vendor
|   |   |-- 0000:00:01.1
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- irq
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   `-- vendor
|   |   |-- 0000:00:02.0
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- irq
|   |   |   |-- pools
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   |-- usb2
|   |   |   |   |-- 2-0:1.0
|   |   |   |   |   |-- bAlternateSetting
|   |   |   |   |   |-- bInterfaceClass
|   |   |   |   |   |-- bInterfaceNumber
|   |   |   |   |   |-- bInterfaceProtocol
|   |   |   |   |   |-- bInterfaceSubClass
|   |   |   |   |   |-- bNumEndpoints
|   |   |   |   |   |-- detach_state
|   |   |   |   |   |-- iInterface
|   |   |   |   |   `-- power
|   |   |   |   |       `-- state
|   |   |   |   |-- 2-1
|   |   |   |   |   |-- 2-1:1.0
|   |   |   |   |   |   |-- bAlternateSetting
|   |   |   |   |   |   |-- bInterfaceClass
|   |   |   |   |   |   |-- bInterfaceNumber
|   |   |   |   |   |   |-- bInterfaceProtocol
|   |   |   |   |   |   |-- bInterfaceSubClass
|   |   |   |   |   |   |-- bNumEndpoints
|   |   |   |   |   |   |-- detach_state
|   |   |   |   |   |   |-- iInterface
|   |   |   |   |   |   `-- power
|   |   |   |   |   |       `-- state
|   |   |   |   |   |-- bConfigurationValue
|   |   |   |   |   |-- bDeviceClass
|   |   |   |   |   |-- bDeviceProtocol
|   |   |   |   |   |-- bDeviceSubClass
|   |   |   |   |   |-- bMaxPower
|   |   |   |   |   |-- bNumConfigurations
|   |   |   |   |   |-- bNumInterfaces
|   |   |   |   |   |-- bcdDevice
|   |   |   |   |   |-- bmAttributes
|   |   |   |   |   |-- detach_state
|   |   |   |   |   |-- devnum
|   |   |   |   |   |-- idProduct
|   |   |   |   |   |-- idVendor
|   |   |   |   |   |-- manufacturer
|   |   |   |   |   |-- maxchild
|   |   |   |   |   |-- power
|   |   |   |   |   |   `-- state
|   |   |   |   |   |-- product
|   |   |   |   |   |-- speed
|   |   |   |   |   `-- version
|   |   |   |   |-- 2-2
|   |   |   |   |   |-- 2-2.1
|   |   |   |   |   |   |-- 2-2.1:1.0
|   |   |   |   |   |   |   |-- bAlternateSetting
|   |   |   |   |   |   |   |-- bInterfaceClass
|   |   |   |   |   |   |   |-- bInterfaceNumber
|   |   |   |   |   |   |   |-- bInterfaceProtocol
|   |   |   |   |   |   |   |-- bInterfaceSubClass
|   |   |   |   |   |   |   |-- bNumEndpoints
|   |   |   |   |   |   |   |-- detach_state
|   |   |   |   |   |   |   |-- iInterface
|   |   |   |   |   |   |   `-- power
|   |   |   |   |   |   |       `-- state
|   |   |   |   |   |   |-- 2-2.1:1.1
|   |   |   |   |   |   |   |-- bAlternateSetting
|   |   |   |   |   |   |   |-- bInterfaceClass
|   |   |   |   |   |   |   |-- bInterfaceNumber
|   |   |   |   |   |   |   |-- bInterfaceProtocol
|   |   |   |   |   |   |   |-- bInterfaceSubClass
|   |   |   |   |   |   |   |-- bNumEndpoints
|   |   |   |   |   |   |   |-- detach_state
|   |   |   |   |   |   |   |-- iInterface
|   |   |   |   |   |   |   `-- power
|   |   |   |   |   |   |       `-- state
|   |   |   |   |   |   |-- bConfigurationValue
|   |   |   |   |   |   |-- bDeviceClass
|   |   |   |   |   |   |-- bDeviceProtocol
|   |   |   |   |   |   |-- bDeviceSubClass
|   |   |   |   |   |   |-- bMaxPower
|   |   |   |   |   |   |-- bNumConfigurations
|   |   |   |   |   |   |-- bNumInterfaces
|   |   |   |   |   |   |-- bcdDevice
|   |   |   |   |   |   |-- bmAttributes
|   |   |   |   |   |   |-- detach_state
|   |   |   |   |   |   |-- devnum
|   |   |   |   |   |   |-- idProduct
|   |   |   |   |   |   |-- idVendor
|   |   |   |   |   |   |-- maxchild
|   |   |   |   |   |   |-- power
|   |   |   |   |   |   |   `-- state
|   |   |   |   |   |   |-- product
|   |   |   |   |   |   |-- speed
|   |   |   |   |   |   `-- version
|   |   |   |   |   |-- 2-2:1.0
|   |   |   |   |   |   |-- bAlternateSetting
|   |   |   |   |   |   |-- bInterfaceClass
|   |   |   |   |   |   |-- bInterfaceNumber
|   |   |   |   |   |   |-- bInterfaceProtocol
|   |   |   |   |   |   |-- bInterfaceSubClass
|   |   |   |   |   |   |-- bNumEndpoints
|   |   |   |   |   |   |-- detach_state
|   |   |   |   |   |   |-- iInterface
|   |   |   |   |   |   `-- power
|   |   |   |   |   |       `-- state
|   |   |   |   |   |-- bConfigurationValue
|   |   |   |   |   |-- bDeviceClass
|   |   |   |   |   |-- bDeviceProtocol
|   |   |   |   |   |-- bDeviceSubClass
|   |   |   |   |   |-- bMaxPower
|   |   |   |   |   |-- bNumConfigurations
|   |   |   |   |   |-- bNumInterfaces
|   |   |   |   |   |-- bcdDevice
|   |   |   |   |   |-- bmAttributes
|   |   |   |   |   |-- detach_state
|   |   |   |   |   |-- devnum
|   |   |   |   |   |-- idProduct
|   |   |   |   |   |-- idVendor
|   |   |   |   |   |-- maxchild
|   |   |   |   |   |-- power
|   |   |   |   |   |   `-- state
|   |   |   |   |   |-- speed
|   |   |   |   |   `-- version
|   |   |   |   |-- bConfigurationValue
|   |   |   |   |-- bDeviceClass
|   |   |   |   |-- bDeviceProtocol
|   |   |   |   |-- bDeviceSubClass
|   |   |   |   |-- bMaxPower
|   |   |   |   |-- bNumConfigurations
|   |   |   |   |-- bNumInterfaces
|   |   |   |   |-- bcdDevice
|   |   |   |   |-- bmAttributes
|   |   |   |   |-- detach_state
|   |   |   |   |-- devnum
|   |   |   |   |-- idProduct
|   |   |   |   |-- idVendor
|   |   |   |   |-- manufacturer
|   |   |   |   |-- maxchild
|   |   |   |   |-- power
|   |   |   |   |   `-- state
|   |   |   |   |-- product
|   |   |   |   |-- serial
|   |   |   |   |-- speed
|   |   |   |   `-- version
|   |   |   `-- vendor
|   |   |-- 0000:00:02.1
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- irq
|   |   |   |-- pools
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   |-- usb3
|   |   |   |   |-- 3-0:1.0
|   |   |   |   |   |-- bAlternateSetting
|   |   |   |   |   |-- bInterfaceClass
|   |   |   |   |   |-- bInterfaceNumber
|   |   |   |   |   |-- bInterfaceProtocol
|   |   |   |   |   |-- bInterfaceSubClass
|   |   |   |   |   |-- bNumEndpoints
|   |   |   |   |   |-- detach_state
|   |   |   |   |   |-- iInterface
|   |   |   |   |   `-- power
|   |   |   |   |       `-- state
|   |   |   |   |-- 3-1
|   |   |   |   |   |-- 3-1:1.0
|   |   |   |   |   |   |-- bAlternateSetting
|   |   |   |   |   |   |-- bInterfaceClass
|   |   |   |   |   |   |-- bInterfaceNumber
|   |   |   |   |   |   |-- bInterfaceProtocol
|   |   |   |   |   |   |-- bInterfaceSubClass
|   |   |   |   |   |   |-- bNumEndpoints
|   |   |   |   |   |   |-- detach_state
|   |   |   |   |   |   |-- iInterface
|   |   |   |   |   |   `-- power
|   |   |   |   |   |       `-- state
|   |   |   |   |   |-- bConfigurationValue
|   |   |   |   |   |-- bDeviceClass
|   |   |   |   |   |-- bDeviceProtocol
|   |   |   |   |   |-- bDeviceSubClass
|   |   |   |   |   |-- bMaxPower
|   |   |   |   |   |-- bNumConfigurations
|   |   |   |   |   |-- bNumInterfaces
|   |   |   |   |   |-- bcdDevice
|   |   |   |   |   |-- bmAttributes
|   |   |   |   |   |-- detach_state
|   |   |   |   |   |-- devnum
|   |   |   |   |   |-- idProduct
|   |   |   |   |   |-- idVendor
|   |   |   |   |   |-- maxchild
|   |   |   |   |   |-- power
|   |   |   |   |   |   `-- state
|   |   |   |   |   |-- product
|   |   |   |   |   |-- speed
|   |   |   |   |   `-- version
|   |   |   |   |-- bConfigurationValue
|   |   |   |   |-- bDeviceClass
|   |   |   |   |-- bDeviceProtocol
|   |   |   |   |-- bDeviceSubClass
|   |   |   |   |-- bMaxPower
|   |   |   |   |-- bNumConfigurations
|   |   |   |   |-- bNumInterfaces
|   |   |   |   |-- bcdDevice
|   |   |   |   |-- bmAttributes
|   |   |   |   |-- detach_state
|   |   |   |   |-- devnum
|   |   |   |   |-- idProduct
|   |   |   |   |-- idVendor
|   |   |   |   |-- manufacturer
|   |   |   |   |-- maxchild
|   |   |   |   |-- power
|   |   |   |   |   `-- state
|   |   |   |   |-- product
|   |   |   |   |-- serial
|   |   |   |   |-- speed
|   |   |   |   `-- version
|   |   |   `-- vendor
|   |   |-- 0000:00:02.2
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- irq
|   |   |   |-- pools
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   |-- usb1
|   |   |   |   |-- 1-0:1.0
|   |   |   |   |   |-- bAlternateSetting
|   |   |   |   |   |-- bInterfaceClass
|   |   |   |   |   |-- bInterfaceNumber
|   |   |   |   |   |-- bInterfaceProtocol
|   |   |   |   |   |-- bInterfaceSubClass
|   |   |   |   |   |-- bNumEndpoints
|   |   |   |   |   |-- detach_state
|   |   |   |   |   |-- iInterface
|   |   |   |   |   `-- power
|   |   |   |   |       `-- state
|   |   |   |   |-- bConfigurationValue
|   |   |   |   |-- bDeviceClass
|   |   |   |   |-- bDeviceProtocol
|   |   |   |   |-- bDeviceSubClass
|   |   |   |   |-- bMaxPower
|   |   |   |   |-- bNumConfigurations
|   |   |   |   |-- bNumInterfaces
|   |   |   |   |-- bcdDevice
|   |   |   |   |-- bmAttributes
|   |   |   |   |-- detach_state
|   |   |   |   |-- devnum
|   |   |   |   |-- idProduct
|   |   |   |   |-- idVendor
|   |   |   |   |-- manufacturer
|   |   |   |   |-- maxchild
|   |   |   |   |-- power
|   |   |   |   |   `-- state
|   |   |   |   |-- product
|   |   |   |   |-- serial
|   |   |   |   |-- speed
|   |   |   |   `-- version
|   |   |   `-- vendor
|   |   |-- 0000:00:04.0
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- irq
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   `-- vendor
|   |   |-- 0000:00:05.0
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- irq
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   `-- vendor
|   |   |-- 0000:00:06.0
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- irq
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   `-- vendor
|   |   |-- 0000:00:08.0
|   |   |   |-- 0000:01:0a.0
|   |   |   |   |-- class
|   |   |   |   |-- config
|   |   |   |   |-- detach_state
|   |   |   |   |-- device
|   |   |   |   |-- host0
|   |   |   |   |   |-- 0:0:3:0
|   |   |   |   |   |   |-- delete
|   |   |   |   |   |   |-- detach_state
|   |   |   |   |   |   |-- device_blocked
|   |   |   |   |   |   |-- model
|   |   |   |   |   |   |-- power
|   |   |   |   |   |   |   `-- state
|   |   |   |   |   |   |-- queue_depth
|   |   |   |   |   |   |-- rescan
|   |   |   |   |   |   |-- rev
|   |   |   |   |   |   |-- scsi_level
|   |   |   |   |   |   |-- state
|   |   |   |   |   |   |-- timeout
|   |   |   |   |   |   |-- type
|   |   |   |   |   |   `-- vendor
|   |   |   |   |   |-- 0:0:4:0
|   |   |   |   |   |   |-- delete
|   |   |   |   |   |   |-- detach_state
|   |   |   |   |   |   |-- device_blocked
|   |   |   |   |   |   |-- model
|   |   |   |   |   |   |-- power
|   |   |   |   |   |   |   `-- state
|   |   |   |   |   |   |-- queue_depth
|   |   |   |   |   |   |-- rescan
|   |   |   |   |   |   |-- rev
|   |   |   |   |   |   |-- scsi_level
|   |   |   |   |   |   |-- state
|   |   |   |   |   |   |-- timeout
|   |   |   |   |   |   |-- type
|   |   |   |   |   |   `-- vendor
|   |   |   |   |   |-- 0:0:6:0
|   |   |   |   |   |   |-- block -> ../../../../../../block/sda
|   |   |   |   |   |   |-- delete
|   |   |   |   |   |   |-- detach_state
|   |   |   |   |   |   |-- device_blocked
|   |   |   |   |   |   |-- model
|   |   |   |   |   |   |-- power
|   |   |   |   |   |   |   `-- state
|   |   |   |   |   |   |-- queue_depth
|   |   |   |   |   |   |-- rescan
|   |   |   |   |   |   |-- rev
|   |   |   |   |   |   |-- scsi_level
|   |   |   |   |   |   |-- state
|   |   |   |   |   |   |-- timeout
|   |   |   |   |   |   |-- type
|   |   |   |   |   |   `-- vendor
|   |   |   |   |   |-- detach_state
|   |   |   |   |   `-- power
|   |   |   |   |       `-- state
|   |   |   |   |-- irq
|   |   |   |   |-- power
|   |   |   |   |   `-- state
|   |   |   |   |-- resource
|   |   |   |   |-- subsystem_device
|   |   |   |   |-- subsystem_vendor
|   |   |   |   `-- vendor
|   |   |   |-- 0000:01:0b.0
|   |   |   |   |-- class
|   |   |   |   |-- config
|   |   |   |   |-- detach_state
|   |   |   |   |-- device
|   |   |   |   |-- irq
|   |   |   |   |-- power
|   |   |   |   |   `-- state
|   |   |   |   |-- resource
|   |   |   |   |-- subsystem_device
|   |   |   |   |-- subsystem_vendor
|   |   |   |   `-- vendor
|   |   |   |-- 0000:01:0c.0
|   |   |   |   |-- class
|   |   |   |   |-- config
|   |   |   |   |-- detach_state
|   |   |   |   |-- device
|   |   |   |   |-- irq
|   |   |   |   |-- power
|   |   |   |   |   `-- state
|   |   |   |   |-- resource
|   |   |   |   |-- subsystem_device
|   |   |   |   |-- subsystem_vendor
|   |   |   |   `-- vendor
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- irq
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   `-- vendor
|   |   |-- 0000:00:09.0
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- ide0
|   |   |   |   |-- 0.0
|   |   |   |   |   |-- block -> ../../../../../block/hda
|   |   |   |   |   |-- detach_state
|   |   |   |   |   `-- power
|   |   |   |   |       `-- state
|   |   |   |   |-- detach_state
|   |   |   |   `-- power
|   |   |   |       `-- state
|   |   |   |-- ide1
|   |   |   |   |-- 1.0
|   |   |   |   |   |-- detach_state
|   |   |   |   |   `-- power
|   |   |   |   |       `-- state
|   |   |   |   |-- detach_state
|   |   |   |   `-- power
|   |   |   |       `-- state
|   |   |   |-- irq
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   `-- vendor
|   |   |-- 0000:00:0d.0
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- fw-host0
|   |   |   |   |-- 8a1cc7ffff0020ed
|   |   |   |   |   |-- 8a1cc7ffff0020ed-0
|   |   |   |   |   |   |-- address
|   |   |   |   |   |   |-- detach_state
|   |   |   |   |   |   |-- ignore_driver
|   |   |   |   |   |   |-- length
|   |   |   |   |   |   |-- power
|   |   |   |   |   |   |   `-- state
|   |   |   |   |   |   |-- specifier_id
|   |   |   |   |   |   `-- version
|   |   |   |   |   |-- bus_options
|   |   |   |   |   |-- capabilities
|   |   |   |   |   |-- detach_state
|   |   |   |   |   |-- guid
|   |   |   |   |   |-- guid_vendor_id
|   |   |   |   |   |-- nodeid
|   |   |   |   |   |-- power
|   |   |   |   |   |   `-- state
|   |   |   |   |   |-- tlabels_allocations
|   |   |   |   |   |-- tlabels_free
|   |   |   |   |   |-- tlabels_mask
|   |   |   |   |   |-- vendor_id
|   |   |   |   |   `-- vendor_name_kv
|   |   |   |   |-- detach_state
|   |   |   |   |-- host_id -> ../../../../devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed
|   |   |   |   |-- in_bus_reset
|   |   |   |   |-- irm_id -> ../../../../devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed
|   |   |   |   |-- is_busmgr
|   |   |   |   |-- is_cycmst
|   |   |   |   |-- is_irm
|   |   |   |   |-- is_root
|   |   |   |   |-- node_count
|   |   |   |   |-- nodes_active
|   |   |   |   |-- power
|   |   |   |   |   `-- state
|   |   |   |   `-- selfid_count
|   |   |   |-- irq
|   |   |   |-- pools
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   `-- vendor
|   |   |-- 0000:00:1e.0
|   |   |   |-- 0000:03:00.0
|   |   |   |   |-- class
|   |   |   |   |-- config
|   |   |   |   |-- detach_state
|   |   |   |   |-- device
|   |   |   |   |-- irq
|   |   |   |   |-- power
|   |   |   |   |   `-- state
|   |   |   |   |-- resource
|   |   |   |   |-- subsystem_device
|   |   |   |   |-- subsystem_vendor
|   |   |   |   `-- vendor
|   |   |   |-- 0000:03:00.1
|   |   |   |   |-- class
|   |   |   |   |-- config
|   |   |   |   |-- detach_state
|   |   |   |   |-- device
|   |   |   |   |-- irq
|   |   |   |   |-- power
|   |   |   |   |   `-- state
|   |   |   |   |-- resource
|   |   |   |   |-- subsystem_device
|   |   |   |   |-- subsystem_vendor
|   |   |   |   `-- vendor
|   |   |   |-- class
|   |   |   |-- config
|   |   |   |-- detach_state
|   |   |   |-- device
|   |   |   |-- irq
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- resource
|   |   |   |-- subsystem_device
|   |   |   |-- subsystem_vendor
|   |   |   `-- vendor
|   |   |-- detach_state
|   |   `-- power
|   |       `-- state
|   |-- platform
|   |   |-- detach_state
|   |   |-- host1
|   |   |   |-- 1:0:0:0
|   |   |   |   |-- block -> ../../../../block/sdb
|   |   |   |   |-- delete
|   |   |   |   |-- detach_state
|   |   |   |   |-- device_blocked
|   |   |   |   |-- model
|   |   |   |   |-- power
|   |   |   |   |   `-- state
|   |   |   |   |-- queue_depth
|   |   |   |   |-- rescan
|   |   |   |   |-- rev
|   |   |   |   |-- scsi_level
|   |   |   |   |-- state
|   |   |   |   |-- timeout
|   |   |   |   |-- type
|   |   |   |   `-- vendor
|   |   |   |-- detach_state
|   |   |   `-- power
|   |   |       `-- state
|   |   |-- i8042
|   |   |   |-- detach_state
|   |   |   |-- power
|   |   |   |   `-- state
|   |   |   |-- serio0
|   |   |   |   |-- bind_mode
|   |   |   |   |-- description
|   |   |   |   |-- detach_state
|   |   |   |   |-- driver
|   |   |   |   `-- power
|   |   |   |       `-- state
|   |   |   `-- serio1
|   |   |       |-- bind_mode
|   |   |       |-- description
|   |   |       |-- detach_state
|   |   |       |-- driver
|   |   |       `-- power
|   |   |           `-- state
|   |   |-- power
|   |   |   `-- state
|   |   `-- vesafb0
|   |       |-- detach_state
|   |       `-- power
|   |           `-- state
|   `-- system
|       |-- cpu
|       |   `-- cpu0
|       |-- i8259
|       |   `-- i82590
|       |-- ioapic
|       |   `-- ioapic0
|       |-- irqrouter
|       |   `-- irqrouter0
|       |-- lapic
|       |   `-- lapic0
|       |-- pit
|       |   `-- pit0
|       `-- timer
|           `-- timer0
|-- firmware
|   |-- acpi
|   |   `-- namespace
|   |       `-- ACPI
|   |           |-- CPU0
|   |           |-- PWRF
|   |           |-- _SB
|   |           |   |-- MEM
|   |           |   |-- PCI0
|   |           |   |   |-- AGPB
|   |           |   |   |   `-- VGAG
|   |           |   |   |-- AP3C
|   |           |   |   |-- APC1
|   |           |   |   |-- APC2
|   |           |   |   |-- APC3
|   |           |   |   |-- APC4
|   |           |   |   |-- APC5
|   |           |   |   |-- APCF
|   |           |   |   |-- APCG
|   |           |   |   |-- APCH
|   |           |   |   |-- APCI
|   |           |   |   |-- APCJ
|   |           |   |   |-- APCK
|   |           |   |   |-- APCL
|   |           |   |   |-- APCM
|   |           |   |   |-- APCS
|   |           |   |   |-- APCZ
|   |           |   |   |-- COPR
|   |           |   |   |-- DMA1
|   |           |   |   |-- ECP1
|   |           |   |   |-- F139
|   |           |   |   |-- FDC0
|   |           |   |   |-- HUB0
|   |           |   |   |-- HUB1
|   |           |   |   |-- IDE0
|   |           |   |   |   |-- PRI0
|   |           |   |   |   |   |-- MAST
|   |           |   |   |   |   `-- SLAV
|   |           |   |   |   `-- SEC0
|   |           |   |   |       |-- MAST
|   |           |   |   |       `-- SLAV
|   |           |   |   |-- L3CM
|   |           |   |   |-- LACI
|   |           |   |   |-- LAPU
|   |           |   |   |-- LFIR
|   |           |   |   |-- LIDE
|   |           |   |   |-- LMAC
|   |           |   |   |-- LMCI
|   |           |   |   |-- LNK1
|   |           |   |   |-- LNK2
|   |           |   |   |-- LNK3
|   |           |   |   |-- LNK4
|   |           |   |   |-- LNK5
|   |           |   |   |-- LSMB
|   |           |   |   |-- LUB2
|   |           |   |   |-- LUBA
|   |           |   |   |-- LUBB
|   |           |   |   |-- MACI
|   |           |   |   |-- MAPU
|   |           |   |   |-- MMAC
|   |           |   |   |-- MMCI
|   |           |   |   |-- PIC
|   |           |   |   |-- RTC
|   |           |   |   |-- SMB0
|   |           |   |   |-- SPKR
|   |           |   |   |-- SYSR
|   |           |   |   |-- TMR
|   |           |   |   |-- UAR1
|   |           |   |   |-- UAR2
|   |           |   |   |-- USB0
|   |           |   |   |-- USB1
|   |           |   |   |-- USB2
|   |           |   |   `-- VT86
|   |           |   |-- PMIO
|   |           |   |-- PWRB
|   |           |   `-- SMIO
|   |           `-- _TZ
|   `-- edd
|       |-- int13_dev80
|       |   |-- extensions
|       |   |-- host_bus
|       |   |-- info_flags
|       |   |-- interface
|       |   |-- legacy_max_cylinder
|       |   |-- legacy_max_head
|       |   |-- legacy_sectors_per_track
|       |   |-- mbr_signature
|       |   |-- pci_dev -> ../../../devices/pci0000:00/0000:00:08.0/0000:01:0a.0
|       |   |-- raw_data
|       |   |-- sectors
|       |   `-- version
|       |-- int13_dev81
|       |   |-- default_cylinders
|       |   |-- default_heads
|       |   |-- default_sectors_per_track
|       |   |-- extensions
|       |   |-- info_flags
|       |   |-- legacy_max_cylinder
|       |   |-- legacy_max_head
|       |   |-- legacy_sectors_per_track
|       |   |-- mbr_signature
|       |   |-- raw_data
|       |   |-- sectors
|       |   `-- version
|       `-- int13_dev82
|           |-- default_cylinders
|           |-- default_heads
|           |-- default_sectors_per_track
|           |-- extensions
|           |-- info_flags
|           |-- legacy_max_cylinder
|           |-- legacy_max_head
|           |-- legacy_sectors_per_track
|           |-- mbr_signature
|           |-- raw_data
|           |-- sectors
|           `-- version
|-- module
|   |-- agpgart
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ksymtab
|   |       |-- __ksymtab_gpl
|   |       `-- __ksymtab_strings
|   |-- e1000
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __obsparm
|   |       `-- __param
|   |-- ehci_hcd
|   |   |-- log2_irq_thresh
|   |   |-- refcnt
|   |   `-- sections
|   |       `-- __param
|   |-- eth1394
|   |   |-- refcnt
|   |   `-- sections
|   |       `-- __obsparm
|   |-- evdev
|   |   |-- refcnt
|   |   `-- sections
|   |       `-- __ex_table
|   |-- fglrx
|   |   |-- refcnt
|   |   `-- sections
|   |       `-- __obsparm
|   |-- forcedeth
|   |   |-- refcnt
|   |   `-- sections
|   |       `-- __param
|   |-- gameport
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ksymtab
|   |       `-- __ksymtab_strings
|   |-- ieee1394
|   |   |-- disable_nodemgr
|   |   |-- fcp
|   |   |-- ignore_drivers
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ksymtab
|   |       |-- __ksymtab_strings
|   |       `-- __param
|   |-- ipv6
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ex_table
|   |       |-- __ksymtab
|   |       `-- __ksymtab_strings
|   |-- joydev
|   |   |-- refcnt
|   |   `-- sections
|   |       `-- __ex_table
|   |-- lockd
|   |   |-- nlm_grace_period
|   |   |-- nlm_tcpport
|   |   |-- nlm_timeout
|   |   |-- nlm_udpport
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ksymtab
|   |       |-- __ksymtab_strings
|   |       `-- __param
|   |-- nfs
|   |   |-- refcnt
|   |   `-- sections
|   |-- nvidia_agp
|   |   |-- refcnt
|   |   `-- sections
|   |-- nvnet
|   |   |-- refcnt
|   |   `-- sections
|   |       `-- __obsparm
|   |-- nvsound
|   |   |-- refcnt
|   |   `-- sections
|   |       `-- __ex_table
|   |-- ohci1394
|   |   |-- phys_dma
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ksymtab
|   |       |-- __ksymtab_strings
|   |       `-- __param
|   |-- ohci_hcd
|   |   |-- refcnt
|   |   `-- sections
|   |       `-- __param
|   |-- snd
|   |   |-- cards_limit
|   |   |-- major
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ex_table
|   |       |-- __ksymtab
|   |       |-- __ksymtab_strings
|   |       `-- __param
|   |-- snd_ac97_codec
|   |   |-- enable_loopback
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ksymtab
|   |       |-- __ksymtab_strings
|   |       `-- __param
|   |-- snd_intel8x0
|   |   |-- ac97_clock
|   |   |-- ac97_quirk
|   |   |-- buggy_irq
|   |   |-- enable
|   |   |-- id
|   |   |-- index
|   |   |-- joystick
|   |   |-- mpu_port
|   |   |-- refcnt
|   |   `-- sections
|   |       `-- __param
|   |-- snd_mixer_oss
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ex_table
|   |       |-- __ksymtab
|   |       `-- __ksymtab_strings
|   |-- snd_mpu401_uart
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ksymtab
|   |       `-- __ksymtab_strings
|   |-- snd_page_alloc
|   |   |-- enable
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ksymtab
|   |       |-- __ksymtab_strings
|   |       `-- __param
|   |-- snd_pcm
|   |   |-- maximum_substreams
|   |   |-- preallocate_dma
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ex_table
|   |       |-- __ksymtab
|   |       |-- __ksymtab_strings
|   |       `-- __param
|   |-- snd_pcm_oss
|   |   |-- adsp_map
|   |   |-- dsp_map
|   |   |-- nonblock_open
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ex_table
|   |       `-- __param
|   |-- snd_rawmidi
|   |   |-- amidi_map
|   |   |-- midi_map
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ex_table
|   |       |-- __ksymtab
|   |       |-- __ksymtab_strings
|   |       `-- __param
|   |-- snd_seq_device
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ksymtab
|   |       `-- __ksymtab_strings
|   |-- snd_timer
|   |   |-- refcnt
|   |   |-- sections
|   |   |   |-- __ex_table
|   |   |   |-- __ksymtab
|   |   |   |-- __ksymtab_strings
|   |   |   `-- __param
|   |   `-- timer_limit
|   |-- soundcore
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ksymtab
|   |       `-- __ksymtab_strings
|   |-- sunrpc
|   |   |-- refcnt
|   |   `-- sections
|   |       |-- __ex_table
|   |       |-- __ksymtab
|   |       `-- __ksymtab_strings
|   |-- uhci_hcd
|   |   |-- debug
|   |   |-- refcnt
|   |   `-- sections
|   |       `-- __param
|   |-- usbcore
|   |   |-- blinkenlights
|   |   |-- refcnt
|   |   |-- sections
|   |   |   |-- __ex_table
|   |   |   |-- __ksymtab
|   |   |   |-- __ksymtab_gpl
|   |   |   |-- __ksymtab_strings
|   |   |   `-- __param
|   |   `-- usbfs_snoop
|   `-- usbhid
|       |-- refcnt
|       `-- sections
|           `-- __ex_table
`-- power
    |-- disk
    `-- state

1158 directories, 1719 files

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Report about error: unknown bus]
  2004-10-20  3:56 [Report about error: unknown bus] Paul Blazejowski
                   ` (10 preceding siblings ...)
  2004-10-21 18:40 ` Paul Blazejowski
@ 2004-10-21 19:58 ` Kay Sievers
  2004-10-21 20:28 ` Paul Blazejowski
  12 siblings, 0 replies; 14+ messages in thread
From: Kay Sievers @ 2004-10-21 19:58 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 943 bytes --]

On Thu, Oct 21, 2004 at 02:40:38PM -0400, Paul Blazejowski wrote:
> On Thu, 2004-10-21 at 10:11 +0200, Kay Sievers wrote:
> > 
> > Hi Paul,
> > here is a new patch, that does not try to open the attribute. It
> > just waits until the file shows up.
> > 
> > Unfortunately, I don't have this hardware to test. If you still get these
> > errors please attach the output from "tree /sys" for the next round. We
> > may just need to add more files to the ieee1394 list, they may be different
> > from device to device.
> 
> Thanks for the fix, i think we are getting closer... udev list only this
> line this time:
> 
> '/devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed' (bus specific file unavailable)
> '/devices/pci0000:00/0000:00:0d.0/fw-host0/8a1cc7ffff0020ed/8a1cc7ffff0020ed-0' (bus specific file unavailable)

Here is the 3rd round, hopefully this will do it :)
The patch is agains the current bk tree.

Thanks for the help,
Kay

[-- Attachment #2: wait-fixes-03.patch --]
[-- Type: text/plain, Size: 2516 bytes --]

===== udev_sysfs.c 1.1 vs edited =====
--- 1.1/udev_sysfs.c	2004-10-19 03:50:52 +02:00
+++ edited/udev_sysfs.c	2004-10-21 21:52:16 +02:00
@@ -93,10 +93,8 @@ static int wait_for_class_device_attribu
 		return 0;
 	}
 
-	strcpy(filename, class_dev->path);
-	strcat(filename, "/");
-	strcat(filename, file);
-	dbg("looking at class '%s' for specific file '%s' with full name %s", class_dev->classname, file, filename);
+	snprintf(filename, SYSFS_PATH_MAX-1, "%s/%s", class_dev->path, file);
+	dbg("looking at class '%s' for specific file '%s'", class_dev->classname, filename);
 
 	loop = WAIT_MAX_SECONDS * WAIT_LOOP_PER_SECOND;
 	while (--loop) {
@@ -167,6 +165,7 @@ static int class_device_expect_no_device
 		{ .subsystem = "net",		.device = "dummy" },
 		{ .subsystem = "net",		.device = "irda" },
 		{ .subsystem = "net",		.device = "ppp" },
+		{ .subsystem = "net",		.device = "tun" },
 		{ .subsystem = "ppp",		.device = NULL },
 		{ .subsystem = "sound",		.device = NULL },
 		{ .subsystem = "printer",	.device = "lp" },
@@ -247,7 +246,10 @@ int wait_for_bus_device(struct sysfs_dev
 		{ .bus = "pci",		.file = "vendor" },
 		{ .bus = "platform",	.file = "detach_state" },
 		{ .bus = "i2c",		.file = "detach_state" },
-		{ NULL }
+		{ .bus = "ieee1394",	.file = "node_count" },
+		{ .bus = "ieee1394",	.file = "nodeid" },
+		{ .bus = "ieee1394",	.file = "address" },
+		{ NULL, NULL }
 	};
 	struct bus_file *busfile;
 	int loop;
@@ -271,19 +273,24 @@ int wait_for_bus_device(struct sysfs_dev
 	/* wait for a bus specific file to show up */
 	loop = WAIT_MAX_SECONDS * WAIT_LOOP_PER_SECOND;
 	while (--loop) {
-		int found = 0;
+		int found_bus_type = 0;
 
 		for (busfile = bus_files; busfile->bus != NULL; busfile++) {
 			if (strcmp(devices_dev->bus, busfile->bus) == 0) {
-				found = 1;
-				dbg("looking at bus '%s' for specific file '%s'", devices_dev->bus, busfile->file);
-				if (sysfs_get_device_attr(devices_dev, busfile->file) != NULL) {
+				char filename[SYSFS_PATH_MAX];
+				struct stat stats;
+
+				found_bus_type = 1;
+				snprintf(filename, SYSFS_PATH_MAX-1, "%s/%s", devices_dev->path, busfile->file);
+				dbg("looking at bus '%s' for specific file '%s'", devices_dev->bus, filename);
+
+				if (stat(filename, &stats) == 0) {
 					dbg("bus '%s' specific file '%s' found", devices_dev->bus, busfile->file);
 					return 0;
 				}
 			}
 		}
-		if (found == 0) {
+		if (found_bus_type == 0) {
 			if (error)
 				*error = "unknown bus";
 			info("error: unknown bus, please report to "

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [Report about error: unknown bus]
  2004-10-20  3:56 [Report about error: unknown bus] Paul Blazejowski
                   ` (11 preceding siblings ...)
  2004-10-21 19:58 ` Kay Sievers
@ 2004-10-21 20:28 ` Paul Blazejowski
  12 siblings, 0 replies; 14+ messages in thread
From: Paul Blazejowski @ 2004-10-21 20:28 UTC (permalink / raw)
  To: linux-hotplug


[-- Attachment #1.1: Type: text/plain, Size: 3475 bytes --]

On Thu, 2004-10-21 at 21:58 +0200, Kay Sievers wrote:
> 
> Here is the 3rd round, hopefully this will do it :)
> The patch is agains the current bk tree.
> 
> Thanks for the help,
> Kay
> plain text document attachment (wait-fixes-03.patch)
> ===== udev_sysfs.c 1.1 vs edited =====
> --- 1.1/udev_sysfs.c	2004-10-19 03:50:52 +02:00
> +++ edited/udev_sysfs.c	2004-10-21 21:52:16 +02:00
> @@ -93,10 +93,8 @@ static int wait_for_class_device_attribu
>  		return 0;
>  	}
>  
> -	strcpy(filename, class_dev->path);
> -	strcat(filename, "/");
> -	strcat(filename, file);
> -	dbg("looking at class '%s' for specific file '%s' with full name %s", class_dev->classname, file, filename);
> +	snprintf(filename, SYSFS_PATH_MAX-1, "%s/%s", class_dev->path, file);
> +	dbg("looking at class '%s' for specific file '%s'", class_dev->classname, filename);
>  
>  	loop = WAIT_MAX_SECONDS * WAIT_LOOP_PER_SECOND;
>  	while (--loop) {
> @@ -167,6 +165,7 @@ static int class_device_expect_no_device
>  		{ .subsystem = "net",		.device = "dummy" },
>  		{ .subsystem = "net",		.device = "irda" },
>  		{ .subsystem = "net",		.device = "ppp" },
> +		{ .subsystem = "net",		.device = "tun" },
>  		{ .subsystem = "ppp",		.device = NULL },
>  		{ .subsystem = "sound",		.device = NULL },
>  		{ .subsystem = "printer",	.device = "lp" },
> @@ -247,7 +246,10 @@ int wait_for_bus_device(struct sysfs_dev
>  		{ .bus = "pci",		.file = "vendor" },
>  		{ .bus = "platform",	.file = "detach_state" },
>  		{ .bus = "i2c",		.file = "detach_state" },
> -		{ NULL }
> +		{ .bus = "ieee1394",	.file = "node_count" },
> +		{ .bus = "ieee1394",	.file = "nodeid" },
> +		{ .bus = "ieee1394",	.file = "address" },
> +		{ NULL, NULL }
>  	};
>  	struct bus_file *busfile;
>  	int loop;
> @@ -271,19 +273,24 @@ int wait_for_bus_device(struct sysfs_dev
>  	/* wait for a bus specific file to show up */
>  	loop = WAIT_MAX_SECONDS * WAIT_LOOP_PER_SECOND;
>  	while (--loop) {
> -		int found = 0;
> +		int found_bus_type = 0;
>  
>  		for (busfile = bus_files; busfile->bus != NULL; busfile++) {
>  			if (strcmp(devices_dev->bus, busfile->bus) == 0) {
> -				found = 1;
> -				dbg("looking at bus '%s' for specific file '%s'", devices_dev->bus, busfile->file);
> -				if (sysfs_get_device_attr(devices_dev, busfile->file) != NULL) {
> +				char filename[SYSFS_PATH_MAX];
> +				struct stat stats;
> +
> +				found_bus_type = 1;
> +				snprintf(filename, SYSFS_PATH_MAX-1, "%s/%s", devices_dev->path, busfile->file);
> +				dbg("looking at bus '%s' for specific file '%s'", devices_dev->bus, filename);
> +
> +				if (stat(filename, &stats) == 0) {
>  					dbg("bus '%s' specific file '%s' found", devices_dev->bus, busfile->file);
>  					return 0;
>  				}
>  			}
>  		}
> -		if (found == 0) {
> +		if (found_bus_type == 0) {
>  			if (error)
>  				*error = "unknown bus";
>  			info("error: unknown bus, please report to "

Kay,

Thank you very much, it is fixed now :-). 

i guess this is normal

Oct 21 16:18:27 blaze ieee1394.agent[2343]: ... no drivers for IEEE1394
product 0x/0x/0x
Oct 21 16:18:28 blaze kernel: eth1394: $Rev: 1224 $ Ben Collins
<bcollins@debian.org>
Oct 21 16:18:28 blaze ieee1394.agent[2356]: ... no drivers for IEEE1394
product 0x/0x/0x

Still got 2 hunks failed but now i know why... i did a quick diff
against udev-040 and recompiled.

Regards,

Paul
-- 
FreeBSD -- The Power to Serve!

[-- Attachment #1.2: wait_for_sysfs.c-patch --]
[-- Type: text/plain, Size: 2702 bytes --]

diffstat
wait_for_sysfs.c |   29 ++++++++++++++++++-----------
1 files changed, 18 insertions(+), 11 deletions(-)

diff -Nur udev-040-o/wait_for_sysfs.c udev-040/wait_for_sysfs.c
--- udev-040-o/wait_for_sysfs.c	2004-10-18 20:20:54.000000000 -0400
+++ udev-040/wait_for_sysfs.c	2004-10-21 16:12:23.000000000 -0400
@@ -94,11 +94,9 @@
 		}
 	}
 
-	strcpy(filename, class_dev->path);
-	strcat(filename, "/");
-	strcat(filename, file);
-	dbg("looking at class '%s' for specific file '%s' with full name %s", class_dev->classname, class_dev->path, filename);
-
+   snprintf(filename, SYSFS_PATH_MAX-1, "%s/%s", class_dev->path, file);
+   dbg("looking at class '%s' for specific file '%s'", class_dev->classname, filename);
+	
 	loop = WAIT_MAX_SECONDS * WAIT_LOOP_PER_SECOND;
 	while (--loop) {
 		struct stat stats;
@@ -167,6 +165,7 @@
 		{ .subsystem = "net",		.device = "dummy" },
 		{ .subsystem = "net",		.device = "irda" },
 		{ .subsystem = "net",		.device = "ppp" },
+		{ .subsystem = "net",		.device = "tun" },
 		{ .subsystem = "ppp",		.device = NULL },
 		{ .subsystem = "sound",		.device = NULL },
 		{ .subsystem = "printer",	.device = "lp" },
@@ -247,7 +246,10 @@
 		{ .bus = "pci",		.file = "vendor" },
 		{ .bus = "platform",	.file = "detach_state" },
 		{ .bus = "i2c",		.file = "detach_state" },
-		{ NULL }
+		{ .bus = "ieee1394",	.file = "node_count" },
+		{ .bus = "ieee1394",	.file = "nodeid" },
+		{ .bus = "ieee1394",	.file = "address" },
+		{ NULL, NULL }
 	};
 	struct bus_file *busfile;
 	int loop;
@@ -270,19 +272,24 @@
 	/* wait for a bus specific file to show up */
 	loop = WAIT_MAX_SECONDS * WAIT_LOOP_PER_SECOND;
 	while (--loop) {
-		int found = 0;
+		int found_bus_type = 0;
 
 		for (busfile = bus_files; busfile->bus != NULL; busfile++) {
 			if (strcmp(devices_dev->bus, busfile->bus) == 0) {
-				found = 1;
-				dbg("looking at bus '%s' for specific file '%s'", devices_dev->bus, busfile->file);
-				if (sysfs_get_device_attr(devices_dev, busfile->file) != NULL) {
+				char filename[SYSFS_PATH_MAX];
+				struct stat stats;
+				
+				found_bus_type = 1;
+				snprintf(filename, SYSFS_PATH_MAX-1, "%s/%s", devices_dev->path, busfile->file);
+				dbg("looking at bus '%s' for specific file '%s'", devices_dev->bus, filename);
+				
+			if (stat(filename, &stats) == 0) {
 					dbg("bus '%s' specific file '%s' found", devices_dev->bus, busfile->file);
 					return 0;
 				}
 			}
 		}
-		if (found == 0) {
+		if (found_bus_type == 0) {
 			*error = "unknown bus";
 			info("error: unknown bus, please report to "
 			     "<linux-hotplug-devel@lists.sourceforge.net> '%s'", devices_dev->bus);

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2004-10-21 20:28 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-20  3:56 [Report about error: unknown bus] Paul Blazejowski
2004-10-20  4:27 ` Kay Sievers
2004-10-20  5:33 ` Paul Blazejowski
2004-10-20 13:17 ` Kay Sievers
2004-10-20 17:05 ` Kay Sievers
2004-10-20 17:44 ` Paul Blazejowski
2004-10-20 17:48 ` Paul Blazejowski
2004-10-20 18:03 ` Kay Sievers
2004-10-20 20:44 ` Kay Sievers
2004-10-21  4:15 ` Paul Blazejowski
2004-10-21  8:11 ` Kay Sievers
2004-10-21 18:40 ` Paul Blazejowski
2004-10-21 19:58 ` Kay Sievers
2004-10-21 20:28 ` Paul Blazejowski

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).