From: Prashanth Ramachandran <ramapra@iit.edu>
To: linux-hotplug@vger.kernel.org
Subject: working with usblan device
Date: Fri, 09 Mar 2007 04:17:25 +0000 [thread overview]
Message-ID: <df67d320a297.a297df67d320@iit.edu> (raw)
Hello experts
I am running RHEL 4 (kernel 2.6.9) and am working with a usblan device (
drivers from belcarra) . this device presents the device as both a usb
device and a network device ( usb0) .
I have updated the usb.usermap to trigger on a particular vendor . So
for this device i get the usb device notification and i pass the sysfs
name to my application . However i want to be able to map ( co-relate)
this usb device to the network device (usb0) .
From a device standpoint , there should be some information for both
devices that converge at some point . As for eg
DEVICE
| |
| |
usb0
/../../../devices/pci0000:00/0000:00:07.2/usb1/1-0:1.0
I am able to get the notification for
../../../devices/pci0000:00/0000:00:07.2/usb1/1-0:1.0
However I want to know if there is any mechanism ( IOCTL , etc ) to get
to DEVICE .
Help is appreciated
-------------------------------------------------------------------------
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
reply other threads:[~2007-03-09 4:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=df67d320a297.a297df67d320@iit.edu \
--to=ramapra@iit.edu \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).