aloksinha2001 / rk3066-linux

Automatically exported from code.google.com/p/rk3066-linux
0 stars 0 forks source link

Irritating DWC_OTG error - how to fix ? #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Getting irritating lines in my syslog.... can something be done to fix... 
checked the net on the possible cause, did not find any... 

Present on all the UG/MK devices - across version numbers...

Alok

Dec  8 23:00:16 ubuntu kernel: [15002.130303] DWC_OTG: hc_xfer_timeout: timeout 
on channel 1
Dec  8 23:00:16 ubuntu kernel: [15002.130339] DWC_OTG:  start_hcchar_val 
0x01189200
Dec  8 23:00:46 ubuntu kernel: [15032.173030] DWC_OTG: hc_xfer_timeout: timeout 
on channel 0
Dec  8 23:00:46 ubuntu kernel: [15032.173064] DWC_OTG:  start_hcchar_val 
0x01189200
Dec  8 23:01:49 ubuntu kernel: [15094.818674] DWC_OTG: hc_xfer_timeout: timeout 
on channel 8
Dec  8 23:01:49 ubuntu kernel: [15094.818708] DWC_OTG:  start_hcchar_val 
0x01189200
Dec  8 23:02:04 ubuntu kernel: [15109.980024] DWC_OTG: hc_xfer_timeout: timeout 
on channel 2
Dec  8 23:02:04 ubuntu kernel: [15109.980058] DWC_OTG:  start_hcchar_val 
0x01189200
Dec  8 23:02:19 ubuntu kernel: [15125.101394] DWC_OTG: hc_xfer_timeout: timeout 
on channel 13
Dec  8 23:02:19 ubuntu kernel: [15125.101429] DWC_OTG:  start_hcchar_val 
0x01189200
Dec  8 23:02:51 ubuntu kernel: [15157.364296] DWC_OTG: hc_xfer_timeout: timeout 
on channel 0
Dec  8 23:02:51 ubuntu kernel: [15157.364330] DWC_OTG:  start_hcchar_val 
0x01189200
Dec  8 23:04:50 ubuntu kernel: [15275.474918] DWC_OTG: hc_xfer_timeout: timeout 
on channel 7
Dec  8 23:04:50 ubuntu kernel: [15275.474952] DWC_OTG:  start_hcchar_val 
0x01189200
Dec  8 23:05:05 ubuntu kernel: [15290.516252] DWC_OTG: hc_xfer_timeout: timeout 
on channel 8
Dec  8 23:05:05 ubuntu kernel: [15290.516286] DWC_OTG:  start_hcchar_val 
0x01189200
Dec  8 23:05:19 ubuntu kernel: [15304.837557] DWC_OTG: hc_xfer_timeout: timeout 
on channel 5
Dec  8 23:05:19 ubuntu kernel: [15304.837592] DWC_OTG:  start_hcchar_val 
0x01189200
Dec  8 23:05:49 ubuntu kernel: [15335.080272] DWC_OTG: hc_xfer_timeout: timeout 
on channel 9
Dec  8 23:05:49 ubuntu kernel: [15335.080306] DWC_OTG:  start_hcchar_val 
0x01189200

Original issue reported on code.google.com by AlokSinha2001 on 8 Dec 2012 at 5:39

GoogleCodeExporter commented 9 years ago
... I haven't checked the source, but I can just kill the prints from that code 
(or if it is debug messages, we can just turn them off) 

Original comment by almrob...@gmail.com on 8 Dec 2012 at 8:11

GoogleCodeExporter commented 9 years ago
Could you pls provide the method of killing this error...i want to disable this 
in my picuntu-da-server script itself....

Original comment by AlokSinha2001 on 15 Dec 2012 at 5:48

GoogleCodeExporter commented 9 years ago
Ok - folks this has been fixed - is now a part of the picuntu-da-server script.

Here is how you do it...

LOG_BLK="/etc/rsyslog.d/01-blocklist.conf"
    if [ ! -d $LOG_BLK ];
        then 
            echo ":msg,contains,\"hc_xfer_timeout\" ~" > $LOG_BLK
            echo ":msg,contains,\"start_hcchar_val\" ~" >> $LOG_BLK
            service rsyslog restart
    fi

This issue is now fixed.... 

Original comment by AlokSinha2001 on 17 Dec 2012 at 1:33