USB
Re: USB
Так и хочется воскликнуть "the revolution is coming!!!"
Цитата с Reimi's Blog:
Hi, here a nice pics to show the upcoming USB Support in ROS. This is mjmartin’s USBEHCI inside Win2000 (Привет, здесь приведены скрины, иллюстрирующие грядущую поддержку USB в ROS. Это скрин работы драйвера USBEHCI Михаэля Мартина (mjmartin) в Win2000).
[ external image ]
Цитата с Reimi's Blog:
Hi, here a nice pics to show the upcoming USB Support in ROS. This is mjmartin’s USBEHCI inside Win2000 (Привет, здесь приведены скрины, иллюстрирующие грядущую поддержку USB в ROS. Это скрин работы драйвера USBEHCI Михаэля Мартина (mjmartin) в Win2000).
[ external image ]
Re: USB
К сожалению радоваться рано, и в любом случае это всего лишь один драйвер из целого стека драйверов (в существующем usbdriver.sys они интегрированы в один legacy-style драйвер), и чтобы он полноценно смог работать, они нужны все, комплектом.
Aleksey Bragin,
ReactOS Project Lead
ReactOS Project Lead
-
- Posts: 237
- Joined: Fri Sep 25, 2009 7:35 pm
Re: USB
На этот раз работу над драйвером USB провел Кэмерон Гутман:
Commit by cgutman :: r47139 reactos/ (3 files in 2 dirs):
[USBDRIVER]
Register the device with the device manager only after it has been successfully allocated to avoid a crash
A device that failed in xhci_alloc would never get deregistered from the device manager so it would crash when it entered xhci_start with a partially set up device extension
Define release_adapter to HalPutDmaAdapter to fix a DMA adapter leak [HAL]
Export HalPutDmaAdapter
Commit by cgutman :: r47139 reactos/ (3 files in 2 dirs):
[USBDRIVER]
Register the device with the device manager only after it has been successfully allocated to avoid a crash
A device that failed in xhci_alloc would never get deregistered from the device manager so it would crash when it entered xhci_start with a partially set up device extension
Define release_adapter to HalPutDmaAdapter to fix a DMA adapter leak [HAL]
Export HalPutDmaAdapter
-
- Posts: 237
- Joined: Fri Sep 25, 2009 7:35 pm
Re: USB
Это тоже его работа, пропустил, невнимательным стал :
Commit by cgutman :: r47136 reactos/drivers/usb/nt4compat/usbdriver/ (ehci.c uhci.c usbdriver.rbuild):
[USBDRIVER]
Fix an off-by-one error in the probing code
Scan all PCI buses instead of just the first two
Fix a horrible bug that resulted in reinitializing EHCI controllers as UHCI controllers which caused a crash on VirtualBox (with _MULTI_UHCI)
Implement support for multiple EHCI controllers and enable support for multiple UHCI controllers (greatly increases compatibility with real hardware because the first controller detected is often internal)
Commit by cgutman :: r47136 reactos/drivers/usb/nt4compat/usbdriver/ (ehci.c uhci.c usbdriver.rbuild):
[USBDRIVER]
Fix an off-by-one error in the probing code
Scan all PCI buses instead of just the first two
Fix a horrible bug that resulted in reinitializing EHCI controllers as UHCI controllers which caused a crash on VirtualBox (with _MULTI_UHCI)
Implement support for multiple EHCI controllers and enable support for multiple UHCI controllers (greatly increases compatibility with real hardware because the first controller detected is often internal)
-
- Posts: 237
- Joined: Fri Sep 25, 2009 7:35 pm
Re: USB
Кэмерон Гутман перехватил инициативу по работе над драйвером USB у mjmartin-а. Его достижения :
[USBHUB]
Include the DDK before debug.h
Fixes several warnings
[USB]
Add the cromwell stack that was removed previously
Needed some simple changes to make it build (STDCALL -> NTAPI, debug.h after ntddk.h, etc)
This is completely untested; all that I know is that it builds
USBD]
Fix usbd build and enable it
[REACTOS.DFF]
Add usbohci.sys, usbuhci.sys, usbport.sys, usbd.sys, and usbstor.sys to bootcd
Remove usbdriver.sys from bootcd
Никто не в курсе, пробовали этот драйвер в ХР, он успешно подменяет родные икспишные юэсби-драйвера?
[USBHUB]
Include the DDK before debug.h
Fixes several warnings
[USB]
Add the cromwell stack that was removed previously
Needed some simple changes to make it build (STDCALL -> NTAPI, debug.h after ntddk.h, etc)
This is completely untested; all that I know is that it builds
USBD]
Fix usbd build and enable it
[REACTOS.DFF]
Add usbohci.sys, usbuhci.sys, usbport.sys, usbd.sys, and usbstor.sys to bootcd
Remove usbdriver.sys from bootcd
Никто не в курсе, пробовали этот драйвер в ХР, он успешно подменяет родные икспишные юэсби-драйвера?
-
- Posts: 237
- Joined: Fri Sep 25, 2009 7:35 pm
Re: USB
Кэмерон Гутман обновил драйвер USB:
Commit by cgutman on aicom-hardware-fun :: r47250 /drivers/usb/ (3 files in 2 dirs):
[USB]
Fix device interface activation
Add usbehci to build
Commit by cgutman on aicom-hardware-fun :: r47250 /drivers/usb/ (3 files in 2 dirs):
[USB]
Fix device interface activation
Add usbehci to build
-
- Posts: 237
- Joined: Fri Sep 25, 2009 7:35 pm
Re: USB
mjmartin вернулся к работе над драйвером USB!
mjmartin :: r47845 reactos/drivers/usb/usbehci/pdo.c:
[usbehci]
Use the correct offset of ROOTHUB2_CONFIGURATION_DESCRIPTOR and ROOTHUB2_INTERFACE_DESCRIPTOR to calculate needed buffer sizes. Fixes a buffer overflow crash.
mjmartin :: r47845 reactos/drivers/usb/usbehci/pdo.c:
[usbehci]
Use the correct offset of ROOTHUB2_CONFIGURATION_DESCRIPTOR and ROOTHUB2_INTERFACE_DESCRIPTOR to calculate needed buffer sizes. Fixes a buffer overflow crash.
-
- Posts: 237
- Joined: Fri Sep 25, 2009 7:35 pm
Re: USB
mjmartin продолжает работу над драйвером USB:
[usb/usbehci]
Implement FdoDispatchInternalDeviceControl and remove IrpStub as its no longer needed.
Implement Direct Call RemoveUsbDevice.
Implement URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE.
Use the port parameter in ExecuteControlRequest.
Windows now identifies my thumb drive as a mass storage device.
Судя по последней строчке, удалось добиться некоторых успехов по работе драйвера в Виндовс. Только почему винда идентифицирует его драйвер как флешку, а не как собственно usb-драйвер?
[usb/usbehci]
Implement FdoDispatchInternalDeviceControl and remove IrpStub as its no longer needed.
Implement Direct Call RemoveUsbDevice.
Implement URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE.
Use the port parameter in ExecuteControlRequest.
Windows now identifies my thumb drive as a mass storage device.
Судя по последней строчке, удалось добиться некоторых успехов по работе драйвера в Виндовс. Только почему винда идентифицирует его драйвер как флешку, а не как собственно usb-драйвер?
Re: USB
Нет-нет, дружище, "thumb drive" переводится как "Флешка" или "Флеш-накопитель", а вообще это прекрасная новость, ReactOS с каждым днём становится всё лучше и лучше! Viva la ReactOS!Demonidios wrote:mjmartin продолжает работу над драйвером USB:
[usb/usbehci]
Implement FdoDispatchInternalDeviceControl and remove IrpStub as its no longer needed.
Implement Direct Call RemoveUsbDevice.
Implement URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE.
Use the port parameter in ExecuteControlRequest.
Windows now identifies my thumb drive as a mass storage device.
Судя по последней строчке, удалось добиться некоторых успехов по работе драйвера в Виндовс. Только почему винда идентифицирует его драйвер как флешку, а не как собственно usb-драйвер?
-
- Posts: 237
- Joined: Fri Sep 25, 2009 7:35 pm
Re: USB
Commit by mjmartin :: r47958 reactos/drivers/usb/usbehci/ (7 files):
Implement DeviceHandleToUsbDevice and remove IsHandleValid.
Add call to DeviceHandleToUsbDevice for all Direct Call functions that pass DeviceHandle.
Stop the processing of Asynchronous List after the Control Request has been processed by controller.
Misc changes.
М.Дж.Мартин снова нас радует!
Implement DeviceHandleToUsbDevice and remove IsHandleValid.
Add call to DeviceHandleToUsbDevice for all Direct Call functions that pass DeviceHandle.
Stop the processing of Asynchronous List after the Control Request has been processed by controller.
Misc changes.
М.Дж.Мартин снова нас радует!
Re: USB
М.Мартин может и радует, а глюки uniata.sys и cdfs.sys - нет.Demonidios wrote:Commit by mjmartin :: r47958 reactos/drivers/usb/usbehci/ (7 files):
Implement DeviceHandleToUsbDevice and remove IsHandleValid.
Add call to DeviceHandleToUsbDevice for all Direct Call functions that pass DeviceHandle.
Stop the processing of Asynchronous List after the Control Request has been processed by controller.
Misc changes.
М.Дж.Мартин снова нас радует!
-
- Posts: 237
- Joined: Fri Sep 25, 2009 7:35 pm
Re: USB
Так ведь пока больше активности проявляет разработчик, избравший устранение багов в USB. Тут про USB и пишу. А с юниата и сидиэфэс пока застой. Что будет - то если увижу, перенесу в соответствующую тему. Главное, что на месте не стоим! Прогресс в разработке есть!
Re: USB
Demonidios, а у тебя есть возможность проверить USB в работе?Demonidios wrote:Так ведь пока больше активности проявляет разработчик, избравший устранение багов в USB. Тут про USB и пишу. ... Главное, что на месте не стоим! Прогресс в разработке есть!
Хорошо, не буду разводить оффтопик. Подождём-с.Demonidios wrote:А с юниата и сидиэфэс пока застой. Что будет - то если увижу, перенесу в соответствующую тему.
-
- Posts: 237
- Joined: Fri Sep 25, 2009 7:35 pm
Re: USB
Нет, пока возможности нет, через неделю будет посвободнее, скачаю новую сборку, установлю, проверю. Самому интересно, как поведет себя USB-драйвер с моими устройствами.
Who is online
Users browsing this forum: No registered users and 19 guests