[{"data":1,"prerenderedAt":288},["ShallowReactive",2],{"Categories":3,"NavIndexCategoriesCountFooter":203,"content-\u002F2005\u002F12\u002F09\u002Fmplayer-and-rtc\u002F":204},[4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,68,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202],{"category":5},"System Administration",{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},"Software Development",{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":27},{"category":27},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":5},{"category":27},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":27},{"category":27},{"category":67},"Drones & RC",{"category":69},"DIY Projects",{"category":67},{"category":72},"Photography",{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":69},{"category":67},{"category":69},{"category":69},{"category":67},{"category":67},{"category":72},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":5},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":5},{"category":67},{"category":67},{"category":72},{"category":72},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":67},{"category":72},{"category":67},{"category":138},"3D Printing - Laser Cutting - CNC",{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":138},{"category":5},{"category":138},{"category":27},{"category":27},{"category":138},{"category":138},{"category":72},{"category":158},"Photography,3D Printing - Laser Cutting - CNC",{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":5},{"category":67},{"category":5},{"category":5},{"category":27},{"category":27},{"category":27},{"category":27},{"category":27},{"category":69},{"category":27},{"category":27},{"category":27},{"category":27},{"category":181},"Home Assistant",{"category":181},{"category":72},{"category":27},{"category":27},{"category":72},{"category":138},{"category":5},{"category":72},{"category":72},{"category":138},{"category":27},{"category":181},{"category":181},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},{"category":72},191,{"id":205,"title":206,"body":207,"category":274,"date":275,"description":213,"embedImage":274,"extension":276,"image":274,"intro":274,"meta":277,"navigation":278,"path":279,"seo":280,"series":274,"sitemap":281,"stem":282,"tags":283,"__hash__":287},"content\u002F2005\u002F12\u002F09\u002Fmplayer-and-rtc.md","mplayer and rtc",{"type":208,"value":209,"toc":271},"minimark",[210,214,217,220,250,253,256,264,267],[211,212,213],"p",{},"mplayer works best with the real time clock (rtc) device \u002Fdev\u002Frtc. It also wants to be able to set frequency up to 1024 as a user.",[211,215,216],{},"First make sure the rtc module is loaded - one way is to add rtc to \u002Fetc\u002Fmodules",[211,218,219],{},"Now - lots of places I see the recommendation to add",[221,222,227],"pre",{"className":223,"code":224,"language":225,"meta":226,"style":226},"language-shell shiki shiki-themes github-dark","echo 1024 > \u002Fproc\u002Fsys\u002Fdev\u002Frtc\u002Fmax-user-freq\n","shell","",[228,229,230],"code",{"__ignoreMap":226},[231,232,235,239,242,246],"span",{"class":233,"line":234},"line",1,[231,236,238],{"class":237},"sDLfK","echo",[231,240,241],{"class":237}," 1024",[231,243,245],{"class":244},"snl16"," >",[231,247,249],{"class":248},"sU2Wk"," \u002Fproc\u002Fsys\u002Fdev\u002Frtc\u002Fmax-user-freq\n",[211,251,252],{},"to your startup scripts. I've never been sure where to hack this in - and the people who are giving the advice have many different suggestions. The whole thing feels like a bad hack.",[211,254,255],{},"So - after some investigation - I feel that it is much better to use sysctl - by adding the following to \u002Fetc\u002Fsysctl.conf",[221,257,262],{"className":258,"code":260,"language":261,"meta":226},[259],"language-text","dev.rtc.max-user-freq = 1024\n","text",[228,263,260],{"__ignoreMap":226},[211,265,266],{},"You can check if it worked after boot by looking inside the file \u002Fproc\u002Fsys\u002Fdev\u002Frtc\u002Fmax-user-freq - mine contains the value 1024 :)",[268,269,270],"style",{},"html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":226,"searchDepth":272,"depth":272,"links":273},2,[],null,"2005-12-09 09:15:27 +0100","md",{},true,"\u002F2005\u002F12\u002F09\u002Fmplayer-and-rtc",{"title":206,"description":213},{"loc":279},"2005\u002F12\u002F09\u002Fmplayer-and-rtc",[284,285,286],"linux","mplayer","sysctl","KQ30TlWX_qXzgjMwxqa8v1oe0azhX7pxbeYcI4v-5Ns",1775293016780]