[Galaxy Note 10.1 Android Development] chappatti:
Dock/HDMI Research

Ok I messed around with my dock with HDMI and kmsg, dmesg etc....

First the behavior.

1. Without any mods or tricks, the dock will freeze the Tablet when put on. This will cause a auto reboot when removed.

2. With JamMaster's kernel settings the dock and tablet will mate and the screen does not freeze or anything and one can undock happily.

3. BUT, there will be no sound FROM THE TABLET OR DOCK OUTPUT (in my case HDMI). Someone can please fill in analog audio out ??

4. Install the marco9333 fix, then audio will return to the TABLET not dock. The fix seems to prevent routing of audio to dock.

(@marco9333, is this correct???).

Without marco's fix

, and the tablet in the dock here is kmsg...... (Full kmsg attached)

""

I THINK THE KEY IS POINT 5 below

after the kmsg output....""

(For the full kmsg:

PLEASE LOOK AT PAGE 1

1 or so where I have highlighted in red an entire block. Ignore the first dock message in earlier pages.

"<6>[ 7336.536912] c2 [ ACCESSORY (acc_dock_isr,483) ] A dock station attached or detached..

<6>[ 7336.536927] c2 [ ACCESSORY (acc_check_dock_detection,423) ] The dock proves to be a desktop dock..!

<6>[ 7336.537380] c2 notifier: mhl callback

<6>[ 7336.537395] c2 sii9234_30pin_callback

<6>[ 7336.537402] c2 sii9234_power_onoff(1)

<6>[ 7336.537413] c2 sii9234_reset()

<6>[ 7336.602163] c2 mhl_hpd_handler(1), old_state(0)

<6>[ 7336.602209] c0 [HPD_IF] s5p_hpd_irq_handler: EINT HPD interrupt

<6>[ 7336.602219] c0 [HPD_IF] s5p_hpd_irq_eint:

<6>[ 7336.602230] c0 s5p_hpd_read_gpio(1)

<6>[ 7336.602235] c0 [HPD_IF] s5p_hpd_irq_eint: gpio is high

<6>[ 7336.602280] c0 [HPD_IF] s5p_hpd_irq_eint: HPD HI

<6>[ 7336.602287] c0 [HPD_IF] s5p_hpd_irq_handler: EINT HPD interrupt - end

<6>[ 7336.602311] c0 [HPD_IF] s5p_hpd_irq_handler: EINT HPD interrupt

<6>[ 7336.602317] c0 [HPD_IF] s5p_hpd_irq_eint:

<6>[ 7336.602323] c0 s5p_hpd_read_gpio(1)

<6>[ 7336.602328] c0 [HPD_IF] s5p_hpd_irq_eint: gpio is high

<6>[ 7336.602335] c0 [HPD_IF] s5p_hpd_irq_handler: EINT HPD interrupt - end

<6>[ 7336.602423] c0 [HPD_IF] s5p_hpd_kobject_uevent: ++

<6>[ 7336.602992] c2 [ ACCESSORY (acc_dock_uevent,323) ] DOCK=desk : STATE=online

<6>[ 7336.603018] c2 [BATT]30 cx(7), sub(3), pwr(0)

<6>[ 7336.603027] c2 dock type(459520)

<6>[ 7336.603059] c2 [ ACCESSORY (acc_dock_isr,483) ] A dock station attached or detached..

<6>[ 7336.603074] c2 [ ACCESSORY (acc_check_dock_detection,423) ] The dock proves to be a desktop dock..!

<6>[ 7336.603604] c0 [HPD_IF] s5p_hpd_kobject_uevent: [HDMI] HPD event -connect!!!

<6>[ 7336.603618] c0 [HPD_IF] s5p_hpd_kobject_uevent: s5p_hpd_kobject_uevent() on_start_process(1)

<6>[ 7336.603774] c2 [ ACCESSORY (acc_dock_uevent,323) ] DOCK=desk : STATE=online

<6>[ 7336.603792] c2 [BATT]30 cx(7), sub(3), pwr(0)

<6>[ 7336.603798] c2 dock type(459520)

If one looks at the red text, the Dock is clearly recognized as desktop dock (mine is desktop with HDMI), it is connected and above all "HDMI] HPD event -connect!!!" seems (??) to say HDMI connected. :confused::confused: (Here I switched my TV on and off, so it can re-recognize the signal).

5

. What happens here is very interesting. I play a song on my Tablet. As long as my TV is on the HDMI input, no audio comes from the TABLET. When I turn OFF HDMI INPUT OF TV, the TABLET PALYS THE AUDIO...... AUTOMATICALLY, WITHOUT marco9333's fix !!! Interesting, HUH??

So this is all about just that audio is not being routed properly ?????????

When HDMI on TV is selected, on my TV screen the screen flickers and colors change, and then after about 30s it says "No Signal".

The full kmsg is attached.....