CH382L, M.2 to PCIe adapter on SBC not recognised by Linuxcnc

More
2 years 7 months ago #295020 by arda
Thanks for your suggestions. I'm not looking to invest in rather expensive stuff currently as I already have a working setup that is not using linuxcnc.

I may try the pin shorting method, but if driver installation is needed anyway and if I can't pass this step, pin shorting method won't be effective.

"One thing I would do is to insert a known working PCIe card of any type, LAN card might be best as Linux recogonises almost all, if this works you can rule out the first link in getting this to work."
That's right. I thought of that and will end up doing this if I will be able to install the driver first and see that it still isn't working.

If M.2 to PCIe adapter is an issue somehow, I can move to a board with PCIe slot but again, driver issue should be sorted out first.

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

More
2 years 7 months ago #295023 by Cant do this anymore bye all
The funny thing is the pc_parport driver & others are loading. If you look at the github page for the driver it seems only related to the serial port portion, they even admit the standard serial port driver is ok.

What do the following show ?
sudo dmesg | grep parport

sudo ls /dev/par*

sudo cat /proc/ioports | grep parport

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

More
2 years 7 months ago - 2 years 7 months ago #295024 by arda
Thanks for your suggestion tommylight. I will try this. I will keep looking into trying to make linuxcnc work from time to time but I need to get my actual works done too. I will be on this topic.
Last edit: 2 years 7 months ago by arda.

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

More
2 years 7 months ago #295027 by arda
sudo dmesg | grep parport and sudo cat /proc/ioports | grep parport outputs nothing.
sudo ls /dev/par* outputs "no such file or directory"

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

More
2 years 7 months ago #295030 by Cant do this anymore bye all
A little more info
The kernel should load parport_serial for the following PCI ids
1C00:3250
1C00:3050
which should be the PCI ids for your card in either 2S1P or 1P mode.

Even if you can build the driver, there's another here github.com/WCHSoftGroup/ch35_38x_linux I'm doubtful if the drivers would load in your current setup. This driver seems to be able to use some of the more advanced features on the serial port side.

If you have a pc you can insert the card into you could boot linuxcnc live and see if the card is recognised.
The following user(s) said Thank You: tommylight

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

More
2 years 7 months ago #295034 by tommylight

If you have a pc you can insert the card into you could boot linuxcnc live and see if the card is recognised.
+1

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

Time to create page: 0.061 seconds
Powered by Kunena Forum