From mboxrd@z Thu Jan 1 00:00:00 1970 From: Prashanth Ramachandran Date: Fri, 09 Mar 2007 04:17:25 +0000 Subject: working with usblan device Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Hello experts=20 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)=20 this usb device to the network device (usb0) .=20 >From a device standpoint , there should be some information for both devices that converge at some point . As for eg=20 DEVICE=20 | | | | usb0 =20 /../../../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 .=20 Help is appreciated=20 =20 ------------------------------------------------------------------------- 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=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ 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