Re: usb in 5.x

From: Stephen Corbesero <flash_at_cs.moravian.edu>
Date: Mon, 25 Oct 2004 14:19:39 -0400
I have done some more digging on my missing usb ports.  

It seems that if something is plugged in during bootup, the bus does
recognize it.  The system usually hangs, though.

I printed out the irq/port/mem assignments from the machine when it
still had WinXP.  That suggest the ohci controller should be at inrq
19.  Under freebsd, the device is loading up at irq5.  Irq5 just
happens to also be the address of the toshiba sofware modem.

So, it is looking to me like a interrupt conflict.

Any suggestions?  Can I force which irq it is assigned?




On Fri, Oct 22, 2004 at 06:58:57PM -0400, Stephen Corbesero wrote:
> 
> I have been having very little success using many of my usb devices on
> a Toshiba laptop  (A60-S1662, Intel Celeron 2.5ghz, 256+512mb)
> 
> I have tried an IBM mini-mouse, a PNY thumb drive, a usb keyboard
> (with a 2-port embedded usb hub), a Vernier data acquisition device,
> and another thumb drive.  Only the one thumb drive worked on my
> laptop. I know all the devices work elsewhere.
> 
> 
> I have included my dmesg below if tyat helps anyone.
> 
> 
> Copyright (c) 1992-2004 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
> 1994
> 	The Regents of the University of California. All rights
> reserved.
> FreeBSD 5.3-STABLE #4: Fri Oct 22 11:23:21 EDT 2004
>     flashr_at_aragorn.corbesero.com:/usr/obj/usr/src/sys/ARAGORN
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Celeron(R) CPU 2.53GHz (2533.44-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf33  Stepping = 3
>   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> real memory  = 738131968 (703 MB)
> avail memory = 712556544 (679 MB)
> acpi0: <INSYDE RSDT_000> on motherboard
> acpi0: Power Button (fixed)
> acpi_ec0: <Embedded Controller: GPE 0x7> port 0x66,0x62 on acpi0
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
> cpu0: <ACPI CPU (2 Cx states)> on acpi0
> acpi_tz0: <Thermal Zone> on acpi0
> acpi_lid0: <Control Method Lid Switch> on acpi0
> acpi_button0: <Power Button> on acpi0
> acpi_acad0: <AC Adapter> on acpi0
> acpi_cmbat0: <Control Method Battery> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff iomem
> 0xfff80000-0xffffffff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> drm0: <ATI Radeon RS250 Mobility IGP> port 0xc000-0xc0ff mem
> 0xe0000000-0xe000ffff,0xa0000000-0xa7ffffff irq 11 at device 5.0 on
> pci1
> info: [drm] Initialized radeon 1.11.0 20020828 on minor 0
> ohci0: <OHCI (generic) USB controller> mem 0xf0001000-0xf0001fff irq 5
> at device 19.0 on pci0
> ohci0: [GIANT-LOCKED]
> usb0: OHCI version 1.0, legacy support
> usb0: <OHCI (generic) USB controller> on ohci0
> usb0: USB revision 1.0
> uhub0: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 3 ports with 3 removable, self powered
> ohci1: <OHCI (generic) USB controller> mem 0xf0002000-0xf0002fff irq 5
> at device 19.1 on pci0
> ohci1: [GIANT-LOCKED]
> usb1: OHCI version 1.0, legacy support
> usb1: <OHCI (generic) USB controller> on ohci1
> usb1: USB revision 1.0
> uhub1: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 3 ports with 3 removable, self powered
> pci0: <serial bus, USB> at device 19.2 (no driver attached)
> pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
> atapci0: <GENERIC ATA controller> port
> 0x8070-0x807f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 20.1 on
> pci0
> ata0: channel #0 on atapci0
> ata1: channel #1 on atapci0
> isab0: <PCI-ISA bridge> at device 20.3 on pci0
> isa0: <ISA bus> on isab0
> pcib2: <ACPI PCI-PCI bridge> at device 20.4 on pci0
> pci2: <ACPI PCI bus> on pcib2
> ath0: <Atheros 5212> mem 0xd0010000-0xd001ffff irq 10 at device 4.0 on
> pci2
> ath0: mac 5.9 phy 4.3 5ghz radio 4.6
> ath0: Ethernet address: 00:90:96:cb:46:3a
> ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
> 24Mbps 36Mbps 48Mbps 54Mbps
> cbb0: <TI1410 PCI-CardBus Bridge> at device 6.0 on pci2
> cardbus0: <CardBus bus> on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem
> 0xd0000000-0xd00000ff irq 11 at device 7.0 on pci2
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> rl0: Ethernet address: 00:a0:d1:db:0d:f9
> pci0: <multimedia, audio> at device 20.5 (no driver attached)
> pci0: <simple comms> at device 20.6 (no driver attached)
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> psm0: current command byte:0067
> Synaptics Touchpad v5.9
>   Model information:
>    infoRot180: 1
>    infoPortrait: 0
>    infoSensor: 37
>    infoHardware: 55
>    infoNewAbs: 1
>    capPen: 0
>    infoSimplC: 1
>    infoGeometry: 1
>   Extended capabilities:
>    capExtended: 1
>    capPassthrough: 0
>    capSleep: 1
>    capFourButtons: 0
>    capMultiFinger: 1
>    capPalmDetect: 1
> psm0: found Synaptics Touchpad
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: [GIANT-LOCKED]
> psm0: model Synaptics Touchpad, device ID 0-00, 3 buttons
> psm0: config:00000000, flags:00000008, packet size:6
> psm0: syncmask:c0, syncbits:00
> ppc0: <ECP parallel printer port> port 0x778-0x77b,0x378-0x37f irq 7
> drq 3 on acpi0
> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/8 bytes threshold
> ppbus0: <Parallel port bus> on ppc0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> orm0: <ISA Option ROMs> at iomem
> 0xe6000-0xe6fff,0xe0000-0xe1fff,0xc0000-0xcefff on isa0
> pmtimer0 on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0: configured irq 4 not in bitmap of probed irqs 0
> sio0: port may not be enabled
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 8250 or not responding
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> Timecounter "TSC" frequency 2533436374 Hz quality 800
> Timecounters tick every 1.000 msec
> ad0: 28615MB <TOSHIBA MK3025GAS/KA300A> [58140/16/63] at ata0-master
> UDMA33
> acd0: CDRW <UJDA760 DVD/CDRW/1.50> at ata1-master UDMA33
> Mounting root from ufs:/dev/ad0s1a
> psm: ENABLE_DEV return code:00fa
> psm: SEND_AUX_DEV_STATUS return code:00fa
> psm: status 20 02 64
> psm: SET_SAMPLING_RATE (100) 00fa
> psm: SET_RESOLUTION (2) 00fa
> psm: SET_SCALING11 return code:00fa
> psm: SEND_AUX_DEV_STATUS return code:00fa
> psm: status 20 02 64
> psmintr: Sync bytes now 00c0,00c0
> 
> 
> -- 
> Stephen Corbesero                         This message brought to you by
> Associate Professor of Computer Science         --  electrons  -- 
> Moravian College, Bethlehem, PA 18018     The Other Charged Particle
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

-- 
Stephen Corbesero                         This message brought to you by
Associate Professor of Computer Science         --  electrons  -- 
Moravian College, Bethlehem, PA 18018     The Other Charged Particle
Received on Mon Oct 25 2004 - 16:19:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:19 UTC