Wednesday, 2018-02-28

*** tpb has joined #tomu00:00
*** futarisIRCcloud has joined #tomu01:02
*** earthnative has joined #tomu02:57
*** lathiat has joined #tomu03:20
*** earthnative has quit IRC03:37
*** earthnative has joined #tomu03:57
*** earthnative has quit IRC04:09
*** earthnative has joined #tomu04:09
xobsWell, hubs already kinda have bitbang-able GPIOs.  Or at least, GPOs.  If it's wired up, you can toggle power on individual hub ports.  And toggle the LED, too.04:48
xobsHere's the source for novena-usb-hub which toggles port power: https://github.com/xobs/novena-usb-hub/blob/master/novena-usb-hub.c04:49
tpbTitle: novena-usb-hub/novena-usb-hub.c at master · xobs/novena-usb-hub · GitHub (at github.com)04:49
MadHackerAye, but the big smoothing capacitors on the power rails somewhat interfere with trying to carry data on it, even assuming you're not already using it for power. :)06:13
MadHackerI suspect that the test modes on most USB devices would probably do it, but they're not standardised at all.06:14
xobsMadHacker: Power rails, yes.  But the LEDs are also able to be controlled, assuming those pins are wired up.06:27
MadHackerIs the interface for those standardised?06:28
MadHackerIf so, a hacker's hub that brought them out to 0.1" header would be ridiculously cheap and easy to make. :)06:29
MadHackerStill couldn't use it as an assumed-to-be-there rescue mode thing, but nonetheless, handy.06:30
xobsMan, the USB specification is complex.  And Chapter 11 is longer than every other chapter combined.06:33
xobsHaving said that, PORT_INDICATOR hs the feature you're looking for.  You can then set some other bits to actually control the LED.06:34
*** futarisIRCcloud has quit IRC09:01
*** earthnative has quit IRC11:33
*** earthnative has joined #tomu11:33
*** earthnative has quit IRC15:24
*** earthnative has joined #tomu15:24
*** MadHacke1 has joined #tomu16:22
*** bibor has quit IRC16:27
*** MadHacker has quit IRC16:27
*** bibor has joined #tomu16:35
*** josecanuc has joined #tomu20:21
*** josecanuc has quit IRC21:30
*** dtornabene has joined #tomu23:28

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!