{"id":149,"date":"2023-11-01T21:21:56","date_gmt":"2023-11-01T12:21:56","guid":{"rendered":"http:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/?p=149"},"modified":"2023-11-02T13:30:48","modified_gmt":"2023-11-02T04:30:48","slug":"using-sun-type-5-mouse-in-modern-linux","status":"publish","type":"post","link":"https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/?p=149","title":{"rendered":"Using Sun Type 5 Mouse in Modern Linux"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1000\" height=\"750\" src=\"http:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20231101_200210.jpg\" alt=\"\" class=\"wp-image-153\" srcset=\"https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20231101_200210.jpg 1000w, https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20231101_200210-300x225.jpg 300w, https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20231101_200210-768x576.jpg 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Back Story<\/h2>\n\n\n\n<p>In 2022 Osaka Japan, I found sun type 5 mechanical mouse in secondhand PC shop. I heard that in early 2000s, there were tons of sun&#8217;s and other  (non IBM PC) computer  peripherals available at very low price. It was good days, though I do not know about such era. Now, after 20 years, it is rare to see these kind of old PC parts in the store. The Price? It&#8217;s only 500 yen ( about 3 USD) ! I got it!! &#8230;.wait, how can I hook this up to my computer? <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"1014\" src=\"http:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20231027_150639-1024x1014.jpg\" alt=\"\" class=\"wp-image-154\" srcset=\"https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20231027_150639-1024x1014.jpg 1024w, https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20231027_150639-300x297.jpg 300w, https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20231027_150639-150x150.jpg 150w, https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20231027_150639-768x761.jpg 768w, https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20231027_150639.jpg 1230w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">&#8220;Bus and Tag&#8221; A long-established secondhand computer store in Osaka, Japan. There are many old computer parts including NEC PC-9801 series that you can hard to  see even in Akihabara, Tokyo.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Connector <\/h2>\n\n\n\n<p>It is mini-DIN 8pin connector, but only 3 of them exists.  Pin 2 is GND, Pin4 is RX, Pin 3 is 5V Vcc.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Protocol<\/h2>\n\n\n\n<p>Basicaly, it is normal TTL-UART serial style mouse. Asynchronous, 1200bps, no parity, 1 start bit,8 data bit, 1  stopbit.<\/p>\n\n\n\n<p>But, It is <strong>NEGATIVE LOGIC<\/strong> and <strong>5V<\/strong> , unlike normal ttl-uart uses positive logic and 3V signals.<\/p>\n\n\n\n<p>I don&#8217;t describe more detail specification because there is no need to you know much about protocol if you are using Linux.(See below)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Driver<\/h2>\n\n\n\n<p>Sun Type 5 mouse was used for SPARC station, and it runs Solaris, Solaris is kind of UNIX, and Linux is clone of UNIX, it naturally have mouse driver in its kernel. Therefore I need no micro controllers and no coding for firmware. Easy!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Converter<\/h2>\n\n\n\n<p>So, all I had to do is 1. Invert the logic, 2. connect to TTL-USB adapter, 3.Connect to the computer and enable drivers.<\/p>\n\n\n\n<p>You need, 2x 1k\u03a9 Resister and 1 NPN-transistor , mini DIN 8pin socket and TTL-USB adapter<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"1021\" height=\"431\" src=\"http:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/sunToTTL.drawio.png\" alt=\"\" class=\"wp-image-152\" style=\"aspect-ratio:2.3689095127610207;width:1221px;height:auto\" srcset=\"https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/sunToTTL.drawio.png 1021w, https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/sunToTTL.drawio-300x127.png 300w, https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/sunToTTL.drawio-768x324.png 768w\" sizes=\"(max-width: 1021px) 100vw, 1021px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1000\" height=\"755\" src=\"http:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20231101_155614.jpg\" alt=\"\" class=\"wp-image-155\" srcset=\"https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20231101_155614.jpg 1000w, https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20231101_155614-300x227.jpg 300w, https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/wp-content\/uploads\/2023\/11\/IMG_20231101_155614-768x580.jpg 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Enabling Serial Mouse Driver<\/h2>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#39404f;color:#c8d0e0\">Bash<\/span><span role=\"button\" tabindex=\"0\" data-code=\"sudo inputattach --mousesystems --daemon \/dev\/ttyUSB0  \" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #88C0D0\">sudo<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">inputattach<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">--mousesystems<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">--daemon<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">\/dev\/ttyUSB0<\/span><span style=\"color: #D8DEE9FF\">  <\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Seeing inputattach help, there are two possible driver, &#8211;sunmouse and &#8211;mousesystems. Sunmouse is the sub set of MouseSystem    protocol, and type 5 mouse is actually sends MouseSystems Protocols, so I chose one.<\/p>\n\n\n\n<p>Xorg.conf should have responsibility to handle pointer devices, but I can not set up xorg.conf to enable serial mouse in start up. And Udev can run above comand when ttyUSB attached, unfortunately I could not make it work properly ,so I wrote a script and registered to xfce4 startups.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Append<\/h2>\n\n\n\n<p>I wrote udev not working propely, but it is my fault.  <a href=\"https:\/\/wiki.archlinux.org\/title\/Udev#Spawning_long-running_processes\">Arch Linux Wiki says, <\/a>udev dose not spawn long running process such as inputattach daemon, so I fount correct way to auto starting.<\/p>\n\n\n\n<p>First, create systemd service, like \/etc\/systemd\/system\/sun-mouse-inputattach@.service<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#39404f;color:#c8d0e0\">\/etc\/systemd\/system\/sun-mouse-inputattach@.service<\/span><span role=\"button\" tabindex=\"0\" data-code=\"[Unit]\nDescription=inputattach for sun serial mouse\n\n[Service]\nType=simple\nExecStart=\/usr\/bin\/inputattach --sunmouse \/dev\/%I\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">Unit<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">Description<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #A3BE8C\">inputattach<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">for<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">sun<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">serial<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">mouse<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">[<\/span><span style=\"color: #D8DEE9FF\">Service<\/span><span style=\"color: #ECEFF4\">]<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">Type<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #A3BE8C\">simple<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">ExecStart<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #A3BE8C\">\/usr\/bin\/inputattach<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">--sunmouse<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">\/dev\/%I<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Second, create udev rules<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#39404f;color:#c8d0e0\">\/etc\/udev\/rules.d\/100-serial-sun-mouse.rules<\/span><span role=\"button\" tabindex=\"0\" data-code=\"ACTION==&quot;add|change&quot;,  KERNEL==&quot;ttyUSB[0-9]*&quot;, TAG+=&quot;systemd&quot;, ENV{SYSTEMD_WANTS}+=&quot;sun-mouse-inputattach@%k.service&quot;\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D8DEE9\">ACTION<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #A3BE8C\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">add|change<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">,<\/span><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #D8DEE9\">KERNEL<\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #A3BE8C\">=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">ttyUSB[0-9]*<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">TAG<\/span><span style=\"color: #81A1C1\">+=<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">systemd<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">ENV<\/span><span style=\"color: #D8DEE9FF\">{SYSTEMD_WANTS}<\/span><span style=\"color: #88C0D0\">+<\/span><span style=\"color: #D8DEE9FF\">=<\/span><span style=\"color: #88C0D0\">&quot;sun-mouse-inputattach@%k.service&quot;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Finally, run <\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#39404f;color:#c8d0e0\">Bash<\/span><span role=\"button\" tabindex=\"0\" data-code=\"udevadm control --reload\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #88C0D0\">udevadm<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">control<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #A3BE8C\">--reload<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Then, It works!<\/p>\n\n\n\n<p>However, almost all usb-ttl adapter has same chips, id, name, manufacture, so there are no way to distinguish them. This method will not work properly if you connect more than 2 usb-ttl adapters.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Resources<\/h2>\n\n\n\n<p><a href=\"https:\/\/github.com\/tmk\/tmk_keyboard\/wiki\/Sun-Keyboard-Protocol\">Sun Keyboard Protocol<\/a><\/p>\n\n\n\n<p><a href=\"http:\/\/www.rosenau-ka.de\/ps2sun\/\" data-type=\"link\" data-id=\"http:\/\/www.rosenau-ka.de\/ps2sun\/\">PS\/2 to Sun mouse Converter<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/who-t.blogspot.com\/2013\/12\/wacom-serial-devices-and-inputattach-in.html\">Wacom Serial devices and inputattach in a systemd world<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/blog.fraggod.net\/2012\/06\/16\/proper-ish-way-to-start-long-running-systemd-service-on-udev-event-device-hotplug.html\">Proper(-ish) way to start long-running systemd service on udev event (device hotplug)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Back Story In 2022 Osaka Japan, I found sun type 5 mechanical mouse in secondhand PC shop. I heard that in ear [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/149"}],"collection":[{"href":"https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=149"}],"version-history":[{"count":5,"href":"https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/149\/revisions"}],"predecessor-version":[{"id":160,"href":"https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/149\/revisions\/160"}],"wp:attachment":[{"href":"https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arei1126.ddns.net\/mozihakkou\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}