[Wine]wine and alsa oss emulation with aoss

christoph kunz christoph.kunz at iao.fhg.de
Tue Aug 10 05:49:19 CDT 2004

hi wine community,

i recently wrote to this list in my effort to get traktor dj studio to
work with wine. many thanks to robert reif, who got it fully working
with the wineoss driver and native oss. the problem was, that wineoss
needs mmap access to the soundcard to correctly initilize dsound. dsound
is needed for 4channel playback (master&headphone)

my configuration is fc2 with kernel and alsa 1.0.5 (and of
course the newest wine cvs build from today). 

unfortunately, im forced to use alse because of my usb sound card and
alsa doesn´t support mmap access. there are some workarounds like
writing something to proc files, but this doesn´t work for me (and seems
to not work for others). 

so mmap acces can be emulated in doing hacks in the asound.rc file and
userspace oss emulation via the aoss script. 

now wine doen´t run under aoss script. it stops after the attached

do you have any hint´s, fixes or is it a known problem?

thanks a lot and all the best


dipl.-ing. christoph kunz
fraunhofer institut fuer arbeitswirtschaft und organisation
competence center softwaretechnik
nobelstrasse 12
d-70569 stuttgart

fon:      +49 (0)711 - 970 2314
fax:      +49 (0)711 - 970 2300
mail:     christoph.kunz at iao.fhg.de
icq#:     49335597
web:      http://www.iao.fhg.de
pgp#:     12AF7964 at wwwkey.pgp.net

-------------- next part --------------
wine winemine
sock_init: shutdown() causes EOF
wineserver: starting (pid=20418)
0008: *fd* (nil) -> 17
0009: *fd* 6 <- 17
0009: init_thread( unix_pid=20415, unix_tid=20415, teb=0x550a9000, entry=(nil), reply_fd=6, wait_fd=8 )
0009: *fd* 8 <- 18
0009: init_thread() = 0 { pid=0008, tid=0009, boot=1, version=147 }
0009:trace:virtual:NtAllocateVirtualMemory 0x550a9000 00001f98 80000000 00000040
View: 0x550a9000 - 0x550aafff (anonymous)
      0x550a9000 - 0x550aafff c-rwx
0009:trace:virtual:NtAllocateVirtualMemory (nil) 00110000 2000 00000040
View: 0x551d0000 - 0x552dffff (anonymous)
      0x551d0000 - 0x552dffff --rwx
0009:trace:virtual:NtAllocateVirtualMemory 0x551d0000 00010000 1000 00000040
0009:trace:virtual:VIRTUAL_SetProt 0x551d0000-0x551dffff c-rwx
View: 0x551d0000 - 0x552dffff (valloc)
      0x551d0000 - 0x551dffff c-rwx
      0x551e0000 - 0x552dffff --rwx
0009:trace:heap:RtlAllocateHeap (0x551d0000,00000002,00000018): returning 551d0098
0009:trace:heap:RtlAllocateHeap (0x551d0000,00000002,00000050): returning 551d00b8
0009:trace:heap:RtlAllocateHeap (0x551d0000,00000002,00000018): returning 551d0110
0009:trace:heap:RtlFreeHeap (0x551d0000,00000002,551d0098): returning TRUE
0009:trace:virtual:NtAllocateVirtualMemory 0x55060000 00049000 81000000 00000080
View: 0x55060000 - 0x550a8fff (anonymous)
      0x55060000 - 0x550a8fff c-rWx
0009:trace:module:load_builtin_callback loaded ntdll.dll 0x551d00b8 0x55060000

More information about the wine-users mailing list