Skip to content

LX06 AUX input isn't working #117

@dbsohn

Description

@dbsohn
Looks like it is detecting the physical aux cable insert but there are dummy values in the firmware.

root@LX06-7578:~# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: AMLAXGSOUND [AML-AXGSOUND], device 0: TDM-A-dummy dummy-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: AMLAXGSOUND [AML-AXGSOUND], device 1: TDM-B-dummy dummy-1 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: AMLAXGSOUND [AML-AXGSOUND], device 2: TDM-C-tas5805 multicodec-2 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: AMLAXGSOUND [AML-AXGSOUND], device 3: PDM-dummy dummy-3 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root@LX06-7578:~# 
root@LX06-7578:~# 
root@LX06-7578:~# 
root@LX06-7578:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: AMLAXGSOUND [AML-AXGSOUND], device 0: TDM-A-dummy dummy-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: AMLAXGSOUND [AML-AXGSOUND], device 1: TDM-B-dummy dummy-1 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: AMLAXGSOUND [AML-AXGSOUND], device 2: TDM-C-tas5805 multicodec-2 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

-------------------
I was expecting something under hw:0,1
 (https://github.com/duhow/xiaoai-patch/blob/master/research/lx06/info.md)


Aux In (jack)
ALSA device is hw:0,1.

root@mico:/sys/auxin_det# cat status
aux_out  # unplugged
aux_in   # plugged

EV_SW   SW_HEADPHONE_INSERT     1       /dev/input/event1  # plugged

root@mico:~# getevent -p /dev/input/event1
add device 1: /dev/input/event1
  name:     "Xiaomi mico auxiliary port"
  events:
    SW  (0005): 0002
  input props:
    <none>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions