_florent_ changed the topic of #litex to: LiteX FPGA SoC builder and Cores / Github : https://github.com/enjoy-digital, https://github.com/litex-hub / Logs: https://libera.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
nelgau__ has quit [Ping timeout: 272 seconds]
nelgau has joined #litex
C-Man has joined #litex
Degi_ has joined #litex
Degi has quit [Ping timeout: 268 seconds]
Degi_ is now known as Degi
nelgau has quit [Read error: Connection reset by peer]
nelgau has joined #litex
<cr1901> xobs[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?
FabM has joined #litex
<xobs[m]> cr1901: I'd imagine so, at least until you connect the pullup resistor.
<cr1901> But the device enumerates
<cr1901> After 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 dance
<cr1901> Anyways, I'm trying to add some functionality to valentyusb. It's 3am, I'll try again tomorrow or something
<cr1901> xobs[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)
<xobs[m]> Oh, then yes, it's normal for the host to not do anything. There's a flurry of activity and then silence.
<cr1901> Okay, interesting to know, thanks. I prob knew this then forgot
lexano has quit [Ping timeout: 260 seconds]
<zyp> cr1901, it depends on the driver, the driver can either start requesting data right away or wait until the user is actually interested in the data
<zyp> but 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 it
<cr1901> Well 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"
<cr1901> But good to know
lexano has joined #litex
<zyp> cr1901, I've discussed the same issue with _florent_ before and he added this: https://github.com/enjoy-digital/litex/commit/ad1fe143cc32017589976b0934ffe73e696af9e4
C-Man has quit [Ping timeout: 248 seconds]
C-Man has joined #litex
FabM has quit [Ping timeout: 246 seconds]
nelgau has quit [Read error: Connection reset by peer]
nelgau has joined #litex