Open kaiwalyajoshi opened 4 years ago
Also note that my device shows up as /dev/fl2000-1
are any code changes required for this?
This comment in the code mentions this:
/*
* FL2000 device presence detection
*
* Due to PNP nature, the FL2000 device can be unplugged during normal user app
* operation. When a FL2000 device is disconnected, the user app must release
* any opened file to the /dev/fl2000-0(or similar) for the driver to completely
* releases itself. Failure to do so would cause driver lock-up.
*
* The following method is provided to detect FL2000 device connection.
* 1. Polling
* The user app can constantly checking the existence of /dev/fl2000-0.
* If the FL2000 device is unplugged, the driver deregister this device name.
* 2. Using IOCTL_FL2000_WAIT_FOR_MONITOR_EVENT.
* User app can issues this IOCTL in a separate thread. The kernel driver
* wakes up the waiting thread, and updates fl2000_flags and monitor_flags.
* User app can detect monitor and FL2000 arrival/departure event by using
* this IOCTL.
*/
hi @kaiwalyajoshi What is the fork with which you obtained these results?
I've compiled the driver for linux54
5.4.40-1-MANJARO
and loaded the kernel driver viainsmod
dmesg shows the driver is loaded:
But
xrandr
shows the deviceVIRTUAL1
as disconnected:What's needed to get xrandr to emit output to the device?
I have a dual boot with Windows 10 and this worked correctly there, so the device isn't defective or anything like that.