爲何龍芯版找不到串口設備
Tofloor
poster avatar
187******12
deepin
2017-06-01 00:52
Author
15。4,64bit,3a2000,串口設備接入 /dev下不顯示
而在15.1.1, 32bit, 3b1500或者x86都能找到ttyUSB0.

Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-06-01 16:56
#1
Reply View the author
avatar
jiuxian
deepin
2017-06-01 17:53
#2
好奇的问一下楼主,龙芯+Deepin用起来体验如何?
Reply View the author
avatar
kenshin
deepin
2017-06-01 23:17
#3
请问你使用的龙芯64位版本是什么时候的,可以cat /etc/deepin-version看看。我在V11-20170531版本上测试,能识别USB串口。你也可以通过查看内核配置, cat /boot/config-* |grep CONFIG_USB_SERIAL= 看看USB转串口当前内核是否支持。
Reply View the author
avatar
187******12
deepin
2017-06-02 03:05
#4
jiuxian 发表于 2017-6-1 09:53
好奇的问一下楼主,龙芯+Deepin用起来体验如何?

3a2000, 15.4,不注意會忘記在用龍芯,很流暢.
3b1500只能裝15.1.1,有點卡,像上網本
Reply View the author
avatar
187******12
deepin
2017-06-02 03:09
#5
kenshin 发表于 2017-6-1 15:17
请问你使用的龙芯64位版本是什么时候的,可以cat /etc/deepin-version看看。我在V11-20170531版本上测试, ...

5月的版本,dist uograde過。arduino單片機卻能識別為acm0.
出差在外,過幾天回去再試。
Reply View the author
avatar
187******12
deepin
2017-06-06 17:59
#6
cat /etc/deepin-version
[Release]
Version=15.4
Type=Desktop
Type[zh_CN]=桌面版

[Addition]
Milestone=
Install_version=V4-20170521

cat /boot/config-* |grep CONFIG_USB_SERIAL=
CONFIG_USB_SERIAL=m

Reply View the author
avatar
187******12
deepin
2017-06-06 18:06
#7
在x86機器上會顯示
cat /etc/deepin-version
[Release]
Version=15.4
Type=Desktop
Type[zh_CN]=桌面版

[Addition]
Milestone=
cat /boot/config-* |grep CONFIG_USB_SERIAL=
CONFIG_USB_SERIAL=m
CONFIG_USB_SERIAL=m

udevadm info /dev/ttyUSB0
P: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/ttyUSB0/tty/ttyUSB0
N: ttyUSB0
S: serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
S: serial/by-path/pci-0000:00:1d.0-usb-0:1.1:1.0-port0
E: DEVLINKS=/dev/serial/by-path/pci-0000:00:1d.0-usb-0:1.1:1.0-port0 /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
E: DEVNAME=/dev/ttyUSB0
E: DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/ttyUSB0/tty/ttyUSB0
E: ID_BUS=usb
E: ID_MM_CANDIDATE=1
E: ID_MODEL=CP2102_USB_to_UART_Bridge_Controller
E: ID_MODEL_ENC=CP2102\x20USB\x20to\x20UART\x20Bridge\x20Controller
E: ID_MODEL_FROM_DATABASE=CP210x UART Bridge / myAVR mySmartUSB light
E: ID_MODEL_ID=ea60
E: ID_PATH=pci-0000:00:1d.0-usb-0:1.1:1.0
E: ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_1_1_0
E: ID_PCI_CLASS_FROM_DATABASE=Serial bus controller
E: ID_PCI_INTERFACE_FROM_DATABASE=EHCI
E: ID_PCI_SUBCLASS_FROM_DATABASE=USB controller
E: ID_REVISION=0100
E: ID_SERIAL=Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001
E: ID_SERIAL_SHORT=0001
E: ID_TYPE=generic
E: ID_USB_DRIVER=cp210x
E: ID_USB_INTERFACES=:ff0000:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=Silicon_Labs
E: ID_VENDOR_ENC=Silicon\x20Labs
E: ID_VENDOR_FROM_DATABASE=Cygnal Integrated Products, Inc.
E: ID_VENDOR_ID=10c4
E: MAJOR=188
E: MINOR=0
E: SUBSYSTEM=tty
E: TAGS=:systemd:
E: USEC_INITIALIZED=5090891602
Reply View the author
avatar
187******12
deepin
2017-06-07 17:48
#8
本帖最后由 cyberhero 于 2017-6-7 10:19 编辑

/etc/udev/rules.d下是空的,是不是應該建個文件寫個規則
lsusb可以找到
Bus 005 Device 005: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light

udevadm monitormonitor will print the received events for:UDEV - the event which udev sends out after rule processingKERNEL - the kernel ueventKERNEL[3428.438538] remove   /devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0 (usb)KERNEL[3428.438729] remove   /devices/pci0000:00/0000:00:13.0/usb5/5-2 (usb)UDEV  [3428.442048] remove   /devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0 (usb)UDEV  [3428.442988] remove   /devices/pci0000:00/0000:00:13.0/usb5/5-2 (usb)KERNEL[3434.524682] add      /devices/pci0000:00/0000:00:13.0/usb5/5-2 (usb)KERNEL[3434.528367] add      /devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0 (usb)UDEV  [3434.541550] add      /devices/pci0000:00/0000:00:13.0/usb5/5-2 (usb)UDEV  [3434.547200] add      /devices/pci0000:00/0000:00:13.0/usb5/5-2/5-2:1.0 (usb)
Reply View the author
avatar
187******12
deepin
2017-06-08 19:17
#9
https://bbs.deepin.org/post/140341
请问你使用的龙芯64位版本是什么时候的,可以cat /etc/deepin-version看看。我在V11-20170531版本上测试, ...

重裝了32位15.1.1 的DepinV15ForLoongson3A2000_2017-02-16.iso  仍然不出現ttyUSB0
Reply View the author
avatar
187******12
deepin
2017-06-09 01:02
#10

只有安裝買機器附帶的優盤裏的deepin build 186,才能出現ttyUSB0,說明後續版本都有問題。
Reply View the author
avatar
shenjing
deepin
2017-06-13 22:18
#11
https://bbs.deepin.org/post/140341
只有安裝買機器附帶的優盤裏的deepin build 186,才能出現ttyUSB0,說明後續版本都有問題。 ...

试试这个版本内吧。http://rsync.deepin.com/deepin-cd/loongson/2017-05-31-mips64el/
安装完成后,也可以通过命令升级到最新的系统sudo apt-get update ; sudo apt-get dist-upgrade
Reply View the author