Monday 5 July 2010

Weekly report - Week 6

Status:
  • Mostly worked on the webcam, I got isochronous transfers to work, after identifying a bug in the MUSB driver (related to the DMA controller). See last Friday's post.
Plans:
  • Attempt to fix the MUSB driver with isochronous endpoints, disabling the DMA works, but hurts the performance...
  • Program a Cypress FX2 with a high-speed, high-bandwidth endpoint (the MUSB does not seems to handle that, so it would be good to fix it as well). Maybe the FX2 can be used for bulk bandwidth tests too.
Risks:
  • Lack of available documentation about MUSB.

1 comment:

  1. I need help. I am trying to install this application on my BB XM. I am almost done however whenever I execute ./sniff this is what I get. If you could please help me I would be forever grateful.


    root@beagleboard:~/arm# ./sniff
    List of devices:
    1-2.1: Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
    1-2.4: Bus 001 Device 004: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
    ====
    Choose the device to sniff [default:1-2.1]: 1-2.4
    Chosen FIFO configuration: ep1in:1024,ep2out:1024,ep3in:32
    [ 72.873840] usb0: unregister 'smsc95xx' usb-ehci-omap.0-2.1, smsc95xx USB 2.0 Ethernet
    Device unbound!
    [ 73.149871] musb_hdrc: Unknown parameter `fifo_config'
    FATAL: Error inserting musb_hdrc (/lib/modules/2.6.32-usbsniffer/kernel/drivers/usb/musb/musb_hdrc.ko): Unknown symbol in module, or unknown parameter (see dmesg)
    Starting tcpdump
    mv: cannot stat `/media/ram/dump': No such file or directory
    tcpdump: error while loading shared libraries: libnl.so.1: cannot open shared object file: No such file or directory
    Loading proxy driver...
    [ 74.210388] musb_hdrc: version 6.0, musb-dma, peripheral, debug=0
    [ 74.217590] musb_hdrc: USB Peripheral mode controller at fa0ab000 using DMA, IRQ 92
    [ 74.238616] Proxy Gadget: Proxy Gadget, version: 2010 ... debug=0
    [ 74.245574] Proxy Gadget: device_probe (0424:ec00)
    [ 74.250915] Proxy Gadget: Attaching!
    [ 74.254974] Proxy Gadget: Using high speed.
    [ 74.259185] Proxy Gadget: using musb_hdrc
    [ 74.264953] usbcore: registered new device driver proxy
    Device should work now...
    Device should work now...
    Device should work now...
    Device should work now...
    Press enter to stop logging, and reload g_ether

    ReplyDelete