Toggling USB output via Tasker? - Android Head-Units

The only way to get a USB modem to work on Joying PX-5 seems to be to unplug and re-plug it into USB port after power-on. The modem simply doesn't connect otherwise. But it connects 100% of the time when unplugged and re-plugged. And after the car is restarted, we do the same dance again.
So... is there a way to automate this with something like Taker? I.e. turn the USB off and turn it back on? Joying is not rooted and I'd like to keep it that way if possible?
Perhaps there's another solution? I've seen USB cable with a physical on/off switch. I could use that, but it's not the most convenient way as Id like to keep the USB modem hidden out of the way.
Any hep, ideas?

Dig into developer settings. There may be some options
Sent from my Nokia 7 plus using Tapatalk

Can't find anything in developer settings. Tasker doesn't seem to allow anything similar. I'm almost thinking of creating some sort of a hardware timing latch and do a reset on USB line about 30 seconds passed boot-up.
Has anybody seen any solution for this at all? I mean, there's got to be a way to simulate unplugging and re-plugging the USB device, no? Please help!

nile13mx5 said:
Can't find anything in developer settings. Tasker doesn't seem to allow anything similar. I'm almost thinking of creating some sort of a hardware timing latch and do a reset on USB line about 30 seconds passed boot-up.
Has anybody seen any solution for this at all? I mean, there's got to be a way to simulate unplugging and re-plugging the USB device, no? Please help!
Click to expand...
Click to collapse
have you found any solution ?

ghannaiem said:
have you found any solution ?
Click to expand...
Click to collapse
Nope. There ae some USB short cables with a switch out there, but the car this was intended for is currently parked in... Bucha, Ukraine, so I wouldn't see it any time soon...

Related

JASJAR Turn on when power applied

Can anyone tell me how to get my JASJAR to come out of hibernation whan I apply power via the USB port? It comes out of hibernation OK if I connect it to a PC via USB for ActiveSync. I would like it to come out of hibernation when connected to a power source via USB without ActiveSync. Can do?
It'd be easy enough to write an app that installs a notifcation for the power on event. Then plug in usb will cause the app to power on the phone. That's similar to how activesync works. Try playing with your notification queue using MemMaid etc.
V
vijay555 said:
It'd be easy enough to write an app ....V
Click to expand...
Click to collapse
It is probably quite easy for some, but I am not one of them unfortunately. I was hoping sombody has already jumped that hurdle. Perhaps it is time to learn about the vagaries of WM5 ...

activesync disconnect problem

hi, am sorry if this has been posted but i cant seem to find the solution of my problem.
am using cingular 8125 and upgraded it to WM6.1 and activesync 4.5.
now the problem is, i can not find a disconnect button or how do i disconnect my phone from my PC.
Sry,cudn't get what you are trying to ask ? wud you elaborate a little more.
well,if you simply want to disconnect your phone,then just 'unplug' your phone from the usb cable or if you want to delete partnership with the phone,you can do it in the 'File' option of the AS.
Cheers!
can i just unplugged it directly without disconnecting it? i mean just like the usb flash drive before you can unplugged it you have to do a safely remove hardware operation first. and also like the xda II mini there's an option or a button when you want to disconnect it or stop the sync from the pc.
i hope, i explained it correctly.
ekss said:
can i just unplugged it directly without disconnecting it? i mean just like the usb flash drive before you can unplugged it you have to do a safely remove hardware operation first. and also like the xda II mini there's an option or a button when you want to disconnect it or stop the sync from the pc.
i hope, i explained it correctly.
Click to expand...
Click to collapse
Yes there is no real danger when "hot unplugging" your phone. It's more stable than most flash drives or external HDDs. As an option, you could always shut down your computer first.
thank you very much
Sorry for the ultra bump, I didn't want to start a new thread, but this doesn't help me. Whenever I hot unplug my phone, all the USBs stop responding and I can't plug anything back in, without rebooting first. I'm using a Diamond, but this shouldn't be a problem, since it's AS that messes up.

[Q] sudden changes in the way the phone work please help!

Hi,
This might be a newbie issue but my HD2 was working well up until few days ago when I noticed that everytime I make a call instead of ringing normally it does it in speaker (hands free) mode what caught my attention since I didn't change any settings.
I'm inclined to think that it might be due to some corruption in the software since I didn't find any optios to revert this so I was thinking on doing a hard reset but...
The other issue I have is that I tried to connect it to two different computers (that it used to connect without problems) and it does not do it.
It does charge on the USB but neither PC's recognize that the phone is connected.
I tried 2 different cables on the 2 PC's without luck.
So again I'm now more convinced that it is a software problem.
Any idea how should I proceed so I don't loose any data????
Thanks,
Look up "stuck in car kit mode" see if it's the same symptoms.
I look into it thanks...
I looked it up,but is not exactly the same.
It's stuck on loud speaker yes but not in landscape mode, if I rotate the phone the screen works ok.
It also goes to sleep so they are not exactly the same
It just does not get recognized by the pc when I plug it on the USB.
I just get the charging light and the little plug simbol on top as you get when you plug to external power but the computers don't make the sound (or any sign of recognition) that normally comes when you plug any USB device to it.
Unless this is just the start of it...
Well, after reading all 12 (or so) pages on that thread and cleaning the heck of the micro usb, wigling the cable in every direction this morning I managed to connect the phone to the PC and get rid of the loud speaker, so even if the symptoms are not exactly the same looks like it heading in that direction.
Bummer...
I guess it's time to start looking for a new phone.

Kindle Fire Not Showing Up When Connected to USB

Hey guys,
I've rooted my KF and got everything running. Haven't plugged it into the computer for about a week and now that I do, the KF does not show up and does not even make the dung dung sound when you connect up a device.
What can I do to fix this problem?
I have restarted both the KF and the computer without luck
llcooljayce said:
Hey guys,
I've rooted my KF and got everything running. Haven't plugged it into the computer for about a week and now that I do, the KF does not show up and does not even make the dung dung sound when you connect up a device.
What can I do to fix this problem?
I have restarted both the KF and the computer without luck
Click to expand...
Click to collapse
Have you loaded the device drivers (that come with the ADB method)?
ReverseWolf said:
Have you loaded the device drivers (that come with the ADB method)?
Click to expand...
Click to collapse
I assume so ... I believe that was required in order to root the KF? Any link on how to do it again in case something broke?
llcooljayce said:
I assume so ... I believe that was required in order to root the KF? Any link on how to do it again in case something broke?
Click to expand...
Click to collapse
There's a few ways to get to promised land, and not all require the files associated with this process. Worth a shot:
http://goo.gl/05PH4
Also, I assume the device is able to charge using the provided charger? Just checking the actual usb port...
Ya, the cable seems to charge but when plugging into the computer, there is no detection of a new usb device ...
Went through the video step by step. It's actually the same video I used to root. Get all the way till you plug in and have the device detect ... nothing. No where to go from there ...
Any suggestions?
Just connected the KF to a laptop and nothing shows up in the device manager either. No detection at all. WTF ...
Just tried a 3rd computer and no joy. Any thoughts?
This happened to me a couple of times where the Fire wasn't detected by the computer as a USB device and Kindle didn't pop up the mass storage message. After a hard reset it worked fine again. Hold down power for 20 sec and then hit power again to turn on.
Did a hard reset and still no luck ...
Just tried another cable ... it's not the cable ....
Can anyone offer any insight?
Have you tried a factory reset back to stock? Something somewhere is messed up, and it would end up being needle in haystack time trying to work out what the problem is. It shouldn't take too long to put things back to how they were post reset. If if doesn't work when stock, then you have potential hardware issues.
It's possible that one of the data pins is having issues on the Micro USB connector, especially if it still charges.
Looks like the USB port is hooped. It just stopped charging ....

Weird issues after Nougat.... No USB data connection

So I've been having this odd issue I've been dragging for a while now since I think it's a lost cause, but maybe someone can help me here.
Way back when Nougat was rolling out I waited for several months but my device (XT1575 - not rooted or unlocked) wouldn't get the update notification.
So I looked in here and there were several easy guides to apply the OTA update via recovery manually, so I did so and it worked just fine.
After a couple of days, I noticed an odd thing where I didn't get notifications immediately and my wifi connection was like not on all the time if the screen was off... the second I turn on the screen, notifications start popping up so much that it's a clear sign some of them were just not getting received. (I don't have any power saver mode/app enabled and my 2nd phone works on the same wifi and is working fine).
Also, when I tried connecting the phone to my PC, it wouldn't recognize it anymore... quick-charge and USB-OTG are also not working at all (flash drives with a light will just blink once when inserted and then just stop working).
I took the phone apart, the USB connector looks brand new and is very sturdy, no broken solder points, dust or dirt anywhere.
I also used a multimeter to check and all contact points in the USB port have a good continuity connection to their contact points on the board.
Any ideas? I would love to unlock it and try to solve the wifi connection thing with a new/fresh ROM, but with no USB, I'm stuck :/
CyberMageIL said:
So I've been having this odd issue I've been dragging for a while now since I think it's a lost cause, but maybe someone can help me here.
Way back when Nougat was rolling out I waited for several months but my device (XT1575 - not rooted or unlocked) wouldn't get the update notification.
So I looked in here and there were several easy guides to apply the OTA update via recovery manually, so I did so and it worked just fine.
After a couple of days, I noticed an odd thing where I didn't get notifications immediately and my wifi connection was like not on all the time if the screen was off... the second I turn on the screen, notifications start popping up so much that it's a clear sign some of them were just not getting received. (I don't have any power saver mode/app enabled and my 2nd phone works on the same wifi and is working fine).
Also, when I tried connecting the phone to my PC, it wouldn't recognize it anymore... quick-charge and USB-OTG are also not working at all (flash drives with a light will just blink once when inserted and then just stop working).
I took the phone apart, the USB connector looks brand new and is very sturdy, no broken solder points, dust or dirt anywhere.
I also used a multimeter to check and all contact points in the USB port have a good continuity connection to their contact points on the board.
Any ideas? I would love to unlock it and try to solve the wifi connection thing with a new/fresh ROM, but with no USB, I'm stuck :/
Click to expand...
Click to collapse
You said your flash drives were't working right? Then it's probably the motherboard on your computer or it's missing the correct drivers. Try testing the phone on another computer you can go to a local library if you can't use someone else's computer. Also go into your notification settings and make sure do not disturb is off and look at "when device is locked" and make sure it's set to show all notification content.
Hybrid Theory said:
You said your flash drives weren't working right? Then it's probably the motherboard on your computer or it's missing the correct drivers. Try testing the phone on another computer you can go to a local library if you can't use someone else's computer. Also, go into your notification settings and make sure do not disturb is off and look at "when the device is locked" and make sure it's set to show all notification content.
Click to expand...
Click to collapse
I said the flash drives weren't working with USB-OTG (with the phone), not the PC... the flash drives are A-OK on the PC.
The Motorola drivers are the latest from Motorola and they manage to detect my Moto G2 without any issues.
I also checked the Moto X on two other PCs... neither the phone nor the PCs are detecting anything as being connected, apart for the phone getting a charge.
In the notification settings, in "On the lock screen" it's set to "Show all notification content".
One more thing I researched is the USB port pins... apparently, for the phone to detect a regular wall charger the DATA+ and DATA- pins are supposed to be shorted (connected together) via the charger.... if it's connected to a PC/smart device the pins are not supposed to be shorted.
I checked with several chargers and with all of them the phone displays (in the battery menu) that it's "Charging over USB" (PC) when it should have displayed "Charging on AC"... meaning that it doesn't even detect the short that the DATA pins are supposed to have.

Categories

Resources