Skip to content

Instantly share code, notes, and snippets.

@udibagas
Created September 4, 2017 07:52
Show Gist options
  • Save udibagas/c73091120a1896b535b63027451bf4b9 to your computer and use it in GitHub Desktop.
Save udibagas/c73091120a1896b535b63027451bf4b9 to your computer and use it in GitHub Desktop.
ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", KERNELS=="1-1.2", SYMLINK+="serial1"
ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", KERNELS=="1-1.3", SYMLINK+="serial2"
ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", KERNELS=="1-1.4", SYMLINK+="serial3"
ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", KERNELS=="1-1.5", SYMLINK+="serial4"
@udibagas
Copy link
Author

udibagas commented Sep 4, 2017

Letakkan di /etc/udev/rules.d/ kemudian sudo /etc/init.t/udev restart

@udibagas
Copy link
Author

udibagas commented Sep 16, 2017

dmesg

[33465.315195] usb 1-3: new full-speed USB device number 16 using xhci_hcd
[33465.486593] usb 1-3: New USB device found, idVendor=10c4, idProduct=ea60
[33465.486600] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[33465.486605] usb 1-3: Product: CP2102 USB to UART Bridge Controller
[33465.486609] usb 1-3: Manufacturer: Silicon Labs
[33465.486613] usb 1-3: SerialNumber: 0001
[33465.662432] usbcore: registered new interface driver usbserial
[33465.662513] usbcore: registered new interface driver usbserial_generic
[33465.662601] usbserial: USB Serial support registered for generic
[33465.681780] usbcore: registered new interface driver cp210x
[33465.681842] usbserial: USB Serial support registered for cp210x
[33465.681916] cp210x 1-3:1.0: cp210x converter detected
[33465.685121] usb 1-3: cp210x converter now attached to ttyUSB0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment