flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > USB unresponsive device (EHCI) |
Author |
|
N-LG 01 Aug 2019, 17:31
i doesnt know a lot about USB (today my OS just detect the controler) but EHCI controler doesnt support low speed device and we need to use an slave UHCI or OHCI to use them
maybe the floppy drive is a low speed device? |
|||
01 Aug 2019, 17:31 |
|
BAiC 02 Aug 2019, 07:56
the floppy is a Full Speed device. the EHCI uses "Companion Controllers" that are either UHCI or OHCI to implement connections to the Root Hub. the EHCI can handle connections to Low Speed and Full Speed but they have to be connected to a non-root-hub.
my EHCI driver properly hands off the device to the Companion Controller when it first boots (for the floppy drive). this is a coincidence of the port enumerator: the Floppy Drive happens to be enumerated before the 'ghost' device. I've since added a timeout function and a software port disable that blocks this 'ghost' device. _________________ byte me. |
|||
02 Aug 2019, 07:56 |
|
N-LG 03 Aug 2019, 16:54
I can not wait to take care of the USB driver of my OS, it looks very complex, currently I take care of TCP connection management but the USB seems to be at a higher level
is that your work is available somewhere? I would like to take a look when i do my own future implementation of USB |
|||
03 Aug 2019, 16:54 |
|
BAiC 04 Aug 2019, 20:35
I stopped posting my code around the same time I created my own loader (i.e., ELF). it became so complex that I can't really ask for help with specific code blocks: most sections require knowledge of the OS in general in order to debug them.
_________________ byte me. |
|||
04 Aug 2019, 20:35 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.