Hi,
 
  I am using ISP 1561 PCI - USB controller in my project (with MVL
3.1).  I am able to configure the root hub with ehci-hcd.o.  But it is
not enumerating when a device is attached (tried with mouse).   When
no devices are connected, the /proc/usb/devices lists the root hub's
configuration.  After a device is connected, it does not display
anything more than what it used to display (still just the root hub
configuration) .  I have attached the kernel messages with this mail
for the reference. I have also attached the contents of
/proc/usb/devices (log2.txt) and lsmod results (log1.txt) We have
added some printks inside the usb_control_msg function for debugging
purpose.
 
Thanks,
Jayaprakash.
2003-12-25ADS setup arch
MPC82xx PCI bridge initialization
On node 0 totalpages: 65536
zone(0): 65536 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs rw ip=bootp 
nfsroot=10.100.131.41:/tftpboot/root init=/bin/sh
ADS init IRQ. NR_IRQS=256
PIC: fully preemptible IRQ mode
ADS time init
ADS calibrate decrementer. FREQ=80000000, tb_ticks_per_jiffy=200000
Calibrating delay loop... 212.99 BogoMIPS
Memory: 257388k available (1136k kernel code, 420k data, 76k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
BEFORE RECORDED PCI CONTROLLERS
Scanning bus 00
Found 00:00 [1057/18c0] 000600 00
PCI:00:00.0 Resource 0 [00000000-0001ffff] is unassigned
PCI:00:00.0 Resource 1 [00000000-1fffffff] is unassigned
Found 00:58 [1131/1561] 000c03 00
PCI:00:0b.0 Resource 0 [00000000-00000fff] is unassigned
Found 00:59 [1131/1561] 000c03 00
PCI:00:0b.1 Resource 0 [00000000-00000fff] is unassigned
Found 00:5a [1131/1562] 000c03 00
PCI:00:0b.2 Resource 0 [00000000-000000ff] is unassigned
Fixups for bus 00
Bus scan for 00 returning with max=00
Bus scan for 00 returning with max=00
AFTER RECORDED PCI CONTROLLERS
AFTER PCI BIOS MAKE OF BUS MAP
Fixing up Irq for PCI Device (PCI device 1057:18c0) To IRQ 0
Fixing up Irq for PCI Device (PCI device 1131:1561) To IRQ 6
Fixing up Irq for PCI Device (PCI device 1131:1561) To IRQ 6
Fixing up Irq for PCI Device (PCI device 1131:1562) To IRQ 6
After PCI Interrupt Routing
PCI: moved device 00:0b.0 resource 0 (200) to 80000000
PCI: moved device 00:0b.1 resource 0 (200) to 80001000
PCI: moved device 00:0b.2 resource 0 (200) to 80002000
After PCIBIOS FIXUP
PCI: bridge rsrc edfff000..efffefff (100), parent c0141e28
PCI: bridge rsrc 80000000..8fffffff (200), parent c0141e44
PCI: bridge rsrc 90000000..9fffffff (1200), parent c0141e44
AFTER ALLOCATE AND ASSIGN RESOURCES
End of PCI INIT
ADS init
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
LSP Revision 1
ikconfig 0.5 with /proc/ikconfig
Starting kswapd
Disabling the Out Of Memory Killer
devfs: v1.12c (20020818) Richard Gooch ([EMAIL PROTECTED])
devfs: boot_options: 0x1
i2c-core.o: i2c core module version 2.6.2 (20011118)
i2c-dev.o: i2c /dev entries driver module version 2.6.2 (20011118)
i2c-algo-bit.o: i2c bit algorithm module version 2.6.2 (20011118)
i2c-proc.o version 2.6.2 (20011118)
pty: 256 Unix98 ptys configured
devsoc: devsoc_init:
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
MPC8260 FCC Ethernet driver
devsoc_xcc_create c0520000
Created eth0
devsoc_xcc_create c0500000
Created eth1
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
eth0: OPEN
BD rings initialised, RBASE=538160, TBASE=538360
eth1: OPEN
BD rings initialised, RBASE=518160, TBASE=518360
Sending BOOTP requests . OK
IP-Config: Got BOOTP answer from 10.100.131.41, my address is 10.100.131.20
eth1: STOP
IP-Config: Complete:
      device=eth0, addr=10.100.131.20, mask=255.255.255.0, gw=10.100.131.1,
     host=10.100.131.20, domain=, nis-domain=(none),
     bootserver=10.100.131.41, rootserver=10.100.131.41, rootpath=/tftpboot/root
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 10.100.131.41
Looking up port of RPC 100005/1 on 10.100.131.41
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 76k init
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
ehci-hcd.c: 2002-May-07 USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-hcd.c: block sizes: qh 96 qtd 96 itd 128 sitd 64
hcd.c: ehci-hcd @ 00:0b.2, PCI device 1131:1562
hcd.c: irq 6, pci mem d1027000
usb.c: new USB bus registered, assigned bus number 1
ehci-dbg.c: ehci_start hcs_params 0x12214 dbg=0 ind cc=2 pcc=2 ordered ports=4
ehci-dbg.c: ehci_start hcc_params 0x0012 caching 1 uframes 256/512/1024
ehci-hcd.c: reset 80002 cmd (park)=0 ithresh=8 period=1024 Reset HALT
ehci-hcd.c: init 10001 cmd (park)=0 ithresh=1 period=1024 RUN
ehci-hcd.c: USB 2.0 support enabled, EHCI rev 0.95
Before USB SET ADDRESS 1
usb control Message Dev : 1 Pipe : 80000000 Request : 5 Request Type : 0 value 
: 1 index : 0 size : 0
hcd.c: 00:0b.2 root hub device address 1
Before Set device descriptor
usb control Message Dev : 1 Pipe : 80000180 Request : 6 Request Type : 80 value 
: 100 index : 0 size : 8
Before get device Descriptor
usb control Message Dev : 1 Pipe : 80000180 Request : 6 Request Type : 80 value 
: 100 index : 0 size : 18
Before Get Configuration Desc
usb control Message Dev : 1 Pipe : 80000180 Request : 6 Request Type : 80 value 
: 200 index : 0 size : 8
usb control Message Dev : 1 Pipe : 80000180 Request : 6 Request Type : 80 value 
: 200 index : 0 size : 25
usb.c: kmalloc IF c04bfb00, numif 1
Before Set Configurationusb control Message Dev : 1 Pipe : 80000100 Request : 9 
Request Type : 0 value : 1 index : 0 size :
usb.c: new device strings: Mfr=3, Product=2, SerialNumber=1
usb control Message Dev : 1 Pipe : 80000180 Request : 6 Request Type : 80 value 
: 300 index : 0 size : 4
usb.c: USB device number 1 default language ID 0x0
usb control Message Dev : 1 Pipe : 80000180 Request : 6 Request Type : 80 value 
: 303 index : 0 size : 255
Manufacturer: Linux 2.4.20_mvl31-8275VR ehci-hcd
usb control Message Dev : 1 Pipe : 80000180 Request : 6 Request Type : 80 value 
: 302 index : 0 size : 255
Product: PCI device 1131:1562
usb control Message Dev : 1 Pipe : 80000180 Request : 6 Request Type : 80 value 
: 301 index : 0 size : 255
SerialNumber: 00:0b.2
hub.c: USB hub found
usb control Message Dev : 1 Pipe : 80000180 Request : 6 Request Type : a0 value 
: 2900 index : 0 size : 13
hub.c: 4 ports detected
hub.c: standalone hub
hub.c: individual port power switching
hub.c: individual port over-current protection
hub.c: Single TT
hub.c: TT requires at most 8 FS bit times
hub.c: Port indicators are  supported
hub.c: power on to power good time: 0ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RRRR
usb control Message Dev : 1 Pipe : 80000180 Request : 0 Request Type : a0 value 
: 0 index : 0 size : 4
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb control Message Dev : 1 Pipe : 80000100 Request : 3 Request Type : 23 value 
: 8 index : 1 size : 0
usb control Message Dev : 1 Pipe : 80000100 Request : 3 Request Type : 23 value 
: 8 index : 2 size : 0
usb control Message Dev : 1 Pipe : 80000100 Request : 3 Request Type : 23 value 
: 8 index : 3 size : 0
usb control Message Dev : 1 Pipe : 80000100 Request : 3 Request Type : 23 value 
: 8 index : 4 size : 0
usb.c: hub driver claimed interface c04bfb00
usb control Message Dev : 1 Pipe : 80000180 Request : 0 Request Type : a3 value 
: 0 index : 1 size : 4
hub.c: port 1, portstatus 100, change 0, 12 Mb/s
usb control Message Dev : 1 Pipe : 80000180 Request : 0 Request Type : a3 value 
: 0 index : 2 size : 4
ehci-hub.c: GetStatus port 2 status 0x1403 POWER speed=1 CSC CONNECT
hub.c: port 2, portstatus 501, change 1, 480 Mb/s
hub.c: port 2 connection change
hub.c: port 2, portstatus 501, change 1, 480 Mb/s
usb control Message Dev : 1 Pipe : 80000100 Request : 1 Request Type : 23 value 
: 10 index : 2 size : 0
usb control Message Dev : 1 Pipe : 80000180 Request : 0 Request Type : a3 value 
: 0 index : 2 size : 4
hub.c: port 2, portstatus 501, change 0, 480 Mb/s
usb control Message Dev : 1 Pipe : 80000180 Request : 0 Request Type : a3 value 
: 0 index : 2 size : 4
hub.c: port 2, portstatus 501, change 0, 480 Mb/s
usb control Message Dev : 1 Pipe : 80000180 Request : 0 Request Type : a3 value 
: 0 index : 2 size : 4
hub.c: port 2, portstatus 501, change 0, 480 Mb/s
usb control Message Dev : 1 Pipe : 80000180 Request : 0 Request Type : a3 value 
: 0 index : 2 size : 4
hub.c: port 2, portstatus 501, change 0, 480 Mb/s
usb control Message Dev : 1 Pipe : 80000100 Request : 3 Request Type : 23 value 
: 4 index : 2 size : 0
ehci-hub.c: 00:0b.2 port 2 low speed, give to companion
usb control Message Dev : 1 Pipe : 80000180 Request : 0 Request Type : a3 value 
: 0 index : 2 size : 4
ehci-hub.c: GetStatus port 2 status 0x3402 OWNER POWER speed=1 CSC
hub.c: port 2, portstatus 0, change 1, 12 Mb/s
usb control Message Dev : 1 Pipe : 80000100 Request : 1 Request Type : 23 value 
: 14 index : 2 size : 0
ehci-hcd.c: 00:0b.2: free_config devnum 0
Before HUB DISABLE -> This is from hub.c (in usb_hub_port_connect_change)
usb control Message Dev : 1 Pipe : 80000100 Request : 1 Request Type : 23 value 
: 1 index : 2 size : 0
Before address 0<6>after address 0usb control Message Dev : 1 Pipe : 80000180 
Request : 0 Request Type : a3 value : 0 index
hub.c: port 3, portstatus 100, change 0, 12 Mb/s
usb control Message Dev : 1 Pipe : 80000180 Request : 0 Request Type : a3 value 
: 0 index : 4 size : 4
hub.c: port 4, portstatus 100, change 0, 12 Mb/s
usb control Message Dev : 1 Pipe : 80000180 Request : 0 Request Type : a0 value 
: 0 index : 0 size : 4



# lsmod
Module                  Size  Used by    Not tainted
ehci-hcd               23524   0  (unused)
usbcore                70372   0  [ehci-hcd]

# more /proc/bus/usb/devices
00180 Request : 6 Request Type : 80 value : 301 index : 0 size : 255
80 value : 303 index : 0 size : 255
usb control Message Dev : 1 Pipe : 80000180 Request : 6 Request Type : 80 value 
: 302 index : 0 size : 255
usb control Message Dev : 1 Pipe : 80000180 Request : 6 Request Type : 80 value 
: 301 index : 0 size : 255
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 4
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.04
S:  Manufacturer=Linux 2.4.20_mvl31-8275VR ehci-hcd
S:  Product=PCI device 1131:1562
S:  SerialNumber=00:0b.2
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms
usb control Message Dev : 1 Pipe : 80000180 Request : 6 Request Type : 80 value 
: 303 index : 0 size : 255
usb control Message Dev : 1 Pipe : 80000180 Request : 6 Request Type : 80 value 
: 302 index : 0 size : 255
usb control Message Dev : 1 Pipe : 80000180 Request : 6 Request Type : 80 value 
: 301 index : 0 size : 255

Reply via email to