*** tpb has joined #timvideos | 00:00 | |
*** aom has joined #timvideos | 00:37 | |
mithro | cr1901_modern: so, where is my frequency counter pull request? :-P | 00:58 |
---|---|---|
*** Bertl_oO is now known as Bertl_zZ | 01:00 | |
mithro | tumbleweed: when is debcamp? | 01:00 |
mithro | tumbleweed: I'm assuming you have a week(?) of debcamp before debconf and there will be work on getting recording in order during that? | 01:02 |
mithro | CarlFK: are you using voctomix all the time now? | 01:03 |
CarlFK | mithro: yep | 01:04 |
mithro | How do you have the HDMI2USB and your cameras connected to it? | 01:04 |
CarlFK | HDMI2USB https://github.com/CarlFK/voctomix-outcasts/blob/master/ingest.py -> eathernet -> core | 01:06 |
tpb | Title: voctomix-outcasts/ingest.py at master · CarlFK/voctomix-outcasts · GitHub (at github.com) | 01:06 |
CarlFK | hmm both sources use that... | 01:06 |
CarlFK | black magic hdmi card in a desktop on the core box | 01:06 |
CarlFK | you can kinda see the command I use to bring up all the vocto parts: https://github.com/CarlFK/dvsmon/blob/master/vocto-prod1.py | 01:08 |
tpb | Title: dvsmon/vocto-prod1.py at master · CarlFK/dvsmon · GitHub (at github.com) | 01:08 |
mithro | Can you put the dates of your conferences into the TimVideos calendar? | 01:09 |
cr1901_modern | mithro: pong. Not much happened last week. I added a status command to read the frequency counter, but wanted to talk to you about where that functionality should go | 01:13 |
cr1901_modern | I'll work on finishing up the pull request tomorrow | 01:15 |
mithro | cr1901_modern: so the firmware has a status command | 01:15 |
mithro | cr1901_modern: I'd like the pixel clock to be printed as part of that | 01:15 |
mithro | cr1901_modern: see https://github.com/timvideos/HDMI2USB-misoc-firmware/issues/94 | 01:16 |
tpb | Title: Have frequency (and hsync/vsync) information on the inputs in the status message · Issue #94 · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 01:16 |
cr1901_modern | mithro: That is already what I did :) | 01:16 |
cr1901_modern | mithro: At this stage though, the frequency counter info that's printed out is global, and not tied to a specific input interface | 01:17 |
*** aom has quit IRC | 01:19 | |
cr1901_modern | The "infrastructure's" there already however :). (I must say, it was tough finding a good spot to insert the new command lol) | 01:20 |
*** aom has joined #timvideos | 01:23 | |
mithro | cr1901_modern: so, frequency counter should be coming from the HDMI clock pins? | 02:05 |
cr1901_modern | mithro: Yes, it should. But since there are commands dedicated JUST to query input interfaces, I thought of putting the command to query the frequency there | 02:09 |
mithro | cr1901_modern: I just want the number in the status output as shown in that bug | 02:18 |
*** travis-ci has joined #timvideos | 02:19 | |
travis-ci | [mithro/HDMI2USB-misoc-firmware/fx2-refactor-old#203] (08f6b99): The build has errored. (https://travis-ci.org/mithro/HDMI2USB-misoc-firmware/builds/136031274) | 02:19 |
*** travis-ci has left #timvideos | 02:19 | |
CarlFK | mithro: did you see http://opencamps.org/ "Open Camps will be the largest mission-driven open source conference in the world, with 6,000+ attendees joining for 25+ conferences & events, featuring 400+ sessions on dozens of open source technologies. " | 02:19 |
tpb | Title: Open Camps : Jul 8-17, 2016 (at opencamps.org) | 02:19 |
cr1901_modern | mithro: Okay, very good. | 02:19 |
mithro | mission-driven? | 02:19 |
mithro | Its always nerve wrecking deleting old git repositories | 02:24 |
CarlFK | mithro: I think "open source" is the mission | 02:45 |
CarlFK | mithro: I added NodePDX June 20 to my personal calendar and did "copy to Timvideos event" .. did that show up where you want it? | 02:46 |
*** travis-ci has joined #timvideos | 02:46 | |
travis-ci | [mithro/HDMI2USB-misoc-firmware/cdc-opsis-working#204] (e9d9e48): The build failed. (https://travis-ci.org/mithro/HDMI2USB-misoc-firmware/builds/136031291) | 02:46 |
*** travis-ci has left #timvideos | 02:46 | |
mithro | CarlFK: I thought for a moment it meant "mission" in the Christian sense | 02:50 |
*** rohitksingh_work has joined #timvideos | 04:32 | |
*** aom has quit IRC | 04:59 | |
*** sb0 has quit IRC | 05:05 | |
*** sb0 has joined #timvideos | 05:19 | |
*** nueces has quit IRC | 05:19 | |
*** aom has joined #timvideos | 05:22 | |
*** ssk1328 has joined #timvideos | 05:24 | |
*** Bertl_zZ is now known as Bertl | 05:52 | |
*** se6astian|away is now known as se6astian | 06:07 | |
*** Bertl is now known as Bertl_oO | 06:36 | |
mithro | hey ssk1328 | 06:36 |
ssk1328 | mithro: Hi | 06:37 |
ssk1328 | I just saw your mail | 06:37 |
mithro | ssk1328: great | 06:37 |
mithro | ssk1328: as I mentioned, figuring out the exact goals is a negotiation, so please do speak up if you think I'm being unreasonable or if you have a better idea | 06:37 |
*** panther has joined #timvideos | 06:42 | |
*** panther is now known as sab_123 | 06:42 | |
mithro | sab_123: hey | 06:42 |
sab_123 | mithro, hi | 06:42 |
sab_123 | mithro, so although I cant see the data I send back on wireshark | 06:43 |
sab_123 | mithro, I see the URB status flag is succesful | 06:44 |
mithro | sab_123: That means you are not sending the data back | 06:44 |
sab_123 | yep, I know something funny | 06:44 |
sab_123 | I just cant figure out what | 06:44 |
sab_123 | The documentation clearly states | 06:45 |
sab_123 | if using manual mode | 06:45 |
sab_123 | I just need to write the data into Epxx | 06:45 |
mithro | sab_123: the manual for the FX2 is quite poor in areas | 06:45 |
mithro | and blatantly wrong in other areas | 06:45 |
sab_123 | and arm the transfer by writing something in SUDPTRL | 06:45 |
sab_123 | how would you suggest I proceed? | 06:46 |
sab_123 | I see something equally strange in the main loop of my FX2 | 06:46 |
sab_123 | I know the second time I get a packet | 06:46 |
mithro | sab_123: you have a serial console on the FX2 you can print information out | 06:47 |
sab_123 | a SUDAV interrupt is being raised | 06:47 |
sab_123 | Serial console screws around with the timing of everything | 06:47 |
mithro | sab_123: the timing isn't actually all that important | 06:47 |
sab_123 | Right now I seem to have 2 problems | 06:48 |
mithro | Linux is *very* lenient with you violating response times because there is a huge number of broken devices out there | 06:48 |
sab_123 | 1- Cant send data back on EP0 | 06:48 |
sab_123 | 2- I see my SUDAV interrupt is being entered into. However my main while loop is calling setup_handle_data | 06:49 |
sab_123 | is not | 06:49 |
sab_123 | If you have time I can show you on team viewer | 06:49 |
mithro | sab_123: I don't have the time to do that | 06:50 |
sab_123 | mithro, no problems | 06:50 |
sab_123 | I get my interrupt which sets a variable | 06:50 |
mithro | sab_123: you want a reliable serial port you can print things on so you can print out debugging information | 06:50 |
sab_123 | I have an LA | 06:51 |
sab_123 | I use that for everything | 06:51 |
sab_123 | I find it much easier to use | 06:51 |
mithro | LA? | 06:51 |
sab_123 | Logic Analyser | 06:51 |
sab_123 | https://github.com/RacingTornado/fx2lib_serial_uart/blob/i2c_interrupts/examples/i2c_mpsse/bulkloop.c#L333 | 06:53 |
tpb | Title: fx2lib_serial_uart/bulkloop.c at i2c_interrupts · RacingTornado/fx2lib_serial_uart · GitHub (at github.com) | 06:53 |
sab_123 | This line is being executed | 06:53 |
sab_123 | https://github.com/RacingTornado/fx2lib_serial_uart/blob/i2c_interrupts/examples/i2c_mpsse/bulkloop.c#L215 | 06:53 |
tpb | Title: fx2lib_serial_uart/bulkloop.c at i2c_interrupts · RacingTornado/fx2lib_serial_uart · GitHub (at github.com) | 06:53 |
sab_123 | This isn ot | 06:53 |
sab_123 | For the second interrupt | 06:53 |
sab_123 | the second time I get the SUDAV interrupt | 06:53 |
sab_123 | Thats one | 06:55 |
sab_123 | The second is the data itself | 06:55 |
sab_123 | Do you think I should continue to investigate this | 06:55 |
sab_123 | Or move over to something else for the time being | 06:56 |
mithro | sab_123: you should look at the SUDAV interrupt first | 06:57 |
sab_123 | it is being executed | 06:57 |
mithro | sab_123: you really need to format this code better, it is very hard for me to read and thus I'm probably not going to have time to help | 06:58 |
sab_123 | mithro, do you mean the spaces? | 06:59 |
mithro | sab_123: Things like indenting | 06:59 |
mithro | sab_123: brace positioning, etc | 06:59 |
sab_123 | mithro, it is indented as far as I can see | 07:00 |
sab_123 | but I will take a look at it again | 07:00 |
mithro | https://github.com/RacingTornado/fx2lib_serial_uart/blob/i2c_interrupts/examples/i2c_mpsse/bulkloop.c#L169 | 07:00 |
tpb | Title: fx2lib_serial_uart/bulkloop.c at i2c_interrupts · RacingTornado/fx2lib_serial_uart · GitHub (at github.com) | 07:00 |
mithro | https://github.com/RacingTornado/fx2lib_serial_uart/blob/i2c_interrupts/examples/i2c_mpsse/bulkloop.c#L214 | 07:00 |
tpb | Title: fx2lib_serial_uart/bulkloop.c at i2c_interrupts · RacingTornado/fx2lib_serial_uart · GitHub (at github.com) | 07:00 |
sab_123 | mithro, okay got it | 07:00 |
sab_123 | I will find a way to indent these things | 07:00 |
*** se6astian is now known as se6astian|away | 07:00 | |
mithro | sab_123: you might want to take a look at the linux tool called "indent" to automatically fix that | 07:01 |
sab_123 | mithro, okay | 07:01 |
mithro | sab_123: you should output a signal every time you go around the main loop | 07:08 |
sab_123 | i did | 07:08 |
sab_123 | it toggle | 07:08 |
sab_123 | I will debug a little more | 07:09 |
sab_123 | And when I run out of ideas | 07:09 |
sab_123 | i will get back to you | 07:09 |
sab_123 | mithro, indent is pretty cool | 07:09 |
sab_123 | I didnt know about it | 07:09 |
mithro | sab_123: yeah, some projects like gstreamer have it as a precommit hook so it always means the code is indented correctly | 07:10 |
ssk1328 | mithro: I had a question regarding implementing RLE in python | 07:10 |
mithro | sab_123: we should set up something like that on fx2lib eventually, but it requires fixing the indenting there first | 07:11 |
mithro | ssk1328: shoot | 07:11 |
ssk1328 | mithro: Generally RLE is like this https://en.wikipedia.org/wiki/Run-length_encoding#Example | 07:11 |
tpb | Title: Run-length encoding - Wikipedia, the free encyclopedia (at en.wikipedia.org) | 07:11 |
ssk1328 | mithro: But what we want is to have a repeat like function, in which we can specify what has to be repeated how many times | 07:11 |
ssk1328 | As given in the hardware design docs | 07:12 |
ssk1328 | https://docs.google.com/document/d/1ZjM1Brrks0lg1CJp2Rt1BH8-MhJamrKUeCUB4s4nzoA/edit# | 07:12 |
tpb | Title: Hardware Fader Design Doc for the HDMI2USB.tv MiSoC Firmware - Google Docs (at docs.google.com) | 07:12 |
mithro | ssk1328: in the example on wikipedia you can think of there being an "implicit" repeat instruction before each of their numbers. | 07:13 |
ssk1328 | mithro: Yeah, for one single level they are essentially equivalent | 07:14 |
ssk1328 | mithro: Since we are aiming at multiple level of RLE ours will be a bit different | 07:14 |
mithro | ssk1328: yeah | 07:15 |
mithro | ssk1328: Let's start with a simple text format and then we can figure out a binary equivalent a bit later | 07:15 |
ssk1328 | So essentially we won't be storing some encoded 1 and 0 in our memory but high level C functions that do the equivalent job, right? | 07:16 |
mithro | ssk1328: hrm? Eventually we will need to store an encoded version in the memory, as the hardware mask block will need to understand it | 07:18 |
ssk1328 | mithro: That clears things a bit. So I dont have to focus on getting something like repeat function working, but I should be able to encode in my way of using 1s and 0s | 07:23 |
mithro | ssk1328: hrm? | 07:23 |
ssk1328 | mithro: I am not sure what hrm stands for! | 07:24 |
mithro | ssk1328: It's the sound you make when you don't understand "hrmmmmmm" | 07:25 |
ssk1328 | mithro: So what I was trying to go was to write a repeat function, which can be used in the way mention in hardware fader design doc | 07:27 |
ssk1328 | So what I was trying to say, that earlier I was trying to write a repeat function, which can be used in the way mention in hardware fader design doc | 07:27 |
mithro | ssk1328: Well, for converting a mask into a full size image in Python you will have to do something like that | 07:27 |
ssk1328 | mithro: But what got me confused was how can i generate something like this from image. ie image to mask. Now things are clear | 07:29 |
*** aom has quit IRC | 07:36 | |
*** sab_123 has quit IRC | 07:51 | |
mithro | Well, that took fricken forever, but I think I have working udev rules now | 08:07 |
mithro | CarlFK / tumbleweed: https://github.com/timvideos/HDMI2USB-mode-switch/tree/master/udev | 08:25 |
tpb | Title: HDMI2USB-mode-switch/udev at master · timvideos/HDMI2USB-mode-switch · GitHub (at github.com) | 08:25 |
mithro | ssk1328: ping? | 08:27 |
mithro | ssk1328: When you are happy you have fixed all the issues I mentioned in the pull request you should respond to each comment saying what you have done (Fixed, Change to XYZ instead, Removed, etc) | 08:28 |
tumbleweed | mithro: yes https://debconf16.debconf.org/about/dates/ | 09:56 |
tpb | Title: DebConf16 (at debconf16.debconf.org) | 09:56 |
mithro | tumbleweed: In my calendar now | 10:00 |
*** panther has joined #timvideos | 11:24 | |
*** panther is now known as sab_123 | 11:24 | |
sab_123 | rohitksingh_work, hi | 11:53 |
rohitksingh_work | sab_123: hi! | 12:15 |
*** se6astian|away is now known as se6astian | 12:23 | |
*** ssk1328 has quit IRC | 12:43 | |
sab_123 | rohitksingh_work, | 12:44 |
sab_123 | http://www.ftdichip.com/Support/Documents/AppNotes/AN_108_Command_Processor_for_MPSSE_and_MCU_Host_Bus_Emulation_Modes.pdf | 12:44 |
sab_123 | Do you know how to relate the opcode with the USB field | 12:45 |
sab_123 | Do you know in which packet (field) the data will be sent | 12:45 |
sab_123 | section 3.3 | 12:45 |
rohitksingh_work | sab_123: nope...you would have to grep through libmpsse and libftdi codes to find them out...must be in there...they both use libusb | 12:48 |
rohitksingh_work | let me start my VM and see if I can find them | 12:49 |
sab_123 | rohitksingh_work, I am looking at the USB traces and I cant relate them | 12:51 |
*** sb0 has quit IRC | 13:06 | |
rohitksingh_work | sab_123: this might be of some help https://github.com/swetland/jtag-mpsse/blob/master/jtag-mpsse.c#L140 jtag directly using libusb | 13:15 |
tpb | Title: jtag-mpsse/jtag-mpsse.c at master · swetland/jtag-mpsse · GitHub (at github.com) | 13:15 |
sab_123 | rohitksingh_work, that looks interesting, but the problem is I am looking at the wireshark packets and I cant seem to relate | 13:16 |
rohitksingh_work | sab_123: you'll have to check out those libusb functions and see how are they formatting the usb packets | 13:17 |
*** sb0 has joined #timvideos | 13:18 | |
*** panther_ has joined #timvideos | 13:19 | |
*** panther_ has joined #timvideos | 13:20 | |
*** panther_ has joined #timvideos | 13:20 | |
*** sab_123 has quit IRC | 13:22 | |
*** panther_ is now known as sab_123 | 13:23 | |
sab_123 | rohitksingh_work, ok | 13:23 |
*** rohitksingh_work has quit IRC | 13:39 | |
*** sab_123 has quit IRC | 13:53 | |
*** CarlFK has quit IRC | 14:14 | |
*** rohitksingh has joined #timvideos | 14:17 | |
*** CarlFK has joined #timvideos | 14:19 | |
*** ChanServ sets mode: +v CarlFK | 14:19 | |
*** rohitksingh1 has joined #timvideos | 15:11 | |
*** rohitksingh has quit IRC | 15:12 | |
*** sb0 has quit IRC | 15:22 | |
*** CarlFK has quit IRC | 16:20 | |
*** CarlFK has joined #timvideos | 16:41 | |
*** ChanServ sets mode: +v CarlFK | 16:41 | |
*** se6astian is now known as se6astian|away | 16:47 | |
*** nueces has joined #timvideos | 16:58 | |
*** CarlFK has quit IRC | 17:00 | |
*** CarlFK has joined #timvideos | 17:07 | |
*** ChanServ sets mode: +v CarlFK | 17:07 | |
*** se6astian|away is now known as se6astian | 17:58 | |
*** rohitksingh1 has quit IRC | 18:12 | |
*** rohitksingh has joined #timvideos | 18:15 | |
*** rohitksingh has quit IRC | 18:45 | |
*** rohitksingh has joined #timvideos | 18:46 | |
*** rohitksingh has quit IRC | 18:59 | |
*** rohitksingh has joined #timvideos | 19:00 | |
*** rohitksingh has quit IRC | 19:20 | |
*** nueces has quit IRC | 19:22 | |
*** Bertl_oO is now known as Bertl_zZ | 19:42 | |
*** CarlFK is now known as bri | 20:12 | |
*** bri is now known as CarlFK | 20:13 | |
*** f15h has joined #timvideos | 20:18 | |
*** f15h has quit IRC | 20:28 | |
*** se6astian has left #timvideos | 20:41 | |
*** ssk1328 has joined #timvideos | 22:20 | |
ssk1328 | mithro: Just added comments to the pull requests, will discuss the changes tomorrow | 22:21 |
ssk1328 | *request | 22:21 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!