Hello,
I've recently gotten an android tablet and I would like to use it as a second monitor for my laptop (over USB.)
I have made some progress towards this goal. However I have encountered two issues. I have been following this guide https://blog.8bitbuddhism.com/2019/12/01/how-to-use-your-android-tablet-as-second-monitor/ and so far I've managed to connect my tablet using ADB and set up a VNC session.
The first problem is that the session disconnects after about 30 seconds or so (I'm aware this part of the question isn't related to X.Org.) I have a suspicion that this is because the tablet is using USB 3 (at least I think it is. It is a Samsung Tab A 10.1 2019 and uses a USB type C connector. Also my laptop is a Thinkpad t480.) When I use the adb command after this to see what devices are connected I can no longer see my tablet and have to physically reconnect it. So my first question is how would I force a USB port on my laptop to work in USB 2.0 mode. I've looked up how to do this on FreeBSD but all I could seem to find was how to do it on GNU+Linux.
The second problem I have is related to X.Org. One of the steps in the guide is to create a virtual output device (I tried just creating some custom settings for an unused HDMI connector in my device using Xrandr as some other tutorials on this subject suggest and it really doesn't work!)
I can't figure out how to do this. I've tried creating the file 20-virtual.conf and using i915kms as the driver but from the log it looks like X is trying to use this as the main display device and on top of that it says that i915kms doesn't exist (or something to that effect) and as a result X fails to start. I definitely am using i915kms as when I do kldstat I can see that it is loaded.
I'm not actually sure where / when I'm loading i915kms.ko but I know it's not in /usr/local/etc/X11/xorg.conf.d/ as I don't have any config files in there and It's also not in /boot/loader.conf.
Anyway I don't have a very good idea of what I am doing with the config files in /usr/local/etc/X11/xorg.conf.d/ I gather that what I need to do is create one for the hardware in my laptop and then also create one for the virtual display on top of that but I've tried quite a few different things and configurations and I haven't really gotten anywhere with it. So any help any one could offer would be very much appreciated
Sincerely
Sam
I've recently gotten an android tablet and I would like to use it as a second monitor for my laptop (over USB.)
I have made some progress towards this goal. However I have encountered two issues. I have been following this guide https://blog.8bitbuddhism.com/2019/12/01/how-to-use-your-android-tablet-as-second-monitor/ and so far I've managed to connect my tablet using ADB and set up a VNC session.
The first problem is that the session disconnects after about 30 seconds or so (I'm aware this part of the question isn't related to X.Org.) I have a suspicion that this is because the tablet is using USB 3 (at least I think it is. It is a Samsung Tab A 10.1 2019 and uses a USB type C connector. Also my laptop is a Thinkpad t480.) When I use the adb command after this to see what devices are connected I can no longer see my tablet and have to physically reconnect it. So my first question is how would I force a USB port on my laptop to work in USB 2.0 mode. I've looked up how to do this on FreeBSD but all I could seem to find was how to do it on GNU+Linux.
The second problem I have is related to X.Org. One of the steps in the guide is to create a virtual output device (I tried just creating some custom settings for an unused HDMI connector in my device using Xrandr as some other tutorials on this subject suggest and it really doesn't work!)
I can't figure out how to do this. I've tried creating the file 20-virtual.conf and using i915kms as the driver but from the log it looks like X is trying to use this as the main display device and on top of that it says that i915kms doesn't exist (or something to that effect) and as a result X fails to start. I definitely am using i915kms as when I do kldstat I can see that it is loaded.
I'm not actually sure where / when I'm loading i915kms.ko but I know it's not in /usr/local/etc/X11/xorg.conf.d/ as I don't have any config files in there and It's also not in /boot/loader.conf.
Anyway I don't have a very good idea of what I am doing with the config files in /usr/local/etc/X11/xorg.conf.d/ I gather that what I need to do is create one for the hardware in my laptop and then also create one for the virtual display on top of that but I've tried quite a few different things and configurations and I haven't really gotten anywhere with it. So any help any one could offer would be very much appreciated
Sincerely
Sam