Hello,
could anyone with a sparc64 machine running Linux on bare metal with
a USB controller help me run a small test program?
The program can be found in [1]. It can be built and run with:
glaubitz@stadler:~$ gcc hid-example.c -o hid-example
root@stadler:~$ /home/glaubitz/hid-example
Unable to open device: No such file or directory
root@stadler:~$
It must be run at root on a machine where a HID USB device is connected
to the machine, i.e. a mouse or a keyboard which should cause the device
node /dev/hidraw0 to be created.
Note: The program needs to be run as root to access /dev/hidraw0.
Please post the output on this mailing list.
Please post the output on this mailing list.
Forgot the link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/samples/hidraw/hid-example.c
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 486 |
Nodes: | 16 (2 / 14) |
Uptime: | 139:33:53 |
Calls: | 9,657 |
Calls today: | 5 |
Files: | 13,708 |
Messages: | 6,167,333 |