2010/10/19 Ma Begaj derliebeg...@gmail.com:
Hi,
I have here an another modem, Option Globetrotter GX0301 PCMCIA. It
uses hso module and it is not visible by NetworkManager.
My user is in dialout group (/dev/ttyHS* devices belong to dialout).
Am I missing something here? Here is the data I have ...
Thanks
r...@x22:/home/mb# ls -l /dev/ttyHS*
crw-rw 1 root dialout 250, 0 2010-10-19 14:55 /dev/ttyHS0
crw-rw 1 root dialout 250, 1 2010-10-19 14:55 /dev/ttyHS1
crw-rw 1 root dialout 250, 2 2010-10-19 14:55 /dev/ttyHS2
crw-rw 1 root dialout 250, 3 2010-10-19 14:55 /dev/ttyHS3
log when I start NetworkManager:
Oct 19 15:03:03 localhost NetworkManager[2869]: info NetworkManager
(version 0.8.1) is starting...
Oct 19 15:03:03 localhost NetworkManager[2869]: info Read config
file /etc/NetworkManager/nm-system-settings.conf
Oct 19 15:03:03 localhost NetworkManager[2869]: info trying to start
the modem manager...
Oct 19 15:03:04 localhost NetworkManager[2869]: info Loaded plugin
keyfile: (c) 2007 - 2008 Red Hat, Inc. To report bugs please use the
NetworkManager mailing list.
Oct 19 15:03:04 localhost NetworkManager[2869]: info found WWan
radio killswitch rfkill1 (at
/sys/devices/pci:00/:00:1e.0/:02:00.0/:03:00.0/usb2/2-1/rfkill/rfkill1)
(driver usb)
Oct 19 15:03:04 localhost NetworkManager[2869]: info found WiFi
radio killswitch rfkill2 (at
/sys/devices/pci:00/:00:1e.0/:02:02.0/ieee80211/phy0/rfkill2)
(driver unknown)
Oct 19 15:03:04 localhost NetworkManager[2869]: info WiFi enabled by
radio killswitch; enabled by state file
Oct 19 15:03:04 localhost NetworkManager[2869]: info WWAN enabled by
radio killswitch; enabled by state file
Oct 19 15:03:04 localhost NetworkManager[2869]: info WiMAX enabled
by radio killswitch; enabled by state file
Oct 19 15:03:04 localhost NetworkManager[2869]: info Networking is
enabled by state file
r...@x22:/home/mb# ls -l
/sys/devices/pci:00/:00:1e.0/:02:00.0/:03:00.0/usb2/2-1/rfkill/rfkill1/
-rw-r--r-- 1 root root 4096 2010-10-19 15:04 claim
lrwxrwxrwx 1 root root 0 2010-10-19 15:04 device - ../../../2-1/
-r--r--r-- 1 root root 4096 2010-10-19 15:04 index
-r--r--r-- 1 root root 4096 2010-10-19 14:55 name
-r--r--r-- 1 root root 4096 2010-10-19 15:04 persistent
drwxr-xr-x 2 root root 0 2010-10-19 15:04 power/
-rw-r--r-- 1 root root 4096 2010-10-19 14:55 state
lrwxrwxrwx 1 root root 0 2010-10-19 14:55 subsystem -
../../../../../../../../../class/rfkill/
-r--r--r-- 1 root root 4096 2010-10-19 14:55 type
-rw-r--r-- 1 root root 4096 2010-10-19 14:55 uevent
r...@x22:/sys/devices/pci:00/:00:1e.0/:02:00.0/:03:00.0/usb2/2-1/rfkill/rfkill1#
cat type
wwan
r...@x22:/sys/devices/pci:00/:00:1e.0/:02:00.0/:03:00.0/usb2/2-1/rfkill/rfkill1#
cat uevent
RFKILL_NAME=hso-0
RFKILL_TYPE=wwan
RFKILL_STATE=1
r...@x22:/# ifconfig hso0
hso0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1486 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
r...@x22:/# cd /sys/class/net/hso0
r...@x22:/sys/class/net/hso0# ls -l
insgesamt 0
-r--r--r-- 1 root root 4096 2010-10-19 14:55 address
-r--r--r-- 1 root root 4096 2010-10-19 14:55 addr_len
-r--r--r-- 1 root root 4096 2010-10-19 15:08 broadcast
-r--r--r-- 1 root root 4096 2010-10-19 15:08 carrier
lrwxrwxrwx 1 root root 0 2010-10-19 15:08 device - ../../../2-1:1.0/
-r--r--r-- 1 root root 4096 2010-10-19 15:08 dev_id
-r--r--r-- 1 root root 4096 2010-10-19 15:08 dormant
-r--r--r-- 1 root root 4096 2010-10-19 15:08 duplex
-r--r--r-- 1 root root 4096 2010-10-19 15:08 features
-rw-r--r-- 1 root root 4096 2010-10-19 14:55 flags
-rw-r--r-- 1 root root 4096 2010-10-19 15:08 ifalias
-r--r--r-- 1 root root 4096 2010-10-19 14:55 ifindex
-r--r--r-- 1 root root 4096 2010-10-19 15:08 iflink
-r--r--r-- 1 root root 4096 2010-10-19 15:08 link_mode
-rw-r--r-- 1 root root 4096 2010-10-19 15:08 mtu
-r--r--r-- 1 root root 4096 2010-10-19 15:08 operstate
drwxr-xr-x 2 root root 0 2010-10-19 15:08 power/
-r--r--r-- 1 root root 4096 2010-10-19 15:08 speed
drwxr-xr-x 2 root root 0 2010-10-19 15:08 statistics/
lrwxrwxrwx 1 root root 0 2010-10-19 14:55 subsystem -
../../../../../../../../../../class/net/
-rw-r--r-- 1 root root 4096 2010-10-19 15:08 tx_queue_len
-r--r--r-- 1 root root 4096 2010-10-19 14:55 type
-rw-r--r-- 1 root root 4096 2010-10-19 14:55 uevent
r...@x22:/sys/class/net/hso0# cat type
65534
r...@x22:/sys/class/net/hso0# cat uevent
DEVTYPE=wwan
INTERFACE=hso0
IFINDEX=4
r...@x22:/sys/class/net/hso0/device# cat uevent
DEVTYPE=usb_interface
DRIVER=hso
DEVICE=/proc/bus/usb/002/003
PRODUCT=af0/7011/0
TYPE=255/255/255