Samsung Dex for PC in Wine

Questions about Wine on Linux
Locked
Cookiessss
Level 1
Level 1
Posts: 5
Joined: Wed Oct 13, 2021 9:35 pm

Samsung Dex for PC in Wine

Post by Cookiessss »

Hello,

Did anyone get the PC Dex app working with wine?
I saw the change log for Wine Dev 6.8 here and it mentions fix for Dex installation:
https://www.winehq.org/announce/6.8

Code: Select all

49989  Samsung Dex installer crashes
I installed wine-6.22 and installed the app, that worked well however, the tablet is not detected and the app just shows this screen:
Image

Was it only the installation crash that was fixed in that release? Or is there a way to make it work?
Thanks
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Samsung Dex for PC in Wine

Post by spoon0042 »

Yes, that bug was only about getting the installer working. Can't really test the app if it doesn't install, no? :)

Unfortunately hardware support in wine largely depends on support in the Linux system it's running on. I don't really know anything about DeX but if it requires a driver on Windows it's unlikely to work in wine. You can poke around and look at what shows up in syslog when you connect your phone (without trying to run DeX) or with lsusb.
Cookiessss
Level 1
Level 1
Posts: 5
Joined: Wed Oct 13, 2021 9:35 pm

Re: Samsung Dex for PC in Wine

Post by Cookiessss »

Ah I see, I kinda had my hopes it wasn't just installer but yes, I did see that some driver was installed along the app in Add/Remove Programs in Wine.
Linux detects the tablet fine and I can transfer files to it, just wine/dex doesn't see it. There's not much in syslog but lsusb shows the tablet fine.

Code: Select all

Bus 001 Device 006: ID 1b80:b505 Afatech SAMSUNG_Android
Bus 001 Device 005: ID 09ea:0130 SAMSUNG SAMSUNG_Android
Bus 001 Device 009: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)
I tried different usb modes when connecting but no luck.
I was looking into a way to pass a usb device to wine similar to passing a device to a VM.
I got this link:
https://wiki.winehq.org/Wine_User's_Gui ... llel_Ports
from this post which seems like the same exact issue:
https://superuser.com/questions/1477796 ... untu-19-04
It also mentions if it needs a driver then it most likely just wont work.

I did find a guide on how to make Dex work using the open source project scrcpy but it's not very user friendly.
It requires a dummy hdmi adapter with a dock and then connects wirelessly and I would need to repeat some steps each time I want to connect the tablet and not just plug an play after setting it up.
So I was looking at other options like the Dex PC App. Sadly there is no mature android emulators for linux that work for all new games like Bluestacks which also fails to install on Wine.

I think I will give up on this for now and try stuff like LibVF.IO for gpu support in a VM and then getting an emulator working.
User avatar
JoseskVolpe
Level 4
Level 4
Posts: 103
Joined: Sat Sep 04, 2021 9:35 pm

Re: Samsung Dex for PC in Wine

Post by JoseskVolpe »

¿Can you add a new report on AppDB? That surely would help
Also, link the guide please, to archive for future users that will find this thread later ;3
Cookiessss
Level 1
Level 1
Posts: 5
Joined: Wed Oct 13, 2021 9:35 pm

Re: Samsung Dex for PC in Wine

Post by Cookiessss »

Sure! Submitted it now, hopefully it gets approved.
The guide link is here:
https://kmyers.me/blog/android/dexonlin ... o-no-root/
Googling DexOnLinux will also bring up this guide along with few additional threads about it.
It does not seem hard but repeating the last few steps each time might be a chore whenever using it.
Locked