Re: 5.2-rc1 Install and USB mouse problems

2003-12-23 Thread Lars Köller

Hello!

In reply to "Lars =?iso-8859-1?Q?K=F6ller?=" who wrote:

>>Not sure here; the USB mouse on my home system (VIA KT400 chipset) works
>>as expected. perhaps there are two mouseds running?
>
>No, nothing in that area. At the moment I think it has to do with the 
>usb code in the 5.2 kernel. The problem is I don't have an idea how to 
>further debug.
>
>Do you know an USB-coding-expert, who can debug this with me?
>Would be nice to have a mouse even when changing to 5.2 ;-)

I've further test the extra USB2+FW Combo card, and if I plug my mouse 
there it will run in under 4.9 and 5.2.

However something in 5.2 has changed, which avoids a working usb mouse 
with the onboard VIA usb port. The board is a Gigabyte GA6VXDC2 (SMP).
I've detached and reattached the mouse to the onboard usb bus, and see:

Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), VIA(0x), 
rev 1.00
 port 1 addr 0 should never happen!
 port 2 powered

Attached are the dmesg.boot file for my 4.9 and 5.2 system and the 
usbdevs -v output under 5.2 and 4.9. Have a look at the "shadow" device 
in usbdev2-49.out after deconnecting the mouse from the PCI card usb 
device and reconnect it to the onboard usb slot.

Perhaps someone can have a look at it.

Again best regards and merry christmas ;-)

Lars

-- 
Lars Köller
E-Mail: [EMAIL PROTECTED] ([EMAIL PROTECTED])
 FreeBSD, was sonst?  http://www.de.freebsd.org 

Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: self powered, config 1, OHCI root hub(0x), NEC(0x), rev 1.00
 port 1 powered
 port 2 addr 2: low speed, power 100 mA, config 1, PS2/USB Browser Combo 
Mouse(0x0011), Cypress Sem(0x05fe), rev 0.10
Controller /dev/usb2:
addr 1: self powered, config 1, OHCI root hub(0x), NEC(0x), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
 port 1 addr 2: low speed, power 100 mA, config 1, PS2/USB Browser Combo 
Mouse(0x0011), Cypress Sem(0x05fe), rev 0.10
 port 2 powered
Controller /dev/usb1:
addr 1: self powered, config 1, OHCI root hub(0x), NEC(0x), rev 1.00
 port 1 powered
 port 2 addr 2: low speed, power 100 mA, config 1, product 0x0011(0x0011), Chic 
Technology(0x05fe), rev 0.10
Controller /dev/usb2:
addr 1: self powered, config 1, OHCI root hub(0x), NEC(0x), rev 1.00
 port 1 powered
 port 2 powered
Copyright (c) 1992-2003 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 4.9-RELEASE #0: Tue Oct 28 23:58:41 CET 2003
[EMAIL PROTECTED]:/opt/temp/obj/usr/src/sys/ODIE
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel Pentium III (800.03-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  
Features=0x383fbff
real memory  = 536805376 (524224K bytes)
avail memory = 518049792 (505908K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0
Preloaded elf kernel "kernel" at 0xc0446000.
Preloaded elf module "splash_pcx.ko" at 0xc044609c.
Preloaded elf module "vesa.ko" at 0xc0446140.
Preloaded splash_image_data "/boot/splash.pcx" at 0xc04461dc.
Preloaded elf module "procfs.ko" at 0xc044622c.
Preloaded elf module "vn.ko" at 0xc04462cc.
Preloaded elf module "if_tun.ko" at 0xc0446368.
Preloaded elf module "miibus.ko" at 0xc0446408.
Preloaded elf module "if_xl.ko" at 0xc04464a8.
Preloaded elf module "snd_sb16.ko" at 0xc0446548.
Preloaded elf module "snd_sbc.ko" at 0xc04465e8.
Preloaded elf module "snd_pcm.ko" at 0xc0446688.
Preloaded elf module "usb.ko" at 0xc0446728.
Preloaded elf module "ugen.ko" at 0xc04467c4.
Preloaded elf module "uhid.ko" at 0xc0446860.
Preloaded elf module "ukbd.ko" at 0xc04468fc.
Preloaded elf module "ums.ko" at 0xc0446998.
Preloaded elf module "umass.ko" at 0xc0446a34.
Preloaded elf module "uscanner.ko" at 0xc0446ad4.
Preloaded elf module "snp.ko" at 0xc0446b74.
Preloaded elf module "firewire.ko" at 0xc0446c10.
Preloaded elf module "sbp.ko" at 0xc0446cb0.
VESA: v3.0, 65536k memory, flags:0x1, mode table:0xc0366282 (122)
VESA: NVidia
Pentium Pro MTRR support enabled
acpi0:  on motherboard
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0:  on acpi0
acpi_cpu1:  on acpi0
acpi_tz0:  on acpi0
acpi_button0:  on acpi0
acpi_button1:  on acpi0
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
agp0:  mem 0xe000-0xe3ff at device

Re: 5.2-rc1 Install and USB mouse problems

2003-12-23 Thread Lars Köller

In reply to Doug White who wrote:

>> Hmm, I don't really understand that, cause the downloaded image burn to
>> a cdrw don't boot. If I use the same cd and rerecord it with
>>
>> mkisofs  -b /cdrom/floppies/boot.flp /cdrom
>
>Ah, so the controller isn't picking up non-emulated cds.  If its a
>separate controller you might check for a firmware update, or if its
>integrated check for a system BIOS update.  The systems I have with
>embedded 2940s boot non-emulated discs fine.

It's an separate PCI card and it has the latest Adaptec BIOS 2.20.

>> I've tracked it down. The problem was induced due to mess in the
>> boot loader and BIOS disk order. The smart boot loader was not loaded
>> from the first BIOS disk (ad0) but from the first SCSI disk. So it
>> thinks the ad disk was BIOS HD3 ..
>>
>> After fixing that all runs well out of the box! Sorry!
>
>Cool.

Yes thats really fine.

>> I've just trying to migrate my config and scripts from 4.9 to 5.2 so
>> I'm able to fix the xperfmon3 compile problem.
>>
>> However, the usb mouse didn't work. Booting in 4.9 all runs well. In
>> 5.2 the usbdev -v hangs about 5 seconds on the first hub. The mouse is
>> recognized, but the cursor didn't move. (I've also cvsup to the latest
>> sources and build my own kernel).
>
>Not sure here; the USB mouse on my home system (VIA KT400 chipset) works
>as expected. perhaps there are two mouseds running?

No, nothing in that area. At the moment I think it has to do with the 
usb code in the 5.2 kernel. The problem is I don't have an idea how to 
further debug.

Do you know an USB-coding-expert, who can debug this with me?
Would be nice to have a mouse even when changing to 5.2 ;-)

Best regards and merry christmas

Lars

-- 
Lars Köller
E-Mail: [EMAIL PROTECTED] ([EMAIL PROTECTED])
 FreeBSD, was sonst?  http://www.de.freebsd.org 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"