USB device suddenly not recognized by hal_input
11 Jan 2017 15:59 #85614
by Wirewrap
USB device suddenly not recognized by hal_input was created by Wirewrap
Something has happened.
This LinuxCNC machine has been in use for a couple of weeks and my USB pendant has been working with hal_input as it was supposed to do.
The pendant is recognized by UDEV and assigned to group plugdev.
LinuxCNC 2.7.8
Now, suddenly hal_input is not finding the pendant. but hidraw2 still belongs to plugdev.
I tried with hidconfig to diagnose, it puts an asterisk on this device.
sudo hidconfig finds the device without an asterisk.
hexdump /dev/hidraw2 works without sudo!
Triedthis does not solve the problem.
What else can I try?
This LinuxCNC machine has been in use for a couple of weeks and my USB pendant has been working with hal_input as it was supposed to do.
The pendant is recognized by UDEV and assigned to group plugdev.
LinuxCNC 2.7.8
Now, suddenly hal_input is not finding the pendant. but hidraw2 still belongs to plugdev.
uname -a
Linux debianRT 3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686 GNU/Linux
ls -l /dev/hid*
crw------- 1 root root 252, 0 Jan 11 16:30 /dev/hidraw0
crw------- 1 root root 252, 1 Jan 11 16:30 /dev/hidraw1
crw-rw-rwT 1 root plugdev 252, 2 Jan 11 16:30 /dev/hidraw2
crw-rw-rwT 1 root plugdev 252, 3 Jan 11 16:30 /dev/hidraw3
I tried with hidconfig to diagnose, it puts an asterisk on this device.
sudo hidconfig finds the device without an asterisk.
hexdump /dev/hidraw2 works without sudo!
Tried
sudo chmod 0666 /dev/hidraw2
sudo chown la.la /dev/hidraw2
What else can I try?
Please Log in or Create an account to join the conversation.
18 Jan 2017 12:10 #86044
by andypugh
Replied by andypugh on topic USB device suddenly not recognized by hal_input
Did you get this fixed?
I had a machine that used to "lose" USB devices. I never really tried to get to the bottom of it, as it was a joypad only really useful for milling, and I stopped milling with that machine.
I would be tempted to try blindly tweaking USB settings in the BIOS.
I had a machine that used to "lose" USB devices. I never really tried to get to the bottom of it, as it was a joypad only really useful for milling, and I stopped milling with that machine.
I would be tempted to try blindly tweaking USB settings in the BIOS.
Please Log in or Create an account to join the conversation.
18 Jan 2017 15:36 #86055
by Wirewrap
Replied by Wirewrap on topic USB device suddenly not recognized by hal_input
Yes,
it is fixed now.
I tried some different idéas, and suddenly the pendant was online again. Not sure which thing was the actual fix.
it is fixed now.
I tried some different idéas, and suddenly the pendant was online again. Not sure which thing was the actual fix.
Please Log in or Create an account to join the conversation.
Time to create page: 0.204 seconds