Hi,

USB on my 1.2GHz iBook works fine in 2.6.9, but current kernels won't
find any devices on the bus. I've done some searching, and the last BK
snapshot that did work was 2.6.9-bk1. As of 2.6.9-bk2 the problems begin, and current BK is also broken.


Boot output with CONFIG_USB_DEBUG is included at the end of this
email. The last "wakeup" is from when I actually plugged in the USB
mouse I have. It would normally (2.6.9) show up as below in lsusb:

Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 05e3:1205 Genesys Logic, Inc. Afilias Optical Mouse H3003
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000


If I boot with the mouse plugged in, during boot (hotplug config?) I will see several lines with:
hub 2-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?


I'm pretty lost when it comes to the USB stack, but I'm more than willing to help collect more data or try stuff out. Just let me know what I can do to help, I'd like to be able to use my mouse -- 1 button X is no fun. :-)



-Olof


--- dmesg --- dmesg --- dmesg --- dmesg --- dmesg ---

Total memory = 768MB; using 2048kB for hash table (at c0400000)
Linux version 2.6.10-rc1 ([EMAIL PROTECTED]) (gcc version 3.3.3-hammer) #3 Fri Nov 12 16:34:44 CST 2004
Found UniNorth memory controller & host bridge, revision: 210
Mapped at 0xfdf00000
Found a Intrepid mac-io controller, rev: 0, mapped at 0xfde80000
Processor NAP mode on idle enabled.
PowerMac motherboard: iBook G4
via-pmu: Server Mode is disabled
PMU driver 2 initialized for Core99, firmware: 0c
Found UniNorth PCI host bridge at 0xf0000000. Firmware bus number: 0->0
Found UniNorth PCI host bridge at 0xf2000000. Firmware bus number: 0->0
Found UniNorth PCI host bridge at 0xf4000000. Firmware bus number: 0->0
nvram: Checking bank 0...
nvram: gen0=232, gen1=231
nvram: Active bank is: 0
nvram: OF partition at 0x410
nvram: XP partition at 0x1020
nvram: NR partition at 0x1120
On node 0 totalpages: 196608
DMA zone: 196608 pages, LIFO batch:16
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: root=/dev/hda4 ro
PowerMac using OpenPIC irq controller at 0x80040000
OpenPIC Version 1.2 (4 CPUs and 64 IRQ sources) at fc62e000
OpenPIC timer frequency is 4.166666 MHz
PID hash table entries: 4096 (order: 12, 65536 bytes)
GMT Delta read from XPRAM: 0 minutes, DST: off
time_init: decrementer frequency = 18.432000 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 773120k available (2260k kernel code, 1148k data, 152k init, 0k highmem)
AGP special page: 0xeffff000
Calibrating delay loop... 598.01 BogoMIPS (lpj=299008)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
NET: Registered protocol family 16
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 0 of device 0001:10:18.0
PCI: Cannot allocate resource region 0 of device 0001:10:19.0
Registering openpic with sysfs...
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Thermal assist unit not available
Registering PowerMac CPU frequency driver
Low: 599 Mhz, High: 1199 Mhz, Boot: 599 Mhz
devfs: 2004-01-31 Richard Gooch ([EMAIL PROTECTED])
devfs: boot_options: 0x0
Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]).
PCI: Enabling device 0000:00:10.0 (0006 -> 0007)
radeonfb: Invalid ROM signature 0 should be 0xaa55
radeonfb: Retreived PLL infos from Open Firmware
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=190.00 Mhz, System=183.00 MHz
radeonfb: PLL min 12000 max 35000
radeonfb: Monitor 1 type LCD found
radeonfb: EDID probed
radeonfb: Monitor 2 type no found
radeonfb: Using Firmware dividers 0x000600ad from PPLL 0
radeonfb: Power Management enabled for Mobility chipsets
Console: switching to colour frame buffer device 128x48
Registered "mnca" backlight controller, level: 15/15
radeonfb: ATI Radeon \c DDR SGRAM 32 MB
Generic RTC Driver v1.07
Macintosh non-volatile memory driver v1.1
pmac_zilog: 0.6 (Benjamin Herrenschmidt <[EMAIL PROTECTED]>)
ttyS0 at MMIO 0x80013020 (irq = 22) is a Z85c30 ESCC - Serial port
ttyS1 at MMIO 0x80013000 (irq = 23) is a Z85c30 ESCC - Serial port
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
sungem.c:v0.98 8/24/03 David S. Miller ([EMAIL PROTECTED])
eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:0d:93:b7:05:a2
PHY ID: 4061e4, addr: 0
eth0: Found BCM5221 PHY
MacIO PCI driver attached to Intrepid chipset
input: Macintosh mouse button emulation
apm_emu: APM Emulation 0.5 initialized.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
adb: starting probe task...
PCI: Enabling device 0002:20:0d.0 (0000 -> 0002)
adb devices: [2]: 2 c3 [3]: 3 1 [7]: 7 1f
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ANSI.
input: ADB keyboard on adb2:2.c3/input
input: ADB Powerbook buttons on adb7:7.1f/input
ADB mouse at 3, handler set to 4 (trackpad)
input: ADB mouse on adb3:3.01/input
adb: finished probe task...
ide0: Found Apple UniNorth ATA-6 controller, bus ID 3, irq 39
Probing IDE interface ide0...
hda: FUJITSU MHT2030AT, ATA DISK drive
hda: Enabling Ultra DMA 5
elevator: using anticipatory as default io scheduler
ide0 at 0xf1012000-0xf1012007,0xf1012160 on irq 39
ide1: Found Apple KeyLargo ATA-3 controller, bus ID 0, irq 24
Probing IDE interface ide1...
hdc: MATSHITACD-RW CW-8123, ATAPI CD/DVD-ROM drive
hdc: MDMA, cycleTime: 120, accessTime: 90, recTime: 30
hdc: Set MDMA timing for mode 2, reg: 0x00011d26
hdc: Enabling MultiWord DMA 2
ide1 at 0xf100c000-0xf100c007,0xf100c160 on irq 24
hda: max request size: 1024KiB
hda: 58605120 sectors (30005 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
/dev/ide/host0/bus0/target0/lun0: [mac] p1 p2 p3 p4 p5
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, (U)DMA
Uniform CD-ROM driver Revision: 3.20
st: Version 20040403, fixed bufsize 32768, s/g segs 256
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
PCI: Enabling device 0001:10:18.0 (0000 -> 0002)
ohci_hcd 0001:10:18.0: Found HC with no IRQ. Check BIOS/PCI 0001:10:18.0 setup!
PCI: Enabling device 0001:10:19.0 (0000 -> 0002)
ohci_hcd 0001:10:19.0: Found HC with no IRQ. Check BIOS/PCI 0001:10:19.0 setup!
PCI: Enabling device 0001:10:1a.0 (0000 -> 0002)
ohci_hcd 0001:10:1a.0: Apple Computer Inc. KeyLargo/Intrepid USB (#3)
ohci_hcd 0001:10:1a.0: irq 29, pci mem 0x80083000
ohci_hcd 0001:10:1a.0: new USB bus registered, assigned bus number 1
ohci_hcd 0001:10:1a.0: resetting from state 'suspend', control = 0xc0
ohci_hcd 0001:10:1a.0: OHCI controller state
ohci_hcd 0001:10:1a.0: OHCI 1.0, with legacy support registers
ohci_hcd 0001:10:1a.0: control 0x083 HCFS=operational CBSR=3
ohci_hcd 0001:10:1a.0: cmdstatus 0x00000 SOC=0
ohci_hcd 0001:10:1a.0: intrstatus 0x00000044 RHSC SF
ohci_hcd 0001:10:1a.0: intrenable 0x8000001a MIE UE RD WDH
ohci_hcd 0001:10:1a.0: hcca frame #0015
ohci_hcd 0001:10:1a.0: roothub.a 0a000202 POTPGT=10 NPS NDP=2
ohci_hcd 0001:10:1a.0: roothub.b 00000000 PPCM=0000 DR=0000
ohci_hcd 0001:10:1a.0: roothub.status 00008000 DRWE
ohci_hcd 0001:10:1a.0: roothub.portstatus [0] 0x00010100 CSC PPS
ohci_hcd 0001:10:1a.0: roothub.portstatus [1] 0x00010100 CSC PPS
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: default language 0x0409
usb usb1: Product: Apple Computer Inc. KeyLargo/Intrepid USB (#3)
usb usb1: Manufacturer: Linux 2.6.10-rc1 ohci_hcd
usb usb1: SerialNumber: 0001:10:1a.0
usb usb1: hotplug
usb usb1: adding 1-0:1.0 (config #1, interface 0)
usb 1-0:1.0: hotplug
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: 2 ports detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: no power switching (usb 1.0)
hub 1-0:1.0: global over-current protection
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: no over-current condition exists
ohci_hcd 0001:10:1a.0: created debug files
PCI: Enabling device 0001:10:1b.0 (0000 -> 0002)
ohci_hcd 0001:10:1b.0: NEC Corporation USB
ohci_hcd 0001:10:1b.0: irq 63, pci mem 0x80082000
hub 1-0:1.0: state 5 ports 2 chg ffff evt ffff
ohci_hcd 0001:10:1a.0: GetStatus roothub.portstatus [0] = 0x00010100 CSC PPS
hub 1-0:1.0: port 1, status 0100, change 0001, 12 Mb/s
ohci_hcd 0001:10:1b.0: new USB bus registered, assigned bus number 2
ohci_hcd 0001:10:1b.0: resetting from state 'suspend', control = 0xc0
ohci_hcd 0001:10:1b.0: OHCI controller state
ohci_hcd 0001:10:1b.0: OHCI 1.0, with legacy support registers
ohci_hcd 0001:10:1b.0: control 0x083 HCFS=operational CBSR=3
ohci_hcd 0001:10:1b.0: cmdstatus 0x00000 SOC=0
ohci_hcd 0001:10:1b.0: intrstatus 0x00000044 RHSC SF
ohci_hcd 0001:10:1b.0: intrenable 0x8000001a MIE UE RD WDH
ohci_hcd 0001:10:1b.0: hcca frame #0015
ohci_hcd 0001:10:1b.0: roothub.a 0a000203 POTPGT=10 NPS NDP=3
ohci_hcd 0001:10:1b.0: roothub.b 00000000 PPCM=0000 DR=0000
ohci_hcd 0001:10:1b.0: roothub.status 00008000 DRWE
ohci_hcd 0001:10:1b.0: roothub.portstatus [0] 0x00010100 CSC PPS
ohci_hcd 0001:10:1b.0: roothub.portstatus [1] 0x00010100 CSC PPS
ohci_hcd 0001:10:1b.0: roothub.portstatus [2] 0x00010100 CSC PPS
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: default language 0x0409
usb usb2: Product: NEC Corporation USB
usb usb2: Manufacturer: Linux 2.6.10-rc1 ohci_hcd
usb usb2: SerialNumber: 0001:10:1b.0
usb usb2: hotplug
usb usb2: adding 2-0:1.0 (config #1, interface 0)
usb 2-0:1.0: hotplug
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
hub 2-0:1.0: standalone hub
hub 2-0:1.0: no power switching (usb 1.0)
hub 2-0:1.0: global over-current protection
hub 2-0:1.0: power on to power good time: 20ms
hub 2-0:1.0: local power source is good
hub 2-0:1.0: no over-current condition exists
ohci_hcd 0001:10:1b.0: created debug files
PCI: Enabling device 0001:10:1b.1 (0000 -> 0002)
ohci_hcd 0001:10:1b.1: NEC Corporation USB (#2)
ohci_hcd 0001:10:1b.1: irq 63, pci mem 0x80081000
ohci_hcd 0001:10:1b.1: new USB bus registered, assigned bus number 3
ohci_hcd 0001:10:1b.1: resetting from state 'suspend', control = 0xc0
ohci_hcd 0001:10:1b.1: OHCI controller state
ohci_hcd 0001:10:1b.1: OHCI 1.0, with legacy support registers
ohci_hcd 0001:10:1b.1: control 0x083 HCFS=operational CBSR=3
ohci_hcd 0001:10:1b.1: cmdstatus 0x00000 SOC=0
ohci_hcd 0001:10:1b.1: intrstatus 0x00000044 RHSC SF
ohci_hcd 0001:10:1b.1: intrenable 0x8000001a MIE UE RD WDH
ohci_hcd 0001:10:1b.1: hcca frame #0015
ohci_hcd 0001:10:1b.1: roothub.a 0a000202 POTPGT=10 NPS NDP=2
ohci_hcd 0001:10:1b.1: roothub.b 00000000 PPCM=0000 DR=0000
ohci_hcd 0001:10:1b.1: roothub.status 00008000 DRWE
ohci_hcd 0001:10:1b.1: roothub.portstatus [0] 0x00010100 CSC PPS
ohci_hcd 0001:10:1b.1: roothub.portstatus [1] 0x00010100 CSC PPS
usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: default language 0x0409
usb usb3: Product: NEC Corporation USB (#2)
usb usb3: Manufacturer: Linux 2.6.10-rc1 ohci_hcd
usb usb3: SerialNumber: 0001:10:1b.1
usb usb3: hotplug
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
ohci_hcd 0001:10:1a.0: GetStatus roothub.portstatus [1] = 0x00010100 CSC PPS
hub 1-0:1.0: port 2, status 0100, change 0001, 12 Mb/s
usb usb3: adding 3-0:1.0 (config #1, interface 0)
usb 3-0:1.0: hotplug
hub 3-0:1.0: usb_probe_interface
hub 3-0:1.0: usb_probe_interface - got id
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
hub 3-0:1.0: standalone hub
hub 3-0:1.0: no power switching (usb 1.0)
hub 3-0:1.0: global over-current protection
hub 3-0:1.0: power on to power good time: 20ms
hub 3-0:1.0: local power source is good
hub 3-0:1.0: no over-current condition exists
ohci_hcd 0001:10:1b.1: created debug files
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
hub 2-0:1.0: state 5 ports 3 chg ffff evt ffff
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
ohci_hcd 0001:10:1b.0: GetStatus roothub.portstatus [0] = 0x00010100 CSC PPS
hub 2-0:1.0: port 1, status 0100, change 0001, 12 Mb/s
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 17
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 152k init 4k chrp 8k prep
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
ohci_hcd 0001:10:1b.0: GetStatus roothub.portstatus [1] = 0x00010100 CSC PPS
hub 2-0:1.0: port 2, status 0100, change 0001, 12 Mb/s
ohci_hcd 0001:10:1a.0: suspend root hub
hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
ohci_hcd 0001:10:1b.0: GetStatus roothub.portstatus [2] = 0x00010100 CSC PPS
hub 2-0:1.0: port 3, status 0100, change 0001, 12 Mb/s
hub 2-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x100
hub 3-0:1.0: state 5 ports 2 chg ffff evt 0006
ohci_hcd 0001:10:1b.1: GetStatus roothub.portstatus [0] = 0x00010100 CSC PPS
hub 3-0:1.0: port 1, status 0100, change 0001, 12 Mb/s
hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
ohci_hcd 0001:10:1b.1: GetStatus roothub.portstatus [1] = 0x00010100 CSC PPS
hub 3-0:1.0: port 2, status 0100, change 0001, 12 Mb/s
hub 3-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
hub 2-0:1.0: state 5 ports 3 chg fff8 evt 0000
hub 3-0:1.0: state 5 ports 2 chg fffc evt 0000
ohci_hcd 0001:10:1b.0: suspend root hub
ohci_hcd 0001:10:1b.1: suspend root hub
Adding 499992k swap on /dev/hda3. Priority:-1 extents:1
EXT3 FS on hda4, internal journal
adt746x: Thermostat bus: 1, address: 0x2e, limit_adjust: 0, fan_speed: -1
Found KeyWest i2c on "uni-n", 2 channels, stepping: 4 bits
Found KeyWest i2c on "mac-io", 1 channel, stepping: 4 bits
adt746x: ADT7467 initializing
adt746x: Lowering max temperatures from 69, 92, 101 to 70, 50, 70
adt746x: Setting speed to 0 for CPU fan.
snd_powermac: Unknown symbol i2c_smbus_write_block_data
ieee1394: Initialized config rom entry `ip1394'
sbp2: $Rev: 1219 $ Ben Collins <[EMAIL PROTECTED]>
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
ide: failed opcode was 100
cdrom: open failed.
ohci1394: $Rev: 1223 $ Ben Collins <[EMAIL PROTECTED]>
PCI: Enabling device 0002:20:0e.0 (0000 -> 0002)
ohci1394: fw-host0: Unexpected PCI resource length of 1000!
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[40] MMIO=[f5000000-f50007ff] Max Packet=[2048]
ieee1394: Host added: ID:BUS[0-00:1023] GUID[000d93fffeb705a2]
hda: Set PIO timing for mode 0, reg: 0x08618a92
adt746x: setting fans speed to 64 (limit exceeded by 0 on CPU)
adt746x: Setting speed to 64 for CPU fan.
PHY ID: 4061e4, addr: 0
eth0: Link is up at 100 Mbps, full-duplex.
eth0: Pause is disabled
ohci_hcd 0001:10:1b.0: wakeup
adt746x: Stopping fans.
adt746x: Setting speed to 0 for CPU fan.





------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to