*** tpb has joined #timvideos | 00:00 | |
shenki | ayush3504: i had a read of the driver you pointed me to last night | 00:13 |
---|---|---|
shenki | ayush3504: it was quite complex and surprisingly long | 00:14 |
shenki | I would like to understand the problem a bit better | 00:18 |
shenki | What runs on the PC to control the devices attached via serial? | 00:19 |
*** CarlFK has joined #timvideos | 00:26 | |
*** ChanServ sets mode: +v CarlFK | 00:26 | |
*** FeltonChris has joined #timvideos | 01:06 | |
*** skay is now known as sbot | 01:21 | |
*** sbot is now known as skay | 01:21 | |
*** skay has quit IRC | 01:36 | |
*** skay has joined #timvideos | 01:36 | |
*** skay has joined #timvideos | 01:36 | |
*** ChanServ sets mode: +v skay | 01:36 | |
*** skay has quit IRC | 01:38 | |
*** skay has joined #timvideos | 01:38 | |
*** ChanServ sets mode: +v skay | 01:38 | |
*** tija has joined #timvideos | 02:24 | |
*** CarlFK has quit IRC | 02:34 | |
*** tija has quit IRC | 02:43 | |
mithro | shenki: the software on the computer is agnostic to the serial interface, it should just use ttys | 02:54 |
shenki | right, but the question no one will answer is "what is the software?" | 02:55 |
shenki | I belive that you are better off spenidng your time writing software do demux the serial streams and talk to this unnamed software than digging around with kernel drivers and the fx2 | 02:56 |
mithro | shenki: software includes; libvisca, random python programs, etc | 02:56 |
mithro | shenki: IE we don't control the software | 02:56 |
mithro | as I said the software is agnostic to the serial interface hardware | 02:57 |
shenki | ok | 02:57 |
mithro | the way Linux exposes "serial ports" is via tty interfaces | 02:57 |
shenki | so you're only going for linux support? | 02:58 |
mithro | shenki: Linux is our most important platform | 02:58 |
mithro | Mac uses ttys as well (being BSD based) | 02:58 |
mithro | Windows uses "COM Port interface" | 02:59 |
mithro | but it's a bit less standard | 02:59 |
shenki | i think the only way you're going to solve this properly is to move away from the fx2 | 02:59 |
shenki | so you can have a bunch of endpoints | 02:59 |
shenki | and therefore a bunch of devices | 02:59 |
shenki | things like the usb GSM modems expose many cdc devices | 03:01 |
shenki | that's what you need | 03:01 |
shenki | otherwise we're going to end up having to write drivers for the three platforms | 03:01 |
mithro | shenki: in any case, you are restricted to quite a limited number of devices as USB can only have a maximum number 14ish | 03:02 |
mithro | shenki: GSM modems tend to expose maximum of two that I've seen | 03:02 |
mithro | the ACM specification actually has a multiplexer support for ISDN type channels | 03:02 |
mithro | 3.7.1 Multi-Channel Model................................................................................................... 18 | 03:03 |
mithro | http://www.usb.org/developers/devclass_docs/usbcdc11.pdf | 03:03 |
mithro | But it unclear to me how that maps to "serial ports" | 03:05 |
*** Niharika has joined #timvideos | 03:06 | |
mithro | A Multi-Channel communication device is defined as a communication device having a number of channels multiplexed on the physical network interface, where each channel has independent call control. | 03:06 |
mithro | but it doesn't appear the Linux driver has any support for this anyway.... | 03:06 |
*** CarlFK has joined #timvideos | 03:08 | |
*** ChanServ sets mode: +v CarlFK | 03:08 | |
mithro | If we emulate an existing usb-serial adapter supported via the usb-serial driver, then we should just need to add our information to that existing module (maybe with a few tweaks) right? | 03:08 |
mparuszewski | mithro: I am sorry Tim, I am back, I just fell asleep, don't know when, but I just woke up :D | 03:32 |
mithro | 9:37 AM <•mithro> mparuszewski: I assume you fell asleep? | 03:33 |
mithro | :P | 03:33 |
techman83 | mparuszewski: careful, drool can be bad for keyboards :P | 03:34 |
mparuszewski | techman83: yeah, I know. I think I need to buy water resistant keyboard :p | 03:36 |
techman83 | mparuszewski: :D | 03:37 |
techman83 | mparuszewski: Lenovo Thinkpads have drain holes in the keyboards. I've spilt a glass of water on mine and kept working (I was debugging a massive issue when 4000ks from the office) | 03:38 |
mithro | mparuszewski: happy to continue talking about stuff, happy for you to try again in a couple of hours? | 03:38 |
mparuszewski | techman83, just in case I use external, wireless keyboard :D | 03:40 |
mparuszewski | mithro, I am ready to talk :) | 03:41 |
mithro | Okay | 03:41 |
mparuszewski | I am checking if we can have that structure in Jekyll | 03:41 |
mparuszewski | It seems that its possible to have folders inside _includes directory | 03:44 |
mithro | Well, you can do anything its just the matter of how much code it is to write :) | 03:44 |
mparuszewski | I am only limited to Jekyll restrictions, but that functionality is build-in into Jekyll so I don't have to write anything, just change structure a little bit. :) | 03:49 |
mparuszewski | I will do that now, and add Edit button to every panel | 03:50 |
mithro | mparuszewski: If jeykll rendered the snippets into their individual blobs, the prose.io editor could do the include those parts? | 03:52 |
mithro | mparuszewski: I also wanted to take a step back and look at what we want you to do | 03:54 |
mparuszewski | mithro: I will check that, if not I will try to add that functionality, but that could be hard, prose.io is a huge project. :) | 03:57 |
mithro | prose.io isn't actually a very big project in the real scheme of things :P | 03:58 |
mparuszewski | Ok, great | 03:58 |
*** sarwarc has joined #timvideos | 03:58 | |
mithro | mparuszewski: so, I see your project has having a couple of major things we want to do (which are all related) | 03:59 |
mithro | mparuszewski: a) Make the website nicer looking and have better content (which is pulled from a bunch of different sources) | 04:00 |
mithro | mparuszewski: b) Make editing the website fun and easy | 04:01 |
mithro | mparuszewski: c) Create a better interface for "issue tracking" (starting from the interface I created for the GSoC "ideas" page) | 04:02 |
*** CARAM_ has quit IRC | 04:02 | |
mithro | a) could be split into two parts I guess "Making the website nicer looking" -- "Adding better content (which is pulled from a bunch of different sources)" | 04:04 |
mithro | The "Adding better content...." includes the things like planet, code stats, pulling people information from github, etc | 04:04 |
mithro | mparuszewski: does that all make sense? | 04:04 |
*** CARAM_ has joined #timvideos | 04:05 | |
mparuszewski | Yes, of course. :) What features would you like to have on issues page, I am sure that filter, but maybe something else. | 04:06 |
mithro | mparuszewski: before we get onto c) I was thinking more about a) and wanted to comment more | 04:08 |
mithro | I think we want to divide the website into two parts | 04:10 |
mithro | 1) changes which are caused by "editing content" | 04:11 |
mithro | 2) changes which are caused by other actions | 04:11 |
mithro | IE (2) would include things like pushing code, updating your blog, etc | 04:12 |
mithro | where as 1) is when you click the edit button on the website and then change something that way | 04:12 |
mparuszewski | Ok, I understand. I think we can talk about the sources for (2) part | 04:13 |
mithro | mparuszewski: and I think we have already started down this path with the planet verses website split | 04:13 |
mparuszewski | Planet, code statistics from GitHub, people information from GitHub, what's more? | 04:15 |
shenki | mithro: yeah. we could emulate an existing device. but we would want to be bug for bug compatable with existing drivers, or else we'd be better off just writing our own linux driver | 04:15 |
mithro | mparuszewski: I don't want to discuss the actual sources for this content at the moment | 04:16 |
mithro | mparuszewski: just talk about them abstractly | 04:16 |
mparuszewski | Ok | 04:16 |
*** slomo has quit IRC | 04:16 | |
mithro | mparuszewski: the important fact is that one is triggered by changes to the website's code repository, the other one is triggered by "external factors" | 04:17 |
mparuszewski | Ok, I understand | 04:18 |
mithro | mparuszewski: for the first one, we can just trigger off of commits to the correct repository | 04:18 |
mithro | mparuszewski: for the second one, we really need to do polling | 04:18 |
mparuszewski | And with GitHub source I should use API and downloading from that source or do the generation on server? | 04:18 |
mithro | mparuszewski: that is a good question, I'll answer what I think our guiding principles should be in a minute | 04:19 |
mithro | mparuszewski: so, are you happy with the idea of this split? | 04:21 |
mparuszewski | Yes, of course, the split is abstract, user on our website won't know if content was downloaded from another source or written by developers | 04:23 |
mithro | mparuszewski: sure | 04:23 |
mithro | mparuszewski: as you pointed out we want a unified interface for users - they shouldn't really notice the difference between the two types of content (except they can't modify the "dynamic" sections by clicking edit) | 04:24 |
mithro | mparuszewski: Which brings up the question of, how to unify the interfaces | 04:24 |
mithro | mparuszewski: that seem to be two solutions | 04:25 |
mithro | x) We generate the "static" bits with holes in it. The holes are filled in from the dynamic at a later stage. | 04:25 |
mithro | y) The dynamic part pulls in the static part and renders the whole output. | 04:26 |
mithro | mparuszewski: does that make sense? | 04:27 |
mithro | mparuszewski: with x) the "top level" is the static content | 04:27 |
mithro | mparuszewski: with y) the "top level" is the dynamic content | 04:27 |
mparuszewski | Yes, and the choice is not easy :) | 04:27 |
mithro | mparuszewski: yeah | 04:28 |
mithro | x) has the advantage that most of the static content is cached for a long time and only the content inside the "holes" change | 04:28 |
mithro | if the holes are implemented as iframes though, it means what use to be a single page request can become many | 04:29 |
mithro | shenki: I'm unsure if its better to extend usb-serial to support a new device verse writing your own totally new driver. | 04:30 |
mparuszewski | Yes, but also if we download a json from for example GitHub API it also will be a multiple connections | 04:31 |
shenki | mithro: i would suggest making it a subset of cdc-acm | 04:31 |
mparuszewski | But I think that's normal on modern websites, that content is loaded dynamically on client side from many sources | 04:31 |
shenki | mithro: usb-serial is a bad idea, as it's all non-standard | 04:32 |
mithro | shenki: looking at the cdc specification, it seems like you should be able to have a cdc device which is Multi-Channel Model which contains ACMs as sub devices | 04:32 |
mithro | mparuszewski: doesn't mean it's a good idea :P | 04:32 |
mithro | mparuszewski: it also sucks hugely for mobile | 04:33 |
mithro | mparuszewski: it also means we miss out on possible compression | 04:33 |
mithro | mparuszewski: y) has the advantage that we can do one single page without needed any client side includes (for example if we do the rendering at server time) | 04:33 |
mithro | shenki: they define a model which means you just prefix each message with the sub-device ID | 04:34 |
mparuszewski | But how about Issues, they should be rendered on client side or server side? :) | 04:34 |
mithro | shenki: based around the OSI style model | 04:34 |
mithro | mparuszewski: the issue tracking interface is a seperate issue that I'll talk about in a bit | 04:35 |
mithro | mparuszewski: so ignore it for now | 04:35 |
mithro | shenki: you should also reply with any more information you have to my reply to the "Frame rate tests" thread | 04:36 |
mithro | shenki: but before we go down that route, I want to see if any other OS actually supports anything like that | 04:37 |
mithro | mparuszewski: y) has the disadvantage that any time a page changes, you have to redownload the whole page rather than just the part which changed | 04:38 |
shenki | mithro: yeah, i am reading the spec atm too. i agree. | 04:38 |
mithro | shenki: if nobody else has already done this, then its probably worth figuring out what they have done | 04:39 |
mparuszewski | Hard choice, but it seems that doing as many as possible on server side has more advantages :) | 04:39 |
mithro | mparuszewski: the choice of doing the server side generation is separate from the choice of which part does the hosting | 04:42 |
mithro | mparuszewski: but a lot of the arguments are the same | 04:43 |
mparuszewski | but if it is possible to do server side generation I should do that, right? | 04:47 |
*** sarwarc has quit IRC | 04:48 | |
mithro | mparuszewski: I think in our case, we want to try and keep our pages as static/basic as possible | 04:50 |
mithro | mparuszewski: so doing server side generation is the right solution | 04:50 |
mithro | mparuszewski: we also don't care deeply about having a 5 minute delay between the source changing and our website updating | 04:51 |
mparuszewski | Ok great, I will start with People page generation :) How many information would you like to have on that page? We can get a lot of basic information (https://api.github.com/users/mithro) from GitHub, but also we need to add something more, like description, like projects, etc. | 04:52 |
mithro | mparuszewski: it means that you can write the code in ruby instead of javascript | 04:53 |
mithro | mparuszewski: which I'm not sure is a good thing :P | 04:53 |
techman83 | mithro: :P | 04:53 |
mparuszewski | Great thing! :D JavaScript is a great language, but Ruby is a.. Ruby :D | 04:53 |
mithro | mparuszewski: I think this all indicates that the planet should really be "website-dynamic-content" and "getting-started" should be "website-static-content" | 04:57 |
mithro | I know javascript, I don't know ruby :P | 04:58 |
mparuszewski | mithro: :p | 04:58 |
mithro | with one "part" of website-dynamic-content is the news/planet/stuff | 04:58 |
mithro | so the GitHub people stuff should end up in website-dynamic-content rather than the getting-started repo? | 04:59 |
mithro | mparuszewski: does that make sense? | 04:59 |
mparuszewski | mithro: Yes, I suppose. | 04:59 |
mparuszewski | mithro: Yes, of course | 05:00 |
mithro | mparuszewski: at the moment, we decided to go the iframe "hole" route (IE We iframe in the news from the planet, right?) | 05:00 |
mithro | mparuszewski: we might need to re-evaluate that in the future? | 05:00 |
mithro | mparuszewski: because the front page sounds like it might end up with like 6 of these iframes? | 05:01 |
mparuszewski | Yes, we iframed news into getting-started page :) | 05:03 |
mparuszewski | Could be | 05:03 |
mithro | mparuszewski: okay | 05:05 |
mithro | mparuszewski: so I think that covers everything I wanted to say about (a) | 05:06 |
mparuszewski | Great. | 05:07 |
mithro | mparuszewski: so there was one guiding principle I think that was hidden in that discussion | 05:08 |
mithro | mparuszewski: --> we should try and provide static HTML output as much as possible | 05:08 |
mparuszewski | Ok, so I should avoid JavaScript as much as possible, right? :) | 05:09 |
mithro | mparuszewski: I think so, ignoring parts (b) and (c) | 05:10 |
mithro | IE To *view* content shouldn't required javascript | 05:10 |
mparuszewski | Ok, I undestand, great. | 05:13 |
mithro | mparuszewski: okay, so part (b) of your project is to replace the current horribly crap way we edit the website content (which is the github wiki interface) with something that integrates well with our website | 05:15 |
mithro | mparuszewski: if that ends up being prose.io, github editor, or something else is yet to be determined | 05:17 |
mithro | mparuszewski: ideally, the person clicks "edit" on some content, it pops up something which allows them to edit, they do there edit, it shows some type of preview where they can confirm the edit is correct and then they "save" their edit and anyone who now visits the site sees their change | 05:19 |
mparuszewski | Ok, so probably I need to do 2 things, first: add edit button that redirects to edit interface and a github hook to make sure that generate will run after single commit | 05:20 |
mparuszewski | It's pretty easy, maybe it can be done with Travis CI | 05:20 |
mithro | mparuszewski: it's not quite that easy :P | 05:22 |
mithro | mparuszewski: you missed the "shows some type of preview where they can confirm the edit is correct" part | 05:22 |
mparuszewski | Yes, all content should be written in Markdown, so preview will be easier, but I am not sure if it can display preview in current layout in solution I've made, because of those 'includes' | 05:24 |
mithro | mparuszewski: yeah | 05:36 |
mithro | mparuszewski: ideally we'd like it to preview exactly as the page would appear when finally committed | 05:36 |
mparuszewski | I understand, I will do as much as possible to do that. :) | 05:39 |
mparuszewski | Do we have something to discuss on part (b)? | 05:39 |
mithro | mparuszewski: with this, we want as little server side support as we can | 05:44 |
mithro | mparuszewski: it should all be javascript and client side | 05:44 |
mithro | mparuszewski: the only reason prose.io needs something server side is for the authentication hack | 05:46 |
mparuszewski | Yes, sure, but we can handle this little application and have it on Heroku like we have now and everything just works. :) | 05:48 |
mparuszewski | I will create a account on heroku just like I did for monitis | 05:48 |
mparuszewski | I will give you all access data | 05:48 |
mithro | yes, but we want to avoid needing that as much as possible | 05:49 |
mparuszewski | Ok, I will check how GitHub edit interface works, maybe that will suit our needs | 05:50 |
mithro | mparuszewski: the prose.io server side app thing is probably okay because it is so small | 05:52 |
mithro | mparuszewski: does that all make sense? | 05:55 |
mparuszewski | Yes, I don't have any questions about (b) now. :) | 05:55 |
mithro | mparuszewski: so, now to (c) | 05:56 |
mithro | I think of (c) like "prose.io" for github issues | 05:56 |
mithro | mparuszewski: so github's interface for viewing issues is kind of sucky | 05:57 |
mithro | and very slow | 05:57 |
mithro | mparuszewski: so you can see my attempt at writing a better viewing interface in the ideas page. | 05:57 |
mparuszewski | yeah | 05:59 |
mithro | some important things is that it links between multiple issue repositories | 05:59 |
mithro | mparuszewski: for example, we have HDMI2USB repository verse the getting-started repository verses the streaming-system repository | 06:00 |
mithro | and they can reference each other | 06:00 |
mithro | but the getting-started is probably the biggest offender in this regard | 06:02 |
mparuszewski | Ok, so you want to have all issues from all TimVideos projects in one place | 06:02 |
mithro | as it brings together the "getting-started" issues from all the other timvideos repositories | 06:02 |
mithro | mparuszewski: the issue tracker takes things like features, bugs, ideas, etc | 06:03 |
mithro | mparuszewski: it would be really nice if there where templates for creating each type of thing | 06:04 |
mparuszewski | Ok, and of course ability to search and filter them by tag/tags | 06:06 |
mithro | mparuszewski: like the getting started repo, has the format http://code.timvideos.us/Ideas.html#markdown-ideas-template | 06:06 |
tpb | Title: Tim Videos - Live Event Streaming - Ideas! (at code.timvideos.us) | 06:06 |
mparuszewski | how can I know which one is feature/bug/idea, i don't see category on issue | 06:07 |
mithro | mparuszewski: https://github.com/timvideos/HDMI2USB/issues?state=open | 06:09 |
tpb | Title: Issues · timvideos/HDMI2USB · GitHub (at github.com) | 06:09 |
mithro | that has a "bug" label and "enhancement" | 06:10 |
mithro | mparuszewski: getting-started repo has a whole bunch of labels in a more structured form | 06:11 |
mithro | https://github.com/timvideos/getting-started/issues?state=open | 06:11 |
tpb | Title: Issues · timvideos/getting-started · GitHub (at github.com) | 06:11 |
mithro | IE "Language - XXXXX" | 06:11 |
mithro | mparuszewski: so you might need to dictate the form of labels if we want to do something | 06:11 |
mithro | mparuszewski: IE it would be nice to have a "filter on language" type feature | 06:11 |
mparuszewski | Ok, you are right, GitHub issues are a little bit sucky | 06:11 |
mparuszewski | Ok, great, so almost everything is in tags | 06:12 |
mithro | mparuszewski: there is also the "milestone" stuff in issues https://github.com/timvideos/getting-started/issues/milestones | 06:12 |
tpb | Title: Milestones - timvideos/getting-started · GitHub (at github.com) | 06:12 |
ayush3504 | shenki / mithro: Just woke up. Thanks for looking into it. | 06:16 |
mparuszewski | Great, milestones are just text with date? Can I add issues to milestone? | 06:16 |
ayush3504 | shenki / mithro: I'm looking at the ISDN model, and I see that this class multiplexes data channels and a call channel. The data channels are presented to host on separate Data Class interfaces. Data Class interface, by definition, uses a pair on In/Out endpoints. See the diagram at pg 6, http://imgur.com/eQt3OmZ | 06:17 |
tpb | Title: imgur: the simple image sharer (at imgur.com) | 06:17 |
ayush3504 | shenki / mithro: As I understand from seeing this diagram, I don't see it multiplexing data over endpoints. It still requires as many endpoint pairs as the no. of data channels to be seen by the host, which is analogous to serial ports in our case | 06:18 |
mithro | ayush3504: incorrect | 06:18 |
ayush3504 | mithro: how | 06:18 |
mithro | ayush3504: if you read the later sections it talks about the fact there are many mapping between the parts | 06:20 |
mithro | ayush3504: I'll have to go back to my desktop computer to point you to the section | 06:21 |
ayush3504 | mithro: ok, i'll check | 06:21 |
mithro | mparuszewski: we haven't used milestones at all | 06:25 |
mithro | mparuszewski: but it could be useful? | 06:26 |
mparuszewski | of course, if you want to prioritize things and keep working on features in order to make sure all work and integrates | 06:27 |
mithro | mparuszewski: order doesn't really matter at all | 06:27 |
mparuszewski | Leon told me about migrating from Producteev to GitHub Issues | 06:27 |
mithro | mparuszewski: things are just grouped together in a priority level | 06:28 |
mithro | IE, does these first - then when nothing left here, do these next | 06:29 |
mithro | mparuszewski: I agree with Leon, is that using github issues to track your progress makes a lot of sense | 06:30 |
mithro | mparuszewski: the github issues tool is suppose to make github issues easier to use | 06:31 |
mithro | mparuszewski: so, "eating your own dog food" is a great way to help understand what the pain points are | 06:31 |
mithro | mparuszewski: it is also what we are using to track progress for everything else | 06:31 |
mparuszewski | Ok great, I should add issue per feature, right, with short description and subtasks | 06:32 |
mithro | mparuszewski: yeah, that sounds like a good idea on how to do it | 06:32 |
mithro | ayush3504: looking it up now | 06:34 |
mparuszewski | mithro: Ok, so I should work on planet now and create new subpages for people, code statistics, etc. Am I right? Could you tell me which features would you like to have first? On which part should I be focused? | 06:35 |
mithro | mparuszewski: so, I think we should look at trying to get the editing stuff working first | 06:36 |
mithro | mparuszewski: plus the revamped look | 06:36 |
ayush3504 | mithro: i'm looking at something interesting: Shared Endpoint specification - http://cscott.net/usb_dev/data/devclass/ccsSharedEPFeature1_0.pdf | 06:36 |
mithro | Appendix C: Multi-Channel Implementation Examples | 06:36 |
mparuszewski | All right :) | 06:37 |
ayush3504 | mithro: ok | 06:37 |
mithro | ayush3504: I don't think you should be worrying about this part for the moment, getting the daughterboard design / mechanics working first are more important | 06:38 |
ayush3504 | mithro: yep i know, just looked up since you were discussing | 06:39 |
mithro | ayush3504: have you seen any implementation of that functionality specified in SharedEpFeature? | 06:39 |
ayush3504 | mithro: at first few pages of the document, let me check | 06:40 |
mithro | ayush3504: what is an "interface" in USB mean? | 06:42 |
mithro | it's been a while since I looked at all this terminology | 06:42 |
mithro | shenki: any thoughts on the possibility of emulating a virtual USB hub? | 06:43 |
ayush3504 | mithro: no idea. didn't look up that word alone :P | 06:44 |
ayush3504 | mithro: i doubt if its defined | 06:45 |
ayush3504 | mithro: terms like Data Class Interface are defined for sure | 06:45 |
mithro | Endpoints are grouped into interfaces and each interface is associated with a single device function. | 06:47 |
shenki | mithro: on the cypress? | 06:48 |
shenki | i dont know much about usb hubs | 06:49 |
shenki | how does a hub differe from a composite device? | 06:49 |
ayush3504 | mithro: ah yes, i mentioned that once in my snippets | 06:50 |
mithro | shenki: that is what I wondered | 06:50 |
mithro | doing a Google search doesn't turn up anyone trying it | 06:52 |
ayush3504 | shenki: I think using hub would create multiple devices, each of which can have their own 15-16 endpoints | 06:53 |
shenki | ayush3504: devices are limited to 16 endpoints? | 06:58 |
ayush3504 | shenki: yes, and EP0 is always reserved for use by host for control messages | 06:59 |
ayush3504 | shenki: so 15 for our use | 06:59 |
mithro | so, it looks like a HUB is just a USB device which has EP0 and EP1, EP1 is used to notify the host about changes in downstream devices | 07:01 |
mithro | so, if we can get the cypress to respond to multiple usb device addresses and somehow forward that information we could emulate a hub | 07:01 |
shenki | ok | 07:03 |
* shenki wonders how composite devices work | 07:03 | |
shenki | do they show up to the host as seperate devices, and therefore you have n x 16? | 07:03 |
ayush3504 | shenki: yes | 07:04 |
mithro | shenki: no | 07:04 |
shenki | lol | 07:04 |
mithro | ha | 07:04 |
ayush3504 | mithro: i think they do, each device can have it's own 16 eps, even if they're connected through hubs | 07:05 |
mithro | If I'm reading the specification correctly, composite devices basically just define "multiple interfaces" in their EP0 descriptors | 07:05 |
mithro | interfaces are made up of one or more end points | 07:05 |
*** tija has joined #timvideos | 07:05 | |
mithro | ayush3504: composite devices are different from multiple devices connected to a hub | 07:05 |
ayush3504 | mithro: oh yes, i wasn't talking about composite devices | 07:06 |
mithro | if we could get this to work, it would actually be a pretty good idea because it pushes most of the USB into the FPGA | 07:06 |
mithro | so it makes replacing the Cypress chip easier in the future | 07:06 |
mithro | mparuszewski: you still around? | 07:14 |
mparuszewski | Yes, I am. :) | 07:14 |
mithro | The EZ-USB provides "extensive hardware support for handling" blah makes me worried | 07:14 |
mithro | mparuszewski: so just to confirm everything | 07:15 |
mithro | mparuszewski: The number one task at the moment should be trying to get the editing stuff working | 07:15 |
mithro | mparuszewski: After that is working, the next part is doing the new look/feel | 07:15 |
ayush3504 | mithro: i'm looking at the shared endpoint specification, and it says it depends on "host software" and device to do the mux/demux. The term host software isn't defined clearly, but I guess it's the software which would use the ports. I suggest you take a look at it sometime because this is what's used in ISDN - | 07:16 |
ayush3504 | http://cscott.net/usb_dev/data/devclass/ccsSharedEPFeature1_0.pdf | 07:16 |
mithro | mparuszewski: then concurrently together, you will implement the issue tool + more dynamic content for the website (as you'll be using the issue tool to manage the development of both the issue tool and dynamic content for the website) | 07:17 |
mparuszewski | Ok, dynamic content should contain: issues, people (part of information from GitHub), code statistics | 07:18 |
mparuszewski | some information about projects | 07:27 |
mithro | mparuszewski: that is some ideas, I can rattle off a bunch more | 07:27 |
mithro | mparuszewski: which I'd like to dump into a github issue tracker for you :P | 07:27 |
mithro | mparuszewski: not all of them are good ideas either :P | 07:27 |
mithro | When the firmware is in control of endpoint zero (RENUM=1), the EZ-USB handles only one of these requests (Set Address) automatically; it relies on the firmware to support all of the others. | 07:27 |
mparuszewski | All right, great! :) | 07:27 |
mithro | ayush3504 looks like I found the issue which prevents the cypress acting as a hub | 07:27 |
mithro | Set Address is implemented in hardware | 07:27 |
mithro | 2.3.9 - Set Address | 07:27 |
mithro | When a USB device is first plugged in, it responds to device address 0 until the host assigns it a unique address using the Set Address request. The EZ-USB copies this device address into the FNADDR (Function Address) register, then subsequently responds only to requests to this address. This address is in effect until the USB device is unplugged, the host | 07:27 |
mithro | issues a USB Reset, or the host powers down. The FNADDR register is read-only. Whenever the EZ-USB ReNumeratesTM (see Enumeration and ReNumerationTM, on page 51), it automatically resets FNADDR to zero, allowing the device to come back as new. An EZ-USB program does not need to know the device address, because the EZ-USB automatically responds only to the | 07:27 |
mithro | host-assigned FNADDR value. The device address is readable only for debug/diagnostic purposes. | 07:27 |
mparuszewski | mithro: And there is a time for midterm evaluation, should I do somethings special or just follow the Google instructions? | 07:27 |
mithro | mparuszewski: the mid-term evaluations start on the 24th if seems | 07:29 |
mithro | mparuszewski: both yourself and your mentor will be asked to take surveys | 07:29 |
mithro | mparuszewski: both yourself and your mentor's surveys must be completed by the 27th | 07:30 |
mithro | mparuszewski: the mentor has a checkbox at the end of their survey which says something like "For the midterm evaluation, should this student pass or fail?" | 07:31 |
techman83 | mparuszewski: so best get to sending me some nice coffee ;-) | 07:32 |
mithro | mparuszewski: for students who's mentor answers fail don't receive the mid-term payment and their GSoC project stops | 07:33 |
*** tija has quit IRC | 07:33 | |
mparuszewski | techman83: :D | 07:35 |
mparuszewski | mithro: thanks. :) | 07:36 |
ayush3504 | mithro: hmm. how would hub emulation work in contrast to this? | 07:37 |
*** rohitksingh has joined #timvideos | 07:40 | |
ayush3504 | mithro: i guess we won't be able to change function add. register to send data as different devices? | 07:42 |
mithro | ayush3504: with hub emulation we need to effectively respond to requests to multiple different USB addresses | 07:50 |
mithro | ayush3504: I'm trying to find if there is a way around this | 07:50 |
ayush3504 | mithro: ok | 07:51 |
mithro | The specification seems to clearly say it's impossible - still trying to find out if implementation matches specification :P | 07:57 |
mithro | During the USB enumeration process, the host sends a device a unique 7 bit address, which the USB core copies into this register. There is normally no reason for the CPU to know its USB device address because the USB Core automatically responds only to its assigned address. | 07:57 |
mithro | That is the part that kills us | 07:57 |
*** tija has joined #timvideos | 07:58 | |
ayush3504 | mithro: does this mean a usb hub would get multiple of these 'address' from host for each device connected to it? | 08:01 |
mithro | ayush3504: a USB hub normally just forwards any incoming message (not address directly to it) to all its output ports | 08:03 |
mithro | but as we want to pretend to be multiple devices on a USB hub, we need to respond to multiple addresses | 08:04 |
ayush3504 | mithro: and the host assigns these address right? | 08:05 |
mithro | ayush3504: yes | 08:07 |
mithro | Using a "Set Address" USB command | 08:07 |
mithro | the problem is this "Set Address" USB command is done in hardware | 08:08 |
ayush3504 | mithro: ah, now i understand | 08:08 |
mithro | ayush3504: on every other function of this chip you can override the behaviour of it by doing it in software | 08:10 |
mithro | ayush3504: this seems to be the *one* feature you can't :/ | 08:10 |
shenki | mithro: i was reading about some winde band SDRs (software defined radios) today, all of which have USB connectivity | 08:11 |
shenki | mithro: two of them use the fx3 for USB3 | 08:11 |
shenki | mithro: the third uses a cortex m3 for USB2 | 08:11 |
mithro | shenki: the fx3 is kind of sucky for USB3 - the price is *way* to high | 08:11 |
shenki | sure. not suggesting we use it - just interesting to see what other projects are gravitating towards | 08:12 |
shenki | infact, i would suggest we stay away from usb3 until we can get a micro that has it | 08:12 |
shenki | if the digilent board had a real micro on it instead of the fx2 part, we wouldn't be backed into this corner that ayush3504 finds us in | 08:13 |
ayush3504 | shenki: yeah, happens :| | 08:14 |
ayush3504 | mithro: do micros have that part implemented in hardware too? | 08:14 |
ayush3504 | mithro: akaik they do have some serial engine implemented in hardare | 08:15 |
mithro | shenki: I'm not so sure, if the micro has "USB acceleration functions" it is quite possible that it would have the same flaw / "feature" | 08:15 |
shenki | true | 08:16 |
mithro | shenki: got a link to the datasheet for a Cortex-M designed for (high speed) USB device functionality? | 08:16 |
shenki | that TI USB 3 to SATA bridge is still the only microcontroller/USB3 device out there | 08:16 |
shenki | form what i can find | 08:17 |
shenki | mithro: sec | 08:17 |
mithro | shenki: there is a standard for USB 3.0 "PHYs" chips | 08:17 |
mithro | heading home, be back shortly | 08:17 |
mithro | shenki: but the only device I've seen implement it is that TI chip (which isn't a USB3 to SATA) | 08:18 |
mithro | shenki: it's actually kind of nice in that is uses the same interface as PCI-E (the PIPE3 interface) | 08:18 |
shenki | mithro: this one? http://www.ti.com/product/tusb9260 | 08:19 |
tpb | Title: TUSB9260 | USB Peripheral | USB | Description & parametrics (at www.ti.com) | 08:19 |
shenki | http://www.nxp.com/documents/user_manual/UM10430.pdf | 08:30 |
shenki | Supports six logical endpoints including one control endpoint for a total of 12 physical | 08:30 |
shenki | endpoints. | 08:30 |
*** Niharika has quit IRC | 09:00 | |
mparuszewski | mithro: I've added you to my fork of getting-started, you can see the results on http://pinoss.github.io, you can edit every panel by clicking on the top right button (will appear on hover). I didn't have autodeploy set to pinoss.github.io. I just want to show you GitHub edit interface, so editing content works fine, but adding new would be a hard for | 12:20 |
mparuszewski | non-technical person with current solution (if someone wants to add new panel, so I think i will change that design a little bit, and on every site I will have only one panel with content (no 'static' pages, on dynamic I will use all features of that design, just like with news on planet). | 12:20 |
mithro | ayush3504: you still here? | 12:54 |
mithro | mparuszewski: a couple of issues with this | 12:55 |
mithro | mparuszewski: the github preview is substantially different from what the result would look like (it just renders the little markdown bit) | 12:56 |
mithro | mparuszewski: I dislike how it takes you away from the timvideos website | 12:56 |
mithro | mparuszewski: thoughts? | 13:00 |
mithro | mparuszewski: it looks like the "ace editor" has an embed API | 13:03 |
mithro | mparuszewski: https://github.com/ajaxorg/ace/wiki/Embedding-API | 13:04 |
tpb | Title: Embedding API · ajaxorg/ace Wiki · GitHub (at github.com) | 13:04 |
mithro | but that doesn't seem to cover the GitHub part | 13:04 |
*** FeltonChris has quit IRC | 13:09 | |
ayush3504 | mithro: yes | 13:16 |
mithro | ayush3504: so where are you at? Do you have the daughterboard/motherboard stuff all sorted out? | 13:16 |
ayush3504 | mithro: was away, just came. i'll be doing some pen-paper stuff first | 13:17 |
mithro | ayush3504: have you filled in the spreadsheets yet? | 13:17 |
ayush3504 | mithro: nope | 13:18 |
mithro | ayush3504: what have you been doing then? | 13:18 |
ayush3504 | mithro: was physically away from the room. went to bank | 13:19 |
mithro | ayush3504: since our meeting on tuesday | 13:19 |
ayush3504 | mithro: since last discussion on usb, sorry i'm more focused on the schematic part which is a hard requirement | 13:20 |
mithro | ayush3504: you have now 5 days to finish the schematic and mechanical design for your system | 13:21 |
ayush3504 | mithro: trying best | 13:22 |
mithro | ayush3504: how are we closer then we where on Tuesday? | 13:22 |
mithro | ayush3504: where has the last 16 hours of effort gone? | 13:23 |
*** rohitksingh1 has joined #timvideos | 13:26 | |
*** rohitksingh has quit IRC | 13:26 | |
*** rohitksingh1 is now known as rohitksingh | 13:26 | |
*** Niharika has joined #timvideos | 14:03 | |
*** rohitksingh has quit IRC | 15:03 | |
*** rohitksingh has joined #timvideos | 15:04 | |
ayush3504 | mithro: what kind of connector would you be needing for IR daughter board? | 15:09 |
rohitksingh | mithro: online? | 15:12 |
*** rohitksingh1 has joined #timvideos | 16:01 | |
*** rohitksingh has quit IRC | 16:01 | |
*** rohitksingh1 is now known as rohitksingh | 16:19 | |
*** Niharika has left #timvideos | 17:01 | |
*** Niharika has quit IRC | 17:01 | |
*** mparuszewski has quit IRC | 17:11 | |
rohitksingh | any mentor online? I'd like to inform of a major improvement in VGA capturing. Although, it is still not perfect. Maybe mentors can suggest the possible issue? | 17:21 |
rohitksingh | Here: http://dreamsxtrinsic.blogspot.in/2014/06/gsoc-daily-log-major-improvement.html | 17:21 |
tpb | Title: [GSoC Daily Log]: Major improvement! | Dreams eXtrinsic (at dreamsxtrinsic.blogspot.in) | 17:21 |
ayush3504 | rohitksingh: looks great! :) | 17:37 |
rohitksingh | ayush3504: thanks! :) although I have to resolve flickers | 17:40 |
ayush3504 | rohitksingh: you're very close though ;) | 17:41 |
rohitksingh | ayush3504: yeah seems :) but one never knows, what problems can come :) | 17:43 |
ayush3504 | rohitksingh: true. so any suspect in your mind for these flickers? | 17:46 |
rohitksingh | i think maybe be something wrong implementation in my code or incorrect syncs...I'll have to investigate more on that! | 17:47 |
ayush3504 | rohitksingh: are the flickers random in nature? | 17:50 |
rohitksingh | ayush3504: i think so...can't quantify their time...will have to see on this... | 17:56 |
ayush3504 | rohitksingh: have you ruled out circuit problems? checked waveforms? | 17:56 |
rohitksingh | ayush3504: yeah that too maybe the case or incorrect AD9984A's register settings or simply my incorrect code...who knows... :) will have to see everything :) | 17:58 |
ayush3504 | rohitksingh: sounds fun ;) | 18:01 |
rohitksingh | ayush3504: haha :D ...yeah, should be fun :) | 18:02 |
*** tija has quit IRC | 18:08 | |
*** andi-m2 has quit IRC | 18:08 | |
*** shenki has quit IRC | 18:08 | |
*** tija has joined #timvideos | 18:10 | |
*** andi-m2 has joined #timvideos | 18:10 | |
*** shenki has joined #timvideos | 18:10 | |
*** kornbluth.freenode.net sets mode: +v shenki | 18:10 | |
*** tija has quit IRC | 18:14 | |
*** andi-m2 has quit IRC | 18:14 | |
*** shenki has quit IRC | 18:15 | |
*** tija has joined #timvideos | 18:16 | |
*** andi-m2 has joined #timvideos | 18:16 | |
*** shenki has joined #timvideos | 18:16 | |
*** kornbluth.freenode.net sets mode: +v shenki | 18:16 | |
ayush3504 | rohitksingh: should I treat your SDA, SCL pins on VHDCI final as per the spreadsheet? | 18:37 |
rohitksingh | ayush3504: yeah pretty much...we don't have any other conflicting SDA/SCL pin on other expansion boards | 18:42 |
*** rohitksingh1 has joined #timvideos | 19:27 | |
*** rohitksingh has quit IRC | 19:27 | |
*** rohitksingh1 is now known as rohitksingh | 19:33 | |
aps-sids | CarlFK: around? | 20:31 |
CarlFK | aps-sids: 1/2 - setting up to record an event tonight | 20:31 |
aps-sids | oh. nevermind, I wanted to ask about replicating my results. | 20:32 |
aps-sids | CarlFK: anyway, would you be available for a VC in a day or two? We haven't had any of those. | 20:33 |
aps-sids | I mean if that's needed. | 20:33 |
*** slomo has joined #timvideos | 20:47 | |
*** tija has quit IRC | 20:55 | |
*** slomo has quit IRC | 21:17 | |
*** mparuszewski has joined #timvideos | 21:31 | |
mparuszewski | mithro: I will use prose.io then and load a custom css for from website to preview parts of website, I will change the design a little bit to have one panel with content to make sure that editing is easy. Design and easy ability to edit and create content have to be a compromise. | 21:33 |
*** CarlFK has quit IRC | 22:17 | |
*** rohitksingh has quit IRC | 22:26 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!