Hi All,
We have Bluetooth and USB. Bluetooth uses UART. When BT audio streaming is going on, if pendrive is connected or disconnected, BT connection drops. Any idea what could be the problem? How to isolate the problem?
Regards,
Gangadhar
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi All,
We have Bluetooth and USB. Bluetooth uses UART. When BT audio streaming is going on, if pendrive is connected or disconnected, BT connection drops. Any idea what could be the problem? How to isolate the problem?
Regards,
Gangadhar
Hi Gangadhar,
I will forward this to the USB experts. Please post what software version you are using.
Feedback from the factory team: "I am not aware of any relationship between USB and UART. I would recommend to debug the UART driver first to see what causes the data drop."
Gangadhar,
Can you please capture a bus trace or console debug logs? This could be helpful to see what's going on when pendrive is connected/disconnected to/from USB port.
You can enable kernel dynamic debug control (see Documentation/dynamic-debug-howto.txt)
-Mark
Hi Mark,
I enabled kernel dynamic debug control. My .config file has CONFIG_DYNAMIC_DEBUG=y. I've attached dmesg log. Just to make others know what exactly the problem is, I'm writing the same thing that I sent you in mail,
1. AM335x is connected to BT chip through UART.
2. Audio streaming is done through UART.
3. When pendrive is connected during audio streaming there is loss in UART packets. BT connection breaks.
Baudrate - 921600. DMA is not enabled for omap uart. I noticed UART FIFO buffer overflow by using debug prints. In "drivers/tty/serial/omap-serial.c", ISR - "serial_omap_irq()"
lsr = serial_in(up, UART_LSR);
if(lsr & UART_LSR_OE)
{
printk("FIFO overflow\n");
}
In the log, there is an error print, "usbmtp 1-1:1.0: -+-+-+-+Returning ERROR -19-+-+-+-+". This is our driver. This error is ok. Even if we remove this driver, BT connection breaks.
Regards,
Gangadhar
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] BSP3.9 [ 0.000000] Linux version 3.12.10-ti2013.12.01 (gangadhar@pc45) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #2 PREEMPT Fri Apr 17 13:02:32 IST 2015 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: DVP1 NAFTA DV [ 0.000000] cma: CMA: reserved 24 MiB at 8e000000 [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] On node 0 totalpages: 65280 [ 0.000000] free_area_init_node: node 0, pgdat c0463e1c, node_mem_map c04c5000 [ 0.000000] Normal zone: 512 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 65280 pages, LIFO batch:15 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES2.1 (neon ) [ 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: 64768 [ 0.000000] Kernel command line: console=ttyO3,115200n8 root=/dev/mtdblock7 ro rootfstype=ext2 lpj=2658304 quiet [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Memory: 228688K/261120K available (3469K kernel code, 234K rwdata, 632K rodata, 156K init, 351K bss, 32432K reserved) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xd0800000 - 0xff000000 ( 744 MB) lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc0409978 (4103 kB) .init : 0xc040a000 - 0xc0431344 ( 157 kB) .data : 0xc0432000 - 0xc046ca58 ( 235 kB) .bss : 0xc046ca64 - 0xc04c46e8 ( 352 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts [ 0.000000] Total of 128 interrupts on 1 active controller [ 0.000000] omap_dt_clocks_register: failed to lookup clock node gpio3_dbclk [ 0.000000] ------------[ cut here ]------------ [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/arm/mach-omap2/omap_hwmod.c:2261 0xc001da14() [ 0.000000] omap_hwmod: timer3: enabled state can only be entered from initialized, idle, or disabled state [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 3.12.10-ti2013.12.01 #2 [ 0.000000] Function entered at [<c00124a0>] from [<c0010a04>] [ 0.000000] Function entered at [<c0010a04>] from [<c002cb98>] [ 0.000000] Function entered at [<c002cb98>] from [<c002cc38>] [ 0.000000] Function entered at [<c002cc38>] from [<c001da14>] [ 0.000000] Function entered at [<c001da14>] from [<c001e438>] [ 0.000000] Function entered at [<c001e438>] from [<c0410848>] [ 0.000000] Function entered at [<c0410848>] from [<c0410a00>] [ 0.000000] Function entered at [<c0410a00>] from [<c040bfa8>] [ 0.000000] Function entered at [<c040bfa8>] from [<c040a8c8>] [ 0.000000] Function entered at [<c040a8c8>] from [<80008070>] [ 0.000000] ---[ end trace 1b75b31a2719ed1c ]--- [ 0.000000] OMAP clockevent source: timer3 at 24000000 Hz [ 0.000000] ------------[ cut here ]------------ [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/arm/mach-omap2/omap_hwmod.c:2261 0xc001da14() [ 0.000000] omap_hwmod: timer1: enabled state can only be entered from initialized, idle, or disabled state [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G W 3.12.10-ti2013.12.01 #2 [ 0.000000] Function entered at [<c00124a0>] from [<c0010a04>] [ 0.000000] Function entered at [<c0010a04>] from [<c002cb98>] [ 0.000000] Function entered at [<c002cb98>] from [<c002cc38>] [ 0.000000] Function entered at [<c002cc38>] from [<c001da14>] [ 0.000000] Function entered at [<c001da14>] from [<c001e438>] [ 0.000000] Function entered at [<c001e438>] from [<c0410848>] [ 0.000000] Function entered at [<c0410848>] from [<c0410a8c>] [ 0.000000] Function entered at [<c0410a8c>] from [<c040bfa8>] [ 0.000000] Function entered at [<c040bfa8>] from [<c040a8c8>] [ 0.000000] Function entered at [<c040a8c8>] from [<80008070>] [ 0.000000] ---[ end trace 1b75b31a2719ed1d ]--- [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] OMAP clocksource: timer1 at 24000000 Hz [ 0.000058] Calibrating delay loop (skipped) preset value.. 531.66 BogoMIPS (lpj=2658304) [ 0.000074] pid_max: default: 32768 minimum: 301 [ 0.000227] Mount-cache hash table entries: 512 [ 0.007312] CPU: Testing write buffer coherency: ok [ 0.007658] Setting up static identity map for 0xc0347df0 - 0xc0347e24 [ 0.010314] devtmpfs: initialized [ 0.011909] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.068898] pinctrl core: initialized pinctrl subsystem [ 0.069199] regulator-dummy: no parameters [ 0.070951] NET: Registered protocol family 16 [ 0.072781] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.078906] OMAP GPIO hardware version 0.1 [ 0.082719] omap-gpmc 50000000.gpmc: could not find pctldev for node /pinmux@44e10800/pinmux_norflash_pins, deferring probe [ 0.082749] platform 50000000.gpmc: Driver omap-gpmc requests probe deferral [ 0.088175] bio: create slab <bio-0> at 0 [ 0.092078] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver [ 0.092517] vdd_mpu: 1260 mV [ 0.092706] vdd_core: 1100 mV [ 0.092866] dvp1_3v3_sw: 3300 mV [ 0.093671] SCSI subsystem initialized [ 0.093911] usbcore: registered new interface driver usbfs [ 0.093967] usbcore: registered new interface driver hub [ 0.094140] usbcore: registered new device driver usb [ 0.094392] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe [ 0.094417] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral [ 0.094444] omap_i2c 4819c000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c2_pins, deferring probe [ 0.094459] platform 4819c000.i2c: Driver omap_i2c requests probe deferral [ 0.094557] pps_core: LinuxPPS API ver. 1 registered [ 0.094565] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.094591] PTP clock support registered [ 0.094976] Advanced Linux Sound Architecture Driver Initialized. [ 0.095560] Switched to clocksource timer1 [ 0.096763] NET: Registered protocol family 2 [ 0.097380] TCP established hash table entries: 2048 (order: 2, 16384 bytes) [ 0.097428] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.097456] TCP: Hash tables configured (established 2048 bind 2048) [ 0.097521] TCP: reno registered [ 0.097534] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.097554] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.097766] NET: Registered protocol family 1 [ 0.098068] RPC: Registered named UNIX socket transport module. [ 0.098080] RPC: Registered udp transport module. [ 0.098086] RPC: Registered tcp transport module. [ 0.098093] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.104883] NFS: Registering the id_resolver key type [ 0.104964] Key type id_resolver registered [ 0.104974] Key type id_legacy registered [ 0.105221] msgmni has been set to 494 [ 0.105785] io scheduler noop registered [ 0.105798] io scheduler deadline registered [ 0.105963] io scheduler cfq registered (default) [ 0.107124] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 [ 0.108403] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 89, base_baud = 3000000) is a OMAP UART1 [ 0.108794] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 90, base_baud = 3000000) is a OMAP UART2 [ 0.109090] 481a6000.serial: ttyO3 at MMIO 0x481a6000 (irq = 60, base_baud = 3000000) is a OMAP UART3 [ 0.109540] console [ttyO3] enabled [ 0.109907] 481aa000.serial: ttyO5 at MMIO 0x481aa000 (irq = 62, base_baud = 3000000) is a OMAP UART5 [ 0.112832] loop: module loaded [ 0.114593] edma-dma-engine edma-dma-engine.0: allocated channel for 0:17 [ 0.114625] edma-dma-engine edma-dma-engine.0: allocated channel for 0:16 [ 0.115203] usbcore: registered new interface driver asix [ 0.115263] usbcore: registered new interface driver cdc_ether [ 0.115304] usbcore: registered new interface driver r815x [ 0.115399] usbcore: registered new interface driver cdc_ncm [ 0.115409] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.115438] ehci-omap: OMAP-EHCI Host Controller driver [ 0.117046] musb-hdrc musb-hdrc.0.auto: Enabled SW babble control [ 0.117074] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) [ 0.117085] musb-hdrc: MHDRC RTL version 2.0 [ 0.117093] musb-hdrc: setup fifo_mode 4 [ 0.117112] musb-hdrc: 28/31 max ep, 16384/16384 memory [ 0.117161] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver [ 0.117193] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1 [ 0.117886] hub 1-0:1.0: USB hub found [ 0.117938] hub 1-0:1.0: 1 port detected [ 0.122626] i2c /dev entries driver [ 0.123520] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 0.124144] edma-dma-engine edma-dma-engine.0: allocated channel for 0:13 [ 0.124173] edma-dma-engine edma-dma-engine.0: allocated channel for 0:12 [ 0.159395] hidraw: raw HID events driver (C) Jiri Kosina [ 0.160336] usbcore: registered new interface driver snd-usb-audio [ 0.162489] davinci-vp1-mcasp hero.8: vp1-mcasp.0 <-> 48038000.mcasp mapping ok [ 0.164545] davinci-vp1-mcasp bluetooth.9: ASoC: Failed to create card debugfs directory [ 0.165206] davinci-vp1-mcasp bluetooth.9: vp1-mcasp.0 <-> 4803c000.mcasp mapping ok [ 0.168112] TCP: cubic registered [ 0.168131] NET: Registered protocol family 17 [ 0.168270] Key type dns_resolver registered [ 0.169349] omap-gpmc 50000000.gpmc: GPMC revision 6.0 [ 0.169371] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 0.170673] amd,s29gl256s: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002201 [ 0.170697] Amd/Fujitsu Extended Query Table at 0x0040 [ 0.170716] Amd/Fujitsu Extended Query version 1.5. [ 0.170727] Advanced Sector Protection (PPB Locking) supported [ 0.170738] number of CFI chips: 1 [ 0.171208] 10 ofpart partitions found on MTD device amd,s29gl256s [ 0.171222] Creating 10 MTD partitions on "amd,s29gl256s": [ 0.171239] 0x000000000000-0x000000080000 : "uboot" [ 0.172000] 0x000000080000-0x0000000a0000 : "1st-copy-uboot-env" [ 0.172599] 0x0000000a0000-0x0000000c0000 : "2nd-copy-uboot-env" [ 0.173174] 0x0000000c0000-0x0000004a0000 : "fbl-kernel" [ 0.173742] 0x0000004a0000-0x0000004c0000 : "fbl-variables" [ 0.174333] 0x0000004c0000-0x000000a00000 : "fbl-filesystem" [ 0.174939] 0x000000a00000-0x000000f00000 : "kernel+dtb" [ 0.175541] 0x000000f00000-0x000001d80000 : "rootfs" [ 0.176240] 0x000001d80000-0x000001f80000 : "startup" [ 0.176784] 0x000001f80000-0x000002000000 : "CAN" [ 0.178051] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 50 kHz [ 0.178539] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz [ 0.179050] ALSA device list: [ 0.179064] #0: davinci-vp1 [ 0.179071] #1: davinci-vp1 [ 0.180561] VFS: Mounted root (ext2 filesystem) readonly on device 31:7. [ 0.181022] devtmpfs: mounted [ 0.181236] Freeing unused kernel memory: 156K (c040a000 - c0431000) [ 0.319457] mmc0: BKOPS_EN bit is not set [ 0.325325] mmc0: new high speed MMC card at address 0001 [ 0.332280] mmcblk0: mmc0:0001 P1XXXX 3.60 GiB [ 0.332490] mmcblk0boot0: mmc0:0001 P1XXXX partition 1 16.0 MiB [ 0.335668] mmcblk0boot1: mmc0:0001 P1XXXX partition 2 16.0 MiB [ 0.338025] mmcblk0: p1 p2 p3 p4 < p5 p6 p7 > [ 0.340574] mmcblk0boot1: unknown partition table [ 0.342200] mmcblk0boot0: unknown partition table [ 0.675788] usb 1-1: new high-speed USB device number 2 using musb-hdrc [ 1.796182] kjournald starting. Commit interval 5 seconds [ 1.798364] EXT3-fs (mmcblk0p5): using internal journal [ 1.799782] EXT3-fs (mmcblk0p5): recovery complete [ 1.799795] EXT3-fs (mmcblk0p5): mounted filesystem with ordered data mode [ 1.818513] EXT3-fs (mmcblk0p6): mounted filesystem with ordered data mode [ 1.818820] kjournald starting. Commit interval 5 seconds [ 1.821209] EXT3-fs (mmcblk0p7): mounted filesystem with ordered data mode [ 1.824318] kjournald starting. Commit interval 5 seconds [ 1.868007] -+-+-+-+Inside usb_mtp_init-+-+-+-+ [ 1.868218] usbmtp 1-1:1.0: -+-+-+-+Returning ERROR -19-+-+-+-+ [ 1.885757] usbcore: registered new interface driver usbmtp [ 1.938732] Initializing USB Mass Storage driver... [ 1.938940] usb-storage 1-1:1.0: USB Mass Storage device detected [ 1.946000] scsi0 : usb-storage 1-1:1.0 [ 1.968382] usbcore: registered new interface driver usb-storage [ 1.968404] USB Mass Storage support registered. [ 2.956928] scsi 0:0:0:0: Direct-Access hp v210w 0000 PQ: 0 ANSI: 4 [ 2.985496] sd 0:0:0:0: [sda] 15841344 512-byte logical blocks: (8.11 GB/7.55 GiB) [ 2.986608] sd 0:0:0:0: [sda] Write Protect is off [ 2.986629] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 2.987622] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 3.011441] sda: sda1 [ 3.039518] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 53.431391] usb 1-1: USB disconnect, device number 2 [ 57.325798] usb 1-1: new high-speed USB device number 3 using musb-hdrc [ 57.561017] usbmtp 1-1:1.0: -+-+-+-+Returning ERROR -19-+-+-+-+ [ 57.567219] FIFO overflow [ 57.567229] FIFO overflow [ 57.596194] usb-storage 1-1:1.0: USB Mass Storage device detected [ 57.607971] scsi1 : usb-storage 1-1:1.0 [ 58.617001] scsi 1:0:0:0: Direct-Access hp v210w 0000 PQ: 0 ANSI: 4 [ 58.639266] sd 1:0:0:0: [sda] 15841344 512-byte logical blocks: (8.11 GB/7.55 GiB) [ 58.640243] sd 1:0:0:0: [sda] Write Protect is off [ 58.640265] sd 1:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 58.641221] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 58.664760] sda: sda1 [ 58.687163] sd 1:0:0:0: [sda] Attached SCSI removable disk [ 66.417831] usb 1-1: USB disconnect, device number 3 [ 69.385687] usb 1-1: new high-speed USB device number 4 using musb-hdrc [ 69.601222] usbmtp 1-1:1.0: -+-+-+-+Returning ERROR -19-+-+-+-+ [ 69.631540] usb-storage 1-1:1.0: USB Mass Storage device detected [ 69.645703] scsi2 : usb-storage 1-1:1.0 [ 70.656981] scsi 2:0:0:0: Direct-Access hp v210w 0000 PQ: 0 ANSI: 4 [ 70.681157] sd 2:0:0:0: [sda] 15841344 512-byte logical blocks: (8.11 GB/7.55 GiB) [ 70.682250] sd 2:0:0:0: [sda] Write Protect is off [ 70.682274] sd 2:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 70.683274] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 70.704902] sda: sda1 [ 70.722989] sd 2:0:0:0: [sda] Attached SCSI removable disk [ 82.251657] usb 1-1: USB disconnect, device number 4 [ 87.725780] usb 1-1: new high-speed USB device number 5 using musb-hdrc [ 87.998004] usbmtp 1-1:1.0: -+-+-+-+Returning ERROR -19-+-+-+-+ [ 88.029627] usb-storage 1-1:1.0: USB Mass Storage device detected [ 88.040823] scsi3 : usb-storage 1-1:1.0 [ 89.137354] scsi 3:0:0:0: Direct-Access hp v210w 0000 PQ: 0 ANSI: 4 [ 89.197829] sd 3:0:0:0: [sda] 15841344 512-byte logical blocks: (8.11 GB/7.55 GiB) [ 89.198760] sd 3:0:0:0: [sda] Write Protect is off [ 89.198777] sd 3:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 89.199871] sd 3:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 89.275990] sda: sda1 [ 89.350517] sd 3:0:0:0: [sda] Attached SCSI removable disk [ 92.208039] usb 1-1: USB disconnect, device number 5 [ 98.328855] usb 1-1: new high-speed USB device number 6 using musb-hdrc [ 98.569546] usbmtp 1-1:1.0: -+-+-+-+Returning ERROR -19-+-+-+-+ [ 98.575747] FIFO overflow [ 98.575757] FIFO overflow [ 98.608991] usb-storage 1-1:1.0: USB Mass Storage device detected [ 98.625910] scsi4 : usb-storage 1-1:1.0 [ 99.637002] scsi 4:0:0:0: Direct-Access hp v210w 0000 PQ: 0 ANSI: 4 [ 99.667595] sd 4:0:0:0: [sda] 15841344 512-byte logical blocks: (8.11 GB/7.55 GiB) [ 99.668585] sd 4:0:0:0: [sda] Write Protect is off [ 99.668607] sd 4:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 99.669531] sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 99.696758] sda: sda1 [ 99.794035] sd 4:0:0:0: [sda] Attached SCSI removable disk [ 118.984214] usb 1-1: USB disconnect, device number 6 [ 125.696106] usb 1-1: new high-speed USB device number 7 using musb-hdrc [ 125.966342] usbmtp 1-1:1.0: -+-+-+-+Returning ERROR -19-+-+-+-+ [ 126.000949] usb-storage 1-1:1.0: USB Mass Storage device detected [ 126.064809] scsi5 : usb-storage 1-1:1.0 [ 127.085896] scsi 5:0:0:0: Direct-Access hp v210w 0000 PQ: 0 ANSI: 4 [ 127.177512] sd 5:0:0:0: [sda] 15841344 512-byte logical blocks: (8.11 GB/7.55 GiB) [ 127.179089] sd 5:0:0:0: [sda] Write Protect is off [ 127.179121] sd 5:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 127.180167] sd 5:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 127.247073] sda: sda1 [ 127.281839] sd 5:0:0:0: [sda] Attached SCSI removable disk [ 135.515670] usb 1-1: USB disconnect, device number 7 [ 139.315695] usb 1-1: new high-speed USB device number 8 using musb-hdrc [ 139.560032] usbmtp 1-1:1.0: -+-+-+-+Returning ERROR -19-+-+-+-+ [ 139.594246] usb-storage 1-1:1.0: USB Mass Storage device detected [ 139.605961] scsi6 : usb-storage 1-1:1.0 [ 140.677175] scsi 6:0:0:0: Direct-Access hp v210w 0000 PQ: 0 ANSI: 4 [ 140.716977] sd 6:0:0:0: [sda] 15841344 512-byte logical blocks: (8.11 GB/7.55 GiB) [ 140.718051] sd 6:0:0:0: [sda] Write Protect is off [ 140.718075] sd 6:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 140.719038] sd 6:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 140.800744] sda: sda1 [ 140.900431] sd 6:0:0:0: [sda] Attached SCSI removable disk [ 142.953214] usb 1-1: USB disconnect, device number 8 [ 147.446137] usb 1-1: new high-speed USB device number 9 using musb-hdrc [ 147.723837] usbmtp 1-1:1.0: -+-+-+-+Returning ERROR -19-+-+-+-+ [ 147.823236] usb-storage 1-1:1.0: USB Mass Storage device detected [ 147.836002] scsi7 : usb-storage 1-1:1.0 [ 148.847224] scsi 7:0:0:0: Direct-Access hp v210w 0000 PQ: 0 ANSI: 4 [ 148.877517] sd 7:0:0:0: [sda] 15841344 512-byte logical blocks: (8.11 GB/7.55 GiB) [ 148.878798] sd 7:0:0:0: [sda] Write Protect is off [ 148.878822] sd 7:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 148.879793] sd 7:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 148.977866] sda: sda1 [ 149.016206] sd 7:0:0:0: [sda] Attached SCSI removable disk [ 153.556897] usb 1-1: USB disconnect, device number 9 [ 160.866401] usb 1-1: new high-speed USB device number 10 using musb-hdrc [ 161.147137] usbmtp 1-1:1.0: -+-+-+-+Returning ERROR -19-+-+-+-+ [ 161.157195] FIFO overflow [ 161.157205] FIFO overflow [ 161.226411] usb-storage 1-1:1.0: USB Mass Storage device detected [ 161.244552] scsi8 : usb-storage 1-1:1.0 [ 162.257713] scsi 8:0:0:0: Direct-Access hp v210w 0000 PQ: 0 ANSI: 4 [ 162.282333] sd 8:0:0:0: [sda] 15841344 512-byte logical blocks: (8.11 GB/7.55 GiB) [ 162.283340] sd 8:0:0:0: [sda] Write Protect is off [ 162.283364] sd 8:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 162.284360] sd 8:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 162.334744] sda: sda1 [ 162.409218] sd 8:0:0:0: [sda] Attached SCSI removable disk [ 180.952855] usb 1-1: USB disconnect, device number 10 [ 189.255681] usb 1-1: new high-speed USB device number 11 using musb-hdrc [ 189.474332] usbmtp 1-1:1.0: -+-+-+-+Returning ERROR -19-+-+-+-+ [ 189.512248] usb-storage 1-1:1.0: USB Mass Storage device detected [ 189.526545] scsi9 : usb-storage 1-1:1.0 [ 190.537024] scsi 9:0:0:0: Direct-Access hp v210w 0000 PQ: 0 ANSI: 4 [ 190.560172] sd 9:0:0:0: [sda] 15841344 512-byte logical blocks: (8.11 GB/7.55 GiB) [ 190.561150] sd 9:0:0:0: [sda] Write Protect is off [ 190.561172] sd 9:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 190.562134] sd 9:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 190.575960] sda: sda1 [ 190.601545] sd 9:0:0:0: [sda] Attached SCSI removable disk [ 198.086792] usb 1-1: USB disconnect, device number 11 [ 203.315660] usb 1-1: new high-speed USB device number 12 using musb-hdrc [ 203.537234] usbmtp 1-1:1.0: -+-+-+-+Returning ERROR -19-+-+-+-+ [ 203.566203] usb-storage 1-1:1.0: USB Mass Storage device detected [ 203.578390] scsi10 : usb-storage 1-1:1.0 [ 204.586986] scsi 10:0:0:0: Direct-Access hp v210w 0000 PQ: 0 ANSI: 4 [ 204.608937] sd 10:0:0:0: [sda] 15841344 512-byte logical blocks: (8.11 GB/7.55 GiB) [ 204.609913] sd 10:0:0:0: [sda] Write Protect is off [ 204.609933] sd 10:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 204.610955] sd 10:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 204.628280] sda: sda1 [ 204.656277] sd 10:0:0:0: [sda] Attached SCSI removable disk [ 209.714891] usb 1-1: USB disconnect, device number 12 [ 213.535807] usb 1-1: new high-speed USB device number 13 using musb-hdrc [ 213.758320] usbmtp 1-1:1.0: -+-+-+-+Returning ERROR -19-+-+-+-+ [ 213.785916] usb-storage 1-1:1.0: USB Mass Storage device detected [ 213.796767] scsi11 : usb-storage 1-1:1.0 [ 214.796963] scsi 11:0:0:0: Direct-Access hp v210w 0000 PQ: 0 ANSI: 4 [ 214.819984] sd 11:0:0:0: [sda] 15841344 512-byte logical blocks: (8.11 GB/7.55 GiB) [ 214.820954] sd 11:0:0:0: [sda] Write Protect is off [ 214.820972] sd 11:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 214.822023] sd 11:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 214.841685] sda: sda1 [ 214.870919] sd 11:0:0:0: [sda] Attached SCSI removable disk [ 226.984662] usb 1-1: USB disconnect, device number 13 [ 231.805709] usb 1-1: new high-speed USB device number 14 using musb-hdrc [ 232.026194] usbmtp 1-1:1.0: -+-+-+-+Returning ERROR -19-+-+-+-+ [ 232.032443] FIFO overflow [ 232.032456] FIFO overflow [ 232.067141] usb-storage 1-1:1.0: USB Mass Storage device detected [ 232.078863] scsi12 : usb-storage 1-1:1.0 [ 233.087774] scsi 12:0:0:0: Direct-Access hp v210w 0000 PQ: 0 ANSI: 4 [ 233.112583] sd 12:0:0:0: [sda] 15841344 512-byte logical blocks: (8.11 GB/7.55 GiB) [ 233.113550] sd 12:0:0:0: [sda] Write Protect is off [ 233.113570] sd 12:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 233.114526] sd 12:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 233.130061] sda: sda1 [ 233.150969] sd 12:0:0:0: [sda] Attached SCSI removable disk [ 255.250053] usb 1-1: USB disconnect, device number 14 [ 259.726426] usb 1-1: new high-speed USB device number 15 using musb-hdrc [ 259.956401] usbmtp 1-1:1.0: -+-+-+-+Returning ERROR -19-+-+-+-+ [ 259.990896] usb-storage 1-1:1.0: USB Mass Storage device detected [ 260.027200] scsi13 : usb-storage 1-1:1.0 [ 261.077103] scsi 13:0:0:0: Direct-Access hp v210w 0000 PQ: 0 ANSI: 4 [ 261.178092] sd 13:0:0:0: [sda] 15841344 512-byte logical blocks: (8.11 GB/7.55 GiB) [ 261.179351] sd 13:0:0:0: [sda] Write Protect is off [ 261.179382] sd 13:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 261.180375] sd 13:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 261.201354] sda: sda1 [ 261.230905] sd 13:0:0:0: [sda] Attached SCSI removable disk [ 265.801563] usb 1-1: USB disconnect, device number 15 [ 271.415684] usb 1-1: new high-speed USB device number 16 using musb-hdrc [ 271.651234] usbmtp 1-1:1.0: -+-+-+-+Returning ERROR -19-+-+-+-+ [ 271.657435] FIFO overflow [ 271.657444] FIFO overflow [ 271.737980] usb-storage 1-1:1.0: USB Mass Storage device detected [ 271.749728] scsi14 : usb-storage 1-1:1.0 [ 272.757134] scsi 14:0:0:0: Direct-Access hp v210w 0000 PQ: 0 ANSI: 4 [ 272.785131] sd 14:0:0:0: [sda] 15841344 512-byte logical blocks: (8.11 GB/7.55 GiB) [ 272.786097] sd 14:0:0:0: [sda] Write Protect is off [ 272.786117] sd 14:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 272.787073] sd 14:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 272.879045] sda: sda1 [ 272.904170] sd 14:0:0:0: [sda] Attached SCSI removable disk [ 283.250281] EXT2-fs (mtdblock7): warning: mounting unchecked fs, running e2fsck is recommended [ 304.159717] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Gangadhar,
Why wasn't flow control enabled in the first place? SDK 8.00 and am335x-evm.dts has it enabled:
kim {
compatible = "kim";
nshutdown_gpio = <117>; /* Bank3, pin21 */
dev_name = "/dev/ttyO1";
flow_cntrl = <1>;
baud_rate = <3000000>;
};
The need for flow control is well documented for the hardware and software (at least for our WL18xx chip):
http://processors.wiki.ti.com/index.php/WL18xx_Bluetooth_Hardware_Design_Guide#BT_HCI_IF
Did SDK 7 have this disabled by default? Could be that since you're using a different BT chip, you may have not started with h/w flow control enabled.
Regards,
Mark