From b06a0dc9eef7be3d3cfa2712f152a8a3c22326e0 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 14 May 2008 18:45:04 +0000 Subject: use ttyHS0 as modem device for hso devices --- lib/network/connection/cellular_card.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm index 7428dd1..8dd1744 100644 --- a/lib/network/connection/cellular_card.pm +++ b/lib/network/connection/cellular_card.pm @@ -48,6 +48,8 @@ sub get_tty_device { "/dev/noz0" : $self->get_driver eq "cdc_acm" ? "/dev/ttyACM0" : + $self->get_driver eq "hso" ? + "/dev/ttyHS0" : "/dev/ttyUSB0"; } -- cgit v1.2.1