* How does ofono work
@ 2014-02-14 17:16 Homam Dabis
2014-02-14 19:20 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Homam Dabis @ 2014-02-14 17:16 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 806 bytes --]
Hi,
I have a problem in that my Huawei E303 is not being properly detected by
ofono i.e GetModems returns an empty array.
It is working well on Ubuntu (linux 3.2.0-58-generic) but not on my
embedded SIgma platform (linux 2.6.35)
The option driver/usbserial driver seem to be correctly loaded. mode switch
is also ok as the USB serial devices seem to be created ok.
I am using ofono 1.14.
Ofono detects that ttyUSB0,1,2 are available and calls add_modem.
As my setup is not normal, I am now trying to debug the system myself.
On the Sigma platform, it seems like the huawei plugin functions in
huawei.c are not being called as on the ubuntu platform.
So the question is how are those functions in huawei.c being called?
Any explanation would be greatly appreciated.
Homam
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1157 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How does ofono work
2014-02-14 17:16 How does ofono work Homam Dabis
@ 2014-02-14 19:20 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2014-02-14 19:20 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 725 bytes --]
Hi Homam,
> It is working well on Ubuntu (linux 3.2.0-58-generic) but not on my
> embedded SIgma platform (linux 2.6.35)
That kernel is over 3 years old. The kernel driver setup may be
completely different.
> On the Sigma platform, it seems like the huawei plugin functions in
> huawei.c are not being called as on the ubuntu platform.
>
> So the question is how are those functions in huawei.c being called?
They are triggered by udev events inside plugins/udevng.c You will need
to analyze what is happening on your platform. Most likely the kernel
driver that is creating the tty nodes for the modem is not in the list
of drivers udevng plugin recognizes for the hardware.
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-14 19:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-14 17:16 How does ofono work Homam Dabis
2014-02-14 19:20 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.