[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vbox-dev
Subject:    [vbox-dev] How to add sample device or customized device to VM
From:       Hank Chiang <hankchiang717 () gmail ! com>
Date:       2013-07-23 7:39:38
Message-ID: CAEuzj4SKRccXJqNuOLRg6869jT=0t101ySxiDzi9-RAC3H5DVQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

I am trying to add the sample device (VBoxSampleDevice.cpp) to VM.

I add *"include $(PATH_SUB_CURRENT)/Samples/Makefile.kmk"* in the makefile
which is in */src/VBox/Devices*, and then the *VBoxSampleDevice.dll* and *
VBoxSampleDriver.dll* are generated in */out/win.x86/release/obj*. However,
I can't find the sample device in Guest OS.

I think maybe some things I missed. Can someone instruct me how to add
devices in VM *step by step*?

-- 
*Best Regards*
*Hank*

[Attachment #5 (text/html)]

<div dir="ltr"><font face="verdana, sans-serif">Hello,</font><div><font \
face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">I \
am trying to add the sample device (VBoxSampleDevice.cpp) to VM. </font></div> \
<div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, \
sans-serif">I add <b>&quot;<i>include \
$(PATH_SUB_CURRENT)/Samples/Makefile.kmk</i>&quot;</b> in the makefile which is in \
<i>/src/VBox/Devices</i>, and then the <b><i>VBoxSampleDevice.dll</i></b> and \
<b><i>VBoxSampleDriver.dll</i></b> are <span \
style="color:rgb(0,0,0);font-size:13px;white-space:nowrap">generated in \
<i>/out/win.x86/release/obj</i>. However, I can&#39;t find the sample device in Guest \
OS. </span></font></div> <div><span \
style="color:rgb(0,0,0);font-size:13px;white-space:nowrap"><font face="verdana, \
sans-serif"><br></font></span></div><div><span \
style="color:rgb(0,0,0);font-size:13px;white-space:nowrap"><font face="verdana, \
sans-serif">I think maybe some things I missed. Can someone instruct me how to add \
devices in VM <b>step by step</b>?</font></span></div> <div><div><br></div>-- \
<br><div style="text-align:left"><i><span style="font-size:large"><font \
face="&#39;comic sans ms&#39;, sans-serif">Best Regards</font></span></i></div><div \
style="text-align:left"><i><span style="font-size:large"><font face="&#39;comic sans \
ms&#39;, sans-serif">Hank</font></span></i></div>

</div></div>



_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic