Shi Bai
2013-06-04 12:09:04 UTC
Hi Andrew,
Did you manage to get any progress on this issue?
I'm having very similar issue when testing with Huawei LTE modem. The
system is very reluctant to recognize the Modem. I tried to reset the usb
root hub by following script and it managed to find a USB hub attached to
it but regularly giving eror: usb 1-1: khubd timed out on ep0in len=0/64
and the -110 error.
#!/bin/bash
echo '0' | sudo tee /sys/bus/usb/devices/usb1/authorized
sleep 2
echo '1' | sudo tee /sys/bus/usb/devices/usb1/authorized
sleep 2
echo 'on' | sudo tee /sys/bus/usb/devices/usb1/power/control
I applied your fix for mpurate and it seems to have much less error and the
-110 error is gone, remains the ep0in len=0/64
I just upgraded the kernel and all firmwares (include all dts files) to
Robert's latest kernel 3.8.13-bone20 and the modem seems working somehow.
I will post any update if I can prove it to be stable.
Regards,
Bai Shi
Did you manage to get any progress on this issue?
I'm having very similar issue when testing with Huawei LTE modem. The
system is very reluctant to recognize the Modem. I tried to reset the usb
root hub by following script and it managed to find a USB hub attached to
it but regularly giving eror: usb 1-1: khubd timed out on ep0in len=0/64
and the -110 error.
#!/bin/bash
echo '0' | sudo tee /sys/bus/usb/devices/usb1/authorized
sleep 2
echo '1' | sudo tee /sys/bus/usb/devices/usb1/authorized
sleep 2
echo 'on' | sudo tee /sys/bus/usb/devices/usb1/power/control
I applied your fix for mpurate and it seems to have much less error and the
-110 error is gone, remains the ep0in len=0/64
I just upgraded the kernel and all firmwares (include all dts files) to
Robert's latest kernel 3.8.13-bone20 and the modem seems working somehow.
I will post any update if I can prove it to be stable.
Regards,
Bai Shi
I have some further information. I have been examining a number of system
logs for times that USB has worked and times that I have received the -110
error. This has allowed me to isolate two items of interest in the logs.
1. In the complete log that I posted where the -110 error occurs, this
[ 0.133639] vdd_mpu: 925 <--> 1325 mV at 1100 mV
[ 0.XXXXXX] vdd_mpu: 925 <--> 1325 mV at 1325 mV
This is consistent. If it will fail, it is 1100 mV. If it works, it is
1325 mV.
[ 2.034721] CAUTION: musb: Babble Interrupt Occurred
This event never occurs in the logs where the error does not occur.
Looking KERNEL/arch/arm/boot/dts/am335x-boneblack.dts, I see that vdd_mpu
must be the operating-points for "cpu". If the CPU is clocked at 600 MHz,
the voltage is 1.112 mV. If it is 1GHz, the voltage is 1.325. I was
surprised to see that the vdd_mpu appeared to be bouncing up and down like
that. I added the kernel command line option of "mpurate=1000" to uEnv.txt
for u-boot, which always changes the vdd_mpu to 1.325 mV. While I was
hoping that this would also fix the "Babble Interrupt Occurred", that is
not the case. I still observe that happening. On the bright side, I
appear to be getting the babble interrupt and -110 errors far less now that
I added mpurate=1000 to the kernel command line.
If anyone has any ideas, I'm all ears.
Andrew
logs for times that USB has worked and times that I have received the -110
error. This has allowed me to isolate two items of interest in the logs.
1. In the complete log that I posted where the -110 error occurs, this
[ 0.133639] vdd_mpu: 925 <--> 1325 mV at 1100 mV
[ 0.XXXXXX] vdd_mpu: 925 <--> 1325 mV at 1325 mV
This is consistent. If it will fail, it is 1100 mV. If it works, it is
1325 mV.
[ 2.034721] CAUTION: musb: Babble Interrupt Occurred
This event never occurs in the logs where the error does not occur.
Looking KERNEL/arch/arm/boot/dts/am335x-boneblack.dts, I see that vdd_mpu
must be the operating-points for "cpu". If the CPU is clocked at 600 MHz,
the voltage is 1.112 mV. If it is 1GHz, the voltage is 1.325. I was
surprised to see that the vdd_mpu appeared to be bouncing up and down like
that. I added the kernel command line option of "mpurate=1000" to uEnv.txt
for u-boot, which always changes the vdd_mpu to 1.325 mV. While I was
hoping that this would also fix the "Babble Interrupt Occurred", that is
not the case. I still observe that happening. On the bright side, I
appear to be getting the babble interrupt and -110 errors far less now that
I added mpurate=1000 to the kernel command line.
If anyone has any ideas, I'm all ears.
Andrew
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.