From 6a96f8a81a27e2019c56b7a2a2fc6e29db4c0aae Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 6 Sep 2012 10:55:37 +0000 Subject: (get_tty_device) fix device path for "cdc_acm" (mga#3841) --- NEWS | 2 ++ lib/network/connection/cellular_card.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 0784bbd..c7801d8 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- fix device path for "cdc_acm" (mga#3841) + 1.15.1: - remove invalid character in source code that makes drakx-net tools crash diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm index c68b3a2..d879b19 100644 --- a/lib/network/connection/cellular_card.pm +++ b/lib/network/connection/cellular_card.pm @@ -98,7 +98,7 @@ sub get_tty_device { $self->get_driver eq "nozomi" ? "/dev/noz" . $tty_interface : $self->get_driver eq "cdc_acm" ? - "/dev/ttyACM" . $tty_interface : + "/dev/ttyACM0" . $tty_interface : $self->get_driver eq "hso" ? "/dev/ttyHS" . $tty_interface : "/dev/ttyUSB" . $tty_interface; -- cgit v1.2.1