is there driver for the new XHC-WHB04B-4

More
8 years 10 months ago #103009 by wolrah
Can I pull your branch from Git and install on top of the existing 2.7?

Following this guide: linuxcnc.org/docs/devel/html/code/building-linuxcnc.html
At "1.1" just replace the Git address with your branch.

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

More
8 years 10 months ago #103013 by smalla
it wont work with 2.7 unless you rewrite the .tcl file
because of joints and axes introduced in 2.8.

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

More
8 years 10 months ago #103089 by wolrah
I'm sorry, I could have phrased the question to be more clear.

Can I install your branch of 2.8 on top of the same Linux installation that is presently on the computer?

Asked another way;
Do I need to install a fresh copy of Linux RTAI and then download/build your branch?

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

More
8 years 10 months ago #103099 by smalla
You can download to a separate directory and compile there, and run from there or copy the binaries to your build. You can even merge with current branch as it can be done without errors, and should compile.

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

More
8 years 10 months ago #103144 by Alex.Shamilich
Hi Smalla!
I have WHB04B-6 to and trying to connect to my linuxcnc 2.7.11.

* I've cloned and compiled fork (github.com/smalla/linuxcnc) - without errors, all tests ok.
* connected usb receiver
* setup rules for /etc/udev/rules.d/90-whb04b.rules
* get working from /usr/bin/whb04b and get answers form controller
Code:
at@linuxcnc:~$ /usr/bin/whb04b Creating pin: whb04b.x.pos-absolute ... ... Creating pin: whb04b.jog.minus-c whb04b: waiting for whb04b device whb04b: found whb04b device 04 DF 00 00 0D 11 02 07 MPG delta +2 04 54 00 00 0D 11 00 04 04 B5 00 00 0D 11 FF 05 MPG delta -1 04 3D 00 00 0D 11 00 05 04 9D 0F 00 0D 11 00 16 04 87 00 00 0D 11 00 07
* but when i'm trying to start LinuxCNC with config, and i'm getting duplicate component name ERROR:
Code:
Found file(REL): ./core_sim9.hal Found file(lib): /usr/share/linuxcnc/hallib/whb04b.tcl HAL: ERROR: duplicate component name 'whb04b' whb04b: ERROR: hal_init failed whb04b.tcl: loadusr whb04b: <waitpid failed whb04b whb04b whb04b exited without becoming ready> Is it plugged in? Are permissions correct? Continuing without whb04b Failing cmd: loadusr -W whb04b -I /usr/share/linuxcnc/hallib/whb04b-layout1.cfg -H -x -s 3
* HALFILE = whb04b.tcl - only once in whb04b-6.ini file


Please help :)

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

More
8 years 10 months ago #103277 by smalla
It will be a recursion in the configuration somehow, and it tries to load the module twice.

I will try to reproduce the error.
The following user(s) said Thank You: Alex.Shamilich

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

Time to create page: 0.380 seconds
Powered by Kunena Forum