Re: gt-s5570 and pl2303.ko

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Greg,
I supose that serial communication should work with this older model
gt-s5570. I found custom rom with that old kernel version but I don't
know how to find newer version for this phone.
When I plug the converter to phone I can't see anything in the log that
is related to converter but I send you the log as attachment. It is log
when I insmod pl2303.ko via adb and after that pluged the converter.
Bye.
Milutin.

> Date: Thu, 19 Feb 2015 13:27:22 -0800
> From: greg@xxxxxxxxx
> To: milutin.aksic@xxxxxxxxxxx
> CC: linux-usb@xxxxxxxxxxxxxxx
> Subject: Re: gt-s5570 and pl2303.ko
>
> On Thu, Feb 19, 2015 at 02:55:24PM +0100, Milutin Aksic wrote:
> > Hello,
> > I want to communicate my android gt-s5570 with microcontroller via usb to > > serial communication adapter (Prolific pl2303hxd chip uart to rs232). Kernel > > is 2.6.35.7 version (custom ROM jb 4.2.2) and I compiled pl2303.ko module
>
> Eeek, 2.6.35? That's just _so_ old it's not funny, and nothing that any
> community member can ever support, sorry. If you ar stuck with that
> kernel version due to a vendor, please work with that vendor to solve
> your issue, as you are paying support from them.
>
> > and installed with insmod command without errors. Also I created 8 devices
> > as:
> > mknod /dev/ttyUSB0 c 188 0
> > mknod /dev/ttyUSB1 c 188 1 ...
>
> Why would you do this? devtmpfs should have created them automatically
> when the device is plugged in and bound to the driver?
>
> > and so on. But when I connect converter with otg cable nothing happens.
> > Simpletest apk finds no devices and dmesg shows nothing related to inserted
> > pl2303 converter.
>
> What does the kernel log show when you plug the device in?
>
> thanks,
>
> greg k-h
<3>[46758.228075] [Battery] msm_batt_check_event 
<4>[46758.228578] [Battery] vbatt_adc-BATT_CAL_CHG 
<3>[46768.248122] [Battery] msm_batt_check_event 
<4>[46768.248625] [Battery] vbatt_adc-BATT_CAL_CHG 
<3>[46778.268000] [Battery] msm_batt_check_event 
<4>[46778.268498] [Battery] vbatt_adc-BATT_CAL_CHG 
<3>[46788.287963] [Battery] msm_batt_check_event 
<4>[46788.288458] [Battery] vbatt_adc-BATT_CAL_CHG 
<3>[46798.308112] [Battery] msm_batt_check_event 
<4>[46798.308617] [Battery] vbatt_adc-BATT_CAL_CHG 
<3>[46806.083895] usbserial: version magic '2.6.35.7+-androidarmv6 preempt mod_unload ARMv6 ' should be '2.6.35.7-androidarmv6+ preempt mod_unload ARMv6 '
<6>[46806.219275] usbcore: registered new interface driver usbserial
<6>[46806.220047] USB Serial support registered for generic
<6>[46806.220783] usbcore: registered new interface driver usbserial_generic
<6>[46806.220832] usbserial: USB Serial Driver core
<3>[46808.328000] [Battery] msm_batt_check_event 
<4>[46808.328490] [Battery] vbatt_adc-BATT_CAL_CHG 
<3>[46811.989677] pl2303: version magic '2.6.35.7+-androidarmv6 preempt mod_unload ARMv6 ' should be '2.6.35.7-androidarmv6+ preempt mod_unload ARMv6 '
<6>[46812.029715] USB Serial support registered for pl2303
<6>[46812.030512] usbcore: registered new interface driver pl2303
<6>[46812.030557] pl2303: Prolific PL2303 USB to serial adaptor driver
<1>[46813.901103] AR6000 Neighbor Report Event
<1>[46813.901165] 
<3>[46818.348133] [Battery] msm_batt_check_event 
<4>[46818.348632] [Battery] chg_en & prevVal 
<3>[46828.368093] [Battery] msm_batt_check_event 
<4>[46828.368595] [Battery] vbatt_adc-BATT_CAL_CHG 
<3>[46838.388367] [Battery] msm_batt_check_event 
<4>[46838.388863] [Battery] chg_en & prevVal 
<3>[46848.408025] [Battery] msm_batt_check_event 
<4>[46848.408530] [Battery] chg_en & prevVal 
<3>[46858.428022] [Battery] msm_batt_check_event 
<4>[46858.428510] [Battery] vbatt_adc-BATT_CAL_CHG 
<3>[46868.448060] [Battery] msm_batt_check_event 
<4>[46868.448555] [Battery] vbatt_adc-BATT_CAL_CHG 
<1>[46875.441727] AR6000 Neighbor Report Event
<1>[46875.441797] 
<3>[46878.468012] [Battery] msm_batt_check_event 
<4>[46878.468515] [Battery] chg_en & prevVal 
<3>[46888.487987] [Battery] msm_batt_check_event 
<4>[46888.488480] [Battery] vbatt_adc-BATT_CAL_CHG 
<3>[46898.508057] [Battery] msm_batt_check_event 
<4>[46898.508558] [Battery] chg_en & prevVal 
<6>[46903.596590] [FSA9280]: irq active
<3>[46903.596680] [Battery] battery_restart
<6>[46903.596757] [FSA9280]: irq release
<3>[46903.596858] [Battery] msm_fsa9280_check_event 
<6>[46903.597533] [FSA9280]: irq active
<3>[46903.597563] [Battery] battery_restart
<6>[46903.597600] [FSA9280]: irq release
<6>[46903.597852] [FSA9280]: irq active
<3>[46903.597885] [Battery] battery_restart
<6>[46903.597917] [FSA9280]: irq release
<4>[46903.600872] [Battery]: Initial control reg 0x02 : 0x1e
<6>[46903.602908] [Battery]: fsa9280 sensor init sequence done
<3>[46903.602948] [Battery] msm_batt_check_event 
<4>[46903.603405] [Battery] chg_en & prevVal 
<3>[46903.611633] [Battery] msm_fsa9280_check_event 
<3>[46903.646952] [Battery] get_charger_type charger_type is (0)
<4>[46903.647003] [Battery] get_charger_type : wake_lock_timeout!!! !!!!
<4>[46903.647517] [Battery] get_charging_status : event_flag =0 
<3>[46903.647557] [Battery] msm_batt_check_event 
<4>[46903.647963] [Battery] chg_en & prevVal 
<4>[46903.648017] [Battery] Charging state is changed [5]=>[0]   Batt Level [3239]   Percent [70]
<4>[46903.648768] [DPRAM:cmd_chg_detect_noti] chg_detect irq: 0x40c0 cleared.
<6>[46903.796228] adb_release
<6>[46903.796848] android_work: sent uevent USB_STATE=DISCONNECTED
<6>[46903.798258] adb_open
<6>[46904.018422] msm_otg_suspend: usb in low power mode
<4>[46904.115960] WHITELIST : add port b8e9
<4>[46904.116030] WHITELIST : add port 8ba6
<4>[46904.116083] WHITELIST : add port d34c
<4>[46904.116135] WHITELIST : add port 971a
<4>[46904.116185] WHITELIST : add port de42
<4>[46904.116237] WHITELIST : add port d477
<4>[46904.116288] WHITELIST : add port e2e1
<4>[46904.116340] WHITELIST : add port e863
<4>[46904.116390] WHITELIST : add port ec59
<4>[46904.116442] WHITELIST : add port de75
<4>[46904.116493] WHITELIST : add port a61f
<4>[46904.117465] request byte length = 816,  return byte = 816
<6>[46905.179957] PM: Syncing filesystems ... done.
<4>[46905.184598] Freezing user space processes ... (elapsed 0.03 seconds) done.
<4>[46905.218503] Freezing remaining freezable tasks ... 
<3>[46905.219260] Freezing of tasks  aborted
<4>[46905.220017] 
<4>[46905.220040] Restarting tasks ... done.
<6>[46905.231965] suspend: exit suspend, ret = -16 (2015-02-20 09:29:20.524586538 UTC)
<4>[46905.715713] WHITELIST : add port b8e9
<4>[46905.715790] WHITELIST : add port 8ba6
<4>[46905.715843] WHITELIST : add port d34c
<4>[46905.715895] WHITELIST : add port 971a
<4>[46905.715947] WHITELIST : add port de42
<4>[46905.715998] WHITELIST : add port d477
<4>[46905.716050] WHITELIST : add port e2e1
<4>[46905.716102] WHITELIST : add port e863
<4>[46905.716152] WHITELIST : add port ec59
<4>[46905.716203] WHITELIST : add port de75
<4>[46905.716255] WHITELIST : add port a61f
<4>[46905.717237] request byte length = 816,  return byte = 816
<6>[46906.722960] PM: Syncing filesystems ... done.
<4>[46906.726850] Freezing user space processes ... (elapsed 0.03 seconds) done.
<4>[46906.758568] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
<4>[46906.778383] Suspending console(s) (use no_console_suspend to debug)
<7>[46906.783708] msmrtc_tod_proc_result: 02/20/2015 09:29:22 (04)
<7>[46906.785557] msmrtc_tod_proc_result: 02/20/2015 09:29:22 (04)
<7>[46906.787647] msmrtc_tod_proc_result: 02/20/2015 09:29:22 (04)
<7>[46906.790498] msmrtc_tod_proc_result: 02/20/2015 09:29:22 (04)
<1>[46906.799753] 
<1>[46906.799782] ar6000_check_wow_status: Received IRQ while we are wow suspending!!!
<1>[46906.799812] 
<4>[46906.900212] AR6000: SdioEnable4bits 1 check Rst PIN 1
<4>[46906.900307] AR6000: SdioEnable4bits 2 check Rst PIN 1
<4>[46906.900350] AR6000: wow_suspend 1 check Rst PIN 1
<1>[46906.900380] Setup WoW successfully
<1>[46906.900413] ar6000_suspend_ev:Suspend for wow mode 3
<1>[46906.900457] ar6000_suspend_ev:Suspend for 2 mode pwr 3 status 13
<6>[46906.902700] sec_jack:sec_jack_suspend :micbias_reg5 off
<4>[46906.903030] [VIB] susepend
<6>[46906.905068] PM: suspend of devices complete after 125.097 msecs
<6>[46906.906012] PM: late suspend of devices complete after 0.883 msecs
<4>[46906.906142] msm_pm_enter : what clk : #9 clock is alive!!!!!!!!!!!!!!!!!!!!!!
<4>[46906.906142] msm_pm_enter : req clk : #9 clock is alive!!!!!!!!!!!!!!!!!!!!!!
<6>[46906.907540] PM: early resume of devices complete after 0.978 msecs
<6>[46906.907772] wakeup wake lock: gpio_kp
<3>[46906.950587] [Battery] msm_batt_resume
<3>[46906.950662] [Battery] msm_batt_check_event 
<4>[46906.952113] [VIB] resume
<4>[46907.057965] pc_clk_set_rate id : 19, rate : 144000
<4>[46907.058233] pc_clk_set_rate id : 0, rate : 144000
<4>[46907.058255] , rc : 0
<4>[46907.528242] pc_clk_set_rate id : 19, rate : 49152000
<4>[46907.528508] pc_clk_set_rate id : 0, rate : 49152000
<4>[46907.528532] , rc : 0
<1>[46907.529023] ar6000_resume_ev: enter previous state 3 wowState 2
<4>[46907.529073] AR6000: wow_resume 1 check Rst PIN 1
<4>[46907.529127] AR6000: SdioEnable4bits 1 check Rst PIN 1
<4>[46907.529207] AR6000: SdioEnable4bits 2 check Rst PIN 1
<4>[46907.529252] AR6000: wow_resume 2 check Rst PIN 1 pending 0
<1>[46907.529890] Resume WoW successfully
<4>[46907.529928] AR6000: wow_resume 3 check Rst PIN 1 pending 3
<7>[46907.533598] msmrtc_tod_proc_result: 02/20/2015 09:29:31 (04)
<7>[46907.536543] msmrtc_tod_proc_result: 02/20/2015 09:29:31 (04)
<6>[46907.537360] PM: resume of devices complete after 628.921 msecs
<4>[46907.539663] Restarting tasks ... done.
<6>[46907.561233] suspend: exit suspend, ret = 0 (2015-02-20 09:29:31.524566667 UTC)
<4>[46907.576610] new_value = 1, old state = 0
<4>[46907.576673] starting poll timer, delay 66667000ns
<6>[46907.589960] request_suspend_state: wakeup (3->0) at 46907482005834 (2015-02-20 09:29:31.553250000 UTC)
<4>[46907.591240] new delay = 200000000ns, old delay = 66667000ns
<4>[46907.591285] cancelling poll timer
<4>[46907.591330] starting poll timer, delay 200000000ns
<4>[46907.593923] new delay = 66667000ns, old delay = 200000000ns
<4>[46907.593970] cancelling poll timer
<4>[46907.594008] starting poll timer, delay 66667000ns
<4>[46907.618163] [HSIL] mdp_lcdc_on(118)  mdp_lcdc_on start
<4>[46907.618390] ==============++minhyodebug : LCD CONTROLLER Registers Setting
<4>[46907.618445] display_hctl = 0x1060017
<4>[46907.618477] display_v_start = 0xac8
<4>[46907.618505] display_v_end = 0x163c7
<4>[46907.618533] lcdc_border_clr = 0x0
<4>[46907.618560] lcdc_underflow_clr = 0xff
<4>[46907.618590] lcdc_hsync_skew = 0x0
<4>[46907.618618] ctrl_polarity = 0x0
<4>[46907.618643] active_hctl = 0x0
<4>[46907.618672] active_v_start = 0x0
<4>[46907.618698] active_v_end = 0x0
<4>[46907.619792] pc_clk_set_rate id : 42, rate : 8760000
<4>[46907.619927] pc_clk_set_rate id : 0, rate : 8760000
<4>[46907.619950] , rc : 0
<4>[46907.620482] s6d04h0a_TASS start lcdc_s6d04h0a_panel_on
<4>[46907.620725] s6d04h0a_TASS start s6d04h0a_disp_powerup
<4>[46907.620903] s6d04h0a_TASS start s6d04h0a_disp_on
<4>[46907.621233] determine_lcd_type, LCD Type :0 
<4>[46907.621270] TASS HW rev is 3, apply 3's init sequence
<4>[46907.848163] [HSIL] mdp_lcdc_on(340)  mdp_lcdc_on end
<4>[46907.889920] starting poll timer, delay 66667000ns
<4>[46907.889972] [TSP] synaptics_ts_resume+
<4>[46907.978113] [BACLKIGHT] : 0
<4>[46907.978155] [LCD] BACKLIGHT SET
<4>[46907.978180] Platform V:0, Find V:0
<4>[46907.981208] LCD Backlight OFF. tune:0,lcd:0
<4>[46907.998030] [TSP] synaptics_ts_resume-
<6>[46907.998078] msm_batt_late_resume(): going to resume
<6>[46907.998113] msm_batt_send_event() : Resume event ocurred.events = 00000002
<6>[46907.998147] msm_batt_send_event(): Battery call Back thread not Started.
<6>[46907.998182] msm_batt_late_resume(): Handled Late resume event. rc = 0
<4>[46907.998222] [BACLKIGHT] : 83
<4>[46907.998240] [LCD] BACKLIGHT SET
<4>[46907.998267] Platform V:83, Find V:8
<4>[46907.998302] LCD Backlight re-init - wakeup time tune:8, lcd:32
<4>[46907.998448] [BACLKIGHT] : 87
<4>[46907.998467] [LCD] BACKLIGHT SET
<4>[46907.998490] Platform V:87, Find V:8
<4>[46907.998513] [BACLKIGHT] : 91
<4>[46907.998532] [LCD] BACKLIGHT SET
<4>[46907.998555] Platform V:91, Find V:9
<4>[46908.008620] [BACLKIGHT] : 94
<4>[46908.008650] [LCD] BACKLIGHT SET
<4>[46908.008675] Platform V:94, Find V:9
<4>[46908.050313] [BACLKIGHT] : 97
<4>[46908.050345] [LCD] BACKLIGHT SET
<4>[46908.050370] Platform V:97, Find V:9
<4>[46908.064197] [BACLKIGHT] : 102
<4>[46908.064218] [LCD] BACKLIGHT SET
<4>[46908.064240] Platform V:102, Find V:9
<4>[46908.088007] [TSP] ts_resume_work_func+
<4>[46908.118735] [TSP] ts_resume_work_func:677, ver SW=8
<4>[46908.118803] [TSP] ts_resume_work_func-
<6>[46909.280633] [audmgr.c:audmgr_enable] session 0xc08166b0
<6>[46909.281552] [audmgr.c:process_audmgr_callback] rpc READY handle=0x00000000
<6>[46909.281922] [audmgr.c:audmgr_rpc_thread] rpc_reply status 0
<6>[46909.442928] [audmgr.c:process_audmgr_callback] rpc CODEC_CONFIG volume=0x00000406
<6>[46909.442993] [adsp.c:msm_adsp_get] opening module AUDPPTASK
<6>[46909.444268] [adsp.c:msm_adsp_enable] enable 'AUDPPTASK'state[0] id[17227122]
<6>[46909.445873] [adsp.c:handle_adsp_rtos_mtoa_app] module AUDPPTASK: READY
<6>[46909.447132] [audpp.c:audpp_dsp_event] ENABLE
<6>[46914.896132] [audpp.c:audpp_dsp_event] DISABLE
<6>[46914.896198] [audpp.c:audpp_disable] Received CFG_MSG_DISABLE from ADSP
<6>[46914.896222] [adsp.c:msm_adsp_disable] disable 'AUDPPTASK'
<6>[46914.897307] [adsp.c:msm_adsp_put] closing module AUDPPTASK
<6>[46914.897367] [audmgr.c:audmgr_disable] session 0xc08166b0
<6>[46914.898738] [audmgr.c:audmgr_rpc_thread] rpc_reply status 0
<3>[46914.909012] [audmgr.c:process_audmgr_callback] DISABLED
<6>[46915.472548] [audmgr.c:audmgr_enable] session 0xc08166b0
<6>[46915.473572] [audmgr.c:process_audmgr_callback] rpc READY handle=0x00000000
<6>[46915.473945] [audmgr.c:audmgr_rpc_thread] rpc_reply status 0
<6>[46915.479713] [audmgr.c:process_audmgr_callback] rpc CODEC_CONFIG volume=0x00000406
<6>[46915.479783] [adsp.c:msm_adsp_get] opening module AUDPPTASK
<6>[46915.480653] [adsp.c:msm_adsp_enable] enable 'AUDPPTASK'state[0] id[17227122]
<6>[46915.482955] [adsp.c:handle_adsp_rtos_mtoa_app] module AUDPPTASK: READY
<6>[46915.483782] [audpp.c:audpp_dsp_event] ENABLE
<3>[46916.967977] [Battery] msm_batt_check_event 
<6>[46918.538423] [audpp.c:audpp_dsp_event] DISABLE
<6>[46918.538542] [audpp.c:audpp_disable] Received CFG_MSG_DISABLE from ADSP
<6>[46918.538592] [adsp.c:msm_adsp_disable] disable 'AUDPPTASK'
<6>[46918.539948] [adsp.c:msm_adsp_put] closing module AUDPPTASK
<6>[46918.540053] [audmgr.c:audmgr_disable] session 0xc08166b0
<6>[46918.541998] [audmgr.c:audmgr_rpc_thread] rpc_reply status 0
<3>[46918.552218] [audmgr.c:process_audmgr_callback] DISABLED
<3>[46926.987938] [Battery] msm_batt_check_event 
<3>[46937.008065] [Battery] msm_batt_check_event 
<3>[46947.028077] [Battery] msm_batt_check_event 
<3>[46957.048037] [Battery] msm_batt_check_event 

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux