Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed a new device in linux. If I enter lspci, i can see the information of this device. But, I do not know which file in dev is mapped to this device.

share|improve this question
    
lspci does not show you drivers. – Ignacio Vazquez-Abrams Jul 18 '11 at 8:04
    
What kind of device is it? The general class of device is a good place to start looking. – Keith Jul 18 '11 at 8:18
    
It is a scsi card and it connect to a tape driver – Ben Jul 18 '11 at 8:49

The general answer for any device is to run dmesg or check /var/log/kern.log.

share|improve this answer

Then use lsscsi instead - that should show you all the SCSI devices and what device file corresponds to each one.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.