Skip to content

Failed to open device #13

@jzhou404

Description

@jzhou404

请教:ArcLinux下

[auruser@arclinux ~]$ ls -l /usr/share/ufprog/device
total 36
-rw-r--r-- 1 root root 153 Oct 11 09:25 ch341-libusb.json
-rw-r--r-- 1 root root 176 Oct 11 09:25 ch347f-libusb.json
-rw-r--r-- 1 root root 150 Oct 11 09:25 ch347-hid.json
-rw-r--r-- 1 root root 212 Oct 11 09:25 ch347-libusb.json
-rw-r--r-- 1 root root 176 Oct 11 09:25 ch347t-libusb.json
-rw-r--r-- 1 root root 190 Oct 11 09:25 ft2232h-libusb.json
-rw-r--r-- 1 root root 169 Oct 11 09:25 ft232h-libusb.json
-rw-r--r-- 1 root root 265 Oct 11 09:25 ft4222h-libusb.json
-rw-r--r-- 1 root root 190 Oct 11 09:25 ft4232h-libusb.json

=========================================
CH347T

dmesg

[ 2017.278390] usb 1-9: new high-speed USB device number 6 using xhci_hcd
[ 2017.401810] usb 1-9: New USB device found, idVendor=1a86, idProduct=55db, bcdDevice= 5.44
[ 2017.401823] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2017.401829] usb 1-9: Product: USB To UART+SPI+I2C
[ 2017.401834] usb 1-9: Manufacturer: wch.cn
[ 2017.401838] usb 1-9: SerialNumber: 0123456789
[ 2017.405370] cdc_acm 1-9:1.0: ttyACM0: USB ACM device

========================================

錯誤信息- SPI是在支持list里的, 普通用户运行

[auruser@arclinux ~]$ ufsnorprog dev=ch347-libusb read 001.bin
Universal flash programmer for SPI-NOR 1.0
Author: Weijie Gao [email protected]

[ERROR] No interface device named 'ch347-libusb' could be opened
Failed to open device 'ch347-libusb'

[auruser@arclinux ~]$ ufsnorprog dev=ch347t-libusb read 001.bin
Universal flash programmer for SPI-NOR 1.0
Author: Weijie Gao [email protected]

[ERROR] No interface device named 'ch347t-libusb' could be opened
Failed to open device 'ch347t-libusb'

谢谢。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions