If the Linux system on the host PC fails to boot after installing the TRACE32 USB driver file 10-lauterbach.rules, the problem may be caused by incorrect line endings in the rules file. In particular, the presence of carriage return (CR) characters (^M) can cause the udev rules to be interpreted incorrectly.
How to check for CR characters
Run the following command:
cat -et /etc/udev/rules.d/10-lauterbach.rulesCheck whether ^M characters are displayed at the end of the lines.
In some cases, /dev/lauterbach/trace32/ may contain symbolic links to unrelated system devices, such as audio, disk, or DVD devices. This can also indicate that the 10-lauterbach.rules file is being misinterpreted because of incorrect line endings.
How to fix the issue
1) Install the tofrodos package if it is not already installed:
sudo apt-get install tofrodos2) Change to the directory containing the rules file:
cd /etc/udev/rules.d/3) Convert the file to Unix (LF-only) line endings:
sudo fromdos -d 10-lauterbach.rulesThis removes the CR characters from the file.
Afterwards, reboot the PC.
Add a comment