All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amos Kong <akong@redhat.com>
To: "H. Peter Anvin" <hpa@linux.intel.com>
Cc: qemu-devel@nongnu.org, av1474@comtv.ru, kvm@vger.kernel.org,
	"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [PATCH] [RFC] Add support for a USB audio device model
Date: Tue, 14 Sep 2010 09:37:29 +0800	[thread overview]
Message-ID: <20100914013729.GB4221@z> (raw)
In-Reply-To: <4C8E91F9.6020806@linux.intel.com>

On Mon, Sep 13, 2010 at 02:04:57PM -0700, H. Peter Anvin wrote:
> On 09/13/2010 01:53 PM, Amos Kong wrote:
> > 
> > # patch -p1 < /tmp/usb-audio.patch
> > # ./configure
> > ...
> > ...
> > preadv support    yes
> > fdatasync         yes
> > uuid support      no
> > vhost-net support no
> > Trace backend     nop
> > Trace output file trace-<pid>
> > ./configure: 2276: Bad substitution
> > 

Hello Peter,
 
> What shell is your /bin/sh?

dash,
It's fine when using bash, I suggest to use a common way.

I've heard wonderful music (guest:win7), but mixed with a litte noise, not so fluent.
The following debug msg is normal?

# ./x86_64-softmmu/qemu-system-x86_64 ~/win7-32.qcow2 -m 1024 -vnc :0 -usbdevice tablet -cpu qemu64  -enable-kvm -bios pc-bios/bios.bin -net nic,netdev=idkQlbc8,macaddr=02:BB:3A:D3:b8:29 -netdev tap,id=idkQlbc8,ifname=virtio_0_8000,script=/etc/qemu-ifup-vbr0,downscript=no,vhost=on -snapshot -usb -soundhw usb 
usb_create: no bus specified, using "usb.0" for "usb-audio"
usb-audio: reset
usb-audio: control transaction: request 0x0005 value 0x0001 index 0x0000 length 0x0000
usb-audio: control transaction: request 0x8006 value 0x0100 index 0x0000 length 0x0008
usb-audio: control transaction: request 0x8006 value 0x0200 index 0x0000 length 0x0009
usb-audio: control transaction: request 0x8006 value 0x0200 index 0x0000 length 0x0071
usb-audio: reset
usb-audio: reset
usb-audio: control transaction: request 0x8006 value 0x0100 index 0x0000 length 0x0040
usb-audio: reset
usb-audio: control transaction: request 0x0005 value 0x0001 index 0x0000 length 0x0000
usb-audio: control transaction: request 0x8006 value 0x0100 index 0x0000 length 0x0012
usb-audio: control transaction: request 0x8006 value 0x0200 index 0x0000 length 0x00ff
usb-audio: control transaction: request 0x8006 value 0x03ee index 0x0000 length 0x0012
usb-audio: control transaction: request 0x8006 value 0x0303 index 0x0409 length 0x00ff
usb-audio: control transaction: request 0x8006 value 0x0300 index 0x0000 length 0x00ff
usb-audio: control transaction: request 0x8006 value 0x0302 index 0x0409 length 0x00ff
usb-audio: control transaction: request 0x8006 value 0x0600 index 0x0000 length 0x000a
usb-audio: failed control transaction: request 0x8006 value 0x0600 index 0x0000 length 0x000a
usb-audio: control transaction: request 0x8006 value 0x0100 index 0x0000 length 0x0012
usb-audio: control transaction: request 0x8006 value 0x0200 index 0x0000 length 0x0009
usb-audio: control transaction: request 0x8006 value 0x0200 index 0x0000 length 0x0071
usb-audio: control transaction: request 0x0009 value 0x0001 index 0x0000 length 0x0000
usb-audio: control transaction: request 0x010b value 0x0000 index 0x0001 length 0x0000
usb-audio: control transaction: request 0x8006 value 0x0305 index 0x0409 length 0x0004
usb-audio: control transaction: request 0x8006 value 0x0305 index 0x0409 length 0x002c
usb-audio: control transaction: request 0x8006 value 0x0307 index 0x0409 length 0x004a
usb-audio: control transaction: request 0x8006 value 0x0308 index 0x0409 length 0x0004
usb-audio: control transaction: request 0x8006 value 0x0308 index 0x0409 length 0x003e
usb-audio: control transaction: request 0xa181 value 0x0100 index 0x0200 length 0x0001
usb-audio: control transaction: request 0xa181 value 0x0201 index 0x0200 length 0x0002
usb-audio: control transaction: request 0xa182 value 0x0201 index 0x0200 length 0x0002
usb-audio: control transaction: request 0xa183 value 0x0201 index 0x0200 length 0x0002
usb-audio: control transaction: request 0xa184 value 0x0201 index 0x0200 length 0x0002
usb-audio: control transaction: request 0xa181 value 0x0202 index 0x0200 length 0x0002
usb-audio: control transaction: request 0xa182 value 0x0202 index 0x0200 length 0x0002
usb-audio: control transaction: request 0xa183 value 0x0202 index 0x0200 length 0x0002
usb-audio: control transaction: request 0xa184 value 0x0202 index 0x0200 length 0x0002
usb-audio: control transaction: request 0x010b value 0x0000 index 0x0001 length 0x0000
usb-audio: control transaction: request 0x010b value 0x0001 index 0x0001 length 0x0000
usb-audio: set interface 1
usb-audio: control transaction: request 0x010b value 0x0000 index 0x0001 length 0x0000
usb-audio: set interface 0
usb-audio: control transaction: request 0x010b value 0x0001 index 0x0001 length 0x0000
usb-audio: set interface 1
usb-audio: control transaction: request 0x010b value 0x0000 index 0x0001 length 0x0000
usb-audio: set interface 0
usb-audio: control transaction: request 0x010b value 0x0001 index 0x0001 length 0x0000
usb-audio: set interface 1
usb-audio: control transaction: request 0x010b value 0x0000 index 0x0001 length 0x0000
usb-audio: set interface 0
usb-audio: control transaction: request 0x010b value 0x0001 index 0x0001 length 0x0000
usb-audio: set interface 1
usb-audio: control transaction: request 0x010b value 0x0000 index 0x0001 length 0x0000
usb-audio: set interface 0
usb-audio: control transaction: request 0x010b value 0x0001 index 0x0001 length 0x0000
usb-audio: set interface 1
usb-audio: control transaction: request 0x010b value 0x0000 index 0x0001 length 0x0000
usb-audio: set interface 0
usb-audio: control transaction: request 0x010b value 0x0001 index 0x0001 length 0x0000
usb-audio: set interface 1
usb-audio: control transaction: request 0x010b value 0x0000 index 0x0001 length 0x0000
usb-audio: set interface 0
usb-audio: control transaction: request 0x010b value 0x0001 index 0x0001 length 0x0000
usb-audio: set interface 1


WARNING: multiple messages have this Message-ID
From: Amos Kong <akong@redhat.com>
To: "H. Peter Anvin" <hpa@linux.intel.com>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org,
	"H. Peter Anvin" <hpa@zytor.com>
Subject: [Qemu-devel] Re: [PATCH] [RFC] Add support for a USB audio device model
Date: Tue, 14 Sep 2010 09:37:29 +0800	[thread overview]
Message-ID: <20100914013729.GB4221@z> (raw)
In-Reply-To: <4C8E91F9.6020806@linux.intel.com>

On Mon, Sep 13, 2010 at 02:04:57PM -0700, H. Peter Anvin wrote:
> On 09/13/2010 01:53 PM, Amos Kong wrote:
> > 
> > # patch -p1 < /tmp/usb-audio.patch
> > # ./configure
> > ...
> > ...
> > preadv support    yes
> > fdatasync         yes
> > uuid support      no
> > vhost-net support no
> > Trace backend     nop
> > Trace output file trace-<pid>
> > ./configure: 2276: Bad substitution
> > 

Hello Peter,
 
> What shell is your /bin/sh?

dash,
It's fine when using bash, I suggest to use a common way.

I've heard wonderful music (guest:win7), but mixed with a litte noise, not so fluent.
The following debug msg is normal?

# ./x86_64-softmmu/qemu-system-x86_64 ~/win7-32.qcow2 -m 1024 -vnc :0 -usbdevice tablet -cpu qemu64  -enable-kvm -bios pc-bios/bios.bin -net nic,netdev=idkQlbc8,macaddr=02:BB:3A:D3:b8:29 -netdev tap,id=idkQlbc8,ifname=virtio_0_8000,script=/etc/qemu-ifup-vbr0,downscript=no,vhost=on -snapshot -usb -soundhw usb 
usb_create: no bus specified, using "usb.0" for "usb-audio"
usb-audio: reset
usb-audio: control transaction: request 0x0005 value 0x0001 index 0x0000 length 0x0000
usb-audio: control transaction: request 0x8006 value 0x0100 index 0x0000 length 0x0008
usb-audio: control transaction: request 0x8006 value 0x0200 index 0x0000 length 0x0009
usb-audio: control transaction: request 0x8006 value 0x0200 index 0x0000 length 0x0071
usb-audio: reset
usb-audio: reset
usb-audio: control transaction: request 0x8006 value 0x0100 index 0x0000 length 0x0040
usb-audio: reset
usb-audio: control transaction: request 0x0005 value 0x0001 index 0x0000 length 0x0000
usb-audio: control transaction: request 0x8006 value 0x0100 index 0x0000 length 0x0012
usb-audio: control transaction: request 0x8006 value 0x0200 index 0x0000 length 0x00ff
usb-audio: control transaction: request 0x8006 value 0x03ee index 0x0000 length 0x0012
usb-audio: control transaction: request 0x8006 value 0x0303 index 0x0409 length 0x00ff
usb-audio: control transaction: request 0x8006 value 0x0300 index 0x0000 length 0x00ff
usb-audio: control transaction: request 0x8006 value 0x0302 index 0x0409 length 0x00ff
usb-audio: control transaction: request 0x8006 value 0x0600 index 0x0000 length 0x000a
usb-audio: failed control transaction: request 0x8006 value 0x0600 index 0x0000 length 0x000a
usb-audio: control transaction: request 0x8006 value 0x0100 index 0x0000 length 0x0012
usb-audio: control transaction: request 0x8006 value 0x0200 index 0x0000 length 0x0009
usb-audio: control transaction: request 0x8006 value 0x0200 index 0x0000 length 0x0071
usb-audio: control transaction: request 0x0009 value 0x0001 index 0x0000 length 0x0000
usb-audio: control transaction: request 0x010b value 0x0000 index 0x0001 length 0x0000
usb-audio: control transaction: request 0x8006 value 0x0305 index 0x0409 length 0x0004
usb-audio: control transaction: request 0x8006 value 0x0305 index 0x0409 length 0x002c
usb-audio: control transaction: request 0x8006 value 0x0307 index 0x0409 length 0x004a
usb-audio: control transaction: request 0x8006 value 0x0308 index 0x0409 length 0x0004
usb-audio: control transaction: request 0x8006 value 0x0308 index 0x0409 length 0x003e
usb-audio: control transaction: request 0xa181 value 0x0100 index 0x0200 length 0x0001
usb-audio: control transaction: request 0xa181 value 0x0201 index 0x0200 length 0x0002
usb-audio: control transaction: request 0xa182 value 0x0201 index 0x0200 length 0x0002
usb-audio: control transaction: request 0xa183 value 0x0201 index 0x0200 length 0x0002
usb-audio: control transaction: request 0xa184 value 0x0201 index 0x0200 length 0x0002
usb-audio: control transaction: request 0xa181 value 0x0202 index 0x0200 length 0x0002
usb-audio: control transaction: request 0xa182 value 0x0202 index 0x0200 length 0x0002
usb-audio: control transaction: request 0xa183 value 0x0202 index 0x0200 length 0x0002
usb-audio: control transaction: request 0xa184 value 0x0202 index 0x0200 length 0x0002
usb-audio: control transaction: request 0x010b value 0x0000 index 0x0001 length 0x0000
usb-audio: control transaction: request 0x010b value 0x0001 index 0x0001 length 0x0000
usb-audio: set interface 1
usb-audio: control transaction: request 0x010b value 0x0000 index 0x0001 length 0x0000
usb-audio: set interface 0
usb-audio: control transaction: request 0x010b value 0x0001 index 0x0001 length 0x0000
usb-audio: set interface 1
usb-audio: control transaction: request 0x010b value 0x0000 index 0x0001 length 0x0000
usb-audio: set interface 0
usb-audio: control transaction: request 0x010b value 0x0001 index 0x0001 length 0x0000
usb-audio: set interface 1
usb-audio: control transaction: request 0x010b value 0x0000 index 0x0001 length 0x0000
usb-audio: set interface 0
usb-audio: control transaction: request 0x010b value 0x0001 index 0x0001 length 0x0000
usb-audio: set interface 1
usb-audio: control transaction: request 0x010b value 0x0000 index 0x0001 length 0x0000
usb-audio: set interface 0
usb-audio: control transaction: request 0x010b value 0x0001 index 0x0001 length 0x0000
usb-audio: set interface 1
usb-audio: control transaction: request 0x010b value 0x0000 index 0x0001 length 0x0000
usb-audio: set interface 0
usb-audio: control transaction: request 0x010b value 0x0001 index 0x0001 length 0x0000
usb-audio: set interface 1
usb-audio: control transaction: request 0x010b value 0x0000 index 0x0001 length 0x0000
usb-audio: set interface 0
usb-audio: control transaction: request 0x010b value 0x0001 index 0x0001 length 0x0000
usb-audio: set interface 1

  reply	other threads:[~2010-09-14  1:37 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-10 21:47 [PATCH] [RFC] Add support for a USB audio device model H. Peter Anvin
2010-09-10 21:47 ` [Qemu-devel] " H. Peter Anvin
2010-09-11  0:28 ` malc
2010-09-11  0:28   ` [Qemu-devel] " malc
2010-09-11  1:08   ` H. Peter Anvin
2010-09-11  1:08     ` [Qemu-devel] " H. Peter Anvin
2010-09-11  2:47     ` H. Peter Anvin
2010-09-11  2:47       ` H. Peter Anvin
2010-09-11  3:05       ` H. Peter Anvin
2010-09-11  3:05         ` H. Peter Anvin
2010-09-11 13:53         ` malc
2010-09-11 17:09           ` H. Peter Anvin
2010-09-11 13:14     ` Alexander Graf
2010-09-11 13:14       ` [Qemu-devel] " Alexander Graf
2010-09-11 18:29       ` H. Peter Anvin
2010-09-11 18:29         ` [Qemu-devel] " H. Peter Anvin
2010-09-11  7:41 ` Stefan Hajnoczi
2010-09-11  7:41   ` [Qemu-devel] " Stefan Hajnoczi
2010-09-12  5:20   ` H. Peter Anvin
2010-09-12  5:20     ` [Qemu-devel] " H. Peter Anvin
2010-09-13 20:53 ` Amos Kong
2010-09-13 20:53   ` [Qemu-devel] " Amos Kong
2010-09-13 21:04   ` H. Peter Anvin
2010-09-13 21:04     ` [Qemu-devel] " H. Peter Anvin
2010-09-14  1:37     ` Amos Kong [this message]
2010-09-14  1:37       ` Amos Kong
2010-09-14  5:56       ` H. Peter Anvin
2010-09-14  5:56         ` [Qemu-devel] " H. Peter Anvin
2010-10-14 13:51         ` Mike Snitzer
2010-10-14 13:51           ` [Qemu-devel] " Mike Snitzer
2010-10-14 15:40           ` H. Peter Anvin
2010-10-14 15:40             ` [Qemu-devel] " H. Peter Anvin
2010-10-14 16:18             ` Alon Levy
2010-10-14 17:43               ` H. Peter Anvin
2010-09-13 21:07   ` H. Peter Anvin
2010-09-13 21:07     ` [Qemu-devel] " H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100914013729.GB4221@z \
    --to=akong@redhat.com \
    --cc=av1474@comtv.ru \
    --cc=hpa@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.