*** tpb has joined #timvideos | 00:00 | |
mithro | shenki: you about? | 00:11 |
---|---|---|
*** FeltonChris has joined #timvideos | 00:40 | |
*** FeltonChris has quit IRC | 00:48 | |
canci | mithro: m( this -V of fxload is arguably somewhat strange... | 00:53 |
mithro | canci: It makes sense when you are using fxload from a udev script where you have the devpath | 00:54 |
canci | mithro: actually I had/have quite an old version, the tarball it's built from is fxload-2008_10_13 (though I am not sure if there are newer releases?) | 00:54 |
canci | -V shows the build date | 00:54 |
mithro | canci: yeah - that is the "old" fxload | 00:54 |
canci | and as it was compiled when I installed it, it was showing Mar 2014 | 00:54 |
canci | ... | 00:54 |
canci | (why would anybody show the build date but not the version on -V) | 00:55 |
canci | where is fxload actually maintained? still at sourceforge? | 00:56 |
canci | hm, but the latest ubuntu version is also "0.0.20081013-1ubuntu1" so it's probably from the same tarball? | 00:57 |
canci | yea, md5sums match | 00:58 |
*** FeltonChris has joined #timvideos | 01:02 | |
canci | ... reading helps; the suggested version is at https://github.com/pbatard/fxload - /me should really go to bed | 01:03 |
tpb | Title: pbatard/fxload · GitHub (at github.com) | 01:03 |
canci | Though this -V is really misleading, in combination with: https://github.com/timvideos/HDMI2USB/wiki/Digilent-Atlys-Board%3A-Loading-Firmware#fxload | 01:03 |
tpb | Title: Digilent Atlys Board: Loading Firmware · timvideos/HDMI2USB Wiki · GitHub (at github.com) | 01:03 |
canci | As -V is showing the builddate it's mostly pointless to tell whether the version is the right one or not | 01:04 |
mithro | canci: the version at pbatard doesn't support the devpath and considered unmaintained | 01:04 |
canci | Yea, but that is the version suggested at "loading firmware", right? | 01:04 |
CarlFK | canci: I think there are 3 versions roaming about... | 01:07 |
CarlFK | one under github/pbatard | 01:07 |
CarlFK | one at sf.net (which is old, and what is packaged for debian/ubuntu) | 01:08 |
canci | https://github.com/libusb/libusb/blob/master/examples/fxload.c | 01:08 |
tpb | Title: libusb/examples/fxload.c at master · libusb/libusb · GitHub (at github.com) | 01:08 |
CarlFK | and that one is the most current, but not packaged | 01:08 |
canci | Yea, as I read it the version at github/pbatard was intended to end up in the libusb examples | 01:09 |
canci | So which one should I use? Probably the one from libusb examples? | 01:09 |
CarlFK | as far as I can tell, we can use any of them, as long as we only have one device plugged in | 01:09 |
canci | hm, so why does the "loading firmware" doc state "the version which comes with ubuntu is too old" ? | 01:10 |
CarlFK | because mithro thinks we need to be ready for 2 devices at all times ;) | 01:11 |
canci | yea, but the _old_ version actually supports that | 01:12 |
canci | as it uses device path | 01:12 |
canci | and not vendor-id:product-id | 01:12 |
canci | while the new version doesn't? | 01:12 |
CarlFK | but it is hard to build and the author keeps yelling at me | 01:12 |
mithro | canci: because that command uses vid:pid | 01:12 |
canci | yea, but the _old_ version supports device-path. The new version takes vid:pid, right? | 01:13 |
CarlFK | mithro: if we only have one device, any reason not to use the one in the package repo? | 01:13 |
mithro | CarlFK: using vid:pid makes it hard to make the process reliably automatic from udev | 01:14 |
CarlFK | I am not using udev | 01:15 |
mithro | CarlFK: I know, but if we want "just install the dpkg and plug in the Atlys board" set up then udev is the way to go | 01:16 |
mithro | CarlFK: you just plug the board in, no programming or other scripts needing to be run | 01:17 |
CarlFK | until things are stable, I doubt that is realistic | 01:18 |
canci | what I don't understand, but probably I am getting something wrong, the ubuntu version/old version uses a device path | 01:19 |
canci | so it could be used with udev | 01:19 |
mithro | canci: what ubuntu version are you on? | 01:19 |
canci | while the new version uses vid:pid which is obviously not so unique | 01:19 |
mithro | canci: I was pretty sure the newer ubuntu's have the newer fxload packaged | 01:20 |
canci | http://packages.ubuntu.com/trusty/fxload | 01:20 |
tpb | Title: Ubuntu – Details of package fxload in trusty (at packages.ubuntu.com) | 01:20 |
canci | still 0.0.20081013-1ubuntu1 | 01:20 |
mithro | Maybe Carl has been confusing me | 01:21 |
CarlFK | lol | 01:21 |
CarlFK | it is contagious! | 01:22 |
CarlFK | http://linux-hotplug.cvs.sourceforge.net/viewvc/linux-hotplug/fxload/ I am pretty sure that is what is packaged | 01:23 |
canci | yea, it is | 01:23 |
tpb | Title: SourceForge.net Repository - [linux-hotplug] Index of /fxloadSourceForge.net Repository - linux-hotplug Index of / (at linux-hotplug.cvs.sourceforge.net) | 01:23 |
canci | and that versions usage is: fxload [-vV] [-l] [-t type] [-D devpath] | 01:23 |
mithro | okay | 01:24 |
mithro | so that *is* the version which should work with udev | 01:24 |
CarlFK | https://packages.debian.org/wheezy/fxload home: http://sourceforge.net/projects/linux-hotplug/ | 01:24 |
tpb | Title: Debian -- Details of package fxload in wheezy (at packages.debian.org) | 01:24 |
canci | yea, I also compared the tarballs from ubuntu/debian to those on the sourceforge page, they are identical | 01:25 |
canci | they add a patch so they will also read DEVNAME as environment variable instead of only reading DEVICE as the original version does | 01:26 |
canci | but other than that there are no more functional changes that I can see | 01:27 |
mithro | okay | 01:31 |
canci | okay, I'll be off for now, there's a long day ahead tomorrow ;) | 01:39 |
CarlFK | canci: thanks for poking into the fxload thing. it was driving me bonkers. | 01:39 |
mithro | okay, I just managed to flash the Atlys with the latest Cypress+FPGA firmware using only open source tools | 01:47 |
mithro | yay! | 01:47 |
CarlFK | yay indeed | 01:47 |
mithro | and the capture works fine | 01:50 |
mithro | I'm going to upload new files to the prebuild repository for you to test CarlFK | 01:51 |
CarlFK | woo! | 01:52 |
CarlFK | mithro: uploaded? | 04:22 |
mithro | nope | 04:22 |
*** tvCommitBot has joined #timvideos | 04:35 | |
tvCommitBot | [HDMI2USB] mithro pushed 2 new commits to master: http://git.io/_CtCLQ | 04:35 |
tvCommitBot | HDMI2USB/master 96710a0 Tim 'mithro' Ansell: Adding Makefile for Cypress and updating the .gitignore | 04:35 |
tvCommitBot | HDMI2USB/master c827c8a Tim 'mithro' Ansell: Adding xsvf file production (needed for libFPGAlink programming). | 04:35 |
*** tvCommitBot has left #timvideos | 04:35 | |
*** mparuszewski has joined #timvideos | 05:28 | |
mithro | CarlFK: there you go | 05:47 |
CarlFK | k - you here for another 10 min? | 05:47 |
mithro | Just writing a script to make it easier to publish new binaries | 05:47 |
mithro | CarlFK: I'm still around now | 06:08 |
CarlFK | I am fighting with reading data from a csv file.. how do I turn byte strings into unicode strings? | 06:09 |
CarlFK | '\xe2'.decode() UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128) | 06:09 |
CarlFK | '\xe2' is nifty double back qutoes | 06:09 |
CarlFK | I need to convert it to u'\u2018' because that is what comes back when I store it into postgresql, and I am looking for changes in the text file sense the last time I stored it in the db, but I am detecting the quotes being encoded? differently | 06:11 |
mithro | you need 'utf-8' in there | 06:36 |
mithro | and \xe2 isn't valid utf-8 | 06:36 |
CarlFK | mithro: yeah, just figured that out | 06:38 |
CarlFK | my print statements confused me | 06:38 |
mithro | decode means "take bytes and convert it to text/characters" | 06:38 |
mithro | encode means "take text/characters and convert them to bytes" | 06:38 |
*** Niharika has joined #timvideos | 07:33 | |
CarlFK | mithro: gah, I used up my last bit of energy on importing csv and providing json .. whacky backwards land today. | 07:35 |
*** tvCommitBot has joined #timvideos | 07:47 | |
tvCommitBot | [HDMI2USB] mithro tagged v0.0.0 at 879ed26: http://git.io/xpCzQA | 07:47 |
*** tvCommitBot has left #timvideos | 07:47 | |
*** tvCommitBot has joined #timvideos | 08:04 | |
tvCommitBot | [HDMI2USB] mithro pushed 1 new commit to master: http://git.io/-8bXyA | 08:04 |
tvCommitBot | HDMI2USB/master eaee2d1 Tim 'mithro' Ansell: Adding missing hdmi2usb.batch file needed for xsvf generation. | 08:04 |
*** tvCommitBot has left #timvideos | 08:04 | |
*** Niharika has left #timvideos | 08:34 | |
*** FeltonChris has left #timvideos | 10:26 | |
*** Niharika has joined #timvideos | 11:34 | |
*** mparuszewski has quit IRC | 11:54 | |
*** CarlFK has quit IRC | 13:55 | |
*** Niharika is now known as Niharika|afk | 14:11 | |
*** CarlFK has joined #timvideos | 15:42 | |
*** ChanServ sets mode: +v CarlFK | 15:42 | |
*** Niharika|afk is now known as Niharika | 15:43 | |
*** skay is now known as nottherealskay | 16:18 | |
*** nottherealskay is now known as skay | 16:18 | |
*** Niharika has left #timvideos | 17:08 | |
*** puck has quit IRC | 17:26 | |
*** puck has joined #timvideos | 17:29 | |
tariq786 | hi | 17:37 |
tariq786 | anyone have an idea how to create progress blog for GSOC? | 17:48 |
aps-sids | hey tariq786 , you can choose from various blogging platforms like Blogger or Wordpress. | 17:52 |
tariq786 | ok thanks aps-sids | 18:06 |
*** mparuszewski has joined #timvideos | 19:18 | |
*** CarlFK has quit IRC | 21:56 | |
*** mparuszewski has quit IRC | 22:26 | |
*** CarlFK has joined #timvideos | 22:43 | |
*** ChanServ sets mode: +v CarlFK | 22:43 | |
CarlFK | mithro: let me know if there is something I can test. but nap time now, I'll bb in an hour or so. | 23:04 |
mithro | You can test the new .hex/.bit files | 23:49 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!