search for: initialize_device

Displaying 4 results from an estimated 4 matches for "initialize_device".

2015 Oct 23
0
USB audio issues with 6.7
...ice #0 card 1: DAC [USB Audio DAC], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 but when he tries to connect to it, like with this test command... $ mpg123 -a hw:1,0 /audio/36790.mp3 Playing MPEG stream 1 of 1: 36790.mp3 ... [alsa.c:118] error: initialize_device(): cannot set hw params [audio.c:643] error: failed to open audio device [mpg123.c:547] error: failed to reset audio device: Broken pipe and I noted some kernel errors in dmesg... usb 1-1: cannot submit urb 0, error -22: internal error usb 1-1: cannot submit urb 0, error -22: internal e...
2009 Jun 19
2
[PATCH/RFC] virtio_test: A module for testing virtio via userspace
...ted = 1; + spin_unlock(&vtvq->vq_lock); + wake_up_interruptible(&vtvq->waithead); + + while (atomic_read(&vtest->ref)) + schedule(); + } + + free_virtqueue_list(vtest->vdev, &vtest->vq_list); + vtest->vdev->config->reset(vtest->vdev); +} + +static int initialize_device(struct viotest_dev *vtest) +{ + int err = 0; + + atomic_set(&vtest->ref, 0); + + err = recv_virtqueue_list(vtest); + + return err; +} + + +static int viotest_probe(struct virtio_device *vdev) +{ + int err = 0; + struct viotest_dev *vtest = NULL; + + vtest = kzalloc(sizeof(struct viotest_dev)...
2009 Jun 19
2
[PATCH/RFC] virtio_test: A module for testing virtio via userspace
...ted = 1; + spin_unlock(&vtvq->vq_lock); + wake_up_interruptible(&vtvq->waithead); + + while (atomic_read(&vtest->ref)) + schedule(); + } + + free_virtqueue_list(vtest->vdev, &vtest->vq_list); + vtest->vdev->config->reset(vtest->vdev); +} + +static int initialize_device(struct viotest_dev *vtest) +{ + int err = 0; + + atomic_set(&vtest->ref, 0); + + err = recv_virtqueue_list(vtest); + + return err; +} + + +static int viotest_probe(struct virtio_device *vdev) +{ + int err = 0; + struct viotest_dev *vtest = NULL; + + vtest = kzalloc(sizeof(struct viotest_dev)...
2013 Sep 26
22
Status of FLR in Xen 4.4
Hi everyone, I would like to ask what the current status of FLR, or better of FLR emulation is in latest Xen and if we can expect better support in the future. I''m asking because with xl (latest build and traditional qemu, not upstream), I always had problems with rebooting domUs which have vga cards passed through to them, because appearently they don''t get reinitialized and