[core-ssh by-id]$ ls -l /dev/serial/by-id/
total 0
lrwxrwxrwx 1 root root 13 Mar 11 08:33 usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0e7fb61eca3aec11bb75a4957a0af07f-if00-port0 -> ../../ttyUSB1
lrwxrwxrwx 1 root root 13 Mar 11 08:33 usb-RFXCOM_RFXtrx433XL_DO76TYJW-if00-port0 -> ../../ttyUSB0
[core-ssh by-id]$
Sans la clef
[core-ssh ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 005: ID 0403:6015
Bus 001 Device 003: ID 10c4:ea60
Bus 001 Device 002: ID 2109:3431
Bus 002 Device 001: ID 1d6b:0003
Bus 001 Device 006: ID 152d:0583
avec la clef
[core-ssh ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 005: ID 0403:6015
Bus 001 Device 003: ID 10c4:ea60
Bus 001 Device 002: ID 2109:3431
Bus 002 Device 001: ID 1d6b:0003
Bus 001 Device 006: ID 152d:0583
Bus 001 Device 007: ID 2357:0604
du reste ce sont les ID qui sont remontées quand je mets ma clef sous windows 10.
je retire la clef
[core-ssh tmp]$ touch /tmp/benoit
[core-ssh tmp]$ find /dev -newer /tmp/benoit -exec ls -lisa {} \;
10 0 crw--w---- 1 root tty 136, 7 Jun 23 19:47 /dev/pts/7
88 0 crw-rw-rw- 1 root tty 5, 2 Jun 23 19:47 /dev/ptmx
j’allume une lampe en RF 433 pour activer l’usb0
[core-ssh tmp]$ find /dev -newer /tmp/benoit -exec ls -lisa {} \;
359 0 crw-rw---- 1 root audio 188, 1 Jun 23 19:47 /dev/ttyUSB1
272 0 crw-rw---- 1 root audio 188, 0 Jun 23 19:47 /dev/ttyUSB0
10 0 crw--w---- 1 root tty 136, 7 Jun 23 19:48 /dev/pts/7
88 0 crw-rw-rw- 1 root tty 5, 2 Jun 23 19:48 /dev/ptmx
on attend quelques secondes
[core-ssh tmp]$ find /dev -newer /tmp/benoit -exec ls -lisa {} \;
359 0 crw-rw---- 1 root audio 188, 1 Jun 23 19:48 /dev/ttyUSB1
272 0 crw-rw---- 1 root audio 188, 0 Jun 23 19:47 /dev/ttyUSB0
10 0 crw--w---- 1 root tty 136, 7 Jun 23 19:48 /dev/pts/7
88 0 crw-rw-rw- 1 root tty 5, 2 Jun 23 19:48 /dev/ptmx
[core-ssh tmp]$ find /dev -newer /tmp/benoit -exec ls -lisa {} \;
359 0 crw-rw---- 1 root audio 188, 1 Jun 23 19:48 /dev/ttyUSB1
272 0 crw-rw---- 1 root audio 188, 0 Jun 23 19:47 /dev/ttyUSB0
total 0
180 0 drwxr-xr-x 2 root root 3220 Jun 23 19:48 .
1 0 drwxr-xr-x 18 root root 4180 Jun 23 16:06 ..
601 0 lrwxrwxrwx 1 root root 11 Mar 11 08:33 10:122 -> ../vcsm-cma
590 0 lrwxrwxrwx 1 root root 18 Mar 11 08:33 10:123 -> ../cpu_dma_latency
584 0 lrwxrwxrwx 1 root root 9 Mar 11 08:33 10:124 -> ../ashmem
544 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 10:125 -> ../vcio
598 0 lrwxrwxrwx 1 root root 13 Mar 11 08:33 10:126 -> ../cachefiles
599 0 lrwxrwxrwx 1 root root 14 Mar 11 08:33 10:127 -> ../vga_arbiter
516 0 lrwxrwxrwx 1 root root 11 Mar 11 08:33 10:130 -> ../watchdog
593 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 10:183 -> ../hwrng
596 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 10:200 -> ../net/tun
588 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 10:229 -> ../fuse
594 0 lrwxrwxrwx 1 root root 6 Mar 11 08:33 10:232 -> ../kvm
589 0 lrwxrwxrwx 1 root root 9 Mar 11 08:33 10:235 -> ../autofs
595 0 lrwxrwxrwx 1 root root 15 Mar 11 08:33 10:237 -> ../loop-control
591 0 lrwxrwxrwx 1 root root 9 Mar 11 08:33 10:242 -> ../rfkill
504 0 lrwxrwxrwx 1 root root 15 Mar 11 08:33 116:2 -> ../snd/pcmC0D0p
506 0 lrwxrwxrwx 1 root root 16 Mar 11 08:33 116:3 -> ../snd/controlC0
603 0 lrwxrwxrwx 1 root root 12 Mar 11 08:33 116:33 -> ../snd/timer
579 0 lrwxrwxrwx 1 root root 13 Mar 11 08:33 13:63 -> ../input/mice
700 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 188:0 -> ../ttyUSB0
652 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 188:1 -> ../ttyUSB1
495 0 lrwxrwxrwx 1 root root 18 Mar 11 08:33 189:0 -> ../bus/usb/001/001
499 0 lrwxrwxrwx 1 root root 18 Mar 11 08:33 189:1 -> ../bus/usb/001/002
496 0 lrwxrwxrwx 1 root root 18 Mar 11 08:33 189:128 -> ../bus/usb/002/001
507 0 lrwxrwxrwx 1 root root 18 Mar 11 08:33 189:2 -> ../bus/usb/001/003
510 0 lrwxrwxrwx 1 root root 18 Mar 11 08:33 189:4 -> ../bus/usb/001/005
508 0 lrwxrwxrwx 1 root root 18 Mar 11 08:33 189:5 -> ../bus/usb/001/006
777 0 lrwxrwxrwx 1 root root 18 Jun 23 19:48 189:7 -> ../bus/usb/001/008
582 0 lrwxrwxrwx 1 root root 6 Mar 11 08:33 1:1 -> ../mem
578 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 1:11 -> ../kmsg
586 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 1:3 -> ../null
587 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 1:4 -> ../port
592 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 1:5 -> ../zero
585 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 1:7 -> ../full
581 0 lrwxrwxrwx 1 root root 9 Mar 11 08:33 1:8 -> ../random
583 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 1:9 -> ../urandom
526 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 204:64 -> ../ttyAMA0
548 0 lrwxrwxrwx 1 root root 12 Mar 11 08:33 226:0 -> ../dri/card0
494 0 lrwxrwxrwx 1 root root 12 Mar 11 08:33 226:1 -> ../dri/card1
546 0 lrwxrwxrwx 1 root root 17 Mar 11 08:33 226:128 -> ../dri/renderD128
602 0 lrwxrwxrwx 1 root root 17 Mar 11 08:33 234:0 -> ../rpivid-h264mem
600 0 lrwxrwxrwx 1 root root 17 Mar 11 08:33 235:0 -> ../rpivid-intcmem
597 0 lrwxrwxrwx 1 root root 17 Mar 11 08:33 236:0 -> ../rpivid-hevcmem
497 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 239:0 -> ../vchiq
543 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 244:0 -> ../gpiomem
673 0 lrwxrwxrwx 1 root root 9 Mar 11 08:33 245:0 -> ../vc-mem
576 0 lrwxrwxrwx 1 root root 14 Mar 11 08:33 246:0 -> ../bsg/0:0:0:0
518 0 lrwxrwxrwx 1 root root 12 Mar 11 08:33 247:0 -> ../watchdog0
503 0 lrwxrwxrwx 1 root root 9 Mar 11 08:33 251:0 -> ../media0
500 0 lrwxrwxrwx 1 root root 9 Mar 11 08:33 251:1 -> ../media1
498 0 lrwxrwxrwx 1 root root 9 Mar 11 08:33 251:2 -> ../media2
580 0 lrwxrwxrwx 1 root root 18 Mar 11 08:33 253:0 -> ../dma_heap/system
577 0 lrwxrwxrwx 1 root root 21 Mar 11 08:33 253:1 -> ../dma_heap/linux,cma
511 0 lrwxrwxrwx 1 root root 12 Mar 11 08:33 254:0 -> ../gpiochip0
542 0 lrwxrwxrwx 1 root root 12 Mar 11 08:33 254:1 -> ../gpiochip1
517 0 lrwxrwxrwx 1 root root 12 Mar 11 08:33 254:2 -> ../gpiochip2
541 0 lrwxrwxrwx 1 root root 12 Mar 11 08:33 254:3 -> ../gpiochip3
621 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 4:0 -> ../tty0
638 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 4:1 -> ../tty1
606 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:10 -> ../tty10
608 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:11 -> ../tty11
605 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:12 -> ../tty12
609 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:13 -> ../tty13
636 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:14 -> ../tty14
610 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:15 -> ../tty15
611 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:16 -> ../tty16
613 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:17 -> ../tty17
616 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:18 -> ../tty18
618 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:19 -> ../tty19
644 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 4:2 -> ../tty2
619 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:20 -> ../tty20
622 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:21 -> ../tty21
615 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:22 -> ../tty22
617 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:23 -> ../tty23
626 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:24 -> ../tty24
620 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:25 -> ../tty25
635 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:26 -> ../tty26
631 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:27 -> ../tty27
639 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:28 -> ../tty28
627 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:29 -> ../tty29
640 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 4:3 -> ../tty3
641 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:30 -> ../tty30
634 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:31 -> ../tty31
629 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:32 -> ../tty32
632 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:33 -> ../tty33
633 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:34 -> ../tty34
630 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:35 -> ../tty35
628 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:36 -> ../tty36
678 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:37 -> ../tty37
685 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:38 -> ../tty38
637 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:39 -> ../tty39
648 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 4:4 -> ../tty4
649 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:40 -> ../tty40
642 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:41 -> ../tty41
645 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:42 -> ../tty42
643 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:43 -> ../tty43
646 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:44 -> ../tty44
647 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:45 -> ../tty45
674 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:46 -> ../tty46
681 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:47 -> ../tty47
683 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:48 -> ../tty48
680 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:49 -> ../tty49
684 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 4:5 -> ../tty5
654 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:50 -> ../tty50
687 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:51 -> ../tty51
659 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:52 -> ../tty52
655 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:53 -> ../tty53
653 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:54 -> ../tty54
658 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:55 -> ../tty55
660 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:56 -> ../tty56
657 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:57 -> ../tty57
656 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:58 -> ../tty58
664 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:59 -> ../tty59
662 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 4:6 -> ../tty6
661 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:60 -> ../tty60
663 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:61 -> ../tty61
665 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:62 -> ../tty62
666 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 4:63 -> ../tty63
688 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 4:7 -> ../tty7
690 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 4:8 -> ../tty8
667 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 4:9 -> ../tty9
604 0 lrwxrwxrwx 1 root root 16 Mar 11 08:33 511:0 -> ../rpivid-vp9mem
607 0 lrwxrwxrwx 1 root root 6 Mar 11 08:33 5:0 -> ../tty
614 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 5:1 -> ../console
612 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 5:2 -> ../ptmx
689 0 lrwxrwxrwx 1 root root 12 Mar 11 08:33 5:3 -> ../ttyprintk
675 0 lrwxrwxrwx 1 root root 6 Mar 11 08:33 7:0 -> ../vcs
686 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 7:1 -> ../vcs1
676 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 7:128 -> ../vcsa
677 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 7:129 -> ../vcsa1
747 0 lrwxrwxrwx 1 root root 8 Jun 23 16:06 7:130 -> ../vcsa2
756 0 lrwxrwxrwx 1 root root 8 Jun 23 16:06 7:131 -> ../vcsa3
758 0 lrwxrwxrwx 1 root root 8 Jun 23 16:06 7:132 -> ../vcsa4
762 0 lrwxrwxrwx 1 root root 8 Jun 23 16:06 7:133 -> ../vcsa5
764 0 lrwxrwxrwx 1 root root 8 Jun 23 16:06 7:134 -> ../vcsa6
750 0 lrwxrwxrwx 1 root root 7 Jun 23 16:06 7:2 -> ../vcs2
754 0 lrwxrwxrwx 1 root root 7 Jun 23 16:06 7:3 -> ../vcs3
755 0 lrwxrwxrwx 1 root root 7 Jun 23 16:06 7:4 -> ../vcs4
759 0 lrwxrwxrwx 1 root root 7 Jun 23 16:06 7:5 -> ../vcs5
761 0 lrwxrwxrwx 1 root root 7 Jun 23 16:06 7:6 -> ../vcs6
679 0 lrwxrwxrwx 1 root root 7 Mar 11 08:33 7:64 -> ../vcsu
682 0 lrwxrwxrwx 1 root root 8 Mar 11 08:33 7:65 -> ../vcsu1
746 0 lrwxrwxrwx 1 root root 8 Jun 23 16:06 7:66 -> ../vcsu2
753 0 lrwxrwxrwx 1 root root 8 Jun 23 16:06 7:67 -> ../vcsu3
757 0 lrwxrwxrwx 1 root root 8 Jun 23 16:06 7:68 -> ../vcsu4
760 0 lrwxrwxrwx 1 root root 8 Jun 23 16:06 7:69 -> ../vcsu5
763 0 lrwxrwxrwx 1 root root 8 Jun 23 16:06 7:70 -> ../vcsu6
530 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 81:0 -> ../video13
520 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 81:1 -> ../video10
524 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 81:10 -> ../video12
502 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 81:11 -> ../video18
534 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 81:12 -> ../video31
537 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 81:2 -> ../video14
540 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 81:3 -> ../video15
522 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 81:4 -> ../video16
515 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 81:5 -> ../video20
532 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 81:6 -> ../video21
538 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 81:7 -> ../video22
528 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 81:8 -> ../video23
513 0 lrwxrwxrwx 1 root root 10 Mar 11 08:33 81:9 -> ../video11
777 0 lrwxrwxrwx 1 root root 18 Jun 23 19:48 /dev/char/189:7 -> ../bus/usb/001/008
10 0 crw--w---- 1 root tty 136, 7 Jun 23 19:48 /dev/pts/7
total 0
129 0 drwxr-xr-x 2 root root 160 Jun 23 19:48 .
128 0 drwxr-xr-x 4 root root 80 Jan 1 1970 ..
130 0 crw-rw-r-- 1 root root 189, 0 Mar 11 08:33 001
141 0 crw-rw-r-- 1 root root 189, 1 Mar 11 08:33 002
142 0 crw-rw-r-- 1 root root 189, 2 Mar 11 08:33 003
144 0 crw-rw-r-- 1 root root 189, 4 Mar 11 08:33 005
145 0 crw-rw-r-- 1 root root 189, 5 Mar 11 08:33 006
775 0 crw-rw-r-- 1 root root 189, 7 Jun 23 19:48 008
775 0 crw-rw-r-- 1 root root 189, 7 Jun 23 19:48 /dev/bus/usb/001/008
88 0 crw-rw-rw- 1 root tty 5, 2 Jun 23 19:48 /dev/ptmx
[core-ssh tmp]$
y’a rien qui dise bluetooth …