1.4 KVM reboot USB problem

tesquenure

Member
Aug 18, 2009
109
1
16
Hi all,

A USB fax/modem works fine with a linux VM in KVM.
Just if i reboot the VM the USB disappear in the VM.
If i stop (web proxmox) or poweroff (VNC) and start VM all be fine.

is that a known bug?

Regards,

Tesquenure
 
Hi Nick,

Code:
less /etc/qemu-server/107.conf

name: hylafax
smp: 1
vlan0: rtl8139=96:C9:D5:AD:07:9D
ostype: l26
memory: 512
onboot: 0
description: 192.168.1.113<br>hylafax
boot: ca
freeze: 0
cpuunits: 1000
acpi: 1
kvm: 1
ide0: vm-107-disk.qcow2
bootdisk: ide0
hostusb: 0baf:0303
/etc/qemu-server/107.conf (END)

I gona try with an USB HDD

Regards,
Tesquenure
 
Step 1: Identify USB; You can use the 'hostusb' option:Step 2: To pass through an host usb device use:
qm set <vmid> --hostusb vendor_id : product_id
for example, to pass through the following device to VM 107 (your machine):
qm set 107 --hostusb 0baf:0303
Step 3: You need to start/stop the VM to apply the settings.

PS: for Hylafax be 100% procent that your modem is recognized by fax system. My only success with hylafax was on COM2 modems or PCI...not with USB modems. Please, if you configure this fax server with a USB modem, post the MODEM model (with USB ID) and what was your steps... Thank you!
 
Last edited:
hi Nick,

I already done all thats steps, and hylafax works fine with this USB U.S. Robotics
fax/modem.
After the 1st start/stop all works fine.
After all start/stop all works fine.
Just if i reboot the VM, USB desappears in the VM.
Then i have to start/stop again.

VM -> KVM SME 7.4 (base on centos)

Regards
Tesquenure
 
Last edited: