Hi,all
We want to use DGTL DOCK HEADSET on mx6. But don't use.
logs:
W/ContextImpl( 2834): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1123 com.android.server.usb.UsbSettingsManager.deviceAttached:621 com.android.server.usb.UsbHostManager.usbDeviceAdded:156 com.android.server.usb.UsbHostManager.monitorUsbHostBus:-2 com.android.server.usb.UsbHostManager.access$000:38
V/WiredAccessoryManager( 2834): Headset UEVENT: {ACTION=add, SUBSYSTEM=switch, DEVPATH=/devices/virtual/switch/usb_audio, SEQNUM=2293}
E/WiredAccessoryManager( 2834): Could not parse switch state from event {ACTION=add, SUBSYSTEM=switch, DEVPATH=/devices/virtual/switch/usb_audio, SEQNUM=2293}
V/WiredAccessoryManager( 2834): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=3, DEVPATH=/devices/virtual/switch/usb_audio, SEQNUM=2294, ACTION=change, SWITCH_NAME=usb_audio, SWITCH_TIME=62772718677}
V/WiredAccessoryManager( 2834): newName=usb_audio newState=8 headsetState=8 prev headsetState=0
V/AudioPolicyManagerBase( 2426): setDeviceConnectionState() device: 1000, state 1, address
V/AudioPolicyManagerBase( 2426): setDeviceConnectionState() connecting device 1000
W/AudioPolicyManagerBase( 2426): checkOutputsForDevice(): No output available for device 1000
V/WiredAccessoryManager( 2834): device usb_audio connected
D/EventHub( 2834): No input device configuration file found for device 'Unknown manufacturer AUCTOPUS I-32W'.
W/EventHub( 2834): Unable to disable kernel key repeat for /dev/input/event3: Function not implemented
I/EventHub( 2834): New device: id=4, fd=171, path='/dev/input/event3', name='Unknown manufacturer AUCTOPUS I-32W', classes=0x80000001, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=false
I/InputReader( 2834): Device added: id=4, name='Unknown manufacturer AUCTOPUS I-32W', sources=0x00000101
I add AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET to /etc/audio_policy.conf,then can connect,but not voice.
usb {
outputs {
usb_accessory {
sampling_rates 44100
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_USB_ACCESSORY
}
usb_device {
sampling_rates 44100
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_USB_DEVICE|AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET
}
}
Who know?
TKS