3

I recently moved from Linux to Mac OS, and I'm quite a bit lost in some situations.

I'm looking for the /dev name of my USB device (which is listed in the system_profiler SPUSBDataType).

On Linux I used to use dmesg or lsusb to find information about my devices. The Mac OS dmesg command is just useless, and the syslog (even in debug mode) does not say anything about the plugged USB devices.

  • Is there any way to monitor in real time (like dmesg -w with Linux) the plugged devices on Mac ?

I found the system_profiler SPUSBDataType, but this command does not help me to find the /dev id of my device.

  • Is there an easy way to find the /dev name of (plugged) with Mac ?

The only way I found for now is to do one ls /dev before the device plug-in and one after, and diff them...

  • And finally if I have to debug an USB device like "why it is not recognized on the system ? where is the problem ? how can I fix it ?" what are the commands I dispose of ?

On Linux I used to use dmesg/lsusb/lspci/syslog...

1
  • You're not alone in feeling lost - I remember coming to OS X from Solaris and to a lesser extent Linux. Some of the answers to this question on Stack Overflow might help. Apr 15, 2017 at 6:49

0

You must log in to answer this question.

Browse other questions tagged .