Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

unRAID 6 beta 10 using Xen and running Win 8 vm USB to Serial or COM passthrough

Featured Replies

I have unRAID 6 beta 10 and I have a Windows 8 virtual machine running.  I am already doing USB passthrough for my LaserJet 1012 and it all works beautifully.  My issue is my FTDI USB-to-Serial passthrough is not working.  After I set it up, my host machine does not see this USB device at all, so I can't install drivers for it.  I even tried serial = '/dev/ttyUSB0' with no-go.  This is an HVM.

 

Anybody can shed any light?  Thanks!!!

  • Community Expert

I am confused?    If you are doing pass-thru then I would expect the USB to be handled via the VM and not the host.

Hi

 

How are you doing passthrough, via discrete USB passthrough or PCI passthrough of the USB controller?

 

Can you share your VM config file as well as the output of LSUSB and LSPCI?

 

Thanks

You never need to install drivers on your host.  Only the guest.  Are you passing through the USB devices individually or the entire USB controller?

 

Edit:  just saw meep beat me to the same question...

 

  • Author

I found out my problem.  My specific USB-to-Serial is not Windows 8 compatible  :-O    I feel like a dumbass...  LOL

 

It worked on a Windows 7 VM.  So time to get a new adapter!  I was using individual USB, not the controller passthrough.

  • Author

Problem is still not solved.  Tired 4 different USB-to-Serial adapters and my host machine does not see any of them.  I need a Win8 VM...

 

Tried:

 

1. PL2303

2. FTDI232R

3. PalmConnect (first one that didn't work)

 

Does anybody know of a good one to use?  The first 2 work on unRAID, I see a /dev/ttyUSB0 but how can I passthrough a serial connection?

 

Thanks!

  • Author

Forgot to add my .cfg file:

 

builder = 'hvm'
vcpus = '4'
memory = '2010'
device_model_version="qemu-xen-traditional"
disk = [
        'file:/mnt/cache/custom/Windows8.img,hda,w',
#        'phy:/dev/vg1/winDATA,hdb,w',
#        'file:/mnt/user0/Data/Install/Operating Systems/Windows/Win8_x64/Win8Pro-x64-en-US_Jan2013.iso,hdc:cdrom,r'
]
name = 'Windows8'
vif = [ 'mac=00:16:3e:31:d5:4b,bridge=br0,model=e1000' ]
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
boot = 'dc'
acpi = '1'
apic = '1'
viridian = '1'
xen_platform_pci='1'
sdl = '0'
vnc = '1'
vnclisten = '192.168.25.2'
vncdisplay = '1'
vncpasswd = 'xxxxxxxx'
stdvga = '0'
usb = '1'
usbdevice = ['tablet','host:067b:2303','host:03f0:0d17']
#pci = ['01:00.0','01:00.1','00:1d.0']

 

I even tried adding the "usbdevice" on their own lines, no change...

 

Here is my "lsusb" from my unRAID box:

 

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0930:6544 Toshiba Corp. Kingston DataTraveler 2.0 Stick (2GB)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 011: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 007: ID 03f0:0d17 Hewlett-Packard LaserJet 1012
Bus 003 Device 003: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 003 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

  • Author

Bump - Nobody knows of any Windows 8 compatible USB-to-serial adapters I can use under XEN/Windows 8 VM?

Bump - Nobody knows of any Windows 8 compatible USB-to-serial adapters I can use under XEN/Windows 8 VM?

No clue about the XEN part, but the tripplite keyspan is kind of the gold standard for compatibility. If that model doesn't work, I'd be surprised.
  • Author

Thank you!  Ordering one, will report back once I get it.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.