I have a random speaker and I want to develop a driver for it so I can report statistics, battery, etc to the dev
file system. However, I'm having a hard time finding the speaker's vendor and device id in order to properly associate it with the driver.
I don't even know who the manufacturer is and my Linux machine doesn't detect it (lsusb
, and other utils), T&G has a speaker that looks exactly like mine, but mine has a different logo on it (orange flower), not T&G's one.
Does every device have a vendor and product id associated with it?
if so, how do you find it if you don't know your device, and your machine doesn't recognize it?
Is it even possible to report battery and other stats to my machine through a USB port of my speaker, which I believe is supposed to be used with a USB card?