[Ilugc] Enumerating a new device from inside a kernel module
- From: cyborg4k@xxxxxxxxx (Shakthi Kannan)
- Date: Wed May 3 19:40:01 2006
Hi Joseph,
--- Joseph Antony <ajosephantony@xxxxxxxxxxx> wrote:
A kernel module loads when a usb device with my
VID/PID is attached.
... only when it is made modular (M).
Now, this kernel module has to
Which one?
pop-up another device instance so that the end user
sees the entry of two devices
You plugged in only one device.
(although in reality,
we
have only one VID/PID).
Your terminology is totally confusing me.
1. You can use lsusb to view the devices attached to
the USB bus.
2. You can use USBView written by Grek Kroah:
http://www.kroah.com/linux/usb/
http://www.kroah.com/linux/usb/usbview-screenshot-1.0.jpg
3. If you use Ubuntu, they have
System->Administration->Device Manager to view
devices.
BTW, in the Linux kernel, all device enumeration takes
place in usbcore.o (in 2.4) and usbcore.ko (in 2.6)
which are inside the kernel. So, your subject line is
always true, and its not possible in any other way in
Linux.
Regards,
SK
--
Shakthi Kannan
http://www.shakthimaan.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Other related posts: