Re: hidraw and USB Device Strings

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

 



On Mon, Apr 19, 2010 at 05:35:14PM -0400, Alan Ott wrote:
> Hello,
> 
> I'm using the hidraw driver with a USB device and would like to get some
> of the string information from the device (Vendor, Product, Serial, and
> arbitrary strings by string id). I'd like to add ioctls to do this, and
> I think it could be fairly straight-forward. The problem I'm seeing
> right now is that hidraw doesn't know anything about usb (and it does it
> include usb.h).

You could get that info from sysfs, or use libudev to get it as well if
you don't want to muck around in sysfs directly.

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