Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atlys needs ttyVIZx #6

Open
CarlFK opened this issue Jul 5, 2019 · 0 comments
Open

Atlys needs ttyVIZx #6

CarlFK opened this issue Jul 5, 2019 · 0 comments

Comments

@CarlFK
Copy link

CarlFK commented Jul 5, 2019

Atlys rules create links to ttyACM1, should be ttyVIZ0

pi@oppi:~/litex-buildenv-jenkins/hdmi2usb/tests $ tree /dev/hdmi2usb/
/dev/hdmi2usb/ [error opening dir]

0 directories, 0 files
pi@oppi:~/litex-buildenv-jenkins/hdmi2usb/tests $ atlys-on.sh 

[18630.594340] usb 1-1.3.3: new full-speed USB device number 23 using dwc_otg
[18630.827147] usb 1-1.3.3: New USB device found, idVendor=04e2, idProduct=1410, bcdDevice= 0.03
[18630.827174] usb 1-1.3.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[18630.833618] cdc_acm 1-1.3.3:1.0: ttyACM1: USB ACM device
[18631.044391] usb 1-1.3.4: new high-speed USB device number 24 using dwc_otg
[18631.275259] usb 1-1.3.4: config 1 interface 0 altsetting 0 bulk endpoint 0x1 has invalid maxpacket 64
[18631.275290] usb 1-1.3.4: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 64
[18631.276328] usb 1-1.3.4: string descriptor 0 read error: -32
[18631.276365] usb 1-1.3.4: New USB device found, idVendor=1443, idProduct=0007, bcdDevice= 0.00
[18631.276382] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18631.447052] vizzini 1-1.3.3:1.0: This device cannot do calls on its own. It is not a modem.
[18631.447205] vizzini 1-1.3.3:1.0: ttyVIZ0: XR21v14x usb uart device

pi@oppi:~/litex-buildenv-jenkins/hdmi2usb/tests $ tree /dev/hdmi2usb/
/dev/hdmi2usb/
├── by-num
│   ├── all0
│   │   └── usbdev -> ../../../bus/usb/001/021
│   └── atlys0
│       └── usbdev -> ../../../bus/usb/001/021
└── by-path
    └── usb.bus1.port1-hub.port3-hub.port4
        └── usbdev -> ../../../bus/usb/001/021

5 directories, 3 files

pi@oppi:~/litex-buildenv-jenkins/hdmi2usb/tests $ ./load-fx2.sh 
WARNING:root:unbind-helper not found, will have to run as root!
 Found exart-uarts at [LsusbDevice(04e2:1410:0003 /dev/bus/usb/001/020)] associating with Atlys at [Board(dev=LsusbDevice(1443:0007:0000 /dev/bus/usb/001/021), type='atlys', state='unconfigured')]
Digilent Atlys in 'unconfigured' mode at /dev/bus/usb/001/021
 /sys/bus/usb/devices/1-1.3.4
 /sys/bus/usb/devices/1-1.3.4:1.0
 Serial port at /dev/ttyVIZ0
My root dir: /home/pi/HDMI2USB-mode-switch/venv/lib/python3.5/site-packages/hdmi2usb.modeswitch-0.0.1.post39-py3.5.egg/hdmi2usb/modeswitch
 Found exart-uarts at [LsusbDevice(04e2:1410:0003 /dev/bus/usb/001/020)] associating with Atlys at [Board(dev=LsusbDevice(1443:0007:0000 /dev/bus/usb/001/021), type='atlys', state='unconfigured')]
Digilent Atlys in 'unconfigured' mode at /dev/bus/usb/001/021
 /sys/bus/usb/devices/1-1.3.4
 /sys/bus/usb/devices/1-1.3.4:1.0
 Serial port at /dev/ttyVIZ0
Using FX2 firmware hdmi2usb.hex
Running 'fxload -t fx2lp -D /dev/bus/usb/001/021 -I /home/pi/prebuilt/hdmi2usb.hex -v'


[18698.751836] usb 1-1.3.4: USB disconnect, device number 24
[18700.428117] usb 1-1.3.4: new high-speed USB device number 25 using dwc_otg
[18700.659008] usb 1-1.3.4: config 1 interface 2 altsetting 0 endpoint 0x81 has an invalid bInterval 64, changing to 10
[18700.659939] usb 1-1.3.4: New USB device found, idVendor=1d50, idProduct=60b7, bcdDevice= 0.02
[18700.659961] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[18700.659973] usb 1-1.3.4: Product: HDMI2USB.tv - Numato Opsis Board
[18700.659984] usb 1-1.3.4: Manufacturer: TimVideos.us
[18700.659995] usb 1-1.3.4: SerialNumber: 0123456789abcdef
[18700.666000] uvcvideo: Found UVC 1.00 device HDMI2USB.tv - Numato Opsis Board (1d50:60b7)
[18700.666444] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[18700.667749] uvcvideo 1-1.3.4:1.0: Entity type for entity Extension 3 was not initialized!
[18700.667778] uvcvideo 1-1.3.4:1.0: Entity type for entity Processing 2 was not initialized!
[18700.667799] uvcvideo 1-1.3.4:1.0: Entity type for entity Camera 1 was not initialized!
[18700.705211] cdc_acm 1-1.3.4:1.2: ttyACM1: USB ACM device


pi@oppi:~/litex-buildenv-jenkins/hdmi2usb/tests $ tree /dev/hdmi2usb/
/dev/hdmi2usb/
├── by-num
│   ├── all0
│   │   ├── tty0 -> ../../../ttyACM1
│   │   ├── usbdev -> ../../../bus/usb/001/022
│   │   └── video -> ../../../video1
│   └── atlys0
│       ├── tty0 -> ../../../ttyACM1
│       ├── usbdev -> ../../../bus/usb/001/022
│       └── video -> ../../../video1
├── by-path
│   ├── platform-20980000.usb-usb-0:1.3.4:1.0
│   │   └── video -> ../../../video1
│   ├── platform-20980000.usb-usb-0:1.3.4:1.2
│   │   └── tty0 -> ../../../ttyACM1
│   └── usb.bus1.port1-hub.port3-hub.port4
│       ├── tty0 -> ../../../ttyACM1
│       ├── usbdev -> ../../../bus/usb/001/022
│       └── video -> ../../../video1
└── by-serial
    └── 0123456789abcdef
        ├── tty0 -> ../../../ttyACM1
        ├── usbdev -> ../../../bus/usb/001/022
        └── video -> ../../../video1


pi@oppi:~/litex-buildenv-jenkins/hdmi2usb/tests $ tio /dev/ttyACM1 
[tio 07:17:47] tio v1.20
[tio 07:17:47] Press ctrl-t q to quit
[tio 07:17:47] Connected
[tio 07:17:52] Disconnected
pi@oppi:~/litex-buildenv-jenkins/hdmi2usb/tests $ tio /dev/ttyVIZ0 
[tio 07:18:06] tio v1.20
[tio 07:18:06] Press ctrl-t q to quit
[tio 07:18:06] Connected
H2U 00:03:08>C�C3^N^*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant