I connect my Capacitive lcd to tiny6410 and install linux on it. I also change the friendlyarm.ini to this: and play with ctp=1 (not work),ctp=2 (not work),ctp=3 (not work) my lcd is S70(when linux is install it writes on screen lcd type is S70 (auto detect)) this device has resistive lcd at first but it was …
Tag: linux
why this code isn’t working in bash?
I am using tail -f to fetch log file and output of log this command is input to grep command with search for “ERROR” string and output of grep is used to create/write into a temporary file(tmpLog) . command : logfile content Issue is , i am not getting content in tmpLog file , although it is creat…
Can using a linux bootable USB flash drive be used to circumvent ransomware?
My system is not infected with ransomware. I was just thinking about ways to deal with it if it ever happened. Since I can boot my windows PC with a Linux USB and access the HDD, shouldn’t it be possible to use the USB drive to back-up the HDD after ransomware was installed? Most ransomware uses the bro…
Application build . (Swift on Ubuntu)
I am a total newbie to programming and Ubuntu and Swift is my first language to learn. I am learning with a book but I encountered a problem when I was supposed to build an application. Here is what I had to do: Make a new directory called PMExample so that’s easy mkdir PMExample and then go to this dir…
Kubernetes Docker OS parameters vs Host OS parameters
I am running NGINX and Tomcat on Docker containers (container OS is Red Hat linux) and deployed through Kubernetes pods. Host OS is Red Hat Linux. My query is which OS parameter will be effective – host OS or container OS? During performance tuning do I need to tune both OS or host OS parameters are eff…
“Attempt to postMessage on disconnected port” appeared when I install extensions in “extensions.gnome.org”
I want to know why the switch with ON/OFF has disappeared. And there appeared the message “Attempt to postMessage on disconnected port”. I remember it can be used normally before I installed the vpn lantern. How can I resolve this problem? Answer The reason is because Mozilla has dropped the NPAPI…
On Screen Keyboard Pop Up Automatically
I’m building an application with Electron running on a Raspberry Pi. I want an on screen keyboard to pop up automatically whenever a textbox is selected. How can I accomplish this? Either a Linux or a JavaScript solution would work. Answer have you tried something like:
linux command line recursively check directories for at least 1 file with the same name as the directory
I have a directory containing a large number of directories. Each directory contains some files and in some cases another directory. I need to check that each sub_dir contains at least one file with the exact same name. I don’ need to check any further down if there are sub directories within the sub_di…
Kernel API to get Physical RAM Offset
I’m writing a device driver (for Linux kernel 2.6.x) that interacts directly with physical RAM using physical addresses. For my device’s memory layout (according to the output of cat /proc/iomem), System RAM begins at physical address 0x80000000; however, this code may run on other devices with di…
Strange pointer position in the stack
I wrote this simple code: and I’ve disassembled it to see what the compiler does. Using objdump I obtain: I can understand everything except for the mov QWORD PTR [rbp-0x10],0x0, this correspond (I think)to p=NULL; but from mov QWORD PTR [rbp-0x8],rax I know that my pointer is on rbp-0x8 and it seems co…