VirtualBox

Opened 11 years ago

Closed 8 years ago

#12157 closed defect (obsolete)

cdc_acm disconnect and reconnect

Reported by: sette Owned by:
Component: other Version: VirtualBox 4.2.18
Keywords: usb serial Cc:
Guest type: Windows Host type: Linux

Description (last modified by aeichner)

Hi, I have a Dell Poweredge with Debian Squeeze 64 bit and kernel 3.2.0-0.bpo.2-amd64 (host). I've tried with both virtualbox-4.2_4.2.18-88780~Debian~squeeze_amd64 and virtualbox-4.1_4.1.26-84997~Debian~squeeze_amd64 but same problem. Windows XP Professional as guest.

I've connected an Arduino Leonardo to the usb of Linux Host. Here it creates two input HID devices and one serial (/dev/ttyACM0) managed by cdc_acm module.

I connect it via serial port of Windows guest (Com1, Host Device, /dev/ttyACM0), but when i start the guest (just after Windows xp screen appears) the host disconnect the usb device and then reconnects it. But in this case ttyACM0 is busy by VB and udev create new device as /dev/ttyACM1. Obviously in windows guest if i connect to COM1 I have no response (it is attached to an actually inexistent device, ttyACM0).

Here is extract from /var/log/syslog after guest starting:

Oct  4 08:47:41 esxi kernel: [43501.099490] device eth0 left promiscuous mode
Oct  4 08:47:42 esxi kernel: [43501.868198] vboxnetflt: dropped 0 out of 15419 packets
Oct  4 08:48:11 esxi kernel: [43530.368526] device eth0 entered promiscuous mode
Oct  4 08:48:17 esxi kernel: [43537.233623] usb 2-4: USB disconnect, device number 41
Oct  4 08:48:18 esxi kernel: [43537.744032] usb 2-4: new full-speed USB device number 42 using ohci_hcd
Oct  4 08:48:18 esxi kernel: [43537.957038] usb 2-4: New USB device found, idVendor=2341, idProduct=0036
Oct  4 08:48:18 esxi kernel: [43537.957042] usb 2-4: New USB device strings: Mfr=2, Product=1, SerialNumber=0
Oct  4 08:48:18 esxi kernel: [43537.957045] usb 2-4: Product: Arduino Leonardo
Oct  4 08:48:18 esxi kernel: [43537.957048] usb 2-4: Manufacturer: Arduino LLC
Oct  4 08:48:18 esxi kernel: [43537.960202] cdc_acm 2-4:1.0: ttyACM1: USB ACM device
Oct  4 08:48:25 esxi kernel: [43545.330102] usb 2-4: USB disconnect, device number 42
Oct  4 08:48:26 esxi kernel: [43545.784024] usb 2-4: new full-speed USB device number 43 using ohci_hcd
Oct  4 08:48:26 esxi kernel: [43546.006027] usb 2-4: New USB device found, idVendor=2341, idProduct=8036
Oct  4 08:48:26 esxi kernel: [43546.006032] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct  4 08:48:26 esxi kernel: [43546.006035] usb 2-4: Product: Arduino Leonardo
Oct  4 08:48:26 esxi kernel: [43546.006037] usb 2-4: Manufacturer: Arduino LLC
Oct  4 08:48:26 esxi kernel: [43546.009152] cdc_acm 2-4:1.0: This device cannot do calls on its own. It is not a modem.
Oct  4 08:48:26 esxi kernel: [43546.012843] cdc_acm 2-4:1.0: ttyACM1: USB ACM device
Oct  4 08:48:26 esxi kernel: [43546.027148] input: Arduino LLC Arduino Leonardo as /devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.2/input/input35
Oct  4 08:48:26 esxi kernel: [43546.027422] generic-usb 0003:2341:8036.0021: input,hidraw0: USB HID v1.01 Mouse [Arduino LLC Arduino Leonardo] on usb-0000:00:02.0-4/input2

Have you got any idea? thanks

Change History (1)

comment:1 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use