linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linux 2.4 hotplug interface bus information
@ 2006-09-20 15:09 iSteve
  2006-09-20 15:57 ` iSteve
  0 siblings, 1 reply; 2+ messages in thread
From: iSteve @ 2006-09-20 15:09 UTC (permalink / raw)
  To: linux-hotplug

Greetings,
I'm looking at hotplug event interface on 2.4 kernels (testbed is vanilla
2.4.32), and I wonder how did the old hotplug shell script system figured out 
what bus the device is connected to. I've hooked up a script that dumps env
vars to a file to /proc/sys/kernel/hotplug, and when connecting and removing
some MicroStar Bluetooth device, I get only these events:

PATH=/sbin:/bin:/usr/sbin:/usr/bin
ACTION­d
PWD=/
SHLVL=1
HOME=/
PRODUCTÛ0/6970/525
TYPE"4/1/1
_=/usr/bin/env

PATH=/sbin:/bin:/usr/sbin:/usr/bin
ACTION=remove
PWD=/
SHLVL=1
HOME=/
PRODUCTÛ0/6970/525
TYPE"4/1/1
_=/usr/bin/env

I'd like to write a dumb function that would generate modalias out of these (or
further process them in any fashion), but without the bus, I believe I can
never succeed.

Thanks in advance for any reply.
-- 
 -- iSteve

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2006-09-20 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-20 15:09 Linux 2.4 hotplug interface bus information iSteve
2006-09-20 15:57 ` iSteve

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