D
D
Denis Kotlyarov2015-07-13 21:11:00
linux
Denis Kotlyarov, 2015-07-13 21:11:00

How can wine allow access to com1?

How to allow an application to access a device through wine?
I did everything, in dosdevices a link to the device file, but the result is 0.
Here are the logs
trace:reg:NtOpenKey (0x44,L"AppEvents\\Schemes\\Apps\\.Default\\SystemHand",2001f,0x32cf04)
trace:reg: NtOpenKey <- 0x458
trace:reg:NtOpenKey (0x458,L".Current\\",20019,0x32ce84)
trace:reg:NtOpenKey <- (nil)
fixme:win:FlashWindowEx 0x32cb34
fixme:win:FlashWindowEx 0x32a424
Connecting to BROM. ..
Connect BROM failed: S_COM_PORT_OPEN_FAIL
BROM Exception! ( BROM ERROR : S_COM_PORT_OPEN_FAIL (1013)
[COM] Failed to open COM port.
[HINT]:
)((APCore::Connection::ConnectBROM,..\QT_FlashTool_Refactor\Conn\Connection.cpp,80))
trace:reg:NtOpenKey (0x44,L"AppEvents\\Schemes\\Apps\\.Default\\SystemHand",2001f,0x32cf04)
trace:reg:NtOpenKey <- 0x458
trace:reg:NtOpenKey (0x458,L".Current \\",20019,0x32ce84)
trace:reg:NtOpenKey <- (nil)
fixme:win:FlashWindowEx 0x32cb34
fixme:win:FlashWindowEx 0x32a424

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2015-07-13
@denisandroid

$ ln -s /dev/ttyS0 ~/.wine/dosdevices/com1
Well, the user must have access rights to the port, he must be a member of the dialout group.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question