|
2013-09-12
, 12:37
|
Posts: 133 |
Thanked: 405 times |
Joined on Mar 2012
@ Europe
|
#122
|
I've monitored the state if /dev/input/jack, recorded some sequences that are generated when I plug in/out mic jack and then figured out how simulate these sequences using <linux/input.h>
|
2013-09-13
, 11:38
|
Posts: 355 |
Thanked: 598 times |
Joined on Sep 2009
@ Nizhny Novgorod, Russia
|
#123
|
|
2013-09-13
, 17:27
|
|
Posts: 640 |
Thanked: 435 times |
Joined on Oct 2011
@ rajvoSa BA
|
#124
|
|
2013-09-13
, 19:56
|
Posts: 355 |
Thanked: 598 times |
Joined on Sep 2009
@ Nizhny Novgorod, Russia
|
#125
|
cat /dev/input/jack >capture.log
The Following User Says Thank You to Mitrandir For This Useful Post: | ||
|
2013-09-14
, 23:18
|
|
Posts: 640 |
Thanked: 435 times |
Joined on Oct 2011
@ rajvoSa BA
|
#126
|
just type in terminal:
(if it will say "Permission denied", then you need to re-run it as root)Code:cat /dev/input/jack >capture.log
then plug TV jack in, wait a couple of seconds and plug it out.
Then press Ctrl+C in terminal to stop capture.
Thank you
url removed
|
2013-09-15
, 13:49
|
Posts: 355 |
Thanked: 598 times |
Joined on Sep 2009
@ Nizhny Novgorod, Russia
|
#127
|
1 ev time=27467.292085 type=switch code=lineout value=insert 2 ev time=27486.015107 type=switch code=lineout value=eject 3 ev time=27489.810884 type=switch code=lineout value=insert 4 ev time=27489.812684 type=switch code=video value=insert 5 ev time=27497.307130 type=switch code=lineout value=eject 6 ev time=27497.308015 type=switch code=video value=eject
The Following User Says Thank You to Mitrandir For This Useful Post: | ||
|
2013-09-16
, 10:28
|
|
Posts: 640 |
Thanked: 435 times |
Joined on Oct 2011
@ rajvoSa BA
|
#128
|
The Following User Says Thank You to wook_sf For This Useful Post: | ||
|
2013-09-16
, 18:58
|
Posts: 355 |
Thanked: 598 times |
Joined on Sep 2009
@ Nizhny Novgorod, Russia
|
#129
|
|
2013-10-27
, 12:47
|
Posts: 6 |
Thanked: 3 times |
Joined on Oct 2013
|
#130
|