[Q] Y-OTG / CAR-Dock / Desk-Dock - Nexus 7 General

Hiho,
i installed my Nexus 7 in my car and have now a little "Problem".
I would use a Y-Cable for OTG use (Rear Camera) and Charging the Nexus.
My problem is, i would start my webcam automaticly by switching to the rear gear.
the plan is, to integrate a bridge to activate the car-dock mode when setting power to the mosfet.
the car-dock mode is managed by tasker and would start the rear cam automaticly.
but now the problem, how can i enable the car-dock or desktop dock mode?
what i need?
is there a way to manage it?
i see a other post, with the wireless charging mod, and the tab enterd dock-mode.
what will happend when i connect the Y cable with power and otg (webcam) and than i set power and gnd to the poggo pins?
ps. mod? could you move please to Q/A Thread.... sry my mistake.

Related

USB GPS Mouse connection

Hi there,
let me first thank you for this great site you put up here!
And here comes my question:
I want to hook up my USB GPS Mouse (made for the notebook -
meaning it get's it's power via USB) up to my XDA.
And now I wonder if I can simply solder the data +/- cables
from the USB Mouse to the USB data +/- pins on the XDA plug
(so I could still use the same cable for ActiveSync on the PC),
or if I have to solder the data +/- cables from the USB mouse
to the serial RX/TX pins as described on the 'The XDA's connectors'
page of this site...
I was planning to hook both the GPS and the XDA up to my car
power adaptor in a kind of a Y constellation:
::::::::::::::::::::::::::::::::__________ Power
:::::::::::::::::::::::::::::::/
::::::::::::::::::::::::::::::/
::::::::::::::XDA ----------
::::::::::::::::::::::::::::::\
:::::::::::::::::::::::::::::::\___________ GPS
and use Power for both.
Maybe someone can tell me about the data hookup.
Thanks, Lars.
I don't have answers but some things you have to consider.
1) The XDA is a slave device. I presume the GPS receiver is one too. I really wonder if they can communicate with eachother
2) Based on how you describe this you want to power the receiver from the the car. I assume you have checked the right voltage requirements for the receiver and that the powersupply can deliver the currents required for both the XDA and the receiver. My personal experience is that the latter shouldn't be too much of a problem, but it can't hurt to check.
3) Combining USB and Serial the way you describe it is not a good idea. (mark the last character '.' as in PERIOD).
Robert
Power Supply
Hi Robert,
thanks for your suggestions.
Indeed both (the original ActiveSync cable from the XDA and the
USB GPS) get their power off a USB port on the notebook so
this must be the same voltage requirements.
This ActiveSync cable is a combined car charging cable with an
USB 'A' type connector on the end which you can plug either into
the USB port on the notebook (where it also ActiveSync's) or into
the car's power adapter (where it only charges).
So this both same voltage. And the car power adaptor should
nominally supply enough power for both...
But I don't understand what you said about it not beeing a good
idea to hook up the USB data to the SERIAL data.
When plugged into the notebook in WinXP the USB GPS installs
a 'Prolific USB-to-Serial COM5' to emulate to the programms
working with it a com5 (or com1 or com2 depending on your
hardware settings) communications port. So I guess the data
coming from the USB GPS is just the same as if delivered via
serial cable and all the driver does is faking to be a serial port
to any programm asking for data from com5.
And I think a USB device is 'not really' a passive device as it starts
popping out ASCII data strings as soon as it get's power (no matter
if there is a device to read the data or not).
So I figure when you plug it into the XDA and tell the XDA by means
of USB wakeup (USB_VDD pin 13) that there is an active USB
connection, that it will start trying to figure out what the heck the
connected cable is trying to tell it.
And here is the tricky part where I don't know if the XDA might not
believe it is beeing Sync'ed and therefore starts ActiveSync.
Anyone with any experience or suggestions there...??
(Sorry for the rather lenghty post)
Greetings, Lars.
Lars,
seems like you got the power all figures out
regarding the usb/serial discussion.
If I understand you correctly you can plug the USB connector of the GPS receiver into the USB port of the PC.
'somewhere' in the PC this is modified into a virutal serial port in order to enable serialport aware programs to work with the GPS receiver as well.
This is a good concept but at an electrical level that still means that the GPS receiver is connected in an USB fashion. There is nothing Serial Port about that. In a way you already pointed that out in your messages by using the word 'emulate'.
You can hook it up to the USB part of the XDA but still I doubt about the master/slave discussion of USB.
Regards Robert
No cahnce.
Save yourself time/money.
Forget it.
Lars said:
Hi there,
let me first thank you for this great site you put up here!
And here comes my question:
I want to hook up my USB GPS Mouse (made for the notebook -
meaning it get's it's power via USB) up to my XDA.
And now I wonder if I can simply solder the data +/- cables
from the USB Mouse to the USB data +/- pins on the XDA plug
(so I could still use the same cable for ActiveSync on the PC),
or if I have to solder the data +/- cables from the USB mouse
to the serial RX/TX pins as described on the 'The XDA's connectors'
page of this site...
I was planning to hook both the GPS and the XDA up to my car
power adaptor in a kind of a Y constellation:
::::::::::::::::::::::::::::::::__________ Power
:::::::::::::::::::::::::::::::/
::::::::::::::::::::::::::::::/
::::::::::::::XDA ----------
::::::::::::::::::::::::::::::\
:::::::::::::::::::::::::::::::\___________ GPS
and use Power for both.
Maybe someone can tell me about the data hookup.
Thanks, Lars.
Click to expand...
Click to collapse
Guess U R right
Hi Guys thanx for the feedback,
I spent an afternoon researching on this stuff and am very disappointed that I have to admit you are both right.
Now way (other than putting some 'intelligent' converter between the USB GPS and the RX/TX pins of the XDA) to make the USB 'language' sound like 'SERIALean'.
I think there should still be a possibility:
Let everything run via the USB, persuade the XDA it's not ActiveSync talking to it and write a driver that talks to the GPS via the open USB connection and sends the proper commands to recieve the NMEA ASCII.
And then you would still need to tell your route software to take the incoming data from the virtual (or emulated) COM port...
And when I read the above chapter once more :shock: I find this is definitly not a job for me!!
So I will just get a serial GPS an hook it up the nomal way.
Cheers and thanx again, Lars.
Hi,
Just read your post. I am new to pda land. Just bought a xda2
I have a laptop which I use with a gps usb mouse via usb on the laptop. Am I right in thinking that I could have bought a ps2 mouse and used a ps2 changer to usb and it would have worked??
If so can't I buy a usb to ps2 changer in order to plug into a car connection cable which has the ps2 and the xda conection and a ciger lighter plug for power? OR is there a similar cable for a usb connect for gps?
Am I missing something here?
Thanks
P

[Q] MHL video and USB OTG at the same time?

I'm hacking a portable USB keyboard (from HP iPaq) to work on my note and planning on including USB hub, battery power pack, USB port for flash drive.
I'm also planning on adding HDMI out. I'll either include a switch to go between USB (keyboard etc) and video only or if I can have everything then this will become my "turn Note into a computer" all in one solution when plugged into HDMI monitor/television.
All the pins are there. But I don't know if MHL and USB can be used at the same time. Anyone know or do I have to try it and see what happens?
Blowing up my Note USB chip would not make my day! LOL
PurpleMelbourne said:
All the pins are there. But I don't know if MHL and USB can be used at the same time. Anyone know or do I have to try it and see what happens?
Blowing up my Note USB chip would not make my day! LOL
Click to expand...
Click to collapse
Sorry to rain on your ideas for the second time but not possible. Even if the logic were there to somehow implement both modes, there just is not enough bandwidth on those wires. You only have two twisted pairs and 1080P needs almost all that bandwidth to push enough ones and zeros to fill the screen at 25-30fps.
Your best bet for satisfying that fantasy is bluetooth keyboard and mouse. Think I saw a youtube video yesterday of a guy playing a game through MHL out while controlling through a bluetooth keyboard.
They are mutually exclusive connections at the hardware level, so no software mod can make this possible.
Bluetooth keyboard and mouse are great - check out my youtube channel "AndroidNZ" for a demo on MHL and various uses.
I was already impressed a while back by your video showing MHL video and so I went and bought a connector of my own on ebay
My main focus is to make a little do it all dock for sitting having lunch in a cafe. All built into a wired HP iPaq keyboard. I currently have a Dell Axim bluetooth keyboard and Logitech bluetooth mouse, but they aren't as smooth as I'd like. But the mouse is probably only useful when using a big screen.
So hardware hacking time!
But even if I can't do both, it will be nice to have my phone sitting next to the television with only a short HDMI lead and the phone doesn't flop around because of the stiffness of said HDMI cable as it does currently with my existing octopus setup of leads.
So it will have two modes.
Video mode where the keyboard only acts as a stand, battery pack and video port.
Cafe mode where I have keyboard with stand, USB flash drive, battery pack and USB.
All in a 15cm x 10cm x 2.5cm tidy expanding package :-D
Maybe when the Note 2 comes out with USB 3 we might be able to have both video and USB
oops, duplicate
MHL + OTG Multimedia dock is now available!
Heres the answer to your mhl + otg problem guys but a bit costly!
http://www.ebay.com/itm/Original-Sa...axy-Note-2-N7100-EDD-S20EWEGSTD-/230889526839
who can read is in advantage
this dock station is for the note II and not for the note I.
The pinout is different.
but 1 solution could be plugging in otg then usb hub then the micro usb female to usb A then the Mhl adaptor and the other connector of the hub with the mouse and the keyboard
http://de.focalprice.com/CA0352B/USB_A_Male_to_Micro_USB_Female_Adapter_Black.html
but finally i think it won´t work because there is not enoug voltage and power to get all devices so u need an external power supplier for the hub or an battery connect with the hub. try it out and tell us of your experience
)
alz_uk said:
Heres the answer to your mhl + otg problem guys but a bit costly!
http://www.ebay.com/itm/Original-Sa...axy-Note-2-N7100-EDD-S20EWEGSTD-/230889526839
Click to expand...
Click to collapse

P10 - reverse charging disable

Hello,
is there any way to disable reverse charging on P10. I use usb c to micro usb cable to connect DAC Fiio Q1 mk.2 it works great, but phone charges the DAC. So it limits the useability, because of fast discharge. I also tried classic OTG cable and micro USB OTG cable with original Huawei reduction, both with same result = reverse charging the DAC. In developer settings is default USB mode set to MTP. After plugin it goes to reverse charging and after setting it back to MTP in status bar it stops charging due to DAC but after 2 sec. it starts again.
Is there any way to disable it in software? Because on head-fi Fiio engeneer wrote how to solve it trougth cable mod.
But software solution will be much easier.
Thanks.
I have this same issue can someone help please?!

USB front camera

Hi
I bought a 12V USB front camera to connect it to my HU. My HU did not recognize it. I tried it on my PC and it worked. I found the same camera with input voltage 5V. Does this make any difference?
FrameworkVer: rkpx3-eng 4.4.4 KTU84Q
OsVer: 3.0.36+
Any help is appreciated
Yes, usb outputs a maximum of 5v so it can't power a 12v device, power from battery or get a 5v camera
Sent from my SM-G960F using Tapatalk
First of all thanks for your reply but I am a bit confused since I connected the 12V camera to my PC USB and it worked. So PC USB output is 12V?
Sorry that I am asking but I don't want to buy 5V camera and fails to work.
Thanks in advance
Assuming your using a USB C/3.1 port on your laptop then yeah it can output 12v, it also depends on the ma it can output so if it works on a 5v USB 2 port your camera must be able to work between 5v and 12v and its either your headunit not being able to output a high enough current or the camera is incompatible with your headunit.
Also, did you change the dvr to usb in factory settings as that could also be why it's not working
Sent from my SM-G960F using Tapatalk
I really appreciate your great help and well described information. I'm going to try to change from factory settings DVR to USB ( if I know how? lol ). I will let you know about the result in next 2 days. In case I have no good result, I buy another camera but this time of 5V input voltage.
By the way I'm using USB 2.0 port.
Best regards.
Hi Mr.R™,
I entered in factory settings and clicked on Arm Settings. Then I went under DVR which has 3 options:
OFF
CVRS DVR
USB DVR
At that moment OFF was checked, then I tried and checked USB DVR.
I went further down and found FRONT VIEW CAMERA SWITCH which has only 1 option:
Show Camera Open. I even checked this option.
I tried 2 apps ( caroo-pro-dashcam-obd and AutoGuard Dash Cam) but camera was not detected. I don't know if I did the right options.
Do you think that the camera is not compatible? If you need more in formation about my head unit, please let me know.
Thanks in advance

Help debugging/configuring my custom AA/AM install's USB device network?

Hi all - I'm finishing up installing a 2019 Samsung Tab A 10,1 into my Chrysler 300C. Everything is great, except that my USB SSD drive kills the battery when in standby. Let me detail the build:
Samsung Tab A 10,1 > USB C > Kingston Nucleum USB hub
- This is the only connection into the tablet. The hub is powered from a 12v USB point with USB 3.0 QC and a USB-C PD port. Pass through charging wakes the tablet up as the accessory power energises. Once turned off, the tablet renegotiates power supply arrangements and starts to deliver this to the hub itself. At least, that's my understanding.
Connected to the hub is a 512GB Sandisk SSD (USB 3.0), a Meizu Pro Hifi DAC (USB C) and an external USB 3.0 socket.
Is it possible to have the tablet either unmount the SSD whilst not powered (the SSD might still draw power even even unmounted?) or preferably not take on the role of being the supplier of power to the USB hub? Alternative suggestions are of course welcomed.
Prostheta said:
Hi all - I'm finishing up installing a 2019 Samsung Tab A 10,1 into my Chrysler 300C. Everything is great, except that my USB SSD drive kills the battery when in standby. Let me detail the build:
Samsung Tab A 10,1 > USB C > Kingston Nucleum USB hub
- This is the only connection into the tablet. The hub is powered from a 12v USB point with USB 3.0 QC and a USB-C PD port. Pass through charging wakes the tablet up as the accessory power energises. Once turned off, the tablet renegotiates power supply arrangements and starts to deliver this to the hub itself. At least, that's my understanding.
Connected to the hub is a 512GB Sandisk SSD (USB 3.0), a Meizu Pro Hifi DAC (USB C) and an external USB 3.0 socket.
Is it possible to have the tablet either unmount the SSD whilst not powered (the SSD might still draw power even even unmounted?) or preferably not take on the role of being the supplier of power to the USB hub? Alternative suggestions are of course welcomed.
Click to expand...
Click to collapse
You can use tasker to recognize usb charging on/off and when tab is gonna lose usb charging set it to power off. Unless tab can deliver power from usb even if its off, than you should search for another solution.
For tasker help go to Tasker tips & tricks section on XDA.
Good luck.
Sent from my Galaxy Tab 2 3G using XDA Labs
Thanks for the input! I'll have a look into Tasker. I'm guessing that when you say "power off", the tablet itself is not being shut down....after all, waking an Android device from cold is somewhat annoying to have to do manually every time one starts the engine. Currently Auto Mate wakes the tablet on a USB charging condition and instantly opens the main screen. Very convenient. Hopefully Tasker can integrate into this setup without conflicting with the functionality that works right now! I'll keep this thread updated with what I find, actions taken, etc. so that anybody else going down the path I have doesn't have to ask or chase themselves....
Cheers.
Okay, first impressions. It seems that Tasker might be able to do this but as stated, I suspect that it may conflict with the functionality of Auto Mate. After installing the demo version of Tasker and creating a basic Profile/Task to test detection of USB charging removal (beep, not sure if can/how to unmount yet) Auto Mate no longer autostarts when plugging in USB charging. That bit is somewhat of a backward step before we've even started to move forwards
I'll keep testing and experimenting and hopefully things will fall into place a little better.

Categories

Resources