Raspbian, Option GIO 225 3G modem is not working.

Aleksander Morgado aleksander at aleksander.es
Mon Jun 16 07:29:20 PDT 2014


Hey,

>
> I'm trying to use a Option GIO 225 3G modem on Raspberry Pi running
> latest Raspbian, but it's not working. In Ubuntu 10.04 and Mint 14 on
> x86 the modem is working as expected.
> On the Raspberry, the kernel module is loaded and three entries in
> /dev/ is created.
> pi at raspberrypi:~$ ls /dev/ttyHS*
> /dev/ttyHS0  /dev/ttyHS1  /dev/ttyHS2
>
> But the network manager can't find any modem. Please see the debug
> info from the modemmanager when I plug in the modem. What is going
> wrong?
>
>
> pi at raspberrypi:~$ modem-manager[2657]: <info>  [1402925910.352299]
> [mm-serial-port.c:741] mm_serial_port_open(): (ttyHS2) opening serial
> port...
> modem-manager[2657]: <debug> [1402925910.365466]
> [mm-serial-port.c:810] mm_serial_port_open(): (ttyHS2) device open
> count is 1 (open)
> modem-manager[2657]: <debug> [1402925910.366781]
> [mm-plugin-base.c:859] try_open(): (ttyHS2): probe requested by plugin
> 'Option High-Speed'
> modem-manager[2657]: <info>  [1402925910.703974]
> [mm-serial-port.c:741] mm_serial_port_open(): (ttyHS0) opening serial
> port...
> modem-manager[2657]: <debug> [1402925910.715510]
> [mm-serial-port.c:810] mm_serial_port_open(): (ttyHS0) device open
> count is 1 (open)
> modem-manager[2657]: <debug> [1402925910.717249]
> [mm-plugin-base.c:859] try_open(): (ttyHS0): probe requested by plugin
> 'Option High-Speed'
> modem-manager[2657]: <info>  [1402925910.718722]
> [mm-serial-port.c:741] mm_serial_port_open(): (ttyHS1) opening serial
> port...
> modem-manager[2657]: <debug> [1402925910.720653]
> [mm-serial-port.c:810] mm_serial_port_open(): (ttyHS1) device open
> count is 1 (open)
> modem-manager[2657]: <debug> [1402925910.722087]
> [mm-plugin-base.c:859] try_open(): (ttyHS1): probe requested by plugin
> 'Option High-Speed'
> modem-manager[2657]: <debug> [1402925910.723543]
> [mm-at-serial-port.c:333] debug_log(): (ttyHS2): --> 'AT+GCAP<CR>'
> modem-manager[2657]: <debug> [1402925910.745707] [mm-modem-base.c:155]
> mm_modem_base_add_port(): (hso0) type ignored claimed by
> /sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.4
> modem-manager[2657]: <info>  [1402925910.754522] [mm-manager.c:564]
> do_grab_port(): (Option High-Speed): GSM modem
> /sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.4 claimed port
> hso0
> modem-manager[2657]: <debug> [1402925910.756246] [mm-manager.c:317]
> add_modem(): Added modem
> /sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.4
> modem-manager[2657]: <debug> [1402925910.757878] [mm-manager.c:243]
> check_export_modem(): (tty/ttyHS0): outstanding support task prevents
> export of /sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.34
> modem-manager[2657]: <debug> [1402925910.759798] [mm-manager.c:243]
> check_export_modem(): (tty/ttyHS0): outstanding support task prevents
> export of /sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.34
> modem-manager[2657]: <debug> [1402925910.819967]
> [mm-at-serial-port.c:333] debug_log(): (ttyHS0): --> 'AT+GCAP<CR>'
> modem-manager[2657]: <debug> [1402925910.824519]
> [mm-at-serial-port.c:333] debug_log(): (ttyHS1): --> 'AT+GCAP<CR>'
> modem-manager[2657]: <debug> [1402925914.099878]
> [mm-at-serial-port.c:333] debug_log(): (ttyHS2): --> 'AT+GCAP<CR>'
> modem-manager[2657]: <debug> [1402925914.102202]
> [mm-at-serial-port.c:333] debug_log(): (ttyHS0): --> 'AT+GCAP<CR>'
> modem-manager[2657]: <debug> [1402925914.106841]
> [mm-at-serial-port.c:333] debug_log(): (ttyHS1): --> 'AT+GCAP<CR>'
> modem-manager[2657]: <debug> [1402925917.099027]
> [mm-at-serial-port.c:333] debug_log(): (ttyHS2): --> 'AT+GCAP<CR>'
> modem-manager[2657]: <debug> [1402925917.100706]
> [mm-at-serial-port.c:333] debug_log(): (ttyHS0): --> 'AT+GCAP<CR>'
> modem-manager[2657]: <debug> [1402925917.102228]
> [mm-at-serial-port.c:333] debug_log(): (ttyHS1): --> 'AT+GCAP<CR>'
> modem-manager[2657]: <debug> [1402925920.098629]
> [mm-serial-port.c:844] mm_serial_port_close(): (ttyHS2) device open
> count is 0 (close)
> modem-manager[2657]: <info>  [1402925920.100334]
> [mm-serial-port.c:859] mm_serial_port_close(): (ttyHS2) closing serial
> port...
> modem-manager[2657]: <info>  [1402925920.107369]
> [mm-serial-port.c:880] mm_serial_port_close(): (ttyHS2) serial port
> closed
> modem-manager[2657]: <info>  [1402925920.109194]
> [mm-serial-port.c:741] mm_serial_port_open(): (ttyHS2) opening serial
> port...
> modem-manager[2657]: <debug> [1402925920.111105]
> [mm-serial-port.c:810] mm_serial_port_open(): (ttyHS2) device open
> count is 1 (open)
> modem-manager[2657]: <debug> [1402925920.112710]
> [mm-serial-port.c:844] mm_serial_port_close(): (ttyHS0) device open
> count is 0 (close)
> modem-manager[2657]: <info>  [1402925920.112987]
> [mm-serial-port.c:859] mm_serial_port_close(): (ttyHS0) closing serial
> port...
> modem-manager[2657]: <info>  [1402925920.114536]
> [mm-serial-port.c:880] mm_serial_port_close(): (ttyHS0) serial port
> closed
> modem-manager[2657]: <info>  [1402925920.115607]
> [mm-serial-port.c:741] mm_serial_port_open(): (ttyHS0) opening serial
> port...
> modem-manager[2657]: <debug> [1402925920.116640]
> [mm-serial-port.c:810] mm_serial_port_open(): (ttyHS0) device open
> count is 1 (open)
> modem-manager[2657]: <debug> [1402925920.117112]
> [mm-serial-port.c:844] mm_serial_port_close(): (ttyHS1) device open
> count is 0 (close)
> modem-manager[2657]: <info>  [1402925920.117347]
> [mm-serial-port.c:859] mm_serial_port_close(): (ttyHS1) closing serial
> port...
> modem-manager[2657]: <info>  [1402925920.119363]
> [mm-serial-port.c:880] mm_serial_port_close(): (ttyHS1) serial port
> closed
> modem-manager[2657]: <info>  [1402925920.121401]
> [mm-serial-port.c:741] mm_serial_port_open(): (ttyHS1) opening serial
> port...
> modem-manager[2657]: <debug> [1402925920.123141]
> [mm-serial-port.c:810] mm_serial_port_open(): (ttyHS1) device open
> count is 1 (open)
> modem-manager[2657]: <debug> [1402925920.125018]
> [mm-qcdm-serial-port.c:196] debug_log(): (ttyHS2): --> 00 78 f0 7e
> modem-manager[2657]: <debug> [1402925920.126638]
> [mm-qcdm-serial-port.c:196] debug_log(): (ttyHS0): --> 00 78 f0 7e
> modem-manager[2657]: <debug> [1402925920.128156]
> [mm-qcdm-serial-port.c:196] debug_log(): (ttyHS1): --> 00 78 f0 7e
> modem-manager[2657]: <debug> [1402925923.098980]
> [mm-qcdm-serial-port.c:196] debug_log(): (ttyHS2): --> 00 78 f0 7e
> modem-manager[2657]: <debug> [1402925923.105152]
> [mm-qcdm-serial-port.c:196] debug_log(): (ttyHS0): --> 00 78 f0 7e
> modem-manager[2657]: <debug> [1402925923.105676]
> [mm-qcdm-serial-port.c:196] debug_log(): (ttyHS1): --> 00 78 f0 7e
> modem-manager[2657]: <debug> [1402925923.114330]
> [mm-qcdm-serial-port.c:196] debug_log(): (ttyHS2): <-- 00 46 65 62 20
> 31 38 20 32 30 30 38 31 38 3a 33 32 3a 34 30 4a 61 6e 20 31 38 20 32
> 30 30 38e
> modem-manager[2657]: <debug> [1402925923.115245]
> [mm-serial-port.c:844] mm_serial_port_close(): (ttyHS2) device open
> count is 0 (close)
> modem-manager[2657]: <info>  [1402925923.115493]
> [mm-serial-port.c:859] mm_serial_port_close(): (ttyHS2) closing serial
> port...
> modem-manager[2657]: <info>  [1402925923.124854]
> [mm-serial-port.c:880] mm_serial_port_close(): (ttyHS2) serial port
> closed
> modem-manager[2657]: <debug> [1402925923.125384] [mm-manager.c:624]
> supports_callback(): (tty/ttyHS2): ignoring port unsupported by
> physical modem's plugin
> modem-manager[2657]: <debug> [1402925923.125738] [mm-manager.c:243]
> check_export_modem(): (tty/ttyHS0): outstanding support task prevents
> export of /sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.34
> modem-manager[2657]: <debug> [1402925926.099024]
> [mm-serial-port.c:844] mm_serial_port_close(): (ttyHS0) device open
> count is 0 (close)
> modem-manager[2657]: <info>  [1402925926.099371]
> [mm-serial-port.c:859] mm_serial_port_close(): (ttyHS0) closing serial
> port...
> modem-manager[2657]: <info>  [1402925926.101302]
> [mm-serial-port.c:880] mm_serial_port_close(): (ttyHS0) serial port
> closed
> modem-manager[2657]: <debug> [1402925926.101833] [mm-manager.c:624]
> supports_callback(): (tty/ttyHS0): ignoring port unsupported by
> physical modem's plugin
> modem-manager[2657]: <debug> [1402925926.102274] [mm-manager.c:243]
> check_export_modem(): (tty/ttyHS1): outstanding support task prevents
> export of /sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.34
> modem-manager[2657]: <debug> [1402925926.102689]
> [mm-serial-port.c:844] mm_serial_port_close(): (ttyHS1) device open
> count is 0 (close)
> modem-manager[2657]: <info>  [1402925926.102911]
> [mm-serial-port.c:859] mm_serial_port_close(): (ttyHS1) closing serial
> port...
> modem-manager[2657]: <info>  [1402925926.104326]
> [mm-serial-port.c:880] mm_serial_port_close(): (ttyHS1) serial port
> closed
> modem-manager[2657]: <debug> [1402925926.105262] [mm-manager.c:624]
> supports_callback(): (tty/ttyHS1): ignoring port unsupported by
> physical modem's plugin
>


Hum... the modem doesn't seem to reply to any command. How are you
connecting the modem to the RPi? Are you using an external *powered*
USB hub? Or just plugging it in one of the USB ports of the RPi? Note
that the RPi has a max output power in the USB ports, and likely the
modem won't work unless you use a external powered USB hub.


-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list