Only ttyACM0 has been opened on imx6q

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Only ttyACM0 has been opened on imx6q

1,064件の閲覧回数
zohanlin
Contributor IV

Dear all,

I'm porting ril driver on imx6q board with u-blox modem.

The android version is 4.2.2, and the kernel version is 3.0.35.

I has a problem about ttyACM when I porting the ril driver.

After the porting was done, I update it to imx6q board and restart it.

I expected it should open ttyACM0 ~ ttyACM6, but I found only ttyACM0 had opened.

How do I check it?

Anyone could give me some ideas ?

Thanks a lot,

zohan

ラベル(2)
0 件の賞賛
返信
2 返答(返信)

627件の閲覧回数
alejandrolozan1
NXP Employee
NXP Employee

Hi,

Can you share the steps  you followed when proting the driver?

Regards,

Alejandro

0 件の賞賛
返信

627件の閲覧回数
zohanlin
Contributor IV

Hi Alejandro,

I follow u-blox doc to port ril driver.

These steps are as below :

1.Copy the RIL source code in the Android distribution

2.Add the following lines into build/target/product/core.mk

     PRODUCT_PACKAGES += librapid-ril-core \

          gsm0710muxd

3.Enable the kernel configuration as follows:

     Device Drivers

          USB Support

               <*>USB Modem (CDC ACM) support

4.Add the following lines into the AndroidProducts.mk

     RIL_COM_INTERFACE := usb

5.Add the following lines into the ueventd.[platform].rc,

     /dev/ttyACM* 0640 radio radio

6.Modify init.rc to Change permissions of ttyACM and start services about ril.

By the way, I do port the ril driver for testing 4G-LTE.

I list the directory /dev/ttyACM*, only ttyACM0 exists.

I have another question :

Is it possible that the fw of the u-blox modem has the right to influence system opens ttyACM* ?

zohan

0 件の賞賛
返信