Re: HEADSUP.. USB MFC coming..

From: Scott Mitchell (rsm_at_freebsd.org)
Date: 02/29/04

  • Next message: Holger Kipp: "USB 2.0 Hub, patch for BSD stack"
    Date: Sun, 29 Feb 2004 14:17:20 +0000
    To: Julian Elischer <julian@elischer.org>
    
    

    On Fri, Feb 27, 2004 at 05:54:18PM -0800, Julian Elischer wrote:
    >
    > I plan to commit the MFC at http://www.josef-k.net/freebsd/
    > (the latest one) in the next couple of days. If you really care about
    > USB in 4.10 you might do well to test this on your equipment,
    > ESPECIALLY if you have unusual devices. Let me know of both successes
    > and failures please.. If I hear nothing I won't know if it's because
    > no-one tested it or it was just without problems..

    Hi Julian,

    The usb.ko module failed to load with these patches (usb_allocmem
    undefined). Adding usb_mem.c to SRCS in /sys/modules/usb/Makefile seems to
    fix this - my USB mouse, flash reader and cheap-ass 'pen drive' all appear
    to be working as before.

    One strange thing though - booting from my usual kernel (which loads most
    things from modules) I get some extra whining when the USB ports are being
    probed:

    uhci0: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 10 at device 7.2 on pci0
    usb0: <VIA 83C572 USB controller> on uhci0
    usb0: USB revision 1.0
    uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
    uhub0: 2 ports with 2 removable, self powered
    uhub0: port error, restarting port 1
    uhub0: port error, giving up port 1
    umass0: Generic Mass Storage Device, rev 1.10/1.00, addr 2
    umass0: Get Max Lun not supported (STALLED)
    uhub0: port error, restarting port 2
    uhub0: port error, giving up port 2
    umass1: DMI MultiFlash, rev 1.10/1.00, addr 3
    uhci1: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 10 at device 7.3 on pci0
    usb1: <VIA 83C572 USB controller> on uhci1
    usb1: USB revision 1.0
    uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
    uhub1: 2 ports with 2 removable, self powered
    uhub1: port error, restarting port 1
    uhub1: port error, giving up port 1
    ugen0: LEGO Group LEGO USB Tower, rev 1.10/1.00, addr 2
    uhub1: port error, restarting port 2
    uhub1: port error, giving up port 2
    ums0: Logitech USB Receiver, rev 1.10/9.10, addr 3, iclass 3/1
    ums0: 5 buttons and Z dir.

    Booting from a GENERIC built from the same sources, I don't get any of the
    'port error' messages:

    uhci0: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 10 at device 7.2 on pci0
    usb0: <VIA 83C572 USB controller> on uhci0
    usb0: USB revision 1.0
    uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
    uhub0: 2 ports with 2 removable, self powered
    umass0: Generic Mass Storage Device, rev 1.10/1.00, addr 2
    umass0: Get Max Lun not supported (STALLED)
    umass1: DMI MultiFlash, rev 1.10/1.00, addr 3
    uhci1: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 10 at device 7.3 on pci0
    usb1: <VIA 83C572 USB controller> on uhci1
    usb1: USB revision 1.0
    uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
    uhub1: 2 ports with 2 removable, self powered
    ugen0: LEGO Group LEGO USB Tower, rev 1.10/1.00, addr 2
    ums0: Logitech USB Receiver, rev 1.10/9.10, addr 3, iclass 3/1
    ums0: 5 buttons and Z dir.

    This doesn't seems to have any effect on whether things work or not though,
    other than the umass devices coming up on different SCSI busses if I don't
    load USB from the module, but I think that has always been the case.

    Otherwise it looks good.

            Scott

    -- 
    ===========================================================================
    Scott Mitchell           | PGP Key ID | "Eagles may soar, but weasels
    Cambridge, England       | 0x54B171B9 |  don't get sucked into jet engines"
    scott at fishballoon.org | 0xAA775B8B |      -- Anon
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: Holger Kipp: "USB 2.0 Hub, patch for BSD stack"