- LinuxCNC
- General LinuxCNC Questions
- USB joypad opening problem using ssh terminal (needs console login as well)
USB joypad opening problem using ssh terminal (needs console login as well)
- frogandspanner
- Offline
- Senior Member
Less
More
- Posts: 65
- Thank you received: 2
16 Mar 2023 15:25 #266839
by frogandspanner
USB joypad opening problem using ssh terminal (needs console login as well) was created by frogandspanner
Problem summary: program (halrun/hal_input.py) fails to open joypad/gamepad via ssh terminal, unless also logged in [as tc] on console – simultaneous logging in as root on console does not solve the problem.“No input devices could be opened. This usually indicates a misconfigured system. Please read the section 'PERMISSIONS AND UDEV' in the hal_input manpage” Details:joypad already plugged into linuxcncdev usb at boot time. > ssh -X linuxcncdev [from main computer][login as tc] [OPSYS VERSION]> cat /etc/os-releasePRETTY_NAME="Debian GNU/Linux 10 (buster)"NAME="Debian GNU/Linux"VERSION_ID="10"VERSION="10 (buster)"VERSION_CODENAME=busterID=debian…> hostnamectlKernel: Linux 4.19.0-21-rt-amd64… [tc CONTEXT]> groupstc dialout cdrom sudo audio video plugdev wireshark [DEVICE INFO]> cat /etc/udev/rules.d/67-plugdev.rulesATTR{idProduct}=="0001", ATTR{idVendor}=="0810",MODE="0660",GROUP="plugdev" > lsusbBus 001 Device 013: ID 0810:0001 Personal Communication Systems, Inc. Dual PSX Adaptor > cat /proc/bus/input/devicesI: Bus=0003 Vendor=0810 Product=0001 Version=0110N: Name=" USB Gamepad "P: Phys=usb-0000:00:1a.0-1.2/input0S: Sysfs=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:0810:0001.000A/input/input26U: Uniq=H: Handlers=event4 js0 B: PROP=0B: EV=20001bB: KEY=fff00000000 0 0 0 0B: ABS=30027B: MSC=10B: FF=107030000 0 > ls -l /dev/bus/usb/001/013crw-rw---- 1 root plugdev 189, 12 Mar 16 14:13 /dev/bus/usb/001/013 > ls -l /dev/input/js0 crw-rw-r--+ 1 root input 13, 0 Mar 16 14:12 /dev/input/js0 [OTHER INFO]jstest-gtk opens js0 OK. [THE PROBLEM]> halrunhalcmd: loadusr -W hal_input -KRAL Gamepad No input devices could be opened. This usually indicates a misconfiguredsystem. Please read the section 'PERMISSIONS AND UDEV' in the hal_inputmanpage If also log in via console and desktop environment, but return to ssh terminal, then loadusr -W hal_input -KRAL Gamepad it works. If logged in as root or tc on console,> ls -l /dev/bus/usb/001/013crw-rw---- 1 root plugdev 189, 12 Mar 16 14:13 /dev/bus/usb/001/013p { margin-bottom: 0.25cm; line-height: 120% }a:link { so-language: zxx }
Please Log in or Create an account to join the conversation.
- LinuxCNC
- General LinuxCNC Questions
- USB joypad opening problem using ssh terminal (needs console login as well)
Time to create page: 0.068 seconds