우분투 22.04를 사용하고 있습니다.
방금 CC2652RB USB Zigbee를 구입했습니다(https://slae.sh/projects/cc2652/) 그러나 내 우분투에서는 폴더를 생성하지 않습니다 /dev/serial
.
이것이 sudo lsusb -d 10c4:ea60 -v
출력 이다
Bus 001 Device 010: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x10c4 Silicon Labs
idProduct 0xea60 CP210x UART Bridge
bcdDevice 1.00
iManufacturer 1 Silicon Labs
iProduct 2 slae.sh cc2652rb stick - slaesh's iot stuff
iSerial 3 00_12_4B_00_23_93_25_9F
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0020
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 2 slae.sh cc2652rb stick - slaesh's iot stuff
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
인정받는 것 같은 기분이 들어요... 알겠죠?
편집하다
sudo dmesg
[ 8907.724914] usb 1-2: new full-speed USB device number 12 using xhci_hcd
[ 8907.876075] usb 1-2: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[ 8907.876084] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8907.876087] usb 1-2: Product: slae.sh cc2652rb stick - slaesh's iot stuff
[ 8907.876090] usb 1-2: Manufacturer: Silicon Labs
[ 8907.876092] usb 1-2: SerialNumber: 00_12_4B_00_23_93_25_9F
[ 8907.879007] cp210x 1-2:1.0: cp210x converter detected
[ 8907.881809] usb 1-2: cp210x converter now attached to ttyUSB0
[ 8909.071926] usb 1-2: usbfs: interface 0 claimed by cp210x while 'brltty' sets config #1
[ 8909.072514] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
[ 8909.072552] cp210x 1-2:1.0: device disconnected
해결되었습니다!
sudo apt-get remove --auto-remove brltty
brltty는 점자 TTY입니다.
답변1
해결되었습니다!
sudo apt-get remove --auto-remove brltty
brltty는 점자 TTY입니다.
sudo dmesg
[ 8907.724914] usb 1-2: new full-speed USB device number 12 using xhci_hcd
[ 8907.876075] usb 1-2: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[ 8907.876084] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8907.876087] usb 1-2: Product: slae.sh cc2652rb stick - slaesh's iot stuff
[ 8907.876090] usb 1-2: Manufacturer: Silicon Labs
[ 8907.876092] usb 1-2: SerialNumber: 00_12_4B_00_23_93_25_9F
[ 8907.879007] cp210x 1-2:1.0: cp210x converter detected
[ 8907.881809] usb 1-2: cp210x converter now attached to ttyUSB0
[ 8909.071926] usb 1-2: usbfs: interface 0 claimed by cp210x while 'brltty' sets config #1
[ 8909.072514] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
[ 8909.072552] cp210x 1-2:1.0: device disconnected