HI,
I use the following code to enable portsc of uhci
under DOS,but the port enable failed (set the bit but
it doesn`t take effect) , I don't know why . Is there
anyone know what's the problem ? Thanks :)
static void uhci_reset_port(unsigned int port)
{
unsigned short status;
I want to know how to drive usb host controller/hub to
send request to my usb device under dos , Does anyone
help me about the way to it or have example code ?
thanks in advance
__
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.c
I want to send packet to usb device by frame list
defined in UHCI, when I define a transferdescriptor in
framelist and the send it , when that ok ,how can I
get the answer data for it . When get answer data in
interrupt service , how can I know which packet cause
this interrupt ?
Thanks :)
Regar
I wrote code to enable uhci portsc ,but not success ,
why ? My code is as follow :
procedure pci_enable;
var okay:boolean;
result:word;
begin
if
readPCIRegisterWord($4,USBBusNumber,USBFunctionNumber,result)
then
begin
result := result and $05; { bus master enable/