Author Topic: Best Practice Wine or VirtualBox?  (Read 4437 times)

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Best Practice Wine or VirtualBox?
« Reply #15 on: February 04, 2012, 10:31:09 AM »
Strike 2 and a bunch of fowl balls!

Quote
I would suggest to check that the serial ports are working properly on the host, before trying to use those ports from the guest.

Just how do I check the ports in Linux?

I have read on previous post you have installed a multi I/O card: 2 Serial+1 Parallel, the following command:
Quote
lspci -nn -k
should show how the card is recognized from the kernel, and if and which kernel module is actually driving the card.
This will also tell us exactly which card you are actually using.

To recognize the device node (/dev/tty.....) try:
Code: [Select]
dmesg | grep -i ttyalternatively, look into the virtual file /proc/ioports ...

Quote
Booting the win7 install (not it VB) both ports work and the software!!
Of course, that means the hardware itself is actually working.

Quote
Looks to me link ttyS1 may not be installed.  I don't know how to install it and have not googled anything that makes sense to me.

thanks
eddie

[root@localhost ~]# setserial -g /dev/ttyS[01]
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4, Flags: spd_cust
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3

[root@localhost ~]# dmesg | grep -i tty0
console [tty0] enabled
[root@localhost ~]# dmesg | grep -i tty1
[root@localhost ~]#

see command above: dmesg | grep -i tty (without the final '0' or '1', otherwise you will miss ttyS0 ttyS1 ...
« Last Edit: February 04, 2012, 12:08:54 PM by AS »

Offline eddie

  • Jr. Member
  • **
  • Posts: 11
Re: Best Practice Wine or VirtualBox?
« Reply #16 on: February 04, 2012, 11:11:54 AM »
When I ran this:

Quote
lspci --nn -k

The result was a listing of the menu to use with that command.

Quote
dmesg | grep -i tty

returned this:

Quote
[root@localhost ~]# dmesg | grep -i tty
console [tty0] enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
VirtualBox sets custom speed on ttyS0. This is deprecated.
VirtualBox sets custom speed on ttyS0. This is deprecated.
VirtualBox sets custom speed on ttyS0. This is deprecated.
VirtualBox sets custom speed on ttyS0. This is deprecated.
VirtualBox sets custom speed on ttyS0. This is deprecated.
VirtualBox sets custom speed on ttyS0. This is deprecated.
[root@localhost ~]#

Still no ttyS1 ??

eddie

Linux: A Bucket-List Item!

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Best Practice Wine or VirtualBox?
« Reply #17 on: February 04, 2012, 12:08:27 PM »
When I ran this:

Quote
lspci --nn -k

The result was a listing of the menu to use with that command.

my bad  :(  should have been:
Quote
lspci -nn -k

(original post edited)

Offline eddie

  • Jr. Member
  • **
  • Posts: 11
Re: Best Practice Wine or VirtualBox?
« Reply #18 on: February 04, 2012, 12:47:02 PM »
Here is the result:

Quote
[root@localhost ~]# lspci -nn -k
00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] RS780 Host Bridge [1022:9600]
        Subsystem: Advanced Micro Devices [AMD] RS780 Host Bridge [1022:9600]
00:02.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0) [1022:9603]
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:05.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1) [1022:9605]
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:11.0 SATA controller [0106]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] [1002:4390]
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7596]
        Kernel driver in use: ahci
        Kernel modules: ahci
00:12.0 USB Controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7596]
        Kernel driver in use: ohci_hcd
        Kernel modules: ohci-hcd
00:12.1 USB Controller [0c03]: ATI Technologies Inc SB7x0 USB OHCI1 Controller [1002:4398]
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7596]
        Kernel driver in use: ohci_hcd
        Kernel modules: ohci-hcd
00:12.2 USB Controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7596]
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd
00:13.0 USB Controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7596]
        Kernel driver in use: ohci_hcd
        Kernel modules: ohci-hcd
00:13.1 USB Controller [0c03]: ATI Technologies Inc SB7x0 USB OHCI1 Controller [1002:4398]
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7596]
        Kernel driver in use: ohci_hcd
        Kernel modules: ohci-hcd
00:13.2 USB Controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7596]
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 3c)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7596]
        Kernel modules: sp5100_tco, i2c-piix4
00:14.1 IDE interface [0101]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 IDE Controller [1002:439c]
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7596]
        Kernel driver in use: pata_atiixp
        Kernel modules: pata_atiixp, atiixp
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383]
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7596]
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d]
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7596]
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384]
00:14.5 USB Controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI2 Controller [1002:4399]
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7596]
        Kernel driver in use: ohci_hcd
        Kernel modules: ohci-hcd
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration [1022:1200]
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor Address Map [1022:1201]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller [1022:1202]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control [1022:1203]
        Kernel driver in use: k10temp
        Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor Link Control [1022:1204]
01:00.0 VGA compatible controller [0300]: nVidia Corporation GF108 [GeForce GT 430] [10de:0de1] (rev a1)
        Subsystem: eVga.com. Corp. Device [3842:1431]
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia-current, nvidia173, nvidiafb
01:00.1 Audio device [0403]: nVidia Corporation GF108 High Definition Audio Controller [10de:0bea] (rev a1)
        Subsystem: eVga.com. Corp. Device [3842:1431]
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
        Subsystem: Micro-Star International Co., Ltd. Device [1462:7596]
        Kernel driver in use: r8169
        Kernel modules: r8169
[root@localhost ~]#
Linux: A Bucket-List Item!

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Best Practice Wine or VirtualBox?
« Reply #19 on: February 04, 2012, 01:04:41 PM »
To prevent conflicts I installed a multi I/O pci card with 2 serial ports and 1 parallel port.

Quote
Are your devices plugged directly into the ports, or are you using a hub?

The devices connect to the ports on the multi I/O card.

Hmmm ... I'm unable to see the multi I/O PCI card from your lspci list ...

brand/model ?

Offline eddie

  • Jr. Member
  • **
  • Posts: 11
Re: Best Practice Wine or VirtualBox?
« Reply #20 on: February 04, 2012, 01:54:03 PM »
The card is OEM with 2 fixed serial ports and the LPT1 is attached by a cable and monuted to the pc case.  I did not hook up the LPT1 cable adapter.  The driver cd is labled as "Driver CD-ROM version 13"

Went back and checked the Win 7 device list and Com2 is missing.

Ran sfc /scannow and it reports that I have corupted files it can not fix.  Running 2 pass now.

Got the same results again.  recommends re-stall of windows.  Glad this is not my primary machine.
eddie
« Last Edit: February 04, 2012, 01:59:01 PM by eddie »
Linux: A Bucket-List Item!

Offline eddie

  • Jr. Member
  • **
  • Posts: 11
Re: Best Practice Wine or VirtualBox?
« Reply #21 on: February 04, 2012, 04:05:01 PM »
I will pick this up later. 

IF IT AIN'T BROKE - DON'T FIX IT was never so true

Thanks
eddie
Linux: A Bucket-List Item!