Skip to contentSkip to conversation

'ide' missing in bus_files[]

udev Applied Kay Sievers 2 participants 2 messages Dec 25, 2003 – Dec 30, 2003

lore
Share & tools
lore
#0 lore raw

Hi Greg,
my syslog want's to contact you :)

  Dec 25 20:37:48 pim udev[2274]: wait_for_device_to_initialize: Did not find bus type 'ide' on list of bus_id_files, contact [email protected]

We need to put 'ide' to the bus_files array,
don't know which file to use...
Please have a look.

Kay

namedev.c +1 -0
diff -Nru a/namedev.c b/namedev.c
@@ -255,6 +255,7 @@
 } bus_files[] = {
 	{ .bus = "scsi",	.file = "vendor" },
 	{ .bus = "usb",		.file = "idVendor" },
+	{ .bus = "ide",		.file = "detach_state" },
 	{ .bus = "pci",		.file = "vendor" },
 	{}
 };
Applied
#1 lore raw
Quoted 8 lines · Kay Sievers

Hi Greg,
my syslog want's to contact you :)

  Dec 25 20:37:48 pim udev[2274]: wait_for_device_to_initialize: Did not find bus type 'ide' on list of bus_id_files, contact [email protected]

We need to put 'ide' to the bus_files array,
don't know which file to use...

Yeah, for now "detach_state" is about the only file we can use for ide devices. Someday someone will move the info that ide dumps into /proc into sysfs and we will be able to change this..

Applied, thanks.

greg k-h

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel