*** tpb has joined #tomu | 00:00 | |
*** futarisIRCcloud has joined #tomu | 01:02 | |
*** earthnative has joined #tomu | 02:57 | |
*** lathiat has joined #tomu | 03:20 | |
*** earthnative has quit IRC | 03:37 | |
*** earthnative has joined #tomu | 03:57 | |
*** earthnative has quit IRC | 04:09 | |
*** earthnative has joined #tomu | 04:09 | |
xobs | Well, 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 |
---|---|---|
xobs | Here's the source for novena-usb-hub which toggles port power: https://github.com/xobs/novena-usb-hub/blob/master/novena-usb-hub.c | 04:49 |
tpb | Title: novena-usb-hub/novena-usb-hub.c at master · xobs/novena-usb-hub · GitHub (at github.com) | 04:49 |
MadHacker | Aye, 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 |
MadHacker | I suspect that the test modes on most USB devices would probably do it, but they're not standardised at all. | 06:14 |
xobs | MadHacker: Power rails, yes. But the LEDs are also able to be controlled, assuming those pins are wired up. | 06:27 |
MadHacker | Is the interface for those standardised? | 06:28 |
MadHacker | If so, a hacker's hub that brought them out to 0.1" header would be ridiculously cheap and easy to make. :) | 06:29 |
MadHacker | Still couldn't use it as an assumed-to-be-there rescue mode thing, but nonetheless, handy. | 06:30 |
xobs | Man, the USB specification is complex. And Chapter 11 is longer than every other chapter combined. | 06:33 |
xobs | Having 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 IRC | 09:01 | |
*** earthnative has quit IRC | 11:33 | |
*** earthnative has joined #tomu | 11:33 | |
*** earthnative has quit IRC | 15:24 | |
*** earthnative has joined #tomu | 15:24 | |
*** MadHacke1 has joined #tomu | 16:22 | |
*** bibor has quit IRC | 16:27 | |
*** MadHacker has quit IRC | 16:27 | |
*** bibor has joined #tomu | 16:35 | |
*** josecanuc has joined #tomu | 20:21 | |
*** josecanuc has quit IRC | 21:30 | |
*** dtornabene has joined #tomu | 23:28 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!