cat /var/log/syslog
dmesgBut there are not only these logs (see /var/log folder).
For hardware identify what was determined :
lsusb
lspci
lshal
lshwThere you easily find vendor or identification for hardware.
For software (run by command) try:
strace command
or use verbose output of command, often by:
command --verbose
For open files, see:
lsofMentioned utilities have many options, so try arguments. Use keywords from previous outputs to feed goog..