*** tpb has joined #timvideos | 00:00 | |
shenki | mithro: good work | 01:46 |
---|---|---|
shenki | mithro: so setting the minor to 0 will cause the tty layer to allocate the number for you? | 01:47 |
mithro | shenki: yeah | 01:47 |
shenki | mithro: did you verify that you can have that connected while the fx2 cdc device is active? | 01:47 |
mithro | shenki: yes | 01:47 |
shenki | sweet | 01:47 |
mithro | shenki: the hard parts where | 01:47 |
mithro | a) I found instructions for dynamically allocating major/minor device nodes - but couldn't figure out why handing them to the tty stuff always said "in use" | 01:48 |
mithro | I eventually dug into the tty code and discovered that it was calling the very same functions I was calling manually | 01:49 |
mithro | which is how I discovered just setting 0 will do dynamic allocation | 01:49 |
mithro | b) Figuring out how to the usb subsystem deals with multiple modules which can both deal with the same device | 01:50 |
mithro | I actually think the usb subsystem does it wrong at the moment and would love to patch / update it so it does the right thing - but that is more work then I want to take on :) | 01:51 |
shenki | hehe okay | 01:52 |
shenki | you should tell me about it, and i'll work on it | 01:52 |
mithro | shenki: basically the issue is that the code does something like | 01:55 |
mithro | for driver in drivers: if driver.matches(device): driver.assign(device) | 01:55 |
mithro | The problem is that it doesn't take into account the *type* of match - so one driver could match via class, the other one via vid+pid | 01:56 |
mithro | The USB code already has the idea that a "more specific match wins" - but that happens inside an individual driver rather than at a global level | 01:57 |
shenki | ah right | 01:57 |
mithro | So, we get the case where if you load the vizzini driver *first* then the cdc-acm driver, everthing works | 01:57 |
*** CarlFK has quit IRC | 03:42 | |
*** hyades has joined #timvideos | 04:17 | |
*** tija has joined #timvideos | 06:43 | |
*** _florent_ has joined #timvideos | 07:57 | |
*** tija has quit IRC | 09:14 | |
*** tija has joined #timvideos | 09:42 | |
mithro | _florent_: ping - I just sent two patches to the m-labs list for programming the Atlys board using the onboard USB JTAG programmer | 12:47 |
mithro | _florent_: also see https://github.com/timvideos/HDMI2USB-misoc-firmware/pull/1 | 12:54 |
tpb | Title: Adding support for programming with onboard USB JTAG. by mithro · Pull Request #1 · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 12:54 |
_florent_ | mithro: OK thanks | 13:27 |
mithro | _florent_: https://github.com/timvideos/HDMI2USB-misoc-firmware/issues/2 | 13:28 |
tpb | Title: Build fails at commit 72dbf3cad04e97e4080a6ada3184f78d7a9fbc75 and later. · Issue #2 · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 13:28 |
_florent_ | you just have to update migen | 13:31 |
_florent_ | :) | 13:31 |
mithro | _florent_: migen or misoc? | 13:34 |
_florent_ | migen | 13:34 |
*** tija has quit IRC | 13:34 | |
_florent_ | https://github.com/m-labs/migen/commit/7afa3d61d90eb43cc438573ad56278fe5173866c | 13:34 |
*** CarlFK has joined #timvideos | 14:03 | |
*** ChanServ sets mode: +v CarlFK | 14:03 | |
*** _florent_ has quit IRC | 15:48 | |
*** sb0 has joined #timvideos | 17:33 | |
*** hyades has quit IRC | 20:11 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!