*** tpb has joined #timvideos | 00:00 | |
*** cr1901_modern has quit IRC | 03:05 | |
*** cr1901_modern has joined #timvideos | 03:16 | |
*** Bertl_oO is now known as Bertl_zZ | 04:27 | |
mithro | cr1901_modern: ping? | 05:13 |
---|---|---|
mithro | cr1901_modern: Have you use libusb under Windows? | 05:13 |
cr1901_modern | mithro: Yes, you need to install libusbk for it to work b/c Windows is broken in this respect. Google Zadig for an installer. | 05:26 |
*** Evan has joined #timvideos | 06:09 | |
*** Evan is now known as Guest22054 | 06:10 | |
Guest22054 | @cr1901_modern I attempted to get libusb running on windows but had problems. This is what I tried | 06:10 |
Guest22054 | https://github.com/timvideos/HDMI2USB-mode-switch/issues/37 | 06:10 |
tpb | Title: Attempts at running on windows · Issue #37 · timvideos/HDMI2USB-mode-switch · GitHub (at github.com) | 06:10 |
CarlFK | mithro: do you have some time to help me figure out why modeswitch is throwing assert errors ? | 06:11 |
cr1901_modern | Guest22054: I've never seen anything of the sort, believe it or not | 06:11 |
Guest22054 | What version of windows are you on? | 06:15 |
Guest22054 | or am I just installing it the wrong way cr1901_modern | 06:15 |
cr1901_modern | I'm using 7, and not sure what the issue is; I've never used pyusb | 06:17 |
Guest22054 | pyusb requires libusb which there is a windows port of called libusb-win32 which won't install properlly on my system | 06:25 |
Guest22054 | supposedly its broken for windows 10 | 06:25 |
*** Flandre has joined #timvideos | 06:51 | |
Flandre | o7 | 06:53 |
*** Flandre is now known as evilRails | 06:53 | |
*** Guest22054 has quit IRC | 07:05 | |
CarlFK | mithro: never mind. modeswitch is broken. | 08:51 |
CarlFK | er, maybe not. you haven't merged your pat | 08:53 |
CarlFK | yes, it is so. | 08:56 |
CarlFK | AssertionError: b'f' (b'f') != b'\x00' (b'\x00') | 08:56 |
CarlFK | 0900 f00f f00f f00f f00f 0000 6101 3700 | 08:56 |
CarlFK | 0009 0FF0 0FF0 0FF0 0FF0 0000 01 | 08:56 |
evilRails | Good ole foof | 09:15 |
evilRails | Hows the sprints goin? | 09:22 |
*** CarlFK has quit IRC | 10:06 | |
*** puck has quit IRC | 10:10 | |
*** puck has joined #timvideos | 10:10 | |
*** Bertl_zZ is now known as Bertl | 11:13 | |
*** Bertl is now known as Bertl_oO | 13:01 | |
*** cr1901_modern1 has joined #timvideos | 14:11 | |
*** cr1901_modern has quit IRC | 14:13 | |
*** cr1901_modern1 is now known as cr1901_modern | 14:20 | |
*** CarlFK has joined #timvideos | 15:24 | |
*** ChanServ sets mode: +v CarlFK | 15:24 | |
*** rohitksingh has joined #timvideos | 15:46 | |
CarlFK | mithro: fix modeswitch please | 15:56 |
*** evilRails has quit IRC | 16:14 | |
*** rohitksingh has quit IRC | 17:07 | |
*** rohitksingh has joined #timvideos | 17:22 | |
*** Sajuuk has joined #timvideos | 19:59 | |
Sajuuk | good evening, I am wondering if there is anyone about who wouldn't mind having their mind picked regarding a revision 2.2 Numato Opsis board. Having trouble, i think, with talking to it via serial | 20:00 |
CarlFK | Sajuuk: hi. | 20:01 |
Sajuuk | hey | 20:01 |
CarlFK | you are welcome to pick but I may not have much to offer. | 20:01 |
Sajuuk | so, i think i've been following the instructions on the HDMI2USB-misoc-firmware / scripts readme, and have gotten to the point were i'd like to be able to send commands to the board, but, the board doesn't present any serial devices to the OS | 20:02 |
Sajuuk | would you happen to know any common things to check, or do, in this case4 | 20:02 |
CarlFK | Sajuuk: URL of readme? | 20:02 |
Sajuuk | https://github.com/timvideos/HDMI2USB-misoc-firmware | 20:03 |
tpb | Title: GitHub - timvideos/HDMI2USB-misoc-firmware: A version of the HDMI2USB firmware based around the misoc+migen tools produced by m-labs. (at github.com) | 20:03 |
CarlFK | Sajuuk: well.. that doesn't really have instructions | 20:04 |
Sajuuk | ...... | 20:04 |
Sajuuk | my bad | 20:04 |
Sajuuk | https://github.com/timvideos/HDMI2USB-misoc-firmware/tree/master/scripts | 20:04 |
tpb | Title: HDMI2USB-misoc-firmware/scripts at master · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 20:04 |
CarlFK | thats better. this is what I call the developer path. | 20:05 |
Sajuuk | ... is this the path i should be taking? ;) | 20:06 |
Sajuuk | there's a group of us pondering over this board atm | 20:06 |
CarlFK | do you want to hack on the code or use the device ? | 20:07 |
Sajuuk | use the device | 20:07 |
CarlFK | me too. | 20:07 |
CarlFK | so I don't do that. | 20:08 |
Sajuuk | ah. so where would i find the non-developer path.... | 20:08 |
*** rohitksingh has quit IRC | 20:08 | |
CarlFK | however, in the last few days we have changed some things.. and now thats broken (I think) | 20:08 |
Sajuuk | oh dear | 20:08 |
CarlFK | I just tracked down the problem 12 hours ago.... | 20:09 |
CarlFK | you have an Opsis board? | 20:10 |
Sajuuk | yep | 20:10 |
CarlFK | (not Atlys prototype) | 20:10 |
Sajuuk | no, not an Atlys | 20:11 |
CarlFK | ok, it should power up and be functional without updating the firmware | 20:11 |
Sajuuk | indeeds, the owner believed it was, but we can't seem to figure it out now, and were attempting to use that documentation as our guide | 20:11 |
CarlFK | both of the hdmi outputs should send a 720p test pattern (color bars) | 20:12 |
CarlFK | can you confirm that works? | 20:13 |
Sajuuk | we are setting that now :) | 20:13 |
Sajuuk | *up | 20:13 |
CarlFK | and again.. I am involved, but more as a user. so things may come to an abrupt halt and I say "um.. wait for someone else to come on line" | 20:14 |
Sajuuk | ah yes, we get the test bars from the hdmi outputs | 20:15 |
Sajuuk | thats fine :D | 20:15 |
CarlFK | yay. | 20:15 |
Sajuuk | its a start at least | 20:15 |
CarlFK | usb - what OS? | 20:16 |
CarlFK | are you plugging it into | 20:16 |
Sajuuk | kubuntu...... something | 20:16 |
CarlFK | good. | 20:17 |
CarlFK | if I say pastebin lsusb, you know what to do? | 20:17 |
Sajuuk | sure, one moment | 20:17 |
CarlFK | https://github.com/timvideos/HDMI2USB/wiki/USB-IDs | 20:19 |
tpb | Title: USB IDs · timvideos/HDMI2USB Wiki · GitHub (at github.com) | 20:19 |
CarlFK | brb | 20:19 |
Sajuuk | pastebin.com/TMy7zQd4 | 20:19 |
* Sajuuk one will look at link | 20:20 | |
CarlFK | back | 20:24 |
Sajuuk | it would appear we have a hit on ixo-usb-jtag | 20:24 |
CarlFK | oh right! | 20:25 |
* CarlFK crys | 20:25 | |
CarlFK | unplug usb | 20:25 |
Sajuuk | oh dear... | 20:25 |
Sajuuk | which one? | 20:25 |
CarlFK | power cycle | 20:25 |
CarlFK | either side | 20:25 |
CarlFK | computer side so you aren't poking the Opsis board as much | 20:26 |
CarlFK | power off the opsis, wait 10 seconds (or some ridiculous amount of time in computer years) | 20:26 |
CarlFK | power on the the opsis, wait 30 seconds, yes 30... | 20:26 |
CarlFK | then plug in the usb cable. | 20:27 |
Sajuuk | ah | 20:27 |
Sajuuk | will recycle and wait that time :) | 20:27 |
CarlFK | lsusb. you should get different IDs | 20:27 |
CarlFK | when the Opsis first powers up, it (some verb) a usb id that somehow says "hey, if you need to fix me, now is the time!" | 20:28 |
CarlFK | and on the linux box, a udev rule kicks in "ok, here we go!" and uploads some boot strappy whatever blob | 20:28 |
CarlFK | and the Opsis says "thanks! now you can fix me!" and waits for more firmwar | 20:29 |
CarlFK | at least this is what I have concluded. | 20:29 |
Sajuuk | neat! | 20:30 |
Sajuuk | well, we've done the cycle, and have gotten a different ID, although it doesn't fully match a list item | 20:30 |
Sajuuk | 2A19 - 5442 | 20:31 |
CarlFK | looking | 20:31 |
Sajuuk | oh! video0 has appeared in /dev! | 20:31 |
CarlFK | yay! | 20:31 |
CarlFK | dmesg | 20:31 |
CarlFK | you should have a /dev/tty something... looking it up | 20:32 |
Sajuuk | awesome. At least thats a start, and we can skip faffing about with compiling firmwares :D | 20:34 |
Sajuuk | we're being kicked out of our workspace atm, 2130 local time, so i'd liked to thank you for the help. If you happen to know of any documentation we should take a look at for the 'usage' route rather then the 'dev' route, that'd be a great help | 20:35 |
CarlFK | /dev/ttyACM0 | 20:37 |
CarlFK | Sajuuk: well, I am the one that has written it ;) | 20:38 |
Sajuuk | okay, we'll take a look for that appearing | 20:38 |
Sajuuk | :D | 20:38 |
CarlFK | and really it is just my notes here and there that I try to put somewhere so I can find them later | 20:38 |
CarlFK | and there are too many places to put such things, so .. chaos | 20:39 |
Sajuuk | yep, ttyACM0 has appeare | 20:39 |
Sajuuk | d | 20:39 |
CarlFK | best bet is to hop in here | 20:39 |
CarlFK | cat ~/.minirc.dfl | 20:39 |
CarlFK | pu port /dev/ttyACM0 | 20:39 |
CarlFK | pu addcarreturn Yes | 20:39 |
CarlFK | create that 2 line file | 20:39 |
CarlFK | apt install minicom | 20:40 |
CarlFK | minicom | 20:40 |
CarlFK | that should get you an hdmi2usb> prompt (may need to hit enter) | 20:40 |
Sajuuk | ah, so we can serial minicom over that.... 115200? | 20:40 |
CarlFK | help will get you a screen full of help | 20:40 |
CarlFK | something like that. those are my 2 lines, everything else default | 20:41 |
Sajuuk | neat. Thank you very much! | 20:42 |
Sajuuk | that's at least given us a great ending to the last 4hrs :D | 20:42 |
CarlFK | :) | 20:42 |
*** Bertl_oO is now known as Bertl_zZ | 22:29 | |
mithro | CarlFK: that issue with mode switch above looks like an endian issue. Can you confirm it happens on x86 to? | 22:47 |
CarlFK | mithro: it does. on my x86, it was working, git pull, got updates, now broken | 22:47 |
mithro | CarlFK: well, tell me which commit broke it and it'll be much faster for me to fix | 22:48 |
CarlFK | mithro: what is the git command to back up a rev? | 22:50 |
mithro | Git reset --hard HEAD~1 | 23:03 |
mithro | Lmfgtfy.... | 23:03 |
CarlFK | mithro: HEAD is now at fa2e997 Merge pull request #18 from mithro/master | 23:22 |
mithro | CarlFK: hrm? | 23:23 |
CarlFK | I think that is the last rev tat works | 23:23 |
mithro | CarlFK: you can also just open gitk and do a reset | 23:23 |
mithro | CarlFK: Okay, if it works on the commit before and not that one | 23:34 |
CarlFK | mithro: no - it does work on that one, does not work on the one after it | 23:35 |
mithro | CarlFK: okay - will fix shortly | 23:35 |
mithro | _florent_: ping? | 23:46 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!