for a bigger project I have a double-USB-A plug in my housing. This is connected to 5V and GND and I can charge my mobile with it and stuff.
But there are also those Data pins. Is there a way of retrieving data from it via Arduino?
Nothing "special" but I just want to gather the device's name it sends to the computer. For example “Hewlett-Packard DeskJet 6980 Series” or “Realtec Semiconductor Corp. Mass Storage Device” as you can read it in lsusb.
Is this possible? Is there a library for that?
Addition: So I found this in the Playground http://www.arduino.cc/playground/Main/UsbMemory
Interfacing with an USB Memory Stick.
But what is a VDIP? And I don't see a command where he gathers device information.
Addition2: Okay, it seems you need that USB controller thingie in order to do anything with the USB device. Sad
So then I'll stick with just charging my device and hopefully I get it at least to recognize that there is something plugged in.