2008-06-28 02:08:08 bf549 isp1761 Unlink after no-IRQ error?
miaolf miao (CHINA)
Message: 57979
using isp1760 driver,
#undef MSEC_INT_BASED
16-bit mode.
it return TIMEOUT when usb driver calls
usb_control_msg() to get usb descriptor in hub_port_init().
Does anyone know the reason?
thanks!
boot and error message:
BusyBox v1.4.1 (2008-06-03 11:18:02 CST) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/> modprobe hal_pxa
drivers/usb/host/pehcd/hal/hal_pxa.c: pid 8210, vid 8210
drivers/usb/host/pehcd/hal/hal_pxa.c: controller address 0032c6c0
root:/> modprobe pehci
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
drivers/usb/host/pehcd/hal/hal_pxa.c: isp1761_register_driver(drv=00913d88)
isp1761_register_driver 0
isp1761 isp1761.0: PHILIPS ISP1761
isp1761 isp1761.0: new USB bus registered, assigned bus number 1
isp1761 isp1761.0: irq 211, io mem 0x00000000
usb usb1: Product: PHILIPS ISP1761
usb usb1: Manufacturer: Linux 2.6.22.18-ADI-2008R1-svn Philips
usb usb1: SerialNumber: platform
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
drivers/usb/host/pehcd/hal/hal_pxa.c: Registered Driver Philips
drivers/usb/host/pehcd/host/pehci.c: Host Driver has been Registered
root:/> usb 1-1: new high speed USB device using isp1761 and address 2
isp1761 isp1761.0: Unlink after no-IRQ? Controller is probably using the wrong IRQ.
usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: new high speed USB device using isp1761 and address 3
root:/> usb 1-1: device descriptor read/64, error -110
usb 1-1: device descriptor read/64, error -110
usb 1-1: new high speed USB device using isp1761 and address 4
usb 1-1: device not accepting address 4, error -110
usb 1-1: new high speed USB device using isp1761 and address 5
usb 1-1: device not accepting address 5, error -110
root:/> dmesg
Linux version 2.6.22.18-ADI-2008R1-svn (root@fedora8) (gcc version 4.1.2 (ADI svn)) #1019 Thu Jun 26 10:48:28 CST 2008
Hardware Trace Active and Enabled
Blackfin support (C) 2004-2007 Analog Devices, Inc.
Compiled for ADSP-BF548 Rev 0.0
Warning: Compiled for Rev 0, but running on Rev 1
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 400 MHz core clock and 133 MHz System Clock
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
text = 0x00100000-0x002a2760
rodata = 0x002a3000-0x00327b80
data = 0x00328000-0x00344000
stack = 0x00328000-0x0032a000
init = 0x00344000-0x00a18000
bss = 0x00a18000-0x00a3049c
available = 0x00a3049c-0x03dff000
DMA Zone = 0x03e00000-0x04000000
On node 0 totalpages: 15871
DMA zone: 123 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 15748 pages, LIFO batch:3
Normal zone: 0 pages used for memmap
Instruction Cache Enabled
Data Cache Enabled (write-through)
Built 1 zonelists. Total pages: 15748
Kernel command line: console=ttyBF0,57600
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Kernel managed physical pages: 15871
Memory available: 52468k/65536k RAM, (6992k init code, 1673k kernel code, 744k data, 2048k dma, 1608k reserved)
Blackfin Scratchpad data SRAM: 4 KB
Blackfin Data A SRAM: 16 KB (15 KB free)
Blackfin Data B SRAM: 16 KB (16 KB free)
Blackfin Instruction SRAM: 48 KB (42 KB free)
Calibrating delay loop... 796.67 BogoMIPS (lpj=1593344)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
ezkit_init(): registering device resources
bfin_isp1761_init(): registering device resources
SCSI subsystem initialized
libata version 2.21 loaded.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
bfin-otp: initialized
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc02000 (irq = 48) is a BFIN-UART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
dm9000 Ethernet Driver
eth0: dm9000 at 24000000,24000004 IRQ 114 MAC: 02:80:ad:24:31:e8
Linux video capture interface: v2.00
OV7X20: i2c driver ready
SCSI Media Changer driver v0.25
scsi0 : scsi_debug, version 1.81 [20070104], dev_size_mb=8, opts=0x0
bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, regs_base@ffc00500, dma channel@4
bfin-spi bfin-spi.1: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, regs_base@ffc02300, dma channel@5
i2c /dev entries driver
found normal entry for adapter 0, addr 0x21
scsi 0:0:0:0: Direct-Access Linux scsi_debug 0004 PQ: 0 ANSI: 5
OV7X20: detecting client on address 0x42
......<5>sd 0:0:0:0: [sda] 16384 512-byte hardware sectors (8 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 73 00 10 08
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 0:0:0:0: [sda] 16384 512-byte hardware sectors (8 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 73 00 10 08
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
............................................................................................................................................................................................................................................................................................................................................................................................................control=5550,delay=0,line=0,frame=5550
OV7X20: V4L driver Blackfin CMOS Camera now ready
found normal entry for adapter 0, addr 0x22
found normal entry for adapter 0, addr 0x51
..............................<6>pcf8563 0-0051: chip found, driver version 0.4.2
pcf8563 0-0051: rtc core: registered pcf8563 as rtc0
i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller Driver, Version 1.8, regs_base@ffc00700
dma_alloc_init: dma_page @ 0x00d70000 - 512 pages at 0x03e00000
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
ASoC version 0.13.1
AD1980 SoC Audio Codec
asoc: AC97 <-> bf5xx-ac97 mapping ok
ALSA device list:
#0: bf5xx-board (AD1980)
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Setting up Blackfin MMR debugfs
......<6>pcf8563 0-0051: low voltage detected, date/time is not reliable.
pcf8563 0-0051: setting the system clock to 2001-01-10 00:01:42 (979084902)
Freeing unused kernel memory: 6992k freed
drivers/usb/host/pehcd/hal/hal_pxa.c: pid 8210, vid 8210
drivers/usb/host/pehcd/hal/hal_pxa.c: controller address 0032c6c0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
drivers/usb/host/pehcd/hal/hal_pxa.c: isp1761_register_driver(drv=00913d88)
isp1761_register_driver 0
isp1761 isp1761.0: PHILIPS ISP1761
drivers/usb/core/inode.c: creating file 'devices'
drivers/usb/core/inode.c: creating file '001'
isp1761 isp1761.0: new USB bus registered, assigned bus number 1
isp1761 isp1761.0: irq 211, io mem 0x00000000
usb usb1: default language 0x0409
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: PHILIPS ISP1761
usb usb1: Manufacturer: Linux 2.6.22.18-ADI-2008R1-svn Philips
usb usb1: SerialNumber: platform
usb usb1: usb_probe_device
usb usb1: configuration #1 chosen from 1 choice
usb usb1: adding 1-0:1.0 (config #1, interface 0)
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: individual port power switching
hub 1-0:1.0: individual port over-current protection
hub 1-0:1.0: Single TT
hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
hub 1-0:1.0: Port indicators are supported
hub 1-0:1.0: power on to power good time: 20ms
hub 1-0:1.0: local power source is good
hub 1-0:1.0: enabling power on all ports
hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
drivers/usb/core/inode.c: creating file '001'
drivers/usb/host/pehcd/hal/hal_pxa.c: Registered Driver Philips
drivers/usb/host/pehcd/host/pehci.c: Host Driver has been Registered
hub 1-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: port 1 indicator auto status -32
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
usb 1-1: new high speed USB device using isp1761 and address 2
usb 1-1: khubd timed out on ep0in len=0/64
isp1761 isp1761.0: Unlink after no-IRQ? Controller is probably using the wrong IRQ.
usb 1-1: khubd timed out on ep0in len=0/64
usb 1-1: khubd timed out on ep0in len=0/64
usb 1-1: device descriptor read/64, error -110
usb 1-1: khubd timed out on ep0in len=0/64
usb 1-1: khubd timed out on ep0in len=0/64
usb 1-1: khubd timed out on ep0in len=0/64
usb 1-1: device descriptor read/64, error -110
usb 1-1: new high speed USB device using isp1761 and address 3
usb 1-1: khubd timed out on ep0in len=0/64
usb 1-1: khubd timed out on ep0in len=0/64
usb 1-1: khubd timed out on ep0in len=0/64
usb 1-1: device descriptor read/64, error -110
usb 1-1: khubd timed out on ep0in len=0/64
usb 1-1: khubd timed out on ep0in len=0/64
usb 1-1: khubd timed out on ep0in len=0/64
usb 1-1: device descriptor read/64, error -110
usb 1-1: new high speed USB device using isp1761 and address 4
usb 1-1: khubd timed out on ep0out len=0/0
usb 1-1: khubd timed out on ep0out len=0/0
usb 1-1: device not accepting address 4, error -110
usb 1-1: new high speed USB device using isp1761 and address 5
usb 1-1: khubd timed out on ep0out len=0/0
usb 1-1: khubd timed out on ep0out len=0/0
usb 1-1: device not accepting address 5, error -110
root:/>
TranslateQuoteReplyEditDelete
2008-06-28 03:54:26 Re: bf549 isp1761 Unlink after no-IRQ?
Michael Hennerich (GERMANY)
Message: 57980
Check your GPIO IRQ settings as well as your physical IRQ signal routing.
-Michael
QuoteReplyEditDelete
2008-06-28 04:17:19 Re: bf549 isp1761 Unlink after no-IRQ error?
miaolf miao (CHINA)
Message: 58015
thanks!
in isp1761.h:
#define MSEC_INT_BASED
//#undef MSEC_INT_BASED
Then,IRQ is ok,but there are some errors too,
root:/> modprobe hal_pxa
drivers/usb/host/pehcd/hal/hal_pxa.c: pid 8210, vid 8210
drivers/usb/host/pehcd/hal/hal_pxa.c: controller address 0031c6c0
root:/> modprobe pehci
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
drivers/usb/host/pehcd/hal/hal_pxa.c: isp1761_register_driver(drv=00425140)
isp1761 isp1761.0: PHILIPS ISP1761
isp1761 isp1761.0: new USB bus registered, assigned bus number 1
isp1761 isp1761.0: irq 212, io mem 0x00000000
usb usb1: Product: PHILIPS ISP1761
usb usb1: Manufacturer: Linux 2.6.22.18-ADI-2008R1-svn Philips
usb usb1: SerialNumber: platform
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
drivers/usb/host/pehcd/hal/hal_pxa.c: Registered Driver Philips
drivers/usb/host/pehcd/host/pehci.c: Host Driver has been Registered
usb 1-1: new high speed USB device using isp1761 and address 2
usb 1-1: device descriptor read/64, error -32
usb 1-1: device descriptor read/64, error -32
usb 1-1: new high speed USB device using isp1761 and address 3
usb 1-1: device descriptor read/64, error -32
usb 1-1: device descriptor read/64, error -32
usb 1-1: new high speed USB device using isp1761 and address 4
usb 1-1: device not accepting address 4, error -32
usb 1-1: new high speed USB device using isp1761 and address 5
usb 1-1: device not accepting address 5, error -32
TranslateQuoteReplyEditDelete
2008-06-28 06:25:07 Re: bf549 isp1761 Unlink after no-IRQ error?
miaolf miao (CHINA)
Message: 58023
root:/> modprobe hal_pxa
drivers/usb/host/pehcd/hal/hal_pxa.c: pid 8210, vid 0015
drivers/usb/host/pehcd/hal/hal_pxa.c: controller address 003386c0
root:/> modprobe pehci
drivers/usb/host/pehcd/hal/hal_pxa.c: isp1761_register_driver(drv=00875214)
isp1761_register_driver 0
isp1761 isp1761.0: PHILIPS ISP1761
isp1761 isp1761.0: new USB bus registered, assigned bus number 1
isp1761 isp1761.0: irq 212, io mem 0x00000000
usb usb1: Product: PHILIPS ISP1761
usb usb1: Manufacturer: Linux 2.6.22.18-ADI-2008R1-svn Philips
usb usb1: SerialNumber: platform
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
drivers/usb/host/pehcd/hal/hal_pxa.c: Registered Driver Philips
drivers/usb/host/pehcd/host/pehci.c: Host Driver has been Registered
usb 1-1: new high speed USB device using isp1761 and address 2
endpoint halted with retrie remaining 2
endpoint halted with retrie remaining 2
endpoint halted with retrie remaining 2
usb 1-1: device descriptor read/64, error -32
endpoint halted with retrie remaining 2
endpoint halted with retrie remaining 2
endpoint halted with retrie remaining 2
usb 1-1: device descriptor read/64, error -32
usb 1-1: new high speed USB device using isp1761 and address 3
endpoint halted with retrie remaining 2
endpoint halted with retrie remaining 2
endpoint halted with retrie remaining 2
usb 1-1: device descriptor read/64, error -32
endpoint halted with retrie remaining 2
endpoint halted with retrie remaining 2
endpoint halted with retrie remaining 2
usb 1-1: device descriptor read/64, error -32
usb 1-1: new high speed USB device using isp1761 and address 4
endpoint halted with retrie remaining 2
endpoint halted with retrie remaining 2
usb 1-1: device not accepting address 4, error -32
usb 1-1: new high speed USB device using isp1761 and address 5
endpoint halted with retrie remaining 2
endpoint halted with retrie remaining 2
usb 1-1: device not accepting address 5, error -32