Accessing USB from Wine/Linux/ARM
Accessing USB from Wine/Linux/ARM
Hello all , this is my first time posting in this forum ..I am running wine under linux(Twister OS Armbian) on a SBC (Orange Pi 4 with RK3399 SOC) and my target application is window executable *.exe . I am trying to access a USB hardware connected to USB port but facing problem , I tried running with command line and the *.exe file executes and the full GUI is visible BUT this windows executable is not able to see the USB device connected to USB port although the device is shown under lsusb .for better understanding I am attaching few screen shots which will be more helpful in understanding the problem , thank you.
Re: Accessing USB from Wine/Linux/ARM
Screen shots attached....
Re: Accessing USB from Wine/Linux/ARM
Dear All Forum Member...seems there is no solution for above mentioned USB issue ?
Re: Accessing USB from Wine/Linux/ARM
Does the device work with Linux or does it require special Windows drivers?this windows executable is not able to see the USB device connected to USB port although the device is shown under lsusb
Which USB device do you try to connect?
-
- Level 2
- Posts: 11
- Joined: Sun Jul 18, 2021 6:00 pm
Re: Accessing USB from Wine/Linux/ARM
Also, please plug the device in and post back the output of lsusb
Re: Accessing USB from Wine/Linux/ARM
Hello All, First of really very sorry for this delayed reply ..steve_johnson56 wrote: ↑Fri Aug 13, 2021 11:15 pm Also, please plug the device in and post back the output of lsusb
below is the lsusb output FYI >
Device of interest is the entry with :-
Bus 003 Device 005: ID 0483:5750 STMicroelectronics LED badge -- mini LED display -- 11x44
Re: Accessing USB from Wine/Linux/ARM
Does Wine recognize the device?
Is there a symbolic link to the device?
Do you have enough rights to access the device?
Can you use a native Linux program to access the device?
In the first screenshot you use the sudo command.
Please read: https://wiki.winehq.org/FAQ#Should_I_ru ... as_root.3F
Is there a symbolic link to the device?
Code: Select all
ls -asl ~/.wine/dosdevices/
Can you use a native Linux program to access the device?
In the first screenshot you use the sudo command.
Please read: https://wiki.winehq.org/FAQ#Should_I_ru ... as_root.3F
Re: Accessing USB from Wine/Linux/ARM
F.Y.Ijkfloris wrote: ↑Mon Aug 23, 2021 4:48 pm Does Wine recognize the device?
Is there a symbolic link to the device?Code: Select all
[u][b][size=150]ls -asl ~/.wine/dosdevices/[/size][/b][/u]
-
- Level 2
- Posts: 23
- Joined: Mon Aug 30, 2021 2:14 am
Re: Accessing USB from Wine/Linux/ARM
I'm not sure on how current this might be but you could try: to see if the device was connected and assigned to a ttyusb device.
This is all from this link: [url]https://www.fir3net.com/UNIX/Linux/how- ... linux.html[/code]
It also indicates you may need to run minicom to set up the port parameters such as baud rate, etc.
Don't know if any of this is going to work or not or what impact your using sudo as noted by jkfloris may have.
Code: Select all
sudo modprobe usbserial vendor=0x0483 product=0x5750[\code]
Then [code]dmesg
This is all from this link: [url]https://www.fir3net.com/UNIX/Linux/how- ... linux.html[/code]
It also indicates you may need to run minicom to set up the port parameters such as baud rate, etc.
Don't know if any of this is going to work or not or what impact your using sudo as noted by jkfloris may have.
-
- Level 2
- Posts: 23
- Joined: Mon Aug 30, 2021 2:14 am
Re: Accessing USB from Wine/Linux/ARM
BTW - I just noticed your post says ARM. Has the program been compiled to run on ARM? Are you using a hardware emulator for x86?
Re: Accessing USB from Wine/Linux/ARM
No dear its x86 windows native application .daveweaton wrote: ↑Mon Aug 30, 2021 3:29 pm BTW - I just noticed your post says ARM. Has the program been compiled to run on ARM? Are you using a hardware emulator for x86?
-
- Level 2
- Posts: 23
- Joined: Mon Aug 30, 2021 2:14 am
Re: Accessing USB from Wine/Linux/ARM
Hummm, maybe "no dear - I'm using a hardware emulator box86 to emulate a x86 environment on ARM". Of course, that's just me dear. Perhaps you should post if the information in the link was of any help to you or not.
Re: Accessing USB from Wine/Linux/ARM
Can you manually add the USB device? Read the Wiki for more information:
https://wiki.winehq.org/Wine_User%27s_G ... llel_Ports
There are some python scripts on github that also work with this device.
Do you get the LED display to work with such a program?
https://wiki.winehq.org/Wine_User%27s_G ... llel_Ports
There are some python scripts on github that also work with this device.
Do you get the LED display to work with such a program?