Image

Imagenowinter wrote in Imagelinux

linux within windows, naturally

Hi people. I need some help from those who are familiar with either coLinux or andLinux. I'm widely using coLinux to run my gentoo system from windows. coLinux, however, lacks some features now, e.g. sound support. I started to think how could I "broadcast" the sound from coLinux to Windows when I suddenly discovered andLinux. andLinux (which is Debian-based in Linux part and has somewhat coLinux core in Windows) does claim to support sound, as far as I could understand from its configuration (see below), through a (networked, slirp by default, or WinTap advancedly) sound-server. Now the question: how can I organize such a feature in my gentoo? I'm anyway using CygWin for X when I run coLinux.

What one can see in andLinux:

andLinux settings_static file:

mem=128
root=/dev/cobd0
kernel=vmlinux
exec0="xming\Xming.exe",":0 -bs -clipboard -notrayicon -c -multiwindow -reset -terminate -unixkill"
exec1="sound\esd","-tcp -public"
cobd0=Drives\base.drv
cobd1=Drives\swap.drv
cobd2=Old\base.drv
cobd3=Devs\gp2x.drv
cobd4=\Device\Cdrom0
cobd5=\Device\Floppy0
#eth0=slirp,"",tcp:5901:5901/tcp:7100:7100/tcp:22:22/tcp:21:21/tcp:137:137/tcp:138:138/tcp:139:139/tcp:1000:1000/tcp:5000:5000/tcp:1001:1001/tcp:5001:5001
eth0=tap
#eth0=tuntap

the marked line refers to Sound folder, which contains the following files:

cygaudiofile-0.dll
cygesd-0.dll
cygwin1.dll
esd.exe
esdcat.exe
esdctl.exe
esdfilt.exe
esdloop.exe
esdmon.exe
esdplay.exe
esdrec.exe
esdsample.exe

parts from colinux's settings xml file (i removed the tagging):


This line needs to point to your root file system.
block_device index="0" path="\DosDevices\c:\coLinux\root_fs" enabled="true"

This line can specify a swap file if you wish

block_device index="1" path="\DosDevices\c:\coLinux\swap_device" enabled="true"

This is an experimental feature, it may not function completely.
cofs_device index="0" type="flat" path="\DosDevices\C:\" enabled="true"


bootparams allows you to pass kernel boot parameters
bootparams root=/dev/cobd0 /bootparams

Initial RamDISK (initrd) support
initrd path="initrd.gz"

image allows you to specify the kernel to boot
image path="vmlinux"

this line allows you to specify the amount of memory available
to coLinux
memory size="64"

This allows you to modify networking parameters, see the README
or website or wiki for more information
network index="0" type="tap"



------------------------------------------------
I didn't run it yet, I mean, andLinux, but it seems quite similar with its (external) settings to coLinux, except the sound part and the fact coLinux doesn't use any ported Xserver by default. I believe I could get into it and realise how the esd is used within its Debian part, but I'm pretty unfamiliar with Debian particularly. So please turn me to the right direction. Do you think its anyway possible? I mean, redirecting all the sound through a network interface and catch it flawlessly in windows without any specially-formatted slots?