Skip to content

How can I install Hjelmslund USB485 in debian

As the title says! I can read info from the device with “dmesg” and see it when “lsusb” but how do I attach/install it as for example dev/ttyUSB2 Answer One way is to change the VID and PID with FTDI software FT Prog (utility for programming the EEPROM of FTxxx devices). Change to 0403…

How can I set rpath on gcc binaries during bootstrap?

I am trying to build gcc 4.7.2 using a custom prefix $PREFIX I have built and installed all the prerequisites into my prefix location, and then successfully configured, built and installed gcc. The problem that I now have is that $PREFIX is not in the library search path, and therefore the shared libraries ca…

Get the MySQL path

I tried googling to get the MySql path, but it was unsuccessful. Is there a unix command, where I can find the MySQL database directory path? Answer Try this query, SHOW VARIABLES LIKE ‘datadir’;

Deleting Linked List Elements

I’m curious what I have done wrong, since my void *DeleteDoneNodes(node * n) doesn’t do anything, no error but no output neighter, so could anyone help me finding the root of my problem thank you. Scenario: cmd line ./s m n m number of nodes in list, n number of workingThreads should delete each n…

Bash script error. Syntax error near unexpected token

I’m trying to work through a script to email me a notification if the load is too high on our server. I found a good one but it’s giving me and error when I run it, and I can’t see why. Running the code below gives the error: line 13: syntax error near unexpected token `fi’ I thought I…