Re: /dev/ttyACM0 vanished

Athanasios Silis <[email protected]> Wed, 27 Jul 2016 15:47:42 +0300
Newsgroups gmane.linux.drivers.gnokii
Message-ID <CADgchnu+cFjB-PCnLUaRw5urARtAB31h38eFwVN=vgAnHoax2g@mail.gmail.com>
I am a bit confused about where you are, where the pc with the phone and
the vm is and where there sysadmins are.
I will also say that you make have better chance asking about this in the
user forums of your VM (vmware? virtualbox? other?) . The fact is that if
the CentOs does not show  a /dev/ttyACM0 then its probably because one is
not attached -virtually- to this VM. It is definitely NOT a gnokii error.

Having said that, I am using virtualbox for my VMs and in order for the USB
device to be forwarded to the VM clients , one must -through the VM
configuration manager - tell that they want the specific usb device should
be forwarded to a specific client. Yo u can even automate that so that
everytime the VM restarts the specific usb device will always be forwarded.
If you're missing the /dev/ttyACM0 I strongly suggest you focus your
investigation on the usb settings of the VM config manager. In Virtualbox :
select client VM -> right click and goto settings -> select tab "usb" on
the left panel -> add device (small icon with a blue plus sign).


On Wed, Jul 27, 2016 at 2:46 PM, Warren Burstein <[email protected]>
wrote:

> I've got a phone (--identify says it's a Nokia X3-02, V 05.65), it's
> connected to a virtual machine running CentOS 6.8.  I'm nowhere near it and
> I don't have details of the virtual machine but I know they need to tell
> the VM configuration manager to make the USB port available to the VM
> running CentOS.  It's been sending hundreds of texts a day for about a year
> (we're not spamming, a;l texts go to our own employees)
>
> Last night it started generating error messages that it couldn't open
> /dev/ttyACM0
>
> Initializing AT capable mobile phone ...
> Serial device: opening device /dev/ttyACM0
> Gnokii serial_open: open: No such file or directory
> Couldn't open ATBUS device: No such file or directory
>
> I checked, and the device file was missing.  I asked people at the place
> where this is located to take a look, the phone was on and connected and
> the VM manager showed it (and identified it as a Nokia), but since they
> couldn't find anything wrong they replaced the USB cable and rebooted (I'm
> not sure if they rebooted the real machine or the virtual one) and it's OK
> now.
>
> Has anyone else run into a device vanishing while a phone is plugged in
> and on?
>
> PS I'd set something up to urgently notify the sysadmins about a
> recurrence of this, but that's what this phone is used for ....
>
> _______________________________________________
> gnokii-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/gnokii-users
>
>

_______________________________________________
gnokii-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/gnokii-users