Hi all,
We are porting Huawei MU509 3G Module to our 6q board on Android JB 4.3
After we add power-on time sequence and set "Wakein" to high, the module works well, ttyUSB devices could be detected and baseband version is correct.
But, when we plugin sim-card, baseband version shows "unknown", network/signal strength/mobile network type are incorrect.
We checked the log, seems MU509 goes to “selective suspend” , then resume, and changing the state endlessly.
Anyone meet such issue? any suggestion for it?
Here's the log and huawei option.c
================================================================
drivers/usb/serial/option.c: option_write_room: 12288
drivers/usb/serial/option.c: option_write: endpoint 1 buf 1
drivers/usb/serial/option.c: option_outdat_callback
drivers/usb/serial/option.c: option_outdat_callback
fxz-option_suspend entered
fxz-option_suspend entered
fxz-option_suspend entered
drivers/usb/serial/option.c: option_indat_callback: d631f7e0
drivers/usb/serial/option.c: option_indat_callback: nonzero status: -2 on endpoint 02.
drivers/usb/serial/option.c: option_indat_callback: d631f760
drivers/usb/serial/option.c: option_indat_callback: nonzero status: -2 on endpoint 02.
drivers/usb/serial/option.c: option_indat_callback: d631f6e0
drivers/usb/serial/option.c: option_indat_callback: nonzero status: -2 on endpoint 02.
drivers/usb/serial/option.c: option_indat_callback: d631f660
drivers/usb/serial/option.c: option_indat_callback: nonzero status: -2 on endpoint 02.
drivers/usb/serial/option.c: option_instat_callback
drivers/usb/serial/option.c: option_instat_callback: urb d631f860 port d7ace800 has data d63d1860
option: option_instat_callback: error -2
fxz-option_resume entered
drivers/usb/serial/option.c: Submitted interrupt URB for port 0 (result 0)
fxz-option_resume entered
drivers/usb/serial/option.c: option_resume: No interrupt URB for port 0
fxz-option_resume entered
drivers/usb/serial/option.c: option_resume: No interrupt URB for port 0
drivers/usb/serial/option.c: option_indat_callback: d631f7e0
drivers/usb/serial/option.c: option_outdat_callback
drivers/usb/serial/option.c: option_outdat_callback
drivers/usb/serial/option.c: option_indat_callback: d631f660
drivers/usb/serial/option.c: option_instat_callback
drivers/usb/serial/option.c: option_instat_callback: urb d631f860 port d7ace800 has data d63d1860
drivers/usb/serial/option.c: option_instat_callback: signal x3
drivers/usb/serial/option.c: option_dtr_rts
drivers/usb/serial/option.c: option_send_setup
drivers/usb/serial/option.c: option_send_setup
drivers/usb/serial/option.c: option_chars_in_buffer: 0
drivers/usb/serial/option.c: option_set_termios
drivers/usb/serial/option.c: option_send_setup
drivers/usb/serial/option.c: option_dtr_rts
drivers/usb/serial/option.c: option_send_setup
drivers/usb/serial/option.c: option_chars_in_buffer: 0
drivers/usb/serial/option.c: option_chars_in_buffer: 0
drivers/usb/serial/option.c: option_instat_callback
drivers/usb/serial/option.c: option_instat_callback: urb d631f860 port d7ace800 has data d63d1860
drivers/usb/serial/option.c: option_instat_callback: signal x3
fxz-option_suspend entered
fxz-option_suspend entered
fxz-option_suspend entered
drivers/usb/serial/option.c: option_indat_callback: d631f7e0
drivers/usb/serial/option.c: option_indat_callback: nonzero status: -2 on endpoint 02.
drivers/usb/serial/option.c: option_indat_callback: d631f760
drivers/usb/serial/option.c: option_indat_callback: nonzero status: -2 on endpoint 02.
drivers/usb/serial/option.c: option_indat_callback: d631f6e0
drivers/usb/serial/option.c: option_indat_callback: nonzero status: -2 on endpoint 02.
drivers/usb/serial/option.c: option_indat_callback: d631f660
drivers/usb/serial/option.c: option_indat_callback: nonzero status: -2 on endpoint 02.
drivers/usb/serial/option.c: option_instat_callback
drivers/usb/serial/option.c: option_instat_callback: urb d631f860 port d7ace800 has data d63d1860
option: option_instat_callback: error -2
drivers/usb/serial/option.c: option_send_setup
drivers/usb/serial/option.c: option_chars_in_buffer: 0
drivers/usb/serial/option.c: option_set_termios
drivers/usb/serial/option.c: option_send_setup
drivers/usb/serial/option.c: option_write_room: 16384
drivers/usb/serial/option.c: option_write: endpoint 1 buf 0
drivers/usb/serial/option.c: option_write_room: 12288
drivers/usb/serial/option.c: option_write: endpoint 1 buf 1
fxz-option_resume entered
drivers/usb/serial/option.c: Submitted interrupt URB for port 0 (result 0)
fxz-option_resume entered
drivers/usb/serial/option.c: option_outdat_callback
drivers/usb/serial/option.c: option_outdat_callback
drivers/usb/serial/option.c: option_resume: No interrupt URB for port 0
fxz-option_resume entered
drivers/usb/serial/option.c: option_resume: No interrupt URB for port 0
fxz-option_suspend entered
fxz-option_suspend entered
fxz-option_suspend entered
drivers/usb/serial/option.c: option_indat_callback: d631f7e0
drivers/usb/serial/option.c: option_indat_callback: nonzero status: -2 on endpoint 02.
drivers/usb/serial/option.c: option_indat_callback: d631f760
drivers/usb/serial/option.c: option_indat_callback: nonzero status: -2 on endpoint 02.
drivers/usb/serial/option.c: option_indat_callback: d631f6e0
drivers/usb/serial/option.c: option_indat_callback: nonzero status: -2 on endpoint 02.
drivers/usb/serial/option.c: option_indat_callback: d631f660
drivers/usb/serial/option.c: option_indat_callback: nonzero status: -2 on endpoint 02.
drivers/usb/serial/option.c: option_instat_callback
drivers/usb/serial/option.c: option_instat_callback: urb d631f860 port d7ace800 has data d63d1860
option: option_instat_callback: error -2
Original Attachment has been moved to: option.c.zip