Re: [vbox-dev] [PATCH resend] VBoxGuest.h Fix VBGL_IOCTL_WAIT_FOR_EVENTS definition

2017-10-03 Thread Michael Thayer
Hello Hans,

Terribly sorry.  I admit that I never got round to looking at this, but
it does looks very sensible.  Just doing a sanity build now before I
push it to our internal repository, and I will make it publicly visible
as soon after that as I have a stable Internet connection.

Regards
Michael

03.10.2017 09:50, Hans de Goede wrote:
> The size argument to VBGL_IOCTL_CODE_SIZE should be
> VBGL_IOCTL_WAIT_FOR_EVENTS_SIZE. This fixes VBGL_IOCTL_WAIT_FOR_EVENTS
> always failing with EINVAL. Which in turn fixes seamless mode not
> working under Linux.
> 
> Signed-off-by: Hans de Goede 
> ---
>  include/VBox/VBoxGuest.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/VBox/VBoxGuest.h b/include/VBox/VBoxGuest.h
> index 28313e4e..9283a15d 100644
> --- a/include/VBox/VBoxGuest.h
> +++ b/include/VBox/VBoxGuest.h
> @@ -387,7 +387,7 @@ typedef struct VBGLIOCLOG
>   * Wait for a VMMDev host event notification.
>   * @{
>   */
> -#define VBGL_IOCTL_WAIT_FOR_EVENTS  VBGL_IOCTL_CODE_SIZE(10, 
> VBGL_IOCTL_GET_VMMDEV_IO_INFO_SIZE)
> +#define VBGL_IOCTL_WAIT_FOR_EVENTS  VBGL_IOCTL_CODE_SIZE(10, 
> VBGL_IOCTL_WAIT_FOR_EVENTS_SIZE)
>  #define VBGL_IOCTL_WAIT_FOR_EVENTS_SIZE 
> sizeof(VBGLIOCWAITFOREVENTS)
>  #define VBGL_IOCTL_WAIT_FOR_EVENTS_SIZE_IN  
> sizeof(VBGLIOCWAITFOREVENTS)
>  #define VBGL_IOCTL_WAIT_FOR_EVENTS_SIZE_OUT 
> RT_UOFFSET_AFTER(VBGLIOCWAITFOREVENTS, u.Out)
> 

-- 
Michael Thayer | VirtualBox engineer
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | D-71384 Weinstadt

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister
der Handelskammer Midden-Nederland, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
___
vbox-dev mailing list
vbox-dev@virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev


Re: [vbox-dev] No Audio Hardware in Guest

2017-10-03 Thread Larry Finger

On 10/03/2017 03:53 AM, Jan-Peter Rühmann wrote:

Hello

Since the last Update of VB my Windows7 Guest can´t find any Audio Hardware.
The Statusbar Shows that Audio is on for in and output
I´ve tried the Configuration for ALSA and PULSEAUDIO for all three alternatives 
(intel HD, ICH97, SoundBlaster) But nothing works.

I´ve created a Bug report, but nothing happens.
Anyone have an Idea?


I have no help for you as my Windows 7 32-bit Guest with PulseAudio as the host 
driver, and Intel HD Audio as the Controller works fine. My host is 64-bit 
openSUSE Tumbleweed with kernel 4.14.0-rc2, and VB version 5.1.28.


The command 'lspci -nn' shows the following audio hardware listings:
Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD 
Audio Controller [8086:0c0c] (rev 06)
PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI 
Express Root Port #7 [8086:8c1c] (rev d4)


Larry


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


[vbox-dev] No Audio Hardware in Guest

2017-10-03 Thread Jan-Peter Rühmann

  
  
Hello

Since the last Update of VB my Windows7 Guest can´t find any Audio
Hardware.
The Statusbar Shows that Audio is on for in and output
I´ve tried the Configuration for ALSA and PULSEAUDIO for all three
alternatives (intel HD, ICH97, SoundBlaster) But nothing works.
I´ve created a Bug report, but nothing happens.
Anyone have an Idea?

Thanks
-- 
  -=== Jan-Peter Rühmann & Kuma ===-
 Gubkower Str.7   [ Tel.:  +49 (38205) 65484 (Privat) ] Mail: jan-pe...@ruehmann.name
 18195 Cammin [ Tel.:  +49 (38205) 65215 (Firma)  ] Web: http://www.ruehmann.name
 Deutschland  [ FAX:   +49 (38205) 65212  ]  
  [ Mobil: +49 (162) 1316054  ] Beruf:IT-Servicetechniker
 ICQ: 288192920 Ring: JPRuehmann  WhatsApp: 491621316054 Twitter: @JPRuehmann
--
  Die Verwendung der Daten zu Werbezwecken ist verboten.

  --

  




signature.asc
Description: OpenPGP digital signature
___
vbox-dev mailing list
vbox-dev@virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev


[vbox-dev] [PATCH resend] VBoxGuest.h Fix VBGL_IOCTL_WAIT_FOR_EVENTS definition

2017-10-03 Thread Hans de Goede
The size argument to VBGL_IOCTL_CODE_SIZE should be
VBGL_IOCTL_WAIT_FOR_EVENTS_SIZE. This fixes VBGL_IOCTL_WAIT_FOR_EVENTS
always failing with EINVAL. Which in turn fixes seamless mode not
working under Linux.

Signed-off-by: Hans de Goede 
---
 include/VBox/VBoxGuest.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/VBox/VBoxGuest.h b/include/VBox/VBoxGuest.h
index 28313e4e..9283a15d 100644
--- a/include/VBox/VBoxGuest.h
+++ b/include/VBox/VBoxGuest.h
@@ -387,7 +387,7 @@ typedef struct VBGLIOCLOG
  * Wait for a VMMDev host event notification.
  * @{
  */
-#define VBGL_IOCTL_WAIT_FOR_EVENTS  VBGL_IOCTL_CODE_SIZE(10, 
VBGL_IOCTL_GET_VMMDEV_IO_INFO_SIZE)
+#define VBGL_IOCTL_WAIT_FOR_EVENTS  VBGL_IOCTL_CODE_SIZE(10, 
VBGL_IOCTL_WAIT_FOR_EVENTS_SIZE)
 #define VBGL_IOCTL_WAIT_FOR_EVENTS_SIZE 
sizeof(VBGLIOCWAITFOREVENTS)
 #define VBGL_IOCTL_WAIT_FOR_EVENTS_SIZE_IN  
sizeof(VBGLIOCWAITFOREVENTS)
 #define VBGL_IOCTL_WAIT_FOR_EVENTS_SIZE_OUT 
RT_UOFFSET_AFTER(VBGLIOCWAITFOREVENTS, u.Out)
-- 
2.14.2

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