Re: list USB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 14, 2006 at 09:53:33AM -0400, Keppler Alecrim wrote:
> Hi all ,
>    I'm trying to create a module to list all usb devices like
> /proc/bus/usb/devices read function.

Why do you want to do this?

> The main structs are on include/linux/usb.h,including usb_device. What
> variable contain all usb devices?

Depending on the kernel version, you might be able to do this, and you
might not.  What kernel version are you using?

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux