Menu

#26 Pretend Linux Drive to Access Windows Driver

open
nobody
None
5
2005-03-27
2005-03-27
frog-o
No

Even tho I don't know if this is posible but wood think
so. I would like to see specail Drivers setup in linux
So it could handle All Windows hardware. For example
Make a Linux driver call soundcard.o and have it us
(directx) to produce sound in linux that is ran on a
windows port of colinux.

.

Discussion

  • George P Boutwell

    Logged In: YES
    user_id=30412

    All Windows Hardware will be tough to accomplish. Some
    pretty near goals of the project is to add Graphics and
    Sound handling, obvoiusly support of Graphics means mouse
    support as well... Other hardware, such as serial, or USB
    support (other than that which can be done using coFS -
    coLinux's Host FileSystem) is probably a lot futher off.

     
  • Xuefer

    Xuefer - 2005-08-16

    Logged In: YES
    user_id=185131

    but isn't "UNIX meta data mode" for cofs more usage? (better
    compatible with cygwin)
    gui/sound is fun but not too much, as we're already in
    Windows GUI. and it's why you use colinux "on windows",
    not a native linux windows

     
  • Nobody/Anonymous

    Logged In: NO

    I'm a little late on writing this I know, I just don't feel like write
    alot again and again to try disribe my idea to you and still
    have you confused. I just not good at discrbing thing Sorry.
    People not understanding me is what tippically happen when
    i ask for a feature request.

    Please note I use cappital to highlight below I'm not Yelling.

    From my prev. replys
    >>>"but isn't "UNIX meta data mode" for cofs more usage?"
    >>> (better compatible with cygwin)

    what is "UNIX meta data mode" ? can you please give me a
    link to more info. and what dose cygwin have anything to do
    with colinux drivers. I useing colinux because I hate cygwin
    and there stupid install system.

    >>>>All Windows Hardware will be tough to accomplish.

    Can you please Tell me why. I would realy like to here why
    be a bit micro scopic programer my self.

    >>>>Some pretty near goals of the project is to add
    >>>>Graphics and Sound handling, obvoiusly support of
    >>>>Graphics means mouse

    I thought mouse support was part of directX as well as
    windows video in case you do get what i say I try to say it
    again in a different way.

    When you run Colinux.exe
    Is there away to send windows api call from inside the
    running linux system?

    I know with UML(user mode linux) it can detect itself runig on
    another linux system so I imagin you can do it with colinux
    but detect it running a windows system. I'm thinking Buy
    patching the Kernel you might be able to said them WIN API
    FUCTION CALL but I never look at the kernel source to know
    and probbly never will becuase it far above my head.

    If this could be done I would imagin Linux drive for
    mouse,keyboad,Joystick ect would be easy to make just
    have it use the directX API.

    I know this might sound far fetch, and May be blow way out
    of poportion. I know notthing about the kernel or the write
    drivers for linux system. That the reson i had to check buy
    write this feature reqest. I Thought with someone with the
    proper knowage this might be an easy task and would like to
    know if it was not.

     
  • Nuno Lucas

    Nuno Lucas - 2005-09-29

    Logged In: YES
    user_id=155582

    > what is "UNIX meta data mode" ?

    It will be a new mode for cofs, similar to the way cygwin does.
    It will allow symlinks and user/group/other permissions,
    special files like in /dev, etc, like in a real linux system.

    The final objective would be to allow colinux to mount a
    windows directory and boot from it.

    Now the thruth is that it isn't implemented it yet, but it's
    in the idea beyond cofs.

    >>>>All Windows Hardware will be tough to
    accomplish.

    > Can you please Tell me why. I would realy like to here why
    > be a bit micro scopic programer my self.

    CoLinux kernel runs in Ring 0, but it can't touch the
    hardware or the probable outcome is a computer crash
    (because windows thinks it's the only one using the hardware
    directly).

    Implementing a generic virtual hardware layer that "talks"
    to windows is something that falls into a true
    virtualization scheme, most probably affecting the colinux
    performance (and a very hard work to acomplish).

    > When you run Colinux.exe Is there away to send windows
    api call from inside the running linux system?

    No. CoLinux kernel and user programs think they are in a
    native linux system (and have no way of knowing it isn't true) .

    > I know with UML(user mode linux) it can detect itself
    runig on
    > another linux system so I imagin you can do it with colinux
    > but detect it running a windows system. I'm thinking Buy
    > patching the Kernel you might be able to said them WIN API
    > FUCTION CALL but I never look at the kernel source to know
    > and probbly never will becuase it far above my head.

    CoLinux kernel runs in Ring 0, and no way to directly call
    any windows function. All it can do is send a message to the
    colinux windows kernel driver and request it to call some
    function for him (but that involves a context switch from
    linux mode to windows mode).

    You don't need any DirectX to use the keyboard & mouse.
    Basic Win32 API is enough. And remember DirectX is a COM
    interface. You can't use it in kernel mode.

     
  • Nobody/Anonymous

    Logged In: NO

    Thank alot Nuno Lucas for your reply,even though i still have
    a little hard time under standing it, it help me out a lot. It
    dose tell me i got to look into more detail of the cofs(wich
    would probbly help me understand things a bit better). I
    thought that cof was just to access your hard drive in colinux.
    But if i understand what you wrote you are work on it to make
    it do more than that.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.