*** tpb has joined #timvideos | 00:00 | |
*** sb0 has joined #timvideos | 00:24 | |
*** panther has joined #timvideos | 02:10 | |
*** panther is now known as sab_123 | 02:10 | |
sab_123 | Hi | 02:10 |
---|---|---|
*** rohitksingh_work has joined #timvideos | 04:34 | |
*** panther_ has joined #timvideos | 04:44 | |
*** sab_123 has quit IRC | 04:47 | |
*** aom_ has joined #timvideos | 05:21 | |
*** ssk1328 has joined #timvideos | 06:06 | |
ssk1328 | mithro: For hdmi2usb-mode-switch, I don't understand what exactly should I run at command line. | 06:10 |
mithro | https://github.com/mithro/HDMI2USB-misoc-firmware/blob/docs-scripts-update/scripts/README.md#jtag-mode | 06:11 |
tpb | Title: HDMI2USB-misoc-firmware/README.md at docs-scripts-update · mithro/HDMI2USB-misoc-firmware · GitHub (at github.com) | 06:11 |
ssk1328 | mithro: I downloaded the cleanup branch | 06:12 |
mithro | ssk1328: and you took a look at the makefile? | 06:12 |
ssk1328 | mithro: But I am supposed to run hdmi2usb-mode-switch.py file | 06:15 |
ssk1328 | mithro: I am not sure what to look for in make file | 06:15 |
*** se6astian|away is now known as se6astian | 06:16 | |
mithro | ssk1328: you downloaded the cleanup branch and find no instructions or hdmi2usb-mode-switch file - where would you start looking? | 06:16 |
ssk1328 | mithro: Okay, the make file | 06:17 |
ssk1328 | But, the instructions say I am supposed to run something like, hdmi2usb-mode-switch --mode=jtag | 06:17 |
ssk1328 | How exactly do I do that? | 06:18 |
mithro | ssk1328: I'd like you to look a little bit more before I give you more instructions | 06:19 |
ssk1328 | mithro: Ok, I will try | 06:21 |
*** Bertl_oO is now known as Bertl_zZ | 06:26 | |
mithro | ssk1328: so, talk me through what you are trying? | 06:27 |
ssk1328 | mithro: In the cleanup branch, I ran setup.py file | 06:27 |
mithro | ssk1328: why? | 06:27 |
ssk1328 | mithro: I thought the modeswitch can be done using this file | 06:29 |
mithro | ssk1328: but you had a reason to think that, right? | 06:30 |
ssk1328 | mithro: Not really sure here. Earlier I was running a python file, so I ran this to see what this file does | 06:31 |
ssk1328 | mithro: Also the makefile didn't have anything for hdmi2usb-mode-switch | 06:32 |
mithro | ssk1328: Did you type some of the commands in the Makefile? Why / why not? | 06:36 |
ssk1328 | mithro: Some commands require a hdmi2usb-mode-switch.py file | 06:39 |
mithro | s/type/try/ | 06:39 |
ssk1328 | mithro: Not really sure what the above means? | 06:42 |
mithro | ssk1328: Did you try some of the targets in the Makefile? | 06:42 |
ssk1328 | mithro: I tried make test | 06:43 |
mithro | ssk1328: what happened? | 06:43 |
ssk1328 | I get ImportError: No module named usb | 06:43 |
ssk1328 | wait i will pastebin the whole thing | 06:44 |
ssk1328 | http://pastebin.com/bgZqwEM7 | 06:45 |
tpb | Title: shashank@Shashank-PC:~/Desktop/GSoC/Untitled Folder/HDMI2USB-mode-switch-cleanup - Pastebin.com (at pastebin.com) | 06:45 |
mithro | ssk1328: okay, so the test failed complaining about something to do with a missing usb module - does anything in this file also talk about usb modules or installing them? | 06:47 |
ssk1328 | mithro: So the make test is basically running the test.py file in hdmi2usb/modeswitch/test.py | 06:48 |
mithro | ssk1328: yes | 06:49 |
ssk1328 | And the test.py file is importing libusb and lsusb | 06:49 |
mithro | ssk1328: but it failing with an error about a missing usb module | 06:49 |
ssk1328 | Yeah and the libusb.py is doing import usb | 06:50 |
mithro | ssk1328: yes | 06:51 |
ssk1328 | mithro: I guess python doesn't have required usb libaries | 06:51 |
mithro | ssk1328: So, does anything in this file look like it might be setting up an environment which has a usb module installed? | 06:51 |
ssk1328 | mithro: The find_usb_devices function | 06:54 |
mithro | ssk1328: so, why did you leave the Makefile? | 06:55 |
ssk1328 | It is using usb.busses(), so import usb is required for this fucntion | 06:55 |
ssk1328 | mithro: I was not sure how to use it for hdmi2usb-mode-switch | 06:57 |
mithro | ssk1328: so, you try the test target in the Makefile and it failed with an error | 06:57 |
ssk1328 | Yeah | 06:57 |
mithro | ssk1328: did you look at anything else in the Makefile? | 06:57 |
ssk1328 | mithro: I treid make read-dna, but there was not hdmi2usb-mode-switch.py file | 06:59 |
mithro | ssk1328: okay, that is two targets in this file | 06:59 |
ssk1328 | mithro: I guess I need to run make conda to install the requied usbmodules | 06:59 |
ssk1328 | And other packages first | 07:00 |
mithro | ssk1328: okay, so have you tried that? | 07:01 |
ssk1328 | I just did, I guess it will take some time to complete | 07:02 |
*** CarlFK has quit IRC | 07:08 | |
mithro | ssk1328: so, I hope you are working on other things while you wait for that to download | 07:29 |
ssk1328 | mithro: So I encountered some more erros :( | 07:29 |
mithro | ssk1328: so, what are they? | 07:29 |
mithro | ssk1328: and what are you doing to figure out what is causing them? | 07:29 |
ssk1328 | So in the make conda when it runs this ./Miniconda3-latest-Linux-x86_64.sh -p conda -b | 07:30 |
ssk1328 | http://pastebin.com/SnH9ABYY | 07:32 |
tpb | Title: shashank@Shashank-PC:~/Desktop/GSoC/Untitled Folder/HDMI2USB-mode-switch-cleanup - Pastebin.com (at pastebin.com) | 07:32 |
mithro | ssk1328: looks like something went wrong when downloading | 07:36 |
ssk1328 | mithro: I have tried this 3-4 times | 07:36 |
mithro | ssk1328: do a "rm -rf conda; rm Miniconda3-latest-Linux-x86_64.sh" and try again | 07:36 |
ssk1328 | mithro: Trying this one more time | 07:38 |
mithro | ssk1328: did you remove that Miniconda3-latest-Linux file and retried? | 07:39 |
ssk1328 | Yeah, I did make clean-conda before trying again | 07:39 |
mithro | You can take a look at https://repo.continuum.io/miniconda/ and check the md5sum matches too | 07:40 |
tpb | Title: Miniconda installer archive (at repo.continuum.io) | 07:40 |
ssk1328 | mithro: The checksum is OK | 07:47 |
mithro | ssk1328: okay | 07:47 |
mithro | and you are still getting the same error? | 07:47 |
ssk1328 | Yeah | 07:47 |
mithro | oh | 07:48 |
mithro | why do you have a space in your folder name? | 07:48 |
ssk1328 | mithro: Didn't rename it. | 07:49 |
mithro | ssk1328: spaces are bad | 07:49 |
ssk1328 | mithro: I am gonna try once more. | 07:49 |
ssk1328 | without the spaces | 07:49 |
ssk1328 | mithro: The previous errors were resolved | 08:01 |
ssk1328 | mithro: Also make test returns with a OK | 08:01 |
mithro | ssk1328: well, that is a lesson you hopefully only need to learn once :) - spaces are evil, plus name things from the start | 08:01 |
ssk1328 | mithro: Yeah | 08:02 |
ssk1328 | mithro: I still dont understand how to switch modes from here | 08:02 |
mithro | ssk1328: okay, so "make test" seems to work right? so you've made some progress | 08:04 |
ssk1328 | mithro: Yeah. Finally. | 08:04 |
ssk1328 | also read-dna doesn' work as the required.py file is not here | 08:05 |
mithro | ssk1328: when you ran the "make conda" did you notice anything in the output there? | 08:06 |
mithro | Say a line which might have looked like | 08:06 |
mithro | Installing hdmi2usb-mode-switch script to xxxxx/HDMI2USB-mode-switch-clean/conda/bin | 08:07 |
*** se6astian is now known as se6astian|away | 08:07 | |
ssk1328 | Yeah found it | 08:07 |
mithro | ssk1328: great! | 08:09 |
mithro | ssk1328: so, now I recommend you send a quick pull request which updates the README.md with the instructions you had to follow | 08:10 |
ssk1328 | mithro: Yeah, will definitely do that | 08:10 |
ssk1328 | mithro: I dont get how to use those files | 08:11 |
ssk1328 | Those are not python files, but normal text files | 08:11 |
mithro | ssk1328: add the bin directory to your path and run them | 08:11 |
mithro | actually, you could just run the files with the full path too | 08:12 |
ssk1328 | ls | 08:12 |
ssk1328 | Ignore | 08:12 |
*** CarlFK has joined #timvideos | 08:33 | |
*** ChanServ sets mode: +v CarlFK | 08:33 | |
ssk1328 | mithro: So after doing ./conda/bin/hdmi2usb-mode-switch --mode=jtag -v | 08:39 |
ssk1328 | mithro: I did make load-gateware | 08:39 |
mithro | And? | 08:40 |
ssk1328 | I get this http://pastebin.com/FML0VWkK | 08:41 |
tpb | Title: (H2U B=opsis) shashank@Shashank-PC:~/Desktop/built/HDMI2USB-misoc-firmware$ make - Pastebin.com (at pastebin.com) | 08:41 |
ssk1328 | Error: unable to open ftdi device: inappropriate permissions on device! | 08:41 |
ssk1328 | The same error I was getting yesterday :( | 08:41 |
mithro | Did you look at the docs? | 08:41 |
ssk1328 | These ones https://opsis.hdmi2usb.tv/getting-started/usb-ids.html#usb-jtag-and-usb-uart | 08:43 |
ssk1328 | ? | 08:43 |
mithro | No there ones I linked you in the email | 08:44 |
mithro | https://github.com/mithro/HDMI2USB-misoc-firmware/blob/docs-scripts-update/scripts/README.md#inappropriate-permissions-on-device | 08:45 |
tpb | Title: HDMI2USB-misoc-firmware/README.md at docs-scripts-update · mithro/HDMI2USB-misoc-firmware · GitHub (at github.com) | 08:45 |
ssk1328 | Got it | 08:45 |
*** aom_ has quit IRC | 08:59 | |
*** se6astian|away is now known as se6astian | 09:00 | |
ssk1328 | mithro: Some progress | 09:01 |
ssk1328 | mithro: But now I am stuck in this error https://github.com/mithro/HDMI2USB-misoc-firmware/blob/docs-scripts-update/scripts/README.md#warn-bypassing-jtag-setup-events-due-to-errors | 09:01 |
tpb | Title: HDMI2USB-misoc-firmware/README.md at docs-scripts-update · mithro/HDMI2USB-misoc-firmware · GitHub (at github.com) | 09:01 |
ssk1328 | mithro: Also this is the output of make load-gateware | 09:04 |
ssk1328 | http://pastebin.com/rKexNHwS | 09:04 |
tpb | Title: (H2U B=opsis) shashank@Shashank-PC:~/Desktop/built/HDMI2USB-misoc-firmware$ make - Pastebin.com (at pastebin.com) | 09:04 |
ssk1328 | Update, fixed the above | 09:13 |
mithro | ssk1328: so? | 09:24 |
ssk1328 | mithro: Next I tried make connect-lm32 | 09:25 |
ssk1328 | Unable to open serial port: Permission denied | 09:25 |
ssk1328 | Update, fixed it | 09:30 |
mithro | ssk1328: how? | 09:31 |
ssk1328 | Used this sudo chmod 666 /dev/ttyACM0 | 09:31 |
mithro | ssk1328: if you needed to do that, then you haven't gotten the udev rules installed correctly | 09:31 |
mithro | ssk1328: or they aren't working correctly | 09:32 |
ssk1328 | mithro: I did make install udev and it returned without any errors | 09:35 |
*** panther_ is now known as sab_123 | 09:42 | |
sab_123 | hi mithro | 09:52 |
mithro | ssk1328: okay found the problem | 09:58 |
ssk1328 | mithro: Do I need to manually change mode back to serial before I can use make connect-lm32 | 10:19 |
ssk1328 | Right now the terminal is stuck at [FLTERM] Starting... | 10:19 |
ssk1328 | mithro: I am in. | 10:31 |
ssk1328 | :) | 10:31 |
ssk1328 | mithro: Was able to connect input0 to output0 | 10:31 |
*** panther_ has joined #timvideos | 10:36 | |
*** sab_123 has quit IRC | 10:36 | |
ssk1328 | mithro: Anyother things I can try while I am at it | 10:49 |
mithro | ssk1328: I'll have an update for you shortly | 10:51 |
mithro | ssk1328: Okay, I've cleaned up and reworked the udev rules quite a bit | 11:14 |
mithro | ssk1328: can you give them a go? | 11:14 |
*** panther__ has joined #timvideos | 11:25 | |
*** panther_ has quit IRC | 11:28 | |
mithro | ssk1328: poke? | 11:44 |
ssk1328 | mithro: Just came back | 11:46 |
*** panther__ has quit IRC | 11:46 | |
ssk1328 | So I should test the new udev stuff | 11:47 |
mithro | ssk1328: yes | 11:47 |
*** Bertl_zZ is now known as Bertl | 12:01 | |
mithro | ssk1328: you should also get /dev/hdmi2usb/<serialno>/ symlinks now | 12:02 |
*** nueces has joined #timvideos | 12:36 | |
*** sb0 has quit IRC | 12:49 | |
*** rohitksingh_work has quit IRC | 13:27 | |
tumbleweed | err, is it just me or is the polarity of the ATX socket on the opsis wrong? | 13:49 |
*** FooBar is now known as SocialeDnstBali2 | 13:50 | |
*** SocialeDnstBali2 is now known as FooBar | 13:51 | |
mithro | https://opsis.hdmi2usb.tv/getting-started/power.html#pcie-6-pin-connector | 13:51 |
mithro | http://www.playtool.com/pages/psuconnectors/connectors.html | 13:53 |
tpb | Title: All about the various PC power supply cables and connectors (at www.playtool.com) | 13:53 |
tumbleweed | which is compatible with the 4-pin ATX connector, but has the opposite polarity | 14:04 |
tumbleweed | no, it seems ATX fucked up there | 14:05 |
tumbleweed | why can't it be compatible with the 4-pin one? :) | 14:06 |
mithro | tumbleweed: if you get out your pliers you can just rearrange the pins in the connector | 14:06 |
mithro | actually I think xfxf just stuffed his in backwards really hard | 14:06 |
mithro | I wouldn't recommend that | 14:06 |
mithro | well, I'm heading to bed | 14:07 |
olasd | I usually just end up putting a diode bridge in front of the regulator to be able to use all the supply polarities :P | 14:07 |
mithro | tumbleweed: when you get a chance, can you look at packaging https://github.com/mithro/HDMI2USB-mode-switch/tree/cleanup ? It should be in pretty good shape now | 14:08 |
tpb | Title: GitHub - mithro/HDMI2USB-mode-switch at cleanup (at github.com) | 14:08 |
mithro | olasd: I should check, but I believe we put a protection diode for people pluggin the wrong polarity | 14:08 |
mithro | olasd: and you might see an unpoulated diode bridge on the board | 14:09 |
mithro | anyway, bedtime for me | 14:10 |
mithro | tumbleweed: you should see the new udev rules I wrote today give you a stable /dev file for the boards | 14:10 |
olasd | ah, right, the wide range power supply has a diode bridge provision :) | 14:11 |
tumbleweed | mithro: \o/ | 14:12 |
mithro | tumbleweed: there seems to be a bug in the current firmware were it isn't reading the mac address properly, but once that is fixed it should be stable | 14:13 |
tumbleweed | also \o/ | 14:13 |
mithro | tumbleweed: I'll probably do a "by location" type version too | 14:14 |
mithro | but I actually need to do some Google work occasionally :P | 14:14 |
tumbleweed | is the board happy with 14V? | 14:18 |
mithro | Hrm, it might be okay I'd have to look at the specs | 14:19 |
mithro | 9V is definitely okay | 14:19 |
mithro | anyway, really going now | 14:19 |
mithro | rohit is a good person to ask | 14:19 |
*** rohitksingh has joined #timvideos | 14:21 | |
*** rohitksingh1 has joined #timvideos | 14:23 | |
*** rohitksingh has quit IRC | 14:25 | |
*** sb0 has joined #timvideos | 14:45 | |
*** Sewar has quit IRC | 14:46 | |
*** Sewar has joined #timvideos | 14:53 | |
*** sb0 has quit IRC | 15:37 | |
*** se6astian is now known as se6astian|away | 15:50 | |
*** Bertl is now known as Bertl_oO | 16:07 | |
*** CarlFK has quit IRC | 16:15 | |
*** CarlFK has joined #timvideos | 16:15 | |
*** ChanServ sets mode: +v CarlFK | 16:15 | |
*** se6astian|away is now known as se6astian | 16:18 | |
*** tija has joined #timvideos | 16:59 | |
*** ivodd_ is now known as ivodd | 17:42 | |
*** se6astian is now known as se6astian|away | 17:46 | |
*** sb0 has joined #timvideos | 18:50 | |
*** sb0 has quit IRC | 18:55 | |
*** sb0 has joined #timvideos | 19:00 | |
*** rohitksingh1 has quit IRC | 19:45 | |
*** sb0 has quit IRC | 19:57 | |
*** tija has quit IRC | 20:10 | |
*** se6astian|away is now known as se6astian | 20:39 | |
*** sb0 has joined #timvideos | 20:44 | |
*** sb0 has quit IRC | 20:58 | |
*** CarlFK has quit IRC | 21:05 | |
*** ssk1328 has quit IRC | 21:13 | |
*** se6astian is now known as se6astian|away | 21:15 | |
*** CarlFK has joined #timvideos | 21:38 | |
*** ChanServ sets mode: +v CarlFK | 21:38 | |
*** sb0 has joined #timvideos | 22:18 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!