Closed Bug 1166221 Opened 6 years ago Closed 3 years ago

[TCL][Wooduck] about process [rilproxy1] running only one SIM phone?

Categories

(Firefox OS Graveyard :: RIL, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: chaofei.wu.hz, Unassigned)

References

Details

Attachments

(1 file)

190.74 KB, image/jpeg
Details
in init.b2g.rc
in 2sim phone,need 2 process following(init.b2g.rc):
--code-----------
  service rilproxy /system/bin/rilproxy
    class main
    socket rilproxy stream 660 root system
    user root
    group radio

  service rilproxy1 /system/bin/rilproxy -c 1 -s rild2
    class main
    socket rilproxy1 stream 660 root system
    user root
    group radio
-----------
but in 1sim phone, only running the following(init.b2g.ss):
--code-----
  service rilproxy /system/bin/rilproxy
    class main
    socket rilproxy stream 660 root system
    user root
    group radio
---------
now, my question is the following code can running 1sim phone?
---
service rilproxy1 /system/bin/rilproxy -c 1 -s rild2
class main
    socket rilproxy1 stream 660 root system
    user root
    group radio
---
in only 1sim phone, the rilproxy1 is running ,It should not be called firefoxOS? The code donnot happen some issue? 

we hope only use init.b2g.rc, replace init.b2g.ss with init.b2g.rc. in 1sim or 2sim phone.
Hi Shawn,
Could you please help to provide some answer? Thanks!
Flags: needinfo?(sku)
Blocks: Woodduck
Component: Build Config & IDE Support → RIL
Product: Firefox for Android → Firefox OS
As my understanding, rilproxy(s) need seq. name definition.
Ex:
rilproxy, rilproxy1, rilproxy2 ....

you can *not* skip previous rilproxy, but define next one directly.
(Invalid Example: *no* rilproxy, but rilproxy1, rilproxy2 etc....)

but rild can be named randomly due to "-s" parameter is used to associate the proper rild with rilproxy[n].
Flags: needinfo?(sku)
you understand my question.
my quesiton is, service rilproxy1(=system/bin/rilproxy -c 1 -s rild2) is be running in only 1 sim handset? it is OK?
Flags: needinfo?(sku)
no skip,
have rilproxy and rilproxy1,
Attached image s
left file is single sim project.
right file is dual sim project.
my question is,  Delete left file, use right file in single sim project and dual sim project, it is ok?
(In reply to chaofei.wu from comment #3)
> you understand my question.
> my quesiton is, service rilproxy1(=system/bin/rilproxy -c 1 -s rild2) is be
> running in only 1 sim handset? it is OK?

not okay.

for single SIM case, please keep below.
if socket is different, please use -s rild[x]
(example:
 service rilproxy /system/bin/rilproxy -s rild2)

// Must have 
service rilproxy /system/bin/rilproxy
    class main
    socket rilproxy stream 660 radio radio
    user radio
    group radio system
Flags: needinfo?(sku)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.