- Posts: 447
- Thank you received: 229
CH382L, M.2 to PCIe adapter on SBC not recognised by Linuxcnc
2 years 7 months ago #294962
by Mecanix
Replied by Mecanix on topic CH382L, M.2 to PCIe adapter on SBC not recognised by Linuxcnc
OP obvi picked it up from raspi.debian.net then... there's no raspi stuff in their 64b netinst, trust.
Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
- Offline
- Platinum Member
-
Less
More
- Posts: 1199
- Thank you received: 426
2 years 7 months ago #294963
by Cant do this anymore bye all
Those values relate to the PCI ids not port addresses.
In turn those values relate to the jumpering of pins 62 & 63 of the CH382L. To get PCI id, 3050 which is suported by a Linux driver, pins 62 & 63 need to be shorted to ground. (Bari has mentioned this in a couple of posts on the forum, a google search brings this info up as well)
So in short in very well could be a manufacturer hardware implementation. This type of board does seem to be an issue, some boards do work some don't.
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.
Another idea is to get the PCI ids from the working windows installation, this will give an idea.
There's so many variables to this issue.
Another option and probably less hassle, is to install a second ethernet card and use a 7i92, a little more in $$, but you get more io, and latency is not such an issue.
Or if size and Parallel Port is a must a HP610 Plus thin client, has an inbuilt Parallel Port and an extra PCIe socket, might be work looking at. But maybe not something you'd want to do.
Replied by Cant do this anymore bye all on topic CH382L, M.2 to PCIe adapter on SBC not recognised by Linuxcnc
$ lsmod
How does your kernel drive it?
Those values relate to the PCI ids not port addresses.
In turn those values relate to the jumpering of pins 62 & 63 of the CH382L. To get PCI id, 3050 which is suported by a Linux driver, pins 62 & 63 need to be shorted to ground. (Bari has mentioned this in a couple of posts on the forum, a google search brings this info up as well)
So in short in very well could be a manufacturer hardware implementation. This type of board does seem to be an issue, some boards do work some don't.
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.
Another idea is to get the PCI ids from the working windows installation, this will give an idea.
There's so many variables to this issue.
Another option and probably less hassle, is to install a second ethernet card and use a 7i92, a little more in $$, but you get more io, and latency is not such an issue.
Or if size and Parallel Port is a must a HP610 Plus thin client, has an inbuilt Parallel Port and an extra PCIe socket, might be work looking at. But maybe not something you'd want to do.
Please Log in or Create an account to join the conversation.
2 years 7 months ago #294964
by Mecanix
Replied by Mecanix on topic CH382L, M.2 to PCIe adapter on SBC not recognised by Linuxcnc
Really should pick it up from the array of installed port(s). The great addy "0" in this case. If it doesn't it obviously ain't parport'io'ing today...
Great day to rid the raspi weirdness methink!
Great day to rid the raspi weirdness methink!
Please Log in or Create an account to join the conversation.
2 years 7 months ago #295014
by arda
Replied by arda on topic CH382L, M.2 to PCIe adapter on SBC not recognised by Linuxcnc
At first, I also thought "skipping btf" may not be relevant like you said and I moved on with the installation. Then I checked with commands and tests and there were still no sign of success. "skipping btf" was also mentioning "wch.ko couldn't be created" though.
I downloaded and installed LinuxCNC 2.9.2 Debian 12 Bookworm PREEMPT-RT ISO from linuxcnc.org. I have no idea where raspi stuff came from. So I'm wondering if the issue is related to the driver as I wasn't able to successfully pass that stage.
I downloaded and installed LinuxCNC 2.9.2 Debian 12 Bookworm PREEMPT-RT ISO from linuxcnc.org. I have no idea where raspi stuff came from. So I'm wondering if the issue is related to the driver as I wasn't able to successfully pass that stage.
Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
- Offline
- Platinum Member
-
Less
More
- Posts: 1199
- Thank you received: 426
2 years 7 months ago #295017
by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic CH382L, M.2 to PCIe adapter on SBC not recognised by Linuxcnc
raspi stuff comes from a broken debian installer. Has nothing to do with drivers of any sort.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
2 years 7 months ago #295019
by tommylight
So not anything you did.
If you want to exclude this as a cause, try this
forum.linuxcnc.org/9-installing-linuxcnc...int-debian-edition-6
Replied by tommylight on topic CH382L, M.2 to PCIe adapter on SBC not recognised by Linuxcnc
It is included, still, despite hundreds of reports this has not been fixed.I downloaded and installed LinuxCNC 2.9.2 Debian 12 Bookworm PREEMPT-RT ISO from linuxcnc.org. I have no idea where raspi stuff came from.
So not anything you did.
If you want to exclude this as a cause, try this
forum.linuxcnc.org/9-installing-linuxcnc...int-debian-edition-6
Please Log in or Create an account to join the conversation.
Time to create page: 0.812 seconds