Thread: Accessory port
View Single Post
Old 07-30-2012, 09:29 AM   #13
mmatej
Connoisseur
mmatej is less competitive than you.mmatej is less competitive than you.mmatej is less competitive than you.mmatej is less competitive than you.mmatej is less competitive than you.mmatej is less competitive than you.mmatej is less competitive than you.mmatej is less competitive than you.mmatej is less competitive than you.mmatej is less competitive than you.mmatej is less competitive than you.
 
Posts: 91
Karma: 14730
Join Date: Jun 2012
Device: none
Quote:
Originally Posted by geekmaster View Post
It is possible that the power is briefly turned off every 5 seconds to see if a it is plugged into a cradle with a battery charger or something. It is unclear in the source code because it looks like that code calls a USB charger an "accessory port" charger because most references are mixed into USB code.

You may be able to get rid of the ticks by loading a custom linux kernel from /mnt/us (which we can do with kexec, as shown in a thread). A custom kernel could also have direct port access to output reasonably useful audio on a K4.
Can you tell me a reference to the code file where is it being controlled? I think for the real data output it would be necessary to implement data sending code in the kernel, because small delays would seriously damage output too, if one wanted to get high transfer rates.
Also, there are 5 ticks per second, not tick every 5 seconds.
mmatej is offline   Reply With Quote