Only ttyACM0 has been opened on imx6q

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Only ttyACM0 has been opened on imx6q

886 Views
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

Labels (2)
0 Kudos
2 Replies

449 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

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

Regards,

Alejandro

0 Kudos

449 Views
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 Kudos