Friday, 2022-04-08

*** tpb <[email protected]> has joined #litex00:00
*** nelgau__ <[email protected]> has quit IRC (Ping timeout: 272 seconds)00:16
*** nelgau <[email protected]> has joined #litex00:21
*** C-Man <[email protected]> has joined #litex00:31
*** Degi_ <[email protected]> has joined #litex00:57
*** Degi <[email protected]> has quit IRC (Ping timeout: 268 seconds)00:58
*** Degi_ is now known as Degi00:58
*** nelgau <[email protected]> has quit IRC (Read error: Connection reset by peer)06:55
*** nelgau <[email protected]> has joined #litex06:55
cr1901xobs[m]: If I connect valentyusb to a host (and nothing else), is it normal for the host to not talk to it at all (i.e. only SOF packets) until I open the device?07:14
*** FabM <FabM!~FabM@armadeus/team/FabM> has joined #litex07:14
xobs[m]cr1901: I'd imagine so, at least until you connect the pullup resistor.07:15
cr1901But the device enumerates07:16
cr1901After enumeration, it just... sits there doing nothing. Contrast to a random Prolific USB serial chip I have, which opens EP 01 at least and does the IN-NAK dance07:17
cr1901Anyways, I'm trying to add some functionality to valentyusb. It's 3am, I'll try again tomorrow or something07:17
cr1901xobs[m]: (Note: When I open the device in say Tera Term, valentyusb starts doing the IN-NAK dance on the Bulk pipe. But when I close the device, the host stops sending IN packets)07:18
xobs[m]Oh, then yes, it's normal for the host to not do anything. There's a flurry of activity and then silence.07:19
cr1901Okay, interesting to know, thanks. I prob knew this then forgot07:19
*** lexano <[email protected]> has quit IRC (Ping timeout: 260 seconds)07:25
zypcr1901, it depends on the driver, the driver can either start requesting data right away or wait until the user is actually interested in the data07:28
zypbut what is the driver supposed to do with the data it receives before the user wants it? it could buffer some, but eventually it'd have to either stop requesting more or discard it07:29
cr1901Well I'm trying to debug "the USB serial connection hangs the BIOS boot until I connect to the device, and the autoflush logic I added does not appear to be running at all"07:33
cr1901But good to know07:34
*** lexano <[email protected]> has joined #litex07:38
zypcr1901, I've discussed the same issue with _florent_ before and he added this: https://github.com/enjoy-digital/litex/commit/ad1fe143cc32017589976b0934ffe73e696af9e407:39
*** C-Man <[email protected]> has quit IRC (Ping timeout: 248 seconds)07:44
*** C-Man <[email protected]> has joined #litex14:17
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 246 seconds)14:35
*** nelgau <[email protected]> has quit IRC (Read error: Connection reset by peer)22:23
*** nelgau <[email protected]> has joined #litex22:23

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!