hi,
i don't know what kind of device you are connected, but if it is USB just run this command sane-find-scanner -v -v, even though it is for scanners, still it works to some extent, it gives the config, interface,altsetting and endpoint info. or you can run #less /proc/usb/devices there you can find the entire usb devices connected to your pc. let you know that linux is having hotplugging!! so it will automatically detects the usb devices whenever you will connect!!
jeeva