On Sat, Dec 27, 2014 at 4:17 PM, Mark Copper <[email protected]> wrote: > I have Debian Jessie installed on a BBB Rev C (Linux beaglebone > 3.14.26-ti-r39 #1 SMP PREEMPT Mon Dec 8 01:52:29 UTC 2014 armv7l GNU/Linux) > > And I have a USB sound card attached to a powered USB hub: > > lsusb: > Bus 001 Device 003: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter > Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > aplay -l: > **** List of PLAYBACK Hardware Devices **** > card 0: Black [TI BeagleBone Black], device 0: HDMI hdmi-hifi-0 [] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 1: Set [C-Media USB Headphone Set], device 0: USB Audio [USB Audio] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > > Unfortunately, any attempt to direct audio output to the card freezes the > BBB with no message to syslog. User LED's 0 and 2 are constant on and LED's > 1 and 3 are constant off. > > For example: > speaker-test -Ddefault:Set -c6 -twav > > speaker-test 1.0.28 > > Playback device is default:Set > Stream parameters are 48000Hz, S16_LE, 6 channels > WAV file(s) > Rate set to 48000Hz (requested 48000Hz) > Buffer size range from 2048 to 16384 > Period size range from 1024 to 1024 > Using max buffer size 16384 > Periods = 4 > was set period_size = 1024 > was set buffer_size = 16384 > 0 - Front Left > > Would anyone have an idea how to approach this?
First please upgrade to "3.14.26-ti-r43" sudo apt-get update sudo apt-get install linux-image-3.14.26-ti-r43 sudo reboot There's been a few "musb" patches.. Although we may just have to disable "usb dma" https://github.com/beagleboard/linux/blob/1d0defeba9685e616b05f7340111ab84c47ad762/arch/arm/configs/bb.org_defconfig#L3727 From: CONFIG_USB_TI_CPPI41_DMA=y # CONFIG_MUSB_PIO_ONLY is not set to: # CONFIG_USB_TI_CPPI41_DMA is not set CONFIG_MUSB_PIO_ONLY=y Right now, i'm keeping DMA enabled, so we can continue to test this kernel as TI is still developing it, but we may have to end up in pio mode to support every usb device.. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
