dmesg > hm.txt Produces An Empty File

More
05 Nov 2019 20:42 #149650 by BigBird
dmesg > hm.txt Produces An Empty File was created by BigBird
After running dmesg to look for hostmot2's pin assignments, I find that the file is empty. In other words if, after clearing the log file with "dmesg -c", I start LinuxCNC (which runs fine - no issues there) and then type "dmesg > hm.txt", hm.txt is empty.

If I don't clear dmesg first....I just end up seeing all the Linux start up stuff, but nothing from hostmot2. So it's like hostmot2 or whatever is responsible for writing messages to dmesg isn't working.

I'm using:

Linux LinuxCNC 4.9.0-8-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 GNU/Linux

It worked fine under Wheezy.

Any ideas?

Thanks

Please Log in or Create an account to join the conversation.

More
05 Nov 2019 21:28 - 05 Nov 2019 23:30 #149655 by tommylight
Replied by tommylight on topic dmesg > hm.txt Produces An Empty File
Start Linuxcnc from the terminal, you can see there everything regarding Mesa .
If you want just the pins:
mesaflash --device "card number here" --readhmid
Last edit: 05 Nov 2019 23:30 by tommylight. Reason: correction

Please Log in or Create an account to join the conversation.

More
05 Nov 2019 22:48 - 05 Nov 2019 22:59 #149659 by BigBird
Replied by BigBird on topic dmesg > hm.txt Produces An Empty File
"Start Linuxcnc from the terminal..." works. Thanks!!!

But the second suggestion needs a correction:

--redhmid

should be:

--readhmid

so the command that worked for me was:

sudo mesaflash --device 5i24 --readhmid
Last edit: 05 Nov 2019 22:59 by BigBird.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
05 Nov 2019 23:05 #149660 by PCW
Replied by PCW on topic dmesg > hm.txt Produces An Empty File
Driver messages are not logged to the kernel log with the userland version of
LinuxCNC (which you are using), instead they are logged to the console
so you can see them by launching LinuxCNC from a terminal, that said,
tommylights suggestion of mesaflash --readhmid is generally a better way if
you want a pinout list
The following user(s) said Thank You: BigBird

Please Log in or Create an account to join the conversation.

Time to create page: 0.051 seconds
Powered by Kunena Forum