Re: Advanced USB snooping

From: Bernd Walter (ticso_at_cicely12.cicely.de)
Date: 02/22/05

  • Next message: Siddharth Aggarwal: "giving up on 1 buffers error messsage"
    Date: Tue, 22 Feb 2005 17:40:52 +0100
    To: Peter B <pb@ludd.ltu.se>
    
    

    On Mon, Feb 21, 2005 at 03:41:01PM +0100, Peter B wrote:
    >
    > Is it possible to program an "ordinary" (like Intel 82801CA/CAM (ICH3)) USB
    > host controller into acting as an usb device instead? (just like scsi can).
    >
    > Idea:
    > M$Win-Usb -> FreeBSD-USB#1 .. software .. FreeBSD-USB#2 -> Device

    No - this wonn't work.
    Host Controllers are dedicated host controllers.
    Kombinations exist for USB-on-the-go, but they are intended for use
    with microcontrolers in devices and are basicly nothing more than a
    host controller and a device controller with shared port lines.
    Their purpose is that you can connect you picture camera directly to
    your printer and so on.
    If you use a microcontroller you can use normale device controllers,
    such as the PDIUSBD12 or the ISP1581 - there are many others as well.
    But the they are all limited to work as a single device and not as a
    path through device.
    Even a USB hub is very limited in what it can do in repect of delays.
    All USB sniffers I know run with some kind of ASIC, which is not very
    hard to do if you are familar with such devices.
    The hard work is doing software to present the sniffed data in a
    usefull way.
    There are some cheap USB sniffers for full and low speed available
    on the market.
    Their limitation is usually that they don't tell you anything about
    signal quality and such.

    > The advantage would be then to possible use scripts to debug protocol in order
    > to port drivers to freebsd.

    Sniffer Software exist at driver level at least for Windows and NetBSD
    derived stacks and I would be surprised if there isn't anything
    available for Linux as well.
    Hardware sniffers are very usefull if you are into debugging host
    controllers and sometimes device controllers on your own, but for
    debugging device drivers it's rarely usefull.

    -- 
    B.Walter                   BWCT                http://www.bwct.de
    bernd@bwct.de                                  info@bwct.de
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Siddharth Aggarwal: "giving up on 1 buffers error messsage"

    Relevant Pages

    • [REGRESSION] 2.6.24/25: random lockups when accessing external USB harddrive
      ... During testing I figured out that it has something to do with the USB Bluetooth adaptor. ... the host controller drivers are responsible for linking and unlinking ... # AX.25 network device drivers ...
      (Linux-Kernel)
    • Re: High speed device plugged into non-high speed port
      ... so I now have an even dozen USB 2.0 ports - more than I need. ... the Belkin card needed the drivers supplied with it when it was ... Now there are 14 lines under USB controllers in my Device Manager (and NO ... One set is "NEC PCI to USB Enhanced Host Controller ", ...
      (microsoft.public.windowsxp.hardware)
    • Re: Windows Socket Error 0; Also disk scans hang.
      ... card, display adaptor, additional IDE controller adaptor card, USB 2.0 ... adaptor card and on-mobo USB 1.0 all use IRQ 11. ... 11 NEC PCI to USB Open Host Controller ...
      (microsoft.public.win2000.networking)
    • USB host controller and client driver
      ... attach a USB device - pen drive to the usb port. ... during the boot time the USB host controller driver DLL - ... It is taken care by device manager. ... What is the role of function drivers ?? ...
      (microsoft.public.windowsce.platbuilder)
    • Re: Guidance on USB Contoller listing in Device Manager, please
      ... I do not understand however why a known USB 2.0 device (my HP 8450 ... An USB host controller and an USB root hub is the same ... USB side which provides USB ports. ...
      (microsoft.public.windowsxp.hardware)