imx7 Sim driver dead after suspend

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx7 Sim driver dead after suspend

944 次查看
eoin_oconnell
Contributor I

Hi all,

 

I am using the SIM card driver in the kernel in my imx7 from Toradex. Until now it works perfectly until I do a suspend

I have noticed that the kernel driver stops functioning correctly after the device exits suspend mode.

After exiting suspend mode the SIM card signals are no longer visible, no more SIM clock and reset is low

 

I try this after exiting suspend:

 

i=ioctl(sim_fd, SIM_IOCTL_COLD_RESET);
if (i >= 0)
{
    printf("Cold Reset Pass\n");
    usleep(100000);
    i=ioctl(sim_fd, SIM_IOCTL_GET_ATR, pAtr_data);

 

The final ioctl fails and I also see nothing on the SIM bus.

 

Any ideas about what could be wrong with the imx_sim.c driver?

0 项奖励
回复
0 回复数