[linux-usb-devel] uhci port not enable

2005-03-11 Thread peng peng
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;

[linux-usb-devel] usb code under dos

2005-03-10 Thread peng peng
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

[linux-usb-devel] how to debug uhci

2005-03-09 Thread peng peng
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

[linux-usb-devel] about uhci

2005-03-09 Thread peng peng
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/