Skip to content

ioctl (GFEATURE): * message shows when Logitech Lightspeed Receiver plug in #8109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
detiam opened this issue Aug 11, 2023 · 1 comment
Closed

Comments

@detiam
Copy link

detiam commented Aug 11, 2023

Similar to #6799, My USB device

$ lsusb
Bus 004 Device 002: ID 17ef:109b Lenovo USB3.0 Hub             
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 2109:8883 VIA Labs, Inc. USB Billboard Device   
Bus 003 Device 003: ID 045e:02fe Microsoft Corp. XBOX ACC
Bus 003 Device 002: ID 17ef:109a Lenovo USB2.0 Hub             
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 8087:0aa7 Intel Corp. Wireless-AC 3168 Bluetooth
Bus 001 Device 004: ID 26ce:01a2 ASRock LED Controller
Bus 001 Device 006: ID 046d:c539 Logitech, Inc. Lightspeed Receiver
Bus 001 Device 002: ID 056a:037a Wacom Co., Ltd CTL-472 [One by Wacom (S)]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

with set env var SDL_HIDAPI_IGNORE_DEVICES=0x046d/0x0000, the message are gone

$ sdl2-jstest --list
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Invalid argument
ioctl (GFEATURE): Invalid argument
ioctl (GFEATURE): Invalid argument
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Broken pipe
ioctl (GFEATURE): Broken pipe
No joysticks were found

$ env SDL_HIDAPI_IGNORE_DEVICES=0x046d/0x0000 sdl2-jstest --list
No joysticks were found

but when I added the product ID

$ env SDL_HIDAPI_IGNORE_DEVICES=0x046d/0xc539 sdl2-jstest --list
ioctl (GFEATURE): Invalid argument
ioctl (GFEATURE): Invalid argument
ioctl (GFEATURE): Invalid argument
No joysticks were found

there are still three Invalid argument messages

Related issues: raspberrypi/linux#5524

@slouken
Copy link
Collaborator

slouken commented Aug 13, 2023

This a duplicate of #8112, which is now fixed.

@slouken slouken closed this as completed Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants