ginnylearn / dlp-6500

this is the project for DMD controller
0 stars 0 forks source link

USB connection via linux environment #1

Open ginnylearn opened 5 years ago

ginnylearn commented 5 years ago

hid (Human Interface Device): A human interface device or HID is a type of computer device that interacts directly with, and most often takes input from, humans and may deliver output to humans. source wikipedia. From this we can infer that hidraw is a crude/direct method to access the hid. Now lets look what our systems think about this:

$ ls -l /dev/hidraw crw------- 1 root root 251, 0 Aug 3 2013 /dev/hidraw0 crw------- 1 root root 251, 1 Aug 3 2013 /dev/hidraw1 crw------- 1 root root 251, 2 Aug 3 2013 /dev/hidraw2 $ file /dev/hidraw /dev/hidraw0: character special /dev/hidraw1: character special /dev/hidraw2: character special

So, what character special means? Character special files or character devices relate to devices through which the system transmits data one character at a time by, for example, getchar. again Wikipedia is our friend The same follows the c at the start of the ls -l command.