XHC-WHB04B-6 LinuxCNC not working

More
21 May 2020 12:02 - 21 May 2020 12:03 #168490 by 00alkskodi00
we can now only compiling linuxcnc and is working with XHC-WHB04B-6?
Last edit: 21 May 2020 12:03 by 00alkskodi00.

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

More
21 May 2020 16:05 #168497 by alkabal
Yes if you check my last message for configuration this is now intergrated.

You can also use buildbot install 2.8 or 2.9 (the driver is not inside 2.7)

Br

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

More
23 May 2020 19:09 #168713 by TKWard10000
Im using Deb Stretch with 2.8 ( fresh install )

lsusb gives : Bus 001 Device 006: ID 10ce:eb93 Silicon Labs

Do i need to do anything additional ? Compile, change ?

Tried using sample config of linuxcnc with xhc-hb04 and keep getting this error :

"waiting for xhc-hb04 device"

Thanks
Keith

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

More
23 May 2020 20:52 #168720 by alkabal
xhc-hb04 and xhc-whb04b-6 are two different device !

They need different settings and driver, this topic is related to xhc-whb04b-6 and xhc-whb04b-4.

Br

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

More
23 May 2020 22:27 - 23 May 2020 22:35 #168730 by TKWard10000
My device IS a XHC-WHB04B-6.

I understand EXACTLY what the topic is for.

Perhaps, some constructive help, rather than giving attitude would be beneficial ?

After reading 12 pages of this thread ... and others telling people to test things using the LinuxCNC 2.8 driver ( which I specifically installed to use the MPG ), and using the command line program, I am at a loss.

I know the MPG works ( tested on Windows Mach3 ).

Does any one have any ideas ?
Attachments:
Last edit: 23 May 2020 22:35 by TKWard10000. Reason: Add picture

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

More
23 May 2020 22:39 - 29 Jun 2020 21:03 #168733 by alkabal
Well i only have some doubt because you says xhc-hb04...

First check the folder "/etc/udev/rules.d/" is there the files 99-xhc-whb04b-6.rules ?

you can also try sudo nano /etc/udev/rules.d/99-xhc-whb04b-6.rules for check if the files is ok.

Secondly
open a terminal without starting linuxcnc
halrun
loadusr -W xhc-whb04b-6 -Hsf

and open a second terminal
second :
watch -n0.4 halcmd show pin whb.

If the device and driver work you can see several entry in the second terminal.
Last edit: 29 Jun 2020 21:03 by alkabal.

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

More
23 May 2020 23:06 - 23 May 2020 23:19 #168739 by TKWard10000
OK, Thanks

Reason I mentioned 'xhc-hb04' prior was that people had been using that utility to test the MPG ( mentioned several times in the thread ).

Regardless, I appreciate the help :)

/etc/udev/rules.d/ has no files in it at all

The watch terminal appears to react to button presses. Macro, feed + etc etc

X Y Z feed counters do not go up and down. Is this correct ?

Also, is there a 'current' configuration cheat sheet for adding the MPG to my hal files etc ?


Keith
Last edit: 23 May 2020 23:19 by TKWard10000.

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

More
24 May 2020 00:10 #168750 by alkabal
for xyz you first need to press step or continuous.

Something i does not understand, how can work the driver without rules files ???

You use buildbot instal or run in place from source compiling ?

For RUN IN PLACE ONLY :
sudo cp /home/pi/emc/debian/extras/lib/udev/rules.d/*.rules /etc/udev/rules.d
you need to adapt this command with your home directory name (replace /pi/) and the source folder name (replace/emc/)

From page 10 this is fresh information about using the built in driver with fresh linuxcnc release 2.8 and 2.9 (master)

forum.linuxcnc.org/38-general-linuxcnc-q...king?start=90#164533

forum.linuxcnc.org/38-general-linuxcnc-q...ing?start=100#166691

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

More
24 May 2020 00:38 #168751 by TKWard10000
I used buildbot

Synaptics ... :

remove 2.7
Change repositories
Add 2.8

I will try additional commands now .

Thank you!!

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

More
25 Jun 2020 18:57 #172744 by 00alkskodi00
hi i cant select axis to move

this line is a problem
whb.halui.axis.x.select
whb.halui.axis.y.select
whb.halui.axis.z.select

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

Time to create page: 0.133 seconds
Powered by Kunena Forum