Hello everyone,
I got a surprised error after I "modprobe hc_isp116x", it seems that there
is no interrupt occurred after I pluged the USB mouse.
___________________
This is the msg:
#modprobe hc_isp116x
-------------------------------------------------------------
hc_isp116x.c: USB ISP116x at f4000290/f4000292,ffffffff IRQ 29 Rev. 10 ChipID:
0
usb.c: new USB bus registered, assigned bus number 1
USB HC dev alloc 1152 bytes
Product: USB ISP116x Root Hub
SerialNumber: 0
hub.c: USB hub found
hub.c: 2 ports detected
------------------------------------
After I pluged in the mouse:
--------------------------------------------------------------
USB HC dev alloc 1152 bytes
hub.c: USB new device connect on bus1/2, assigned device number 2
usb_control/bulk_msg: timeout
usb.c: USB device not accepting new address=2 (error=-110)
USB HC dev free
USB HC dev alloc 1152 bytes
hub.c: USB new device connect on bus1/2, assigned device number 3
usb_control/bulk_msg: timeout
usb.c: USB device not accepting new address=3 (error=-110)
USB HC dev free
...
________________End_of_msg______________________________________
And This is my configuration:
linux kernel 2.4.19 + isp116x HCD(version Tango) + Ian Campbell's patch for
PXA255 + OV511 driver
I had tried to fix this for a few days, but until now I couldn't get the
trick!
Any help is appreciated!!!
Before I updated the isp116x HCD to Version Tango, everything works fine
excepted the ISOC! The mouse and keyboard can be drived perfectly!!!
Is there a lot of changes in version tango??
BTW,I have another two questions for Adsynori and Ian Campbell,
1. I know there is a similar message named "ISP1161 uclinux - timeout", and
Adsynori replied as "Type #more /proc/interrupts".
-------------Results I got----------------------------
$more /proc/interrupts
0: 0 Sitsang FPGA
2: 5449 GPIO 2-80
6: 41 AC97
9: 0 LCD
11: 0 irda0
12: 1 irda0
13: 8 serial
14: 10505 serial
17: 0 DMA
18: 723969 timer
26: 0 ADS7846
27: 5451 eth0
29: 0 ISP116x
31: 0 SitSang CF Card detect
Err: 0
---------------------------------------------------------
It seems that the IRQ had been successfully regestered, but no interrupt
happened!!
What should be the possible reason?
Is there an interrupt mask error?
2. In Ian Campbell's patch there is "ndelay" but I couldn't find its
definition at all in kernel 2.4.19. When I looks up for higher kernel, there
is a "maybe" definition "#define ndelay(x) udelay(((x)+999)/1000)". I tried
it, but no help!
Then what should I do to get a delay of 300ns or 110ns?
Is the error caused by this point?
What does the "(error=-110)" mean?
thanks!
Cheers,
Saw
--http://www.eyou.com
--�ȶ��ɿ��ĵ������� �����ʼ� �ƶ���ǩ �������� ����洢...����δ��
--http://vip.eyou.com
--����¼����VIP���� ע����������û���
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel