jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2076
Joined: Thu Jul 11, 2013 2:37 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Wed Apr 02, 2014 11:59 am

Can you retry the test without using a cpu-intensive program? I.e. just stream data from the device and pipe it to /dev/null?

There are multiple possibilities that may result in transfers reporting overrun (-63 isn't "buffer overrun" in the context of the USB HCD, it means the frame overran before the transfer completed).
Rockets are loud.
https://astro-pi.org

andrea.iob
Posts: 12
Joined: Wed Apr 02, 2014 6:23 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Wed Apr 02, 2014 6:36 pm

I mainly use my RPi to stream music to a USB DAC (HRT Music Streamer II+). With the new FIQ_FSM driver I'm now able to play mp3 file without any glitch. Thanks! However I've still problems with FLAC files. With the old driver there were some pops and cracks now and then, whereas with this new drivers FLAC files are continuously distorted. While playing FLAC file I can see many "FIQ reported NYET" errors on dmesg. The files I'm trying to play are NOT high resolution files, they are 16 bit/44Khz. The files are on an HD connected through a powered hub. I get the NYET errors both if I connect the DAC directly to the RPi and if I connect it to the HUB.

With the new driver I've also some problems with the wifi (Asus N13). The dongle is configured as an access point. Sometimes the wifi works, sometimes I'm not able to connect to the RPi. The wlan0 interface seems up, hostapd and the dhcp are working, there are no errors in dmesg but I can't establish a connection. I've seen this problem only with the next branch but it happens random and not frequently so I'm not 100% sure is related to the new driver.

dmesg:

Code: Select all

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.33+ ([email protected]) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #659 PREEMPT Wed Mar 19 16:33:57 GMT 2014
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: BCM2708
[    0.000000] cma: CMA: reserved 16 MiB at 1e000000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 126976
[    0.000000] free_area_init_node: node 0, pgdat c05dfe94, node_mem_map c0690000
[    0.000000]   Normal zone: 992 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 126976 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 125984
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xe bcm2708.serial=0x3d291570 smsc95xx.macaddr=B8:27:EB:29:15:70 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000  force_turbo=1 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p3 elevator=noop rootfstype=ext4 rootwait smsc95xx.turbo_mode=N dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x7
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 496MB = 496MB total
[    0.000000] Memory: 480344k/480344k available, 27560k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xdf800000 - 0xff000000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0581850   (5607 kB)
[    0.000000]       .init : 0xc0582000 - 0xc05a64a4   ( 146 kB)
[    0.000000]       .data : 0xc05a8000 - 0xc05e0990   ( 227 kB)
[    0.000000]        .bss : 0xc05e0990 - 0xc068f060   ( 698 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:330
[    0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[    0.000000] Switching to timer-based delay loop
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty1] enabled
[    0.001178] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.001241] pid_max: default: 32768 minimum: 301
[    0.001711] Mount-cache hash table entries: 512
[    0.002530] Initializing cgroup subsys memory
[    0.002642] Initializing cgroup subsys devices
[    0.002680] Initializing cgroup subsys freezer
[    0.002712] Initializing cgroup subsys blkio
[    0.002869] CPU: Testing write buffer coherency: ok
[    0.003339] Setting up static identity map for 0xc0414710 - 0xc041476c
[    0.005122] devtmpfs: initialized
[    0.019759] NET: Registered protocol family 16
[    0.025865] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.027120] bcm2708.uart_clock = 0
[    0.028828] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.028884] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.028921] mailbox: Broadcom VideoCore Mailbox driver
[    0.029017] bcm2708_vcio: mailbox at f200b880
[    0.029122] bcm_power: Broadcom power driver
[    0.029160] bcm_power_open() -> 0
[    0.029185] bcm_power_request(0, 8)
[    0.529899] bcm_mailbox_read -> 00000080, 0
[    0.529941] bcm_power_request -> 0
[    0.530165] Serial: AMBA PL011 UART driver
[    0.530324] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[    0.881478] console [ttyAMA0] enabled
[    0.907388] bio: create slab <bio-0> at 0
[    0.912688] SCSI subsystem initialized
[    0.916673] usbcore: registered new interface driver usbfs
[    0.922382] usbcore: registered new interface driver hub
[    0.927941] usbcore: registered new device driver usb
[    0.934662] Switching to clocksource stc
[    0.939011] FS-Cache: Loaded
[    0.942178] CacheFiles: Loaded
[    0.957945] NET: Registered protocol family 2
[    0.963375] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.970642] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.977167] TCP: Hash tables configured (established 4096 bind 4096)
[    0.983641] TCP: reno registered
[    0.986902] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.992813] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.999555] NET: Registered protocol family 1
[    1.004487] RPC: Registered named UNIX socket transport module.
[    1.010553] RPC: Registered udp transport module.
[    1.015279] RPC: Registered tcp transport module.
[    1.020031] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.027560] bcm2708_dma: DMA manager at f2007000
[    1.032381] bcm2708_gpio: bcm2708_gpio_probe c05b5e50
[    1.037859] vc-mem: phys_addr:0x00000000 mem_base=0x1fa00000 mem_size:0x20000000(512 MiB)
[    1.047244] audit: initializing netlink socket (disabled)
[    1.052923] type=2000 audit(0.890:1): initialized
[    1.215215] VFS: Disk quotas dquot_6.5.2
[    1.219604] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.228523] FS-Cache: Netfs 'nfs' registered for caching
[    1.235324] NFS: Registering the id_resolver key type
[    1.240622] Key type id_resolver registered
[    1.244834] Key type id_legacy registered
[    1.249637] msgmni has been set to 970
[    1.255528] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.263382] io scheduler noop registered (default)
[    1.268215] io scheduler deadline registered
[    1.272952] io scheduler cfq registered
[    1.278270] BCM2708FB: allocated DMA memory 5e400000
[    1.283451] BCM2708FB: allocated DMA channel 0 @ f2007000
[    1.295783] Console: switching to colour frame buffer device 82x26
[    1.305854] uart-pl011 dev:f1: no DMA platform data
[    1.312308] kgdb: Registered I/O driver kgdboc.
[    1.318967] vc-cma: Videocore CMA driver
[    1.324223] vc-cma: vc_cma_base      = 0x00000000
[    1.330246] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.336890] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.353020] brd: module loaded
[    1.362728] loop: module loaded
[    1.367365] vchiq: vchiq_init_state: slot_zero = 0xde000000, is_master = 0
[    1.376457] Loading iSCSI transport class v2.0-870.
[    1.383745] usbcore: registered new interface driver smsc95xx
[    1.390994] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.598121] Core Release: 2.80a
[    1.602608] Setting default values for core params
[    1.608611] Finished setting default values for core params
[    1.815450] Using Buffer DMA mode
[    1.820020] Periodic Transfer Interrupt Enhancement - disabled
[    1.827095] Multiprocessor Interrupt Enhancement - disabled
[    1.833929] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.839584] Dedicated Tx FIFOs mode
[    1.845080] WARN::dwc_otg_hcd_init:1040: FIQ DMA bounce buffers: virt = 0xde414000 dma = 0x5e414000 len=9024
[    1.857538] FIQ FSM acceleration enabled for :
[    1.857538] Non-periodic Split Transactions
[    1.857538] Periodic Split Transactions
[    1.857538] High-Speed Isochronous Endpoints
[    1.879362] dwc_otg: Microframe scheduler enabled
[    1.879596] WARN::hcd_init:473: FIQ at 0xc02fa1b8
[    1.885646] WARN::hcd_init:474: FIQ ASM at 0xc02fa434 length 36
[    1.893018] WARN::hcd_init:500: MPHI regs_base at 0xdf806000
[    1.900056] dwc_otg bcm2708_usb: DWC OTG Controller
[    1.906284] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[    1.914933] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    1.921795] Init: Port Power? op_state=1
[    1.927000] Init: Power Port (0)
[    1.931629] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.939802] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.948338] usb usb1: Product: DWC OTG Controller
[    1.954352] usb usb1: Manufacturer: Linux 3.10.33+ dwc_otg_hcd
[    1.961511] usb usb1: SerialNumber: bcm2708_usb
[    1.968107] hub 1-0:1.0: USB hub found
[    1.973268] hub 1-0:1.0: 1 port detected
[    1.978889] dwc_otg: FIQ enabled
[    1.978906] dwc_otg: NAK holdoff enabled
[    1.978917] dwc_otg: FIQ split-transaction FSM enabled
[    1.978936] Module dwc_common_port init
[    1.979381] usbcore: registered new interface driver usb-storage
[    1.986992] mousedev: PS/2 mouse device common for all mice
[    1.994539] bcm2835-cpufreq: min=700000 max=700000 cur=700000
[    2.001746] bcm2835-cpufreq: switching to governor powersave
[    2.008711] bcm2835-cpufreq: switching to governor powersave
[    2.015592] cpuidle: using governor ladder
[    2.020917] cpuidle: using governor menu
[    2.026081] sdhci: Secure Digital Host Controller Interface driver
[    2.033531] sdhci: Copyright(c) Pierre Ossman
[    2.039201] sdhci: Enable low-latency mode
[    2.088758] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[    2.099205] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[    2.106433] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.113574] ledtrig-cpu: registered to indicate activity on CPUs
[    2.123150] hidraw: raw HID events driver (C) Jiri Kosina
[    2.137461] usbcore: registered new interface driver usbhid
[    2.144488] usbhid: USB HID core driver
[    2.154328] TCP: cubic registered
[    2.161092] Initializing XFRM netlink socket
[    2.168881] Indeed it is in host mode hprt0 = 00021501
[    2.175469] NET: Registered protocol family 17
[    2.191968] Key type dns_resolver registered
[    2.209446] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    2.229415] registered taskstats version 1
[    2.259468] Waiting for root device /dev/mmcblk0p3...
[    2.291168] mmc0: read SD Status register (SSR) after 4 attempts
[    2.313741] mmc0: new high speed SDHC card at address aaaa
[    2.321368] mmcblk0: mmc0:aaaa SU16G 14.8 GiB 
[    2.328960]  mmcblk0: p1 p3
[    2.385053] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    2.396217] VFS: Mounted root (ext4 filesystem) on device 179:3.
[    2.414779] devtmpfs: mounted
[    2.419772] Freeing unused kernel memory: 144K (c0582000 - c05a6000)
[    2.428830] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.436936] Indeed it is in host mode hprt0 = 00001101
[    2.639076] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    2.648167] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.657824] hub 1-1:1.0: USB hub found
[    2.663357] hub 1-1:1.0: 3 ports detected
[    2.949013] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    3.059298] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.059312] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.070378] smsc95xx v1.0.4
[    3.134348] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:29:15:70
[    3.228917] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    3.360598] usb 1-1.2: New USB device found, idVendor=0b05, idProduct=17ab
[    3.373849] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.383300] usb 1-1.2: Product: 802.11n WLAN Adapter
[    3.394288] usb 1-1.2: Manufacturer: Realtek
[    3.402617] usb 1-1.2: SerialNumber: 00e04c000001
[    3.489007] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
[    3.620514] usb 1-1.3: New USB device found, idVendor=05e3, idProduct=0608
[    3.636659] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.653817] usb 1-1.3: Product: USB2.0 Hub
[    3.668602] hub 1-1.3:1.0: USB hub found
[    3.686851] hub 1-1.3:1.0: 4 ports detected
[    3.969158] usb 1-1.3.2: new high-speed USB device number 6 using dwc_otg
[    4.080096] usb 1-1.3.2: New USB device found, idVendor=1058, idProduct=0704
[    4.097660] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.108335] usb 1-1.3.2: Product: External HDD    
[    4.114773] usb 1-1.3.2: Manufacturer: Western Digital 
[    4.121582] usb 1-1.3.2: SerialNumber: 575843363038413039313933
[    4.130979] usb-storage 1-1.3.2:1.0: USB Mass Storage device detected
[    4.140213] usb-storage 1-1.3.2:1.0: Quirks match for vid 1058 pid 0704: 8000
[    4.149265] scsi0 : usb-storage 1-1.3.2:1.0
[    4.179765] udevd[158]: starting version 175
[    4.230048] usb 1-1.3.4: new full-speed USB device number 7 using dwc_otg
[    4.370434] usb 1-1.3.4: New USB device found, idVendor=4852, idProduct=0006
[    4.388800] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.412019] usb 1-1.3.4: Product: Music Streamer II+
[    4.427990] usb 1-1.3.4: Manufacturer: www.hirestech.com 2013 REV 3.0
[    4.465980] hid-generic 0003:4852:0006.0001: hiddev0,hidraw0: USB HID v1.00 Device [www.hirestech.com 2013 REV 3.0 Music Streamer II+] on usb-bcm2708_usb-1.3.4/input2
[    5.149899] scsi 0:0:0:0: Direct-Access     WD       2500BEV External 1.05 PQ: 0 ANSI: 4
[    5.187240] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[    5.219515] sd 0:0:0:0: [sda] Write Protect is off
[    5.226079] sd 0:0:0:0: [sda] Mode Sense: 21 00 00 00
[    5.231878] sd 0:0:0:0: [sda] No Caching mode page found
[    5.248904] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    5.266441] sd 0:0:0:0: [sda] No Caching mode page found
[    5.278824] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    5.372321] bcm2708_i2c_init_pinmode(0,0)
[    5.377996] bcm2708_i2c_init_pinmode(0,1)
[    5.530703] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 100000)
[    5.745853] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
[    5.810865] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
[    5.882791] bcm2708_i2c_init_pinmode(1,2)
[    5.888362] bcm2708_i2c_init_pinmode(1,3)
[    5.972946] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100000)
[    6.140070] usbcore: registered new interface driver snd-usb-audio
[    6.179568] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
[    7.265091] usbcore: registered new interface driver rtl8192cu
[    7.659016] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    8.288183]  sda: sda1
[    8.302470] sd 0:0:0:0: [sda] No Caching mode page found
[    8.320875] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    8.328518] sd 0:0:0:0: [sda] Attached SCSI disk
[    9.808638] FAT-fs (sda1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[    9.893544] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   11.264126] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[   11.688391] EXT4-fs (mmcblk0p3): Mount option "nouser_xattr" will be removed by 3.5
[   11.688391] Contact [email protected] if you think we should keep it.
[   11.688391] 
[   11.712703] EXT4-fs (mmcblk0p3): re-mounted. Opts: nouser_xattr,errors=remount-ro
[   17.270572] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   19.969041] NET: Registered protocol family 10
[   20.265065] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   20.437502] ip_tables: (C) 2000-2006 Netfilter Core Team
[   20.541894] nf_conntrack version 0.5.0 (7763 buckets, 31052 max)
[   20.813350] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   20.822971] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   22.608979] smsc95xx 1-1.1:1.0 eth0: link up, 10Mbps, half-duplex, lpa 0x4021
[   22.620804] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   30.744273] Installing knfsd (copyright (C) 1996 [email protected]).
[   37.621894] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   61.259216] bcm2835-cpufreq: switching to governor performance
[   61.267907] bcm2835-cpufreq: switching to governor performance
[  624.527906] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  624.623904] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  624.687915] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  624.783904] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  624.815912] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  624.975911] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  625.007904] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  625.039910] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  625.551902] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  626.255904] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  629.583914] dwc_otg_hcd_handle_hc_fsm: 38 callbacks suppressed
[  629.593208] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  629.647918] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  629.807918] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  629.903912] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  629.967927] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  629.999913] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  630.127925] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  630.191915] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  630.383913] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  630.447921] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  634.703927] dwc_otg_hcd_handle_hc_fsm: 58 callbacks suppressed
[  634.713238] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  634.735928] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  634.831928] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  634.863926] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  634.927925] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  635.023939] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  635.055926] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  635.215926] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  635.279927] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  635.311928] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  639.823939] dwc_otg_hcd_handle_hc_fsm: 70 callbacks suppressed
[  639.833256] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  639.887937] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  640.015937] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  640.143966] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  640.175942] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  640.207948] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  640.271938] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  640.367940] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  640.527940] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  640.655940] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  644.911952] dwc_otg_hcd_handle_hc_fsm: 70 callbacks suppressed
[  644.921273] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  644.943952] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  644.975953] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  645.007951] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  645.071952] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  645.231950] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  645.295953] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  645.423950] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  645.487952] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  645.615951] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
Thanks for your work!

pmmd
Posts: 3
Joined: Tue Apr 01, 2014 11:13 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Wed Apr 02, 2014 7:54 pm

jdb wrote:Can you retry the test without using a cpu-intensive program? I.e. just stream data from the device and pipe it to /dev/null?[..]
Ok lets see:

Code: Select all

$ gst-launch-0.10 v4l2src ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 690258 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689964 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 690484 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 688576 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689794 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 688634 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 690100 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689884 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 690332 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 687626 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689910 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 688926 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 690372 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 687398 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 688186 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 688938 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 688284 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 687738 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 690378 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689874 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689822 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 688694 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 687686 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 688720 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 688572 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 687894 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 688764 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 690298 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689786 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 690342 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689830 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 690100 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689914 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 690436 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689924 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 690160 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689558 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689182 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689772 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 690284 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 687684 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689622 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 688138 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 690026 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689140 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 687934 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689226 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689434 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 688980 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689696 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689094 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 685718 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689864 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 688712 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 686862 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 687482 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 688784 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 688300 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689042 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 687792 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 690440 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 687568 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 690172 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 690376 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Got unexpected frame size of 689902 instead of 691200.
Additional debug info:
gstv4l2src.c(919): gst_v4l2src_get_mmap (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 3277180517 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
and

Code: Select all

$ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.33+ ([email protected]) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #659 PREEMPT Wed Mar 19 16:33:57 GMT 2014
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: BCM2708
[    0.000000] cma: CMA: reserved 16 MiB at 1e000000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 126976
[    0.000000] free_area_init_node: node 0, pgdat c05dfe94, node_mem_map c0690000
[    0.000000]   Normal zone: 992 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 126976 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 125984
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1184 bcm2708_fb.fbheight=624 bcm2708.boardrev=0xf bcm2708.serial=0x39c1cb7d smsc95xx.macaddr=B8:27:EB:C1:CB:7D sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000  dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x7 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 496MB = 496MB total
[    0.000000] Memory: 480344k/480344k available, 27560k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xdf800000 - 0xff000000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0581850   (5607 kB)
[    0.000000]       .init : 0xc0582000 - 0xc05a64a4   ( 146 kB)
[    0.000000]       .data : 0xc05a8000 - 0xc05e0990   ( 227 kB)
[    0.000000]        .bss : 0xc05e0990 - 0xc068f060   ( 698 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:330
[    0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[    0.000000] Switching to timer-based delay loop
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty1] enabled
[    0.001175] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.001239] pid_max: default: 32768 minimum: 301
[    0.001712] Mount-cache hash table entries: 512
[    0.002538] Initializing cgroup subsys memory
[    0.002651] Initializing cgroup subsys devices
[    0.002690] Initializing cgroup subsys freezer
[    0.002721] Initializing cgroup subsys blkio
[    0.002876] CPU: Testing write buffer coherency: ok
[    0.003355] Setting up static identity map for 0xc0414710 - 0xc041476c
[    0.005142] devtmpfs: initialized
[    0.019709] NET: Registered protocol family 16
[    0.025791] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.026982] bcm2708.uart_clock = 0
[    0.028689] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.028745] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.028781] mailbox: Broadcom VideoCore Mailbox driver
[    0.028877] bcm2708_vcio: mailbox at f200b880
[    0.028980] bcm_power: Broadcom power driver
[    0.029017] bcm_power_open() -> 0
[    0.029043] bcm_power_request(0, 8)
[    0.529759] bcm_mailbox_read -> 00000080, 0
[    0.529801] bcm_power_request -> 0
[    0.530025] Serial: AMBA PL011 UART driver
[    0.530186] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[    0.878648] console [ttyAMA0] enabled
[    0.904496] bio: create slab <bio-0> at 0
[    0.909795] SCSI subsystem initialized
[    0.913780] usbcore: registered new interface driver usbfs
[    0.919492] usbcore: registered new interface driver hub
[    0.925051] usbcore: registered new device driver usb
[    0.931713] Switching to clocksource stc
[    0.936068] FS-Cache: Loaded
[    0.939234] CacheFiles: Loaded
[    0.955009] NET: Registered protocol family 2
[    0.960430] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.967703] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.974230] TCP: Hash tables configured (established 4096 bind 4096)
[    0.980702] TCP: reno registered
[    0.983962] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.989870] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.996614] NET: Registered protocol family 1
[    1.001552] RPC: Registered named UNIX socket transport module.
[    1.007619] RPC: Registered udp transport module.
[    1.012347] RPC: Registered tcp transport module.
[    1.017097] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.024558] bcm2708_dma: DMA manager at f2007000
[    1.029378] bcm2708_gpio: bcm2708_gpio_probe c05b5e50
[    1.034861] vc-mem: phys_addr:0x00000000 mem_base=0x1fa00000 mem_size:0x20000000(512 MiB)
[    1.044251] audit: initializing netlink socket (disabled)
[    1.049930] type=2000 audit(0.890:1): initialized
[    1.212684] VFS: Disk quotas dquot_6.5.2
[    1.217074] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.226076] FS-Cache: Netfs 'nfs' registered for caching
[    1.232810] NFS: Registering the id_resolver key type
[    1.238124] Key type id_resolver registered
[    1.242337] Key type id_legacy registered
[    1.247144] msgmni has been set to 970
[    1.253047] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.260907] io scheduler noop registered
[    1.264870] io scheduler deadline registered (default)
[    1.270479] io scheduler cfq registered
[    1.275921] BCM2708FB: allocated DMA memory 5e400000
[    1.280976] BCM2708FB: allocated DMA channel 0 @ f2007000
[    1.306837] Console: switching to colour frame buffer device 148x39
[    1.319142] uart-pl011 dev:f1: no DMA platform data
[    1.324165] kgdb: Registered I/O driver kgdboc.
[    1.329500] vc-cma: Videocore CMA driver
[    1.333522] vc-cma: vc_cma_base      = 0x00000000
[    1.340605] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.348369] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.365501] brd: module loaded
[    1.376411] loop: module loaded
[    1.382111] vchiq: vchiq_init_state: slot_zero = 0xde000000, is_master = 0
[    1.392248] Loading iSCSI transport class v2.0-870.
[    1.400712] usbcore: registered new interface driver smsc95xx
[    1.408999] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.617232] Core Release: 2.80a
[    1.622650] Setting default values for core params
[    1.629828] Finished setting default values for core params
[    1.837797] Using Buffer DMA mode
[    1.843375] Periodic Transfer Interrupt Enhancement - disabled
[    1.851474] Multiprocessor Interrupt Enhancement - disabled
[    1.859311] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.865947] Dedicated Tx FIFOs mode
[    1.872398] WARN::dwc_otg_hcd_init:1040: FIQ DMA bounce buffers: virt = 0xde414000 dma = 0x5e414000 len=9024
[    1.884677] FIQ FSM acceleration enabled for :
[    1.884677] Non-periodic Split Transactions
[    1.884677] Periodic Split Transactions
[    1.884677] High-Speed Isochronous Endpoints
[    1.910501] dwc_otg: Microframe scheduler enabled
[    1.910734] WARN::hcd_init:473: FIQ at 0xc02fa1b8
[    1.917801] WARN::hcd_init:474: FIQ ASM at 0xc02fa434 length 36
[    1.925989] WARN::hcd_init:500: MPHI regs_base at 0xdf806000
[    1.933896] dwc_otg bcm2708_usb: DWC OTG Controller
[    1.941059] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[    1.950687] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    1.958498] Init: Port Power? op_state=1
[    1.964703] Init: Power Port (0)
[    1.970299] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.979454] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.989019] usb usb1: Product: DWC OTG Controller
[    1.996051] usb usb1: Manufacturer: Linux 3.10.33+ dwc_otg_hcd
[    2.004197] usb usb1: SerialNumber: bcm2708_usb
[    2.011909] hub 1-0:1.0: USB hub found
[    2.018181] hub 1-0:1.0: 1 port detected
[    2.024788] dwc_otg: FIQ enabled
[    2.024806] dwc_otg: NAK holdoff enabled
[    2.024815] dwc_otg: FIQ split-transaction FSM enabled
[    2.024836] Module dwc_common_port init
[    2.025310] usbcore: registered new interface driver usb-storage
[    2.034230] mousedev: PS/2 mouse device common for all mice
[    2.042946] bcm2835-cpufreq: min=700000 max=700000 cur=700000
[    2.051312] bcm2835-cpufreq: switching to governor powersave
[    2.059358] bcm2835-cpufreq: switching to governor powersave
[    2.067352] cpuidle: using governor ladder
[    2.073690] cpuidle: using governor menu
[    2.079931] sdhci: Secure Digital Host Controller Interface driver
[    2.088417] sdhci: Copyright(c) Pierre Ossman
[    2.095076] sdhci: Enable low-latency mode
[    2.145765] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[    2.156176] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[    2.164395] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.172526] ledtrig-cpu: registered to indicate activity on CPUs
[    2.183069] hidraw: raw HID events driver (C) Jiri Kosina
[    2.198267] usbcore: registered new interface driver usbhid
[    2.206199] usbhid: USB HID core driver
[    2.216882] Indeed it is in host mode hprt0 = 00021501
[    2.226618] TCP: cubic registered
[    2.248821] Initializing XFRM netlink socket
[    2.255444] NET: Registered protocol family 17
[    2.275961] Key type dns_resolver registered
[    2.283848] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    2.307989] mmc0: read SD Status register (SSR) after 2 attempts
[    2.326298] registered taskstats version 1
[    2.338807] mmc0: new high speed SDHC card at address b368
[    2.347436] Waiting for root device /dev/mmcblk0p2...
[    2.366421] mmcblk0: mmc0:b368 00000 15.0 GiB 
[    2.378137]  mmcblk0: p1 p2
[    2.478418] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.489224] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.497773] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.507210] Indeed it is in host mode hprt0 = 00001101
[    2.523989] devtmpfs: mounted
[    2.536210] Freeing unused kernel memory: 144K (c0582000 - c05a6000)
[    2.726130] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    2.736212] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.747607] hub 1-1:1.0: USB hub found
[    2.754108] hub 1-1:1.0: 3 ports detected
[    3.036007] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    3.146285] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.165907] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.186299] smsc95xx v1.0.4
[    3.261091] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:c1:cb:7d
[    3.385991] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[    3.506705] usb 1-1.3: New USB device found, idVendor=05e1, idProduct=0408
[    3.517431] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.527649] usb 1-1.3: Product: USB 2.0 Video Capture Controller
[    3.536710] usb 1-1.3: Manufacturer: Syntek Semiconductor
[    4.179453] udevd[156]: starting version 175
[    5.236246] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
[    5.411257] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
[    5.846357] media: Linux media interface: v0.10
[    5.991289] Linux video capture interface: v2.00
[    6.477731] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
[    6.604444] usb 1-1.3: New device Syntek Semiconductor USB 2.0 Video Capture Controller @ 480 Mbps (05e1:0408, interface 0, class 0)
[    6.871262] usb 1-1.3: video interface 0 found
[    7.625979] saa7115 2-0025: saa7113 found (1f7113d0e100000) @ 0x4a (stk1160)
[    8.901352] stk1160: driver ver 0.9.5 successfully loaded
[    9.007055] AC'97 0 access is not valid [0x0], removing mixer.
[    9.019292] stk1160: registers to NTSC like standard
[    9.179940] stk1160 1-1.3:1.0: V4L2 device registered as video0
[    9.192435] usbcore: registered new interface driver stk1160
[    9.344632] usbcore: registered new interface driver snd-usb-audio
[   15.307302] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   15.813085] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[   21.400586] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   24.488727] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   26.164126] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[   28.906612] Adding 102396k swap on /var/swap.  Priority:-1 extents:2 across:507900k SSFS
[   48.619415] stk1160: queue_setup: buffer count 8, each 691200 bytes
[   48.630722] stk1160: setting alternate 5
[   48.630755] stk1160: minimum isoc packet size: 3072 (alt=5)
[   48.630767] stk1160: setting alt 5 with wMaxPacketSize=3072
[   48.631342] stk1160: allocating urbs...
[   48.644025] stk1160: 16 urbs allocated
[   48.644716] stk1160: streaming started
[   50.527262] URB packet 0, status -63 [Buffer error (overrun)].
[   50.615878] URB packet 0, status -63 [Buffer error (overrun)].
[   51.945398] stk1160: killing 16 urbs...
[   51.945580] stk1160: all urbs killed
[   51.945631] stk1160: freeing 16 urb buffers...
[   51.947851] stk1160: all urb buffers freed
[   51.947884] stk1160: setting alternate 0
[   51.948707] stk1160: buffer [d8db4000/3] aborted
[   51.948732] stk1160: buffer [d8db4800/4] aborted
[   51.948744] stk1160: buffer [d8db5000/5] aborted
[   51.948756] stk1160: buffer [d8db5800/6] aborted
[   51.948766] stk1160: buffer [d8860000/7] aborted
[   51.948777] stk1160: buffer [dda94c00/0] aborted
[   51.948786] stk1160: buffer [dda95400/1] aborted
[   51.948794] stk1160: streaming stopped
It was just 3 seconds, but a lot of warnings in the gstreamer command...

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2076
Joined: Thu Jul 11, 2013 2:37 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Wed Apr 02, 2014 8:09 pm

@pmmd:
But in that 3 seconds, the device would have transferred 3*8000 = 24,000 frames of data. Only two have reported frame overrun.

This contrasts with your previous report where you had 16 errors in 3 seconds. A factor of 8 difference when all you've changed is the userspace CPU loading is significant.

I may consider implementing the "nuclear option" for FIQ latency - deep in the ARM11 cache controller is the ability to lock down a cache way - basically 1/4 of the I- or D-cache. By locking 1/4 of the I-cache to the FIQ, we can practically guarantee execution latency (at the terrible cost of everything else being trashed by removing 4k of cache from an already cache-limited CPU).

But hey, this is exactly the reason why I added the module parameter dwc_otg.fiq_fsm_mask: bitmask of features, each more insane than the last.

@andrea.iob
Interesting.

There is a standing bug with audio playback that is yet to be investigated but I would not have expected such a drastic difference merely by changing audio format.

As an experiment, can you compare playback of FLAC as normal versus if you also plug a pendrive in and simultaneously do

Code: Select all

cat /dev/sda > /dev/null &
Rockets are loud.
https://astro-pi.org

pmmd
Posts: 3
Joined: Tue Apr 01, 2014 11:13 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Thu Apr 03, 2014 12:31 am

jdb wrote:@pmmd:
[...]
I may consider implementing the "nuclear option" for FIQ latency - deep in the ARM11 cache controller is the ability to lock down a cache way - basically 1/4 of the I- or D-cache. By locking 1/4 of the I-cache to the FIQ, we can practically guarantee execution latency (at the terrible cost of everything else being trashed by removing 4k of cache from an already cache-limited CPU).
[...]
Great! I need my raspberry just for video grabbing ;-)

/edit: I just tested with an old kernel including the old drivers easycap instead of stk1160.

Code: Select all

sudo rpi-update a971e54db8c0e1678e2832e284f4c61a7bd71d2f
With it, no buffer overruns are reported in dmesg, neither with mplayer nor with gstreamer. Maybe a driver problem?

User avatar
Defiant
Posts: 179
Joined: Tue Oct 30, 2012 6:17 pm
Location: Hamburg, Germany

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Thu Apr 03, 2014 5:04 am

The stk1160 driver works fine on other platforms, including some ARM Boards.

andrea.iob
Posts: 12
Joined: Wed Apr 02, 2014 6:23 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Thu Apr 03, 2014 6:48 pm

jdb wrote: As an experiment, can you compare playback of FLAC as normal versus if you also plug a pendrive in and simultaneously do

Code: Select all

cat /dev/sda > /dev/null &
If a launch the "cat" command while playing a FLAC file the music stops after a few seconds. However, it seems that the mpd daemon continues to send data to the DAC, because, although I don't hear any music, the NYET messages keep coming. Killing the "cat" command does not resume the playback, but if I stop the file and I play it again it works (with the usual distorsions/glitches). The dmesg command does not report any messages other than the NYET and "xx callbacks suppressed" ones.

The "cat" command has no effect on the playback of mp3 files. No glitches and no NYET messages.

If it matters the snd-usb-audio is loaded with the option "nrpacks=1" and the USBHID module is already unbind from the DAC.

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2076
Joined: Thu Jul 11, 2013 2:37 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Thu Apr 03, 2014 8:28 pm

Please post a full dmesg log that includes the "FIQ reported NYET" messages.

Also, please post a full lsusb -v with devices plugged in.

It's highly odd that simply playing FLAC breaks things.
Rockets are loud.
https://astro-pi.org

jlucius
Posts: 4
Joined: Thu Apr 03, 2014 9:45 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Thu Apr 03, 2014 9:48 pm

Is the FIQ_FSM driver rewrite included in any RPi Kernel Source? I need to build the kernel myself. Or are there any patches available for any kernel version?

Thanks,

Jens

andrea.iob
Posts: 12
Joined: Wed Apr 02, 2014 6:23 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Fri Apr 04, 2014 7:15 pm

jdb wrote:Please post a full dmesg log that includes the "FIQ reported NYET" messages.

Also, please post a full lsusb -v with devices plugged in.

It's highly odd that simply playing FLAC breaks things.
Here they are:

dmesg while playing a FLAC file and reading data from sda (cat /dev/sda > /dev/null)

Code: Select all

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.33+ ([email protected]) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #659 PREEMPT Wed Mar 19 16:33:57 GMT 2014
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: BCM2708
[    0.000000] cma: CMA: reserved 16 MiB at 1e000000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 126976
[    0.000000] free_area_init_node: node 0, pgdat c05dfe94, node_mem_map c0690000
[    0.000000]   Normal zone: 992 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 126976 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 125984
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xe bcm2708.serial=0x3d291570 smsc95xx.macaddr=B8:27:EB:29:15:70 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000  force_turbo=1 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p3 elevator=noop rootfstype=ext4 rootwait smsc95xx.turbo_mode=N dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x7
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 496MB = 496MB total
[    0.000000] Memory: 480344k/480344k available, 27560k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xdf800000 - 0xff000000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0581850   (5607 kB)
[    0.000000]       .init : 0xc0582000 - 0xc05a64a4   ( 146 kB)
[    0.000000]       .data : 0xc05a8000 - 0xc05e0990   ( 227 kB)
[    0.000000]        .bss : 0xc05e0990 - 0xc068f060   ( 698 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:330
[    0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[    0.000000] Switching to timer-based delay loop
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty1] enabled
[    0.001178] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.001240] pid_max: default: 32768 minimum: 301
[    0.001710] Mount-cache hash table entries: 512
[    0.002530] Initializing cgroup subsys memory
[    0.002643] Initializing cgroup subsys devices
[    0.002681] Initializing cgroup subsys freezer
[    0.002713] Initializing cgroup subsys blkio
[    0.002870] CPU: Testing write buffer coherency: ok
[    0.003341] Setting up static identity map for 0xc0414710 - 0xc041476c
[    0.005128] devtmpfs: initialized
[    0.019751] NET: Registered protocol family 16
[    0.025862] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.027118] bcm2708.uart_clock = 0
[    0.028826] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.028882] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.028919] mailbox: Broadcom VideoCore Mailbox driver
[    0.029016] bcm2708_vcio: mailbox at f200b880
[    0.029118] bcm_power: Broadcom power driver
[    0.029154] bcm_power_open() -> 0
[    0.029180] bcm_power_request(0, 8)
[    0.529892] bcm_mailbox_read -> 00000080, 0
[    0.529934] bcm_power_request -> 0
[    0.530158] Serial: AMBA PL011 UART driver
[    0.530318] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[    0.881469] console [ttyAMA0] enabled
[    0.907376] bio: create slab <bio-0> at 0
[    0.912675] SCSI subsystem initialized
[    0.916659] usbcore: registered new interface driver usbfs
[    0.922366] usbcore: registered new interface driver hub
[    0.927927] usbcore: registered new device driver usb
[    0.934654] Switching to clocksource stc
[    0.939002] FS-Cache: Loaded
[    0.942166] CacheFiles: Loaded
[    0.957923] NET: Registered protocol family 2
[    0.963343] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.970612] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.977137] TCP: Hash tables configured (established 4096 bind 4096)
[    0.983610] TCP: reno registered
[    0.986872] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.992782] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.999526] NET: Registered protocol family 1
[    1.004463] RPC: Registered named UNIX socket transport module.
[    1.010525] RPC: Registered udp transport module.
[    1.015252] RPC: Registered tcp transport module.
[    1.020003] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.027530] bcm2708_dma: DMA manager at f2007000
[    1.032353] bcm2708_gpio: bcm2708_gpio_probe c05b5e50
[    1.037836] vc-mem: phys_addr:0x00000000 mem_base=0x1fa00000 mem_size:0x20000000(512 MiB)
[    1.047217] audit: initializing netlink socket (disabled)
[    1.052891] type=2000 audit(0.890:1): initialized
[    1.215202] VFS: Disk quotas dquot_6.5.2
[    1.219590] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.228502] FS-Cache: Netfs 'nfs' registered for caching
[    1.235296] NFS: Registering the id_resolver key type
[    1.240594] Key type id_resolver registered
[    1.244809] Key type id_legacy registered
[    1.249605] msgmni has been set to 970
[    1.255504] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.263361] io scheduler noop registered (default)
[    1.268192] io scheduler deadline registered
[    1.272929] io scheduler cfq registered
[    1.278248] BCM2708FB: allocated DMA memory 5e400000
[    1.283427] BCM2708FB: allocated DMA channel 0 @ f2007000
[    1.295925] Console: switching to colour frame buffer device 82x26
[    1.306009] uart-pl011 dev:f1: no DMA platform data
[    1.312463] kgdb: Registered I/O driver kgdboc.
[    1.319108] vc-cma: Videocore CMA driver
[    1.324366] vc-cma: vc_cma_base      = 0x00000000
[    1.330394] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.337042] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.353179] brd: module loaded
[    1.362886] loop: module loaded
[    1.367531] vchiq: vchiq_init_state: slot_zero = 0xde000000, is_master = 0
[    1.376624] Loading iSCSI transport class v2.0-870.
[    1.383914] usbcore: registered new interface driver smsc95xx
[    1.391159] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.598278] Core Release: 2.80a
[    1.602771] Setting default values for core params
[    1.608815] Finished setting default values for core params
[    1.815631] Using Buffer DMA mode
[    1.820195] Periodic Transfer Interrupt Enhancement - disabled
[    1.827270] Multiprocessor Interrupt Enhancement - disabled
[    1.834107] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.839762] Dedicated Tx FIFOs mode
[    1.845255] WARN::dwc_otg_hcd_init:1040: FIQ DMA bounce buffers: virt = 0xde414000 dma = 0x5e414000 len=9024
[    1.857710] FIQ FSM acceleration enabled for :
[    1.857710] Non-periodic Split Transactions
[    1.857710] Periodic Split Transactions
[    1.857710] High-Speed Isochronous Endpoints
[    1.879527] dwc_otg: Microframe scheduler enabled
[    1.879759] WARN::hcd_init:473: FIQ at 0xc02fa1b8
[    1.885815] WARN::hcd_init:474: FIQ ASM at 0xc02fa434 length 36
[    1.893189] WARN::hcd_init:500: MPHI regs_base at 0xdf806000
[    1.900228] dwc_otg bcm2708_usb: DWC OTG Controller
[    1.906455] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[    1.915103] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    1.921975] Init: Port Power? op_state=1
[    1.927180] Init: Power Port (0)
[    1.931807] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.939979] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.948512] usb usb1: Product: DWC OTG Controller
[    1.954531] usb usb1: Manufacturer: Linux 3.10.33+ dwc_otg_hcd
[    1.961693] usb usb1: SerialNumber: bcm2708_usb
[    1.968289] hub 1-0:1.0: USB hub found
[    1.973451] hub 1-0:1.0: 1 port detected
[    1.979065] dwc_otg: FIQ enabled
[    1.979082] dwc_otg: NAK holdoff enabled
[    1.979092] dwc_otg: FIQ split-transaction FSM enabled
[    1.979112] Module dwc_common_port init
[    1.979560] usbcore: registered new interface driver usb-storage
[    1.987172] mousedev: PS/2 mouse device common for all mice
[    1.994725] bcm2835-cpufreq: min=700000 max=700000 cur=700000
[    2.001939] bcm2835-cpufreq: switching to governor powersave
[    2.008902] bcm2835-cpufreq: switching to governor powersave
[    2.015781] cpuidle: using governor ladder
[    2.021108] cpuidle: using governor menu
[    2.026276] sdhci: Secure Digital Host Controller Interface driver
[    2.033728] sdhci: Copyright(c) Pierre Ossman
[    2.039402] sdhci: Enable low-latency mode
[    2.088739] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[    2.099201] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[    2.106434] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.113566] ledtrig-cpu: registered to indicate activity on CPUs
[    2.123153] hidraw: raw HID events driver (C) Jiri Kosina
[    2.137456] usbcore: registered new interface driver usbhid
[    2.144493] usbhid: USB HID core driver
[    2.154321] TCP: cubic registered
[    2.161081] Initializing XFRM netlink socket
[    2.168786] NET: Registered protocol family 17
[    2.174791] Key type dns_resolver registered
[    2.183759] Indeed it is in host mode hprt0 = 00021501
[    2.190908] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    2.219408] registered taskstats version 1
[    2.229647] Waiting for root device /dev/mmcblk0p3...
[    2.351265] mmc0: read SD Status register (SSR) after 9 attempts
[    2.365825] mmc0: new high speed SDHC card at address aaaa
[    2.373486] mmcblk0: mmc0:aaaa SU16G 14.8 GiB 
[    2.381147]  mmcblk0: p1 p3
[    2.428717] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.436767] Indeed it is in host mode hprt0 = 00001101
[    2.471455] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    2.498737] VFS: Mounted root (ext4 filesystem) on device 179:3.
[    2.517163] devtmpfs: mounted
[    2.529129] Freeing unused kernel memory: 144K (c0582000 - c05a6000)
[    2.669230] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    2.677573] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.688052] hub 1-1:1.0: USB hub found
[    2.694586] hub 1-1:1.0: 3 ports detected
[    2.978902] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    3.099213] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.107706] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.121897] smsc95xx v1.0.4
[    3.188025] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:29:15:70
[    3.299011] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    3.410606] usb 1-1.2: New USB device found, idVendor=0b05, idProduct=17ab
[    3.428821] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.437829] usb 1-1.2: Product: 802.11n WLAN Adapter
[    3.458819] usb 1-1.2: Manufacturer: Realtek
[    3.464706] usb 1-1.2: SerialNumber: 00e04c000001
[    3.578938] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
[    3.710445] usb 1-1.3: New USB device found, idVendor=05e3, idProduct=0608
[    3.725586] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.744828] usb 1-1.3: Product: USB2.0 Hub
[    3.757252] hub 1-1.3:1.0: USB hub found
[    3.769228] hub 1-1.3:1.0: 4 ports detected
[    4.059140] usb 1-1.3.1: new high-speed USB device number 6 using dwc_otg
[    4.204477] udevd[156]: starting version 175
[    4.631044] usb 1-1.3.1: New USB device found, idVendor=090c, idProduct=1000
[    4.658761] usb 1-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.688899] usb 1-1.3.1: Product: USB DISK
[    4.694587] usb 1-1.3.1: Manufacturer: SMI Corporation
[    4.738881] usb-storage 1-1.3.1:1.0: USB Mass Storage device detected
[    4.769335] scsi0 : usb-storage 1-1.3.1:1.0
[    4.869154] usb 1-1.3.2: new high-speed USB device number 7 using dwc_otg
[    5.003284] usb 1-1.3.2: New USB device found, idVendor=1058, idProduct=0704
[    5.029020] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.060880] bcm2708_i2c_init_pinmode(0,0)
[    5.066533] bcm2708_i2c_init_pinmode(0,1)
[    5.072341] usb 1-1.3.2: Product: External HDD    
[    5.087394] usb 1-1.3.2: Manufacturer: Western Digital 
[    5.103653] usb 1-1.3.2: SerialNumber: 575843363038413039313933
[    5.136411] usb-storage 1-1.3.2:1.0: USB Mass Storage device detected
[    5.153359] usb-storage 1-1.3.2:1.0: Quirks match for vid 1058 pid 0704: 8000
[    5.178988] scsi1 : usb-storage 1-1.3.2:1.0
[    5.259170] usb 1-1.3.4: new full-speed USB device number 8 using dwc_otg
[    5.277282] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 100000)
[    5.390409] usb 1-1.3.4: New USB device found, idVendor=4852, idProduct=0006
[    5.408778] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    5.428792] usb 1-1.3.4: Product: Music Streamer II+
[    5.435490] usb 1-1.3.4: Manufacturer: www.hirestech.com 2013 REV 3.0
[    5.470576] hid-generic 0003:4852:0006.0001: hiddev0,hidraw0: USB HID v1.00 Device [www.hirestech.com 2013 REV 3.0 Music Streamer II+] on usb-bcm2708_usb-1.3.4/input2
[    5.567191] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
[    5.662623] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
[    5.800241] bcm2708_i2c_init_pinmode(1,2)
[    5.800249] bcm2708_i2c_init_pinmode(1,3)
[    5.800612] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100000)
[    5.864186] scsi 0:0:0:0: Direct-Access     SMI      USB DISK         1100 PQ: 0 ANSI: 0 CCS
[    5.866518] sd 0:0:0:0: [sda] 3932160 512-byte logical blocks: (2.01 GB/1.87 GiB)
[    5.867283] sd 0:0:0:0: [sda] Write Protect is off
[    5.867300] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    5.868049] sd 0:0:0:0: [sda] No Caching mode page found
[    5.868059] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    5.871964] sd 0:0:0:0: [sda] No Caching mode page found
[    5.871975] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    5.873238]  sda: sda1
[    5.876646] sd 0:0:0:0: [sda] No Caching mode page found
[    5.876657] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    5.876674] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    6.179896] scsi 1:0:0:0: Direct-Access     WD       2500BEV External 1.05 PQ: 0 ANSI: 4
[    6.181979] sd 1:0:0:0: [sdb] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[    6.182776] sd 1:0:0:0: [sdb] Write Protect is off
[    6.182794] sd 1:0:0:0: [sdb] Mode Sense: 21 00 00 00
[    6.183488] sd 1:0:0:0: [sdb] No Caching mode page found
[    6.183498] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[    6.186099] sd 1:0:0:0: [sdb] No Caching mode page found
[    6.186110] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[    6.528116] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
[    6.857830] usbcore: registered new interface driver rtl8192cu
[    7.701642] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    7.769359] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    7.972110] usbcore: registered new interface driver snd-usb-audio
[    9.054971] FAT-fs (sda1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[    9.116463] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    9.580252]  sdb: sdb1
[    9.597215] sd 1:0:0:0: [sdb] No Caching mode page found
[    9.612764] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[    9.630901] sd 1:0:0:0: [sdb] Attached SCSI disk
[   10.983588] FAT-fs (sdb1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[   11.047286] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   12.380826] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[   12.821701] EXT4-fs (mmcblk0p3): Mount option "nouser_xattr" will be removed by 3.5
[   12.821701] Contact [email protected] if you think we should keep it.
[   12.821701] 
[   12.846582] EXT4-fs (mmcblk0p3): re-mounted. Opts: nouser_xattr,errors=remount-ro
[   18.478848] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   20.990134] NET: Registered protocol family 10
[   21.683251] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   21.858479] ip_tables: (C) 2000-2006 Netfilter Core Team
[   21.957184] nf_conntrack version 0.5.0 (7763 buckets, 31052 max)
[   22.003739] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   22.029557] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   23.743673] smsc95xx 1-1.1:1.0 eth0: link up, 10Mbps, half-duplex, lpa 0x4021
[   23.755404] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   33.859255] Installing knfsd (copyright (C) 1996 [email protected]).
[   41.014414] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   64.492056] bcm2835-cpufreq: switching to governor performance
[   64.500902] bcm2835-cpufreq: switching to governor performance
[  182.073624] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  182.169624] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  182.201614] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  182.265617] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  182.297617] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  182.489617] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  182.617627] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  182.649617] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  182.681613] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  182.713620] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  187.097628] dwc_otg_hcd_handle_hc_fsm: 65 callbacks suppressed
[  187.106885] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  187.161624] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  187.257636] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  187.289634] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  187.321630] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  187.449625] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  187.481626] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  187.609649] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  187.641628] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  187.673627] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  192.185648] dwc_otg_hcd_handle_hc_fsm: 58 callbacks suppressed
[  192.194938] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  192.217665] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  192.281638] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  192.313638] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  192.377649] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  192.409639] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  192.441639] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  192.505641] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  192.537638] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  192.569639] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  197.241659] dwc_otg_hcd_handle_hc_fsm: 73 callbacks suppressed
[  197.250960] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  197.305649] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  197.337653] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  197.433653] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  197.465652] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  197.529651] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  197.593652] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  197.625651] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  197.657656] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  197.689650] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  202.329668] dwc_otg_hcd_handle_hc_fsm: 70 callbacks suppressed
[  202.338959] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  202.425665] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  202.489663] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  202.521664] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  202.553675] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  202.617677] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  202.681674] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  202.745671] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[  202.841665] Transfer to device 8 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
lsusb -v

Code: Select all

Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         2 TT per port
  bMaxPacketSize0        64
  idVendor           0x0424 Standard Microsystems Corp.
  idProduct          0x9512 
  bcdDevice            2.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      1 Single TT
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2 TT per port
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             3
  wHubCharacteristic 0x000d
    Per-port power switching
    Compound device
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent      1 milli Ampere
  DeviceRemovable    0x02
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0503 highspeed power enable connect
   Port 3: 0000.0503 highspeed power enable connect
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.10
  iManufacturer           3 Linux 3.10.33+ dwc_otg_hcd
  iProduct                2 DWC OTG Controller
  iSerial                 1 bcm2708_usb
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0008
    Ganged power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
Device Status:     0x0001
  Self Powered

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0 
  bDeviceProtocol         1 
  bMaxPacketSize0        64
  idVendor           0x0424 Standard Microsystems Corp.
  idProduct          0xec00 
  bcdDevice            2.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol    255 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               4
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0 
  bDeviceProtocol         1 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 004: ID 0b05:17ab ASUSTek Computer, Inc. USB-N13 802.11n Network Adapter (rev. B1) [Realtek RTL8192CU]
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0b05 ASUSTek Computer, Inc.
  idProduct          0x17ab USB-N13 802.11n Network Adapter (rev. B1) [Realtek RTL8192CU]
  bcdDevice            2.00
  iManufacturer           1 Realtek
  iProduct                2 802.11n WLAN Adapter
  iSerial                 3 00e04c000001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           46
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x0608 USB-2.0 4-Port HUB
  bcdDevice           77.64
  iManufacturer           0 
  iProduct                1 USB2.0 Hub
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x00e0
    Ganged power switching
    Ganged overcurrent protection
    TT think time 32 FS bits
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0503 highspeed power enable connect
   Port 3: 0000.0100 power
   Port 4: 0000.0103 power enable connect
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 006: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) 64MB QDI U2 DISK
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x090c Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.)
  idProduct          0x1000 64MB QDI U2 DISK
  bcdDevice           11.00
  iManufacturer           1 SMI Corporation
  iProduct                2 USB DISK
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval             255
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval             255
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 007: ID 1058:0704 Western Digital Technologies, Inc. Passport External HDD
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x1058 Western Digital Technologies, Inc.
  idProduct          0x0704 Passport External HDD
  bcdDevice            1.05
  iManufacturer           1 Western Digital 
  iProduct                2 External HDD    
  iSerial                 3 575843363038413039313933
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 008: ID 4852:0006  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        32
  idVendor           0x4852 
  idProduct          0x0006 
  bcdDevice            3.00
  iManufacturer           1 www.hirestech.com 2013 REV 3.0
  iProduct                2 Music Streamer II+
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          220
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              400mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength           40
        bInCollection           1
        baInterfaceNr( 0)       1
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 2
        bSourceID               1
        bControlSize            1
        bmaControls( 0)      0x01
          Mute Control
        bmaControls( 1)      0x00
        bmaControls( 2)      0x00
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               2
        iTerminal               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                23
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           3
        bBitResolution         24
        bSamFreqType            5 Discrete
        tSamFreq[ 0]        96000
        tSamFreq[ 1]        88200
        tSamFreq[ 2]        48000
        tSamFreq[ 3]        44100
        tSamFreq[ 4]        32000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0258  1x 600 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress         130
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0003  1x 3 bytes
        bInterval               1
        bRefresh                5
        bSynchAddress           0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                23
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            5 Discrete
        tSamFreq[ 0]        96000
        tSamFreq[ 1]        88200
        tSamFreq[ 2]        48000
        tSamFreq[ 3]        44100
        tSamFreq[ 4]        32000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0258  1x 600 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress         130
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0003  1x 3 bytes
        bInterval               1
        bRefresh                5
        bSynchAddress           0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      34
          Report Descriptor: (length is 34)
            Item(Global): Usage Page, data= [ 0x00 0xff ] 65280
                            (null)
            Item(Local ): Usage, data= [ 0x01 ] 1
                            (null)
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Local ): Usage, data= [ 0x01 ] 1
                            (null)
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x20 ] 32
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x01 ] 1
                            (null)
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x20 ] 32
            Item(Main  ): Output, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval              16
Device Status:     0x0000
  (Bus Powered)

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2076
Joined: Thu Jul 11, 2013 2:37 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Fri Apr 04, 2014 9:53 pm

Just when I thought I'd seen everything...

Your device supports a single transfer size of 600 bytes per frame with a feedback endpoint that's updated every frame.

The device also claims to support 24 bit depth at 32k/44.1k/48k/88.2k/96k sample rates, all through this one endpoint. I bet that your FLAC files use a higher sample rate or bit depth output which causes brokeneness.

With isochronous endpoints that have a feedback mechanism, the feedback endpoint determines the rate at which samples must be pushed to the device to ensure the device FIFOs don't empty or overflow. They solve the problem of having two uncorrelated clock rates by having a PID feedback loop which adjusts the sample output rate.

If the packets from the feedback endpoint get chomped (by the FIQ doing something bad) then the feedback value will likely saturate. This causes Bad Things(tm) - usually mismatch between source and sink sample rate which leads to dropped samples.

A 600 byte output endpoint size coupled with a mandatory feedback endpoint may be too much for the hardware to handle.
Rockets are loud.
https://astro-pi.org

andrea.iob
Posts: 12
Joined: Wed Apr 02, 2014 6:23 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Sat Apr 05, 2014 5:59 am

jdb wrote:Just when I thought I'd seen everything...
The device also claims to support 24 bit depth at 32k/44.1k/48k/88.2k/96k sample rates, all through this one endpoint. I bet that your FLAC files use a higher sample rate or bit depth output which causes brokeneness.
The "file" command give me these information on the files:

Code: Select all

FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 12030480 samples
Inspecting the ALSA stream file (/proc/asound/card0/stream0) while playing a FLAC file i get:

Code: Select all

www.hirestech.com 2013 REV 3.0 Music Streamer II+ at usb-bcm2708_usb-1.3.4, ful : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 2
    Packet Size = 224
    Momentary freq = 44000 Hz (0x2c.0000)
    Feedback Format = 10.14
  Interface 1
    Altset 1
    Format: S24_3LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 96000, 88200, 48000, 44100, 32000
  Interface 1
    Altset 2
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 96000, 88200, 48000, 44100, 32000
Therefore I'm quite sure the files are 16/44.
A 600 byte output endpoint size coupled with a mandatory feedback endpoint may be too much for the hardware to handle.
By "hardware" do you mean the DAC or the Pi?

Thanks.

User avatar
Paul Webster
Posts: 801
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Sat Apr 05, 2014 7:12 am

No idea if there is any significance to this ... but the NYET messages appear in bursts with an interval of 5 between each burst.

jlucius
Posts: 4
Joined: Thu Apr 03, 2014 9:45 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Sat Apr 05, 2014 11:19 pm

jlucius wrote:Is the FIQ_FSM driver rewrite included in any RPi Kernel Source? I need to build the kernel myself. Or are there any patches available for any kernel version?
I am trying to use an USB headset for VoIP with the PI. Till now I used the master firmware and the rpi-3.13.y kernel source. With that I barly get usable sound (lots of cracks and noises).

Since I got no answer yet I tried to integrate FIQ_FSM myself. I used the rpi-3.13.y-next kernel source and the next firmware for my image. But with the new Image I get no sound at all.

options used: dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x7

output in /var/log/messages:
Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.

I´ll try with different settings and software, but that´s how far I got today. Any help would be appreciated

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2076
Joined: Thu Jul 11, 2013 2:37 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Sun Apr 06, 2014 8:49 pm

jlucius wrote: I am trying to use an USB headset for VoIP with the PI. Till now I used the master firmware and the rpi-3.13.y kernel source. With that I barly get usable sound (lots of cracks and noises).

Since I got no answer yet I tried to integrate FIQ_FSM myself. I used the rpi-3.13.y-next kernel source and the next firmware for my image. But with the new Image I get no sound at all.

options used: dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x7

output in /var/log/messages:
Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.

I´ll try with different settings and software, but that´s how far I got today. Any help would be appreciated
Please post a full lsusb -v and the entire contents of dmesg after using the device in question.

Is there any particular reason why you need to build the kernel yourself?

If the device simply refuses to work then you can partially revert to the older behaviour by removing some mask bits: I suggest a fiq_fsm_mask setting of 0x1 which will disable it for everything but non-periodic split transactions.
Rockets are loud.
https://astro-pi.org

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2076
Joined: Thu Jul 11, 2013 2:37 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Sun Apr 06, 2014 8:53 pm

Update

If you have experienced issues with the wired network connection randomly failing, please try this kernel image + modules:

https://www.dropbox.com/s/cr8mvsajxzyw3kw/kernel.img
https://www.dropbox.com/s/0jmtfic91sw83 ... odules.tgz

To extract the modules, run sudo tar xvf fuzz-modules.tgz -C/

It will print out lots of debug if the SMSC driver can't talk to the Ethernet chip any more. The messages should make their way into /var/log/messages which can be viewed after rebooting the Pi.

I've found this bug extremely difficult to reproduce: of the order of 48 hours before it manifests. By capturing details in the wild, it gives more chances to hit it.
Rockets are loud.
https://astro-pi.org

jlucius
Posts: 4
Joined: Thu Apr 03, 2014 9:45 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Mon Apr 07, 2014 8:39 am

jdb wrote:
jlucius wrote: I am trying to use an USB headset for VoIP with the PI. Till now I used the master firmware and the rpi-3.13.y kernel source. With that I barly get usable sound (lots of cracks and noises).

Since I got no answer yet I tried to integrate FIQ_FSM myself. I used the rpi-3.13.y-next kernel source and the next firmware for my image. But with the new Image I get no sound at all.

options used: dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x7

output in /var/log/messages:
Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.

I´ll try with different settings and software, but that´s how far I got today. Any help would be appreciated
Please post a full lsusb -v and the entire contents of dmesg after using the device in question.

Is there any particular reason why you need to build the kernel yourself?

If the device simply refuses to work then you can partially revert to the older behaviour by removing some mask bits: I suggest a fiq_fsm_mask setting of 0x1 which will disable it for everything but non-periodic split transactions.
I am building my own minimal linux with Yocto (Openembedded).

Setting fiq_fsm_mask to 0x1 has not really helped. It did play one sound but stopped after that (I am using the test utility which plays a ringtone in a continiuus loop)

At the moment the headphone is connected to a powered USB hub together with a wifi dongle. But it´s the same effect if connected direclty to the PI. Here are the logs:

Code: Select all

dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.13.7 (armaster) (gcc version 4.8.1 (GCC) ) #1 PREEMPT Mon Apr 7 02:32:26 CEST 2014
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: BCM2708
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 114688
[    0.000000] free_area_init_node: node 0, pgdat c05feb14, node_mem_map c06b0000
[    0.000000]   Normal zone: 896 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 114688 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 113792
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xf bcm2708.serial=0xfcxxxx smsc95xx.macaddr=xx:xx:xx:xx:xx:xx sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x7 debug
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 447864K/458752K available (4436K kernel code, 213K rwdata, 1312K rodata, 139K init, 704K bss, 10888K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xdc800000 - 0xff000000   ( 552 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdc000000   ( 448 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc05a5348   (5749 kB)
[    0.000000]       .init : 0xc05a6000 - 0xc05c8ecc   ( 140 kB)
[    0.000000]       .data : 0xc05ca000 - 0xc05ff6d0   ( 214 kB)
[    0.000000]        .bss : 0xc05ff6dc - 0xc06af9d0   ( 705 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:330
[    0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483648000ns
[    0.000000] Switching to timer-based delay loop
[    0.000000] Console: colour dummy device 80x30
[    0.000384] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.000406] pid_max: default: 32768 minimum: 301
[    0.000876] Mount-cache hash table entries: 512
[    0.001687] Initializing cgroup subsys memory
[    0.001747] Initializing cgroup subsys devices
[    0.001763] Initializing cgroup subsys freezer
[    0.001776] Initializing cgroup subsys blkio
[    0.001898] CPU: Testing write buffer coherency: ok
[    0.002337] Setting up static identity map for 0x439178 - 0x4391d4
[    0.004471] devtmpfs: initialized
[    0.016650] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    0.017293] NET: Registered protocol family 16
[    0.022358] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.022987] cpuidle: using governor ladder
[    0.023008] cpuidle: using governor menu
[    0.023498] bcm2708.uart_clock = 0
[    0.025182] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.025202] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.025216] mailbox: Broadcom VideoCore Mailbox driver
[    0.025295] bcm2708_vcio: mailbox at f200b880
[    0.025375] bcm_power: Broadcom power driver
[    0.025394] bcm_power_open() -> 0
[    0.025403] bcm_power_request(0, 8)
[    0.526077] bcm_mailbox_read -> 00000080, 0
[    0.526095] bcm_power_request -> 0
[    0.526343] Serial: AMBA PL011 UART driver
[    0.526487] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3
[    0.908428] console [ttyAMA0] enabled
[    0.934057] bio: create slab <bio-0> at 0
[    0.939177] usbcore: registered new interface driver usbfs
[    0.944735] usbcore: registered new interface driver hub
[    0.950372] usbcore: registered new device driver usb
[    0.956859] Switched to clocksource stc
[    0.961163] FS-Cache: Loaded
[    0.964305] CacheFiles: Loaded
[    0.980686] NET: Registered protocol family 2
[    0.986116] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.993453] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    1.000016] TCP: Hash tables configured (established 4096 bind 4096)
[    1.006438] TCP: reno registered
[    1.009710] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.015555] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.022261] NET: Registered protocol family 1
[    1.027235] RPC: Registered named UNIX socket transport module.
[    1.033160] RPC: Registered udp transport module.
[    1.037947] RPC: Registered tcp transport module.
[    1.042648] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.050126] bcm2708_dma: DMA manager at f2007000
[    1.054831] bcm2708_gpio: bcm2708_gpio_probe c05d7ed0
[    1.060339] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[    1.069879] audit: initializing netlink socket (disabled)
[    1.075329] type=2000 audit(0.910:1): initialized
[    1.241302] VFS: Disk quotas dquot_6.5.2
[    1.245517] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.254354] FS-Cache: Netfs 'nfs' registered for caching
[    1.261088] NFS: Registering the id_resolver key type
[    1.266226] Key type id_resolver registered
[    1.270525] Key type id_legacy registered
[    1.275276] msgmni has been set to 874
[    1.281307] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.289124] io scheduler noop registered
[    1.293053] io scheduler deadline registered
[    1.297748] io scheduler cfq registered (default)
[    1.302701] bcm2708_fb_debugfs_init: could not create debugfs entry
[    1.309183] BCM2708FB: allocated DMA memory 5b960000
[    1.314186] BCM2708FB: allocated DMA channel 0 @ f2007000
[    1.326117] Console: switching to colour frame buffer device 82x26
[    1.420293] uart-pl011 dev:f1: no DMA platform data
[    1.425218] kgdb: Registered I/O driver kgdboc.
[    1.430643] vc-cma: Videocore CMA driver
[    1.434569] vc-cma: vc_cma_base      = 0x00000000
[    1.439331] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.444723] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.459922] brd: module loaded
[    1.468421] loop: module loaded
[    1.471828] vchiq: vchiq_init_state: slot_zero = 0xdc804000, is_master = 0
[    1.480531] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
[    1.488723] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
[    1.495953] usbcore: registered new interface driver smsc95xx
[    1.501819] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.707768] Core Release: 2.80a
[    1.710920] Setting default values for core params
[    1.715732] Finished setting default values for core params
[    1.921506] Using Buffer DMA mode
[    1.924824] Periodic Transfer Interrupt Enhancement - disabled
[    1.930682] Multiprocessor Interrupt Enhancement - disabled
[    1.936248] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.940627] Dedicated Tx FIFOs mode
[    1.944332] WARN::dwc_otg_hcd_init:1040: FIQ DMA bounce buffers: virt = 0xdcc27000 dma = 0x5ba50000 len=9024
[    1.954212] FIQ FSM acceleration enabled for :
[    1.954212] Non-periodic Split Transactions
[    1.954212] Periodic Split Transactions
[    1.954212] High-Speed Isochronous Endpoints
[    1.970919] dwc_otg: Microframe scheduler enabled
[    1.975648] WARN::hcd_init:473: FIQ at 0xc0315c9c
[    1.980387] WARN::hcd_init:474: FIQ ASM at 0xc0315f50 length 36
[    1.986313] WARN::hcd_init:500: MPHI regs_base at 0xdcc1c000
[    1.992013] dwc_otg bcm2708_usb: DWC OTG Controller
[    1.996955] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[    2.004216] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[    2.009755] Init: Port Power? op_state=1
[    2.013672] Init: Power Port (0)
[    2.017231] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.024019] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.031278] usb usb1: Product: DWC OTG Controller
[    2.035979] usb usb1: Manufacturer: Linux 3.13.7 dwc_otg_hcd
[    2.041660] usb usb1: SerialNumber: bcm2708_usb
[    2.047093] hub 1-0:1.0: USB hub found
[    2.050927] hub 1-0:1.0: 1 port detected
[    2.055312] dwc_otg: FIQ enabled
[    2.058651] dwc_otg: NAK holdoff enabled
[    2.062572] dwc_otg: FIQ split-transaction FSM enabled
[    2.067789] Module dwc_common_port init
[    2.072227] mousedev: PS/2 mouse device common for all mice
[    2.078617] bcm2835-cpufreq: min=700000 max=700000 cur=700000
[    2.084510] bcm2835-cpufreq: switching to governor powersave
[    2.090270] bcm2835-cpufreq: switching to governor powersave
[    2.096007] sdhci: Secure Digital Host Controller Interface driver
[    2.102265] sdhci: Copyright(c) Pierre Ossman
[    2.106697] sdhci: Enable low-latency mode
[    2.156925] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[    2.164924] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[    2.171019] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.178815] ledtrig-cpu: registered to indicate activity on CPUs
[    2.192260] hidraw: raw HID events driver (C) Jiri Kosina
[    2.198008] usbcore: registered new interface driver usbhid
[    2.205667] usbhid: USB HID core driver
[    2.214089] TCP: cubic registered
[    2.219545] Initializing XFRM netlink socket
[    2.223935] NET: Registered protocol family 17
[    2.233850] Key type dns_resolver registered
[    2.239656] registered taskstats version 1
[    2.244981] Waiting for root device /dev/mmcblk0p2...
[    2.250380] Indeed it is in host mode hprt0 = 00021501
[    2.270431] mmc0: new high speed SDHC card at address 0007
[    2.287162] mmcblk0: mmc0:0007 SD08G 7.42 GiB
[    2.293524]  mmcblk0: p1 p2
[    2.395435] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.403808] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.414985] devtmpfs: mounted
[    2.418489] Freeing unused kernel memory: 136K (c05a6000 - c05c8000)
[    2.447070] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.453928] Indeed it is in host mode hprt0 = 00001101
[    2.657371] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    2.664086] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.673784] hub 1-1:1.0: USB hub found
[    2.678578] hub 1-1:1.0: 3 ports detected
[    2.957157] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    3.062490] udevd[73]: starting version 182
[    3.077783] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.084696] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.100535] smsc95xx v1.0.4
[    3.162166] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:ca:bd:3e
[    3.267190] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    3.390622] usb 1-1.2: New USB device found, idVendor=2101, idProduct=8500
[    3.416980] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.424298] usb 1-1.2: Product: USB2.0 Hub
[    3.443090] usb 1-1.2: Manufacturer: Action Star
[    3.462002] hub 1-1.2:1.0: USB hub found
[    3.468064] hub 1-1.2:1.0: 5 ports detected
[    3.695637] bcm2708_i2c_init_pinmode(0,0)
[    3.757466] usb 1-1.2.1: new high-speed USB device number 5 using dwc_otg
[    3.787134] bcm2708_i2c_init_pinmode(0,1)
[    3.854389] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 100k)
[    3.870968] usb 1-1.2.1: New USB device found, idVendor=2101, idProduct=8501
[    3.886487] usb 1-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.906993] usb 1-1.2.1: Product: USB HID
[    3.911017] usb 1-1.2.1: Manufacturer: Action Star
[    3.936020] hid-generic 0003:2101:8501.0001: hiddev0,hidraw0: USB HID v1.11 Device [Action Star USB HID] on usb-bcm2708_usb-1.2.1/input0
[    4.037128] bcm2708_i2c_init_pinmode(1,2)
[    4.041153] bcm2708_i2c_init_pinmode(1,3)
[    4.045517] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100k)
[    4.054598] usb 1-1.2.4: new high-speed USB device number 6 using dwc_otg
[    4.168913] usb 1-1.2.4: New USB device found, idVendor=7392, idProduct=7811
[    4.175977] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.197032] usb 1-1.2.4: Product: 802.11n WLAN Adapter
[    4.202187] usb 1-1.2.4: Manufacturer: Realtek
[    4.206625] usb 1-1.2.4: SerialNumber: 00e04c000001
[    4.505620] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
[    7.378890] random: nonblocking pool is initialized
[    8.487470] usb 1-1.2.5: new full-speed USB device number 7 using dwc_otg
[    8.623446] usb 1-1.2.5: New USB device found, idVendor=1395, idProduct=0024
[    8.637084] usb 1-1.2.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    8.644577] usb 1-1.2.5: Product: Sennheiser USB headset
[    8.665444] usb 1-1.2.5: Manufacturer: Sennheiser Communications
[    8.692146] input: Sennheiser Communications  Sennheiser USB headset as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.5/1-1.2.5:1.3/input/input0
[    8.720708] hid-generic 0003:1395:0024.0002: input,hidraw1: USB HID v1.00 Device [Sennheiser Communications  Sennheiser USB headset] on usb-bcm2708_usb-1.2.5/input3
[   10.067245] usbcore: registered new interface driver snd-usb-audio
[   10.822903] usbcore: registered new interface driver rtl8192cu
[   11.004757] fbtft_device:  SPI devices registered:
[   11.009866] fbtft_device:      spidev spi0.0 500kHz 8 bits mode=0x00
[   11.016254] fbtft_device:      spidev spi0.1 500kHz 8 bits mode=0x00
[   11.022674] fbtft_device:  'fb' Platform devices registered:
[   11.028395] fbtft_device:      bcm2708_fb id=-1 pdata? no
[   11.033871] fbtft_device: Deleting spi0.0
[   11.041008] fbtft_device:  GPIOS used by 'mi0283qt-9a':
[   11.046280] fbtft_device:    'reset' = GPIO23
[   11.056351] fbtft_device:    'led' = GPIO18
[   11.060750] fbtft_device:  SPI devices registered:
[   11.065589] fbtft_device:      spidev spi0.1 500kHz 8 bits mode=0x00
[   11.086981] fbtft_device:      fb_ili9341 spi0.0 32000kHz 9 bits mode=0x00
[   11.141863] ads7846_device: Deleting spi0.1
[   11.157789] ads7846 spi0.1: touchscreen, irq 195
[   11.163060] input: ADS7846 Touchscreen as /devices/platform/bcm2708_spi.0/spi_master/spi0/spi0.1/input/input1
[   11.829942] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[   11.927988] graphics fb1: fb_ili9341 frame buffer, 320x240, 150 KiB video memory, 16 KiB DMA buffer memory, fps=20, spi0.0 at 32 MHz
[   16.499746] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   18.151920] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
[   21.395399] NET: Registered protocol family 10
[   22.296686] NET: Registered protocol family 15
[   73.739650] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[   73.749645] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[   73.759645] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[   73.769675] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[   73.779660] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[   73.789647] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[   73.799519] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[   73.809536] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[   73.819523] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.
[   73.829517] Transfer to device 7 endpoint 0x2 failed - FIQ reported NYET. Data may have been lost.

Code: Select all

Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. LAN9500 Ethernet 10/100 Adapter / SMSC9512/9514 Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         2 TT per port
  bMaxPacketSize0        64
  idVendor           0x0424 Standard Microsystems Corp.
  idProduct          0x9512 LAN9500 Ethernet 10/100 Adapter / SMSC9512/9514 Hub
  bcdDevice            2.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      1 Single TT
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2 TT per port
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             3
  wHubCharacteristic 0x000d
    Per-port power switching
    Compound device
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent      1 milli Ampere
  DeviceRemovable    0x02
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0503 highspeed power enable connect
   Port 3: 0000.0100 power
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.13
  iManufacturer           3 Linux 3.13.7 dwc_otg_hcd
  iProduct                2 DWC OTG Controller
  iSerial                 1 bcm2708_usb
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0008
    Ganged power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
Device Status:     0x0001
  Self Powered

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0
  bDeviceProtocol         1
  bMaxPacketSize0        64
  idVendor           0x0424 Standard Microsystems Corp.
  idProduct          0xec00 SMSC9512/9514 Fast Ethernet Adapter
  bcdDevice            2.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol    255
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               4
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0
  bDeviceProtocol         1
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 004: ID 2101:8500 ActionStar
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         2 TT per port
  bMaxPacketSize0        64
  idVendor           0x2101 ActionStar
  idProduct          0x8500
  bcdDevice            1.06
  iManufacturer           1 Action Star
  iProduct                2 USB2.0 Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      1 Single TT
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2 TT per port
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             5
  wHubCharacteristic 0x00e4
    Ganged power switching
    Compound device
    Ganged overcurrent protection
    TT think time 32 FS bits
    Port indicators
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent    100 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0503 highspeed power enable connect
   Port 5: 0000.0103 power enable connect
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 001 Device 005: ID 2101:8501 ActionStar
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x2101 ActionStar
  idProduct          0x8501
  bcdDevice            6.05
  iManufacturer           1 Action Star
  iProduct                2 USB HID
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               20mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      35
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               8
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0002
  (Bus Powered)
  Remote Wakeup Enabled

Bus 001 Device 006: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x7392 Edimax Technology Co., Ltd
  idProduct          0x7811 EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
  bcdDevice            2.00
  iManufacturer           1 Realtek
  iProduct                2 802.11n WLAN Adapter
  iSerial                 3 00e04c000001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           46
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 007: ID 1395:0024 Sennheiser Communications
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x1395 Sennheiser Communications
  idProduct          0x0024
  bcdDevice            1.00
  iManufacturer           1 Sennheiser Communications
  iProduct                2 Sennheiser USB headset
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          253
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0
      iInterface              0
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength          100
        bInCollection           2
        baInterfaceNr( 0)       1
        baInterfaceNr( 1)       2
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             2
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             1
        wChannelConfig     0x0001
          Left Front (L)
        iChannelNames           0
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             6
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               9
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             7
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               8
        iTerminal               0
      AudioControl Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      5 (SELECTOR_UNIT)
        bUnitID                 8
        bNrInPins               1
        baSource( 0)           10
        iSelector               0
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 9
        bSourceID              15
        bControlSize            1
        bmaControls( 0)      0x01
          Mute Control
        bmaControls( 1)      0x02
          Volume Control
        bmaControls( 2)      0x02
          Volume Control
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                10
        bSourceID               2
        bControlSize            1
        bmaControls( 0)      0x43
          Mute Control
          Volume Control
          Automatic Gain Control
        bmaControls( 1)      0x00
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                13
        bSourceID               2
        bControlSize            1
        bmaControls( 0)      0x03
          Mute Control
          Volume Control
        bmaControls( 1)      0x00
        iFeature                0
      AudioControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      4 (MIXER_UNIT)
        bUnitID                15
        bNrInPins               2
        baSourceID( 0)          1
        baSourceID( 1)         13
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0
        bmControls         0x00
        iMixer                  0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                14
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            2 Discrete
        tSamFreq[ 0]        48000
        tSamFreq[ 1]        44100
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x00c8  1x 200 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         1 Milliseconds
          wLockDelay              1 Milliseconds
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0
      iInterface              0
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           7
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                14
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            2 Discrete
        tSamFreq[ 0]        48000
        tSamFreq[ 1]        44100
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0064  1x 100 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      60
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval               2
Device Status:     0x0000
  (Bus Powered)

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2076
Joined: Thu Jul 11, 2013 2:37 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Tue Apr 08, 2014 1:59 pm

I see that there's the ever-present HID endpoint on that device.

Code: Select all

[    8.720708] hid-generic 0003:1395:0024.0002: input,hidraw1: USB HID v1.00 Device [Sennheiser Communications  Sennheiser USB headset] on usb-bcm2708_usb-1.2.5/input3
If you unbind the usbhid driver from that endpoint then it should free up enough bus bandwidth to use the device more successfully.

http://archphile.org/howto/troubleshoot ... and-clicks

Note that this is per-reboot. You need to set dwc_otg.fiq_fsm_mask=0x3 in cmdline.txt and then reboot, then unbind the usbhid module from the device.
Rockets are loud.
https://astro-pi.org

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5318
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Wed Apr 09, 2014 2:46 pm

There is an update to

Code: Select all

sudo BRANCH=next rpi-update
which includes jbd's latest fix:
https://github.com/P33M/linux/commit/b8 ... 002a242c8d

Please update and report back if you have network dropouts or other occasional failures with fiq fsm enabled.

tuxx
Posts: 7
Joined: Thu Mar 06, 2014 10:42 am

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Wed Apr 09, 2014 6:02 pm

I have been testing it with a USB dac for about one hour with various 24/96 flac files and at the moment everything is fine. No pops and clicks and no dmesg errors.

Thank you very much for the amazing job you have done with the beta firmware!

edit:

I just got the first FIQ error. With previous firmware i would have counted over 10 errors in one hour. Testing now with usbhid unbinding.

jlucius
Posts: 4
Joined: Thu Apr 03, 2014 9:45 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Thu Apr 10, 2014 7:28 pm

jdb wrote:I see that there's the ever-present HID endpoint on that device.

Code: Select all

[    8.720708] hid-generic 0003:1395:0024.0002: input,hidraw1: USB HID v1.00 Device [Sennheiser Communications  Sennheiser USB headset] on usb-bcm2708_usb-1.2.5/input3
If you unbind the usbhid driver from that endpoint then it should free up enough bus bandwidth to use the device more successfully.

http://archphile.org/howto/troubleshoot ... and-clicks

Note that this is per-reboot. You need to set dwc_otg.fiq_fsm_mask=0x3 in cmdline.txt and then reboot, then unbind the usbhid module from the device.
Ok I changed to mask to 0x3, included the latest patch in kernel and did an unbind for the HID - result: still not perfect, but the error messages are gone and the sound is usable. Works for me right now - thanks for your help and keep up the good work! I´ll keep testing the FIQ with my devices.

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Sat Apr 12, 2014 12:19 am

Hi,

I'd also need to report a problem.

My setup: Model B, latest Raspbian image (upgraded&updated few hours ago), latest beta USB driver (installed few hours ago), no USB HUB attached, WiFi dongle (EW-7811Un), Ethernet cable plugged-in, additional USB HID-profile device (in-house developed FF32 chip), no keyboard, no mouse, no display, no camera, no GPIO add-ons.

With released (non-beta) latest USB driver I can reproduce USB communication error in few minutes. The test app to reproduce the problem is very simple query-response loop - the mentioned USB HID device gets queried (one packet containing few bytes) and it responds (one packet containing 64 bytes). The problem is that this response packet is sporadicly lost and not delivered to the application layer - with an USB bus sniffer I can see that the device sends this response.


Results when using this beta USB driver are very different and depend on dwc_otg.fiq_fsm_mask parameter value.
In the file /boot/cmdline.txt I added: dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=<0xn>

When dwc_otg.fiq_fsm_mask=0x3 or 0x7, the communication fails immediately, after one query-response transaction.

When dwc_otg.fiq_fsm_mask=0x1, the results are very promising. At low communication load, I successfully completed 3 million query-response transactions without a single error. Unfortunately, at high USB load (ftp file uploads in parallel over Ethernet and WiFi), the same problem of lost data packet has occurred after several minutes (approx. 200.000 query-response transactions).

Please let me know what data details should I provide you to make troubleshooting easier.


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2076
Joined: Thu Jul 11, 2013 2:37 pm

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Sat Apr 12, 2014 10:19 am

That's odd. USBHID should work faultlessly with bit 1 (0x2) of the mask set.

Do you use a HID output endpoint to query the device?

How much data does your device return? I.e. will it return less than 64 bytes of data in a single transaction?
Rockets are loud.
https://astro-pi.org

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Sat Apr 12, 2014 1:18 pm

Hi,

Thanks for the quick response.
jdb wrote:That's odd. USBHID should work faultlessly with bit 1 (0x2) of the mask set.
I can send you this USB board to have it on your desk and debug/monitor/observe the behavior.

jdb wrote:Do you use a HID output endpoint to query the device?
The "properties" of the USB device are:
Image

The test code on RasPi side is:

Code: Select all

#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdbool.h>
#include <libudev.h>


char usb_DevicePath[32];
int usb_Handler;
unsigned char usb_BufferTx[64];
unsigned char usb_BufferRx[64];

bool usb_SendData(int pLen);
bool usb_OpenComm(void);
void usb_CloseComm(void);
bool usb_GetPath(int pCount);



int main(int argc, char **argv) {
	int i;

	if(usb_GetPath(1) == false) {
		return EXIT_FAILURE; }
	if(usb_OpenComm() == false) {
		return EXIT_FAILURE; }

	usb_BufferTx[0] = 0x00;	// report ID
	usb_BufferTx[1] = 0x21;	// CMD_READ_DIGITAL_INPUT
	usb_BufferTx[2] = 'A';
	usb_BufferTx[3] = 1;
	for(i=0; i<999999; i++) {
		if(usb_SendData(4) == false) {
			printf("Ups...\n");
			break; }	}

	usb_CloseComm();
	return EXIT_SUCCESS;
}



bool usb_SendData(int pLen) {
	int Count;
	Count = write(usb_Handler, usb_BufferTx, pLen);
	if (Count < 0) {
		return false; }
	Count = read(usb_Handler, usb_BufferRx, 64);
	if (Count < 0) {
		return false; }
	return true;
}

bool usb_OpenComm() {
	usb_Handler = open(usb_DevicePath, O_RDWR);
	if (usb_Handler < 0) {
		fprintf(stderr, "Unable to open USB device.\n");
		return false; }
	return true;
}

void usb_CloseComm() {
	close(usb_Handler);
}

bool usb_GetPath(int pCount) {
	struct udev *udev;
	struct udev_enumerate *enumerate;
	struct udev_list_entry *devices, *dev_list_entry;
	struct udev_device *dev;
	int Count = 0;

	usb_DevicePath[0] = 0x00;
	udev = udev_new();
	if (!udev) {
		return false; }
	enumerate = udev_enumerate_new(udev);
	udev_enumerate_add_match_subsystem(enumerate, "hidraw");
	udev_enumerate_scan_devices(enumerate);
	devices = udev_enumerate_get_list_entry(enumerate);
	udev_list_entry_foreach(dev_list_entry, devices) {
		const char *path;
		path = udev_list_entry_get_name(dev_list_entry);
		dev = udev_device_new_from_syspath(udev, path);
		strcpy(usb_DevicePath, udev_device_get_devnode(dev));
		dev = udev_device_get_parent_with_subsystem_devtype(dev, "usb", "usb_device");
		if (!dev) {
			return false; }
		if (udev_device_get_sysattr_value(dev, "product") != NULL) {
			if (strcmp(udev_device_get_sysattr_value(dev, "product"), "FF32") == 0) {
				Count++;
				if(Count == pCount) {
					udev_device_unref(dev);
					udev_enumerate_unref(enumerate);
					udev_unref(udev);
					return true; }	}	}
		udev_device_unref(dev); }
	udev_enumerate_unref(enumerate);
	udev_unref(udev);
	return false;
}
The traffic on the USB bus is:
Image


jdb wrote:How much data does your device return? I.e. will it return less than 64 bytes of data in a single transaction?
It always returns 64 bytes.


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: Call for beta testers: FIQ_FSM USB driver rewrite

Sat Apr 12, 2014 2:44 pm

I have a DVB-T dongle with RTL2832U chipset, and to listen to FM radio I use a program called rtl_fm which basically captures audio and pipes this directly into aplay.
With kernel 3.6.11+ it worked perfectly but since updating to 3.10.36+ the dongle cannot capture correctly resulting in lost samples and buffer underruns.
I've done a system update/upgrade and I'm running 3.10.36+ #665 with the FIQ_FSM driver enabled but I see no change in behaviour.

Is there anything else I can do or dump to get this problem fixed??

Richard S.

Return to “Troubleshooting”