flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Usb device enumeration |
Author |
|
Madis731 08 Mar 2006, 09:32
I see that in one step you are disabling legacy mode. Wouldn't it be simpler if you collected all legacy mode USB-devices and THEN disable it. There will be less work to do. Is there something I missed and you can't detect all devices in legacy mode?
Otherwise you're probably a lot further that others on this board if you made it in assembly, but good luck anyway. |
|||
08 Mar 2006, 09:32 |
|
bogdanontanu 08 Mar 2006, 17:10
Gilles wrote: I'm trying to dectect all installed usb devices at boot time (before loading any operating system) Good but youa also have to read OHCI and more important EHCI (usb 2.0) specifications. Quote:
IRQ is missused in USB but required ... Quote:
Good, Solar OS (unreleased version yet) is also doing "kind of" this but in protected mode. Quote:
Yes you do ... "pooling" is the essence of USB . Kind of a steep backwards in humman evolution. Quote:
Try on a real PC and you will notice some bits changing in the controller status when a new device is attached. However you still have to change the descriptors and pool a "discovery protoocol" since the status information is not enough to make a decission what device and where it is attached. _________________ "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Last edited by bogdanontanu on 08 Mar 2006, 20:50; edited 1 time in total |
|||
08 Mar 2006, 17:10 |
|
Dex4u 08 Mar 2006, 19:14
The programmer who was working on Dex4u USB emulation is call "tonyMac" topic here:
http://dex.7.forumer.com/viewtopic.php?t=20&start=0 Maybe he could help. But from a OS Dev point of view, i have found it much better to use BIOS USB driver (if your PC has it ), in Dex4u we can boot form USB pen drives, read/write to USB floppy's, card reads, unload from digital camera, etc, using a special driver that users the BIOS USB driver, also usb keyboard work too. Note we can do the above from pmode. |
|||
08 Mar 2006, 19:14 |
|
bogdanontanu 08 Mar 2006, 20:49
Quote:
By returning to real mode for a brief moment? |
|||
08 Mar 2006, 20:49 |
|
Gilles 09 Mar 2006, 08:54
Thanks a lot for all of your responses ,I'm going to test it right now and continue my learning.
|
|||
09 Mar 2006, 08:54 |
|
Dex4u 09 Mar 2006, 19:56
Yes boganontanu, that rights , i have 2 driver for floppy and 2 for Hdd, so you can choses between a BIOS (switching back and forth) or pmode.
There little difference in speed between the 2 drivers, but using BIOS USB by this method is sloooooow . |
|||
09 Mar 2006, 19:56 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.