LINUX.ORG.RU

продолжу тему как заставить wine работать с com портом


0

1

начало темы:
http://www.linux.org.ru/forum/general/5829212?lastmod=1295908046865

avrdude - хорошо, но всётаки хотелось бы узнать как заставить wine работать с ком портом, это может пригодиться и для других целей.
Или может у меня он видит com порт, по тем сообщениям которые выдаются я так и не понял в чём причина.
Вот что пишет wine uniprof.exe

fixme:advapi:RegisterEventSourceW ((null),L"Rubar Update Service"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000000,(nil),0x0001,0x00000000,0x84e7f0,(nil)): stub
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:msxml:httprequest_open stub (0x1b87d0)
fixme:msxml:httprequest_get_responseText stub 0x1b87d0 0x33f908
wine: Call from 0x682b1af2 to unimplemented function hal.dll.READ_PORT_UCHAR, aborting
wine: Unimplemented function hal.dll.READ_PORT_UCHAR called at address 0x682b1af2 (thread 0034), starting debugger...
wine: Unhandled page fault on read access to 0x0000002a at address 0x68590fa3 (thread 0036), starting debugger...
wine: Unhandled page fault on read access to 0x0000002a at address 0x685d2fa3 (thread 0038), starting debugger...
wine: Unhandled page fault on read access to 0x0000002a at address 0x685dffa3 (thread 003a), starting debugger...
wine: Unhandled page fault on read access to 0x0000002a at address 0x685dffa3 (thread 003c), starting debugger...
wine: Unhandled page fault on read access to 0x0000002a at address 0x685d2fa3 (thread 003e), starting debugger...
wine: Unhandled page fault on read access to 0x0000002a at address 0x75b96fa3 (thread 0040), starting debugger...
wine: Unhandled page fault on read access to 0x0000002a at address 0x685dffa3 (thread 0042), starting debugger...
wine: Unhandled page fault on read access to 0x0000002a at address 0x685dffa3 (thread 0044), starting debugger...
wine: Unhandled page fault on read access to 0x0000002a at address 0x685dffa3 (thread 0046), starting debugger...
wine: Unhandled page fault on read access to 0x0000002a at address 0x6857bfa3 (thread 000b), starting debugger...
wine: Unhandled page fault on read access to 0x0000002a at address 0x685dffa3 (thread 000c), starting debugger...
wine: Unhandled page fault on read access to 0x0000002a at address 0x685dffa3 (thread 0048), starting debugger...
wine: Unhandled page fault on read access to 0x0000002a at address 0x685dffa3 (thread 004a), starting debugger...
wine: Unhandled page fault on read access to 0x0000002a at address 0x685dffa3 (thread 004c), starting debugger...
wine: Unhandled page fault on read access to 0x0000002a at address 0x685dffa3 (thread 004e), starting debugger...
..........
.........
............
............
и в конце
err:seh:start_debugger Couldn't start debugger («winedbg --auto 323 40») (4)
Read the Wine Developers Guide on how to set up winedbg or another debugger
fixme:msxml:DllCanUnloadNow

★★

Имхо, никак. Вайн пишет:

wine: Call from 0x682b1af2 to unimplemented function hal.dll.READ_PORT_UCHAR, aborting

т.е. заглушки стоят на нужный для программы вызов.

mashina ★★★★★
()
Ответ на: комментарий от v4567

Заглушка значит функционал не реализован (русским языком написано 'unimplemented function'). Решение проблемы очевидно - залезть в исходники вайна и реализовать вызов :)

Может быть существуют решения проще, типа подсунуть вайну нативную библиотеку от винды. Сам сталкивался недавно с похожей проблемой, рещения не нагуглил, забил.

mashina ★★★★★
()
Ответ на: комментарий от mashina

понятно, спасибо за объяснение

v4567 ★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.