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?
I'm trying block kernel boot(/sbin/init) if a specfic USB is not plugged.Like a USBKEY,but I need to check devices plugged and theirs serial number.
> 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
--
--
Francisco Keppler Silva Alecrim
Instituto Nokia de Tecnologia (INdT)
Open Source Mobile Research Center (OSMRC)