Re: [RFC] USB: let both new_id and remove_id show dynamic id list

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

 



On Fri, May 11, 2012 at 02:21:07PM +0200, Bjørn Mork wrote:
> This enables the current list of dynamic IDs to be read out through
> either new_id or remove_id.
> 
> Signed-off-by: Bjørn Mork <bjorn@xxxxxxx>
> ---
> 
> > BTW, another wishlist item is the ability to view the dynamic
> > device list.  Any objections against providing a read method
> > for the new_id (and maybe also remove_id) file?
> 
> So, how about something like this?  Bad idea?  Good idea?

Great idea!

> The background for this is not only my failing memory, but that there
> are userspace tools (usb_modeswitch is one example) which will add
> device IDs to drivers on behalf of the user. Being able to read out
> the list is very useful in such cases.

I agree, I like this a lot.  I'll try to test it out on Monday and see
how it goes.  At first glance, it looks good to me, but we will need
a Documentation/ABI/ file update as well to show the format of what we
are printing out.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux