Question Lenovo Phab Plus USB Hub Problem - Lenovo Phab Plus

Hello.
I am working on project converting Lenovo Phab plius into car headunit. ( due to perfect size of screen)
I made USB DAC, have USB UVC camera, USB HID device for control, and USB flash to make it more usable. This is what i need from Lenovo phab plus to be able to work with
All parts in separate works great ( except it only tolerates shot cables on camera, while my HTC One M8 will work very happy with 5m of cables, since camera wil be mounted as car backup camera)
But THE PROBLEM IS THAT IT CAN"T FOR SOME REASON WORK WITH USB HUB, IT JUST DON"T WANT TO RECOGNIZE ANY DEVICE. My phone HTC One M8 with my own made USB hub, can work with all of these devices togerther, without any problem, can lisin to music, use camera ic camerafi app, use HID USB device for sound and other control, but Lenovo phab plus, no!
Why lenovo sucks so hard ? Why it can work just like HTC One M8 ? All of my project now is hangind, because some stupid software or hardware bug, i wanted to smach Lenovo phab plius so many times now, but i don't have any replacement that will fit inside headunit place. This is SO FRUSTRATING!
I could give REWARD for someone who can help me out in this sad situation...

Related

->[Q] Tablet with digital audio out [tablet->optical(toslink or coax)cable->DAC]

->[Q] Tablet with digital audio out [tablet->optical(toslink or coax)cable->DAC]
Hello,
I've tried the search and couldn't find anything relating to my issue.
I need a portable device/music player that has the ability to stream digital audio to my DAC (digital to analog converter).
I would like to listen to my music in my car using this tablet/music player. I have a DAC/Signal prosessor which has both optical coax and toslink inputs to recieve the signal so either one is fine.
Here is the signal path explained once again:
tablet -> optical toslink or coax cable -> DAC -> any given audio system (In my case also car audio system)
Please help me choose a tablet or help me find a way to do this. I know that some tablets have hdmi out, but it gets a little too tricky to seperate the digital audio signal from hdmi port to spdif, am I right?
Any help is greatly appreciated,
-Tersi
Guys, I don't mean to be impatient but I thought this was the place to get some answers to my problem.
Is there a way to send digital audio via usb port? I think there are ways to convert digital audio from usb to spdif..
Or could there maybe be a docking station, that has a digital audio output?
Please share your knowlage of the tablet world!
I am also looking for this too! I want to use a tablet as a car pc and run the audio out of it digitally to prevent all noise and ground loop headaches.
Did anyone ever get anywhere with this. I'm looking to do the exact same thing and the HDMI converter kit I bought is useless so I'm looking for another go around.
ainol novo basic
I just received an ainol novo basic w/ ICS (mcbub.com from LA). It uses a MIPS processor so not all apps are 100% compatible, however I am able to use it as intended (music player). If you tether you can use pandora, slacker, etc.
I take the HDMI out into a monoprice 5557 (sorry no url)
HDMI converter which outputs toslink, analog, RCA.
I use this in a home application (110v), however they are low power and you can use it in a car.
Be careful you need the Ainol Basic because it has the HDMI output. The paladin (which I also have) does not.
I'm sure there are others but for $130 I doubt you will do better, especially because it's running ICS also.
I use RCA optical into my Fiio DAC (sounds better). Toslink works too.
Monoprice switch uses ~3W on 5V, the Ainol is powered by miniusb.
I'm sure you have an onboard DAC (Fiio is excellent tho), but if you dont I recommend it. It has issues w/ 5.1 audio tho, so only pass it stereo.
I haven't tested 5.1 sound on it, although the specs say it will pass it. Your DAC will probably be the issue.
HTH.
Is this the only tablet that can do that? I was also considering this. Doing digital to the back of the car and then running it to a powerful car audio system.
I am also looking for this tablet or solution to this problem. Anybody knows?
usb dac optical out
I know rhis thread is old but for anyone looking for optical out via usb samsung note2 3 8 pro line s line nexus 7 both. Nexus 10. All of these tested w a behringer uca 202 dac w optical out. And I love it. Almost any newer andoid tablet that supports usb host will work.
b3ltazar said:
I know rhis thread is old but for anyone looking for optical out via usb samsung note2 3 8 pro line s line nexus 7 both. Nexus 10. All of these tested w a behringer uca 202 dac w optical out. And I love it. Almost any newer andoid tablet that supports usb host will work.
Click to expand...
Click to collapse
Yep !!ok!!But the problem is (for car install) the charging (in the same time):crying::crying:
Even the older samsung tablets with the multi-pin connectors have the ability to conect and charge .
This make me mad...
tito1231 said:
Yep !!ok!!But the problem is (for car install) the charging (in the same time):crying::crying:
Even the older samsung tablets with the multi-pin connectors have the ability to conect and charge .
This make me mad...
Click to expand...
Click to collapse
What kind of tablet do you have there are otg and charging kernels for most of the popular tablets and a few tricks for any samsung that supports otg...and if ur tablet doesn't support it u can wire a relay to a moded cable that will charge when the car is off and otg when car is on.. if u need details let me know.
b3ltazar said:
What kind of tablet do you have there are otg and charging kernels for most of the popular tablets and a few tricks for any samsung that supports otg...and if ur tablet doesn't support it u can wire a relay to a moded cable that will charge when the car is off and otg when car is on.. if u need details let me know.
Click to expand...
Click to collapse
Τhank's for answer , i have see your threads for otg and charging .
Your suggestions is very valuable but ....
I have a tab pro 8.4" wi-fi EU ,but i dont have luck with resistanse (88kohm i thing)
Relay is very nice solution-i have use one already for delay the 12v current to my HU.
any battery drain for the next morning??
For the next step ... Behringer U-CONTROL UCA222 ?? ru sure??coz i go for it!!.
Works with no external power???
I can get audio from rca output to??

[Q] OTG USB Soundcard- how to get Audio in working (again)

Hi all,
As it's widely known USB Soundcards work on Samsung models (S3 note 10.1) unfortunatly I'm wondering about how to get not only
Audio out of a OTG connected USB Soundcard (which works) but also Audio in. If I m not completely insane it worked some month ago but actually doesn't (anymore)
Any idea how I could use Audio in & out from a OTG connected USB Soundcard ???
Device is rooted
Many thanks
Felix

USB audio on the Moto G?

I already found out, that the Moto G supports USB OTG, but would it support USB DAC's (digital-analog audio converter) ? If any Moto G owner owns a USB Dac or atleast something compareable like a USB headset or USB headphones, I'd be really thankfull if you could try it out.
The dac/headset needs to be plugged into the phone using a USB OTG cable.
Thanks!
Sent from my GT-I8160 using xda app-developers app
Works!! BUT:
I hooked an USB-OTG to Moto G, in there a Creative USB Soundcard with analog/digital output. Analog didn't work (must be the soundcard), but digital. I connected the digital out with a light cable to my RME environment and I could hear the music but with wrong frequency and crackled - but it works
Moto G has enough power to let the soundcard work.
[edit]
Hooked another soundcard in, this time analog works but wrong sample frequency and oversaturated, no option to control the volume.
Wow! This phone seems to be even more incredible value than I ever thought.
The problems that you mention sound pretty weird, though. The first thing that I'd suspect is the lack of special drivers for the soundcards on the Moto g. Maybe a simple DAC that doesn't need any special drivers would work better.
In fact, stock androids rarely work with any USB audio devices. But there's a app that includes special drivers and makes most USB-OTG enabled droids work with USB audio devices. You can the trial version (link in the description of the app) of it if you like:
https://play.google.com/store/apps/...=organic&utm_term=usb+audio+recorder+pro+demo
Be aware that the trial only works for 15 minutes and it doesn't play the usual audio formats. ( .flac works) If you try it, you should put a flac on the phone before installing the app.
Oh, and who knows how well this might work when CM and KitKat arrive!
Thanks a lot for your help.
Sent from my GT-I8160 using xda app-developers app
With the app it works, without stuttering and you can control the output volume, although there was an error warning at startup regarding main volume
I tried to record something, but hadn't enough time. First try was unsuccessful unfortunately.
shaftenberg said:
With the app it works, without stuttering and you can control the output volume, although there was an error warning at startup regarding main volume
I tried to record something, but hadn't enough time. First try was unsuccessful unfortunately.
Click to expand...
Click to collapse
Well, that's nice to hear. Maybe some Custom ROMs (Cyanogenmod in particular) will have better support for this without the app.
Anyway, I think I'm going to get this phone (Christmas is coming ). Usb audio support (atleast with the app) is crucial for me, so thanks for reporting that it works.:good:
One last thing though, what make and model were the two soundcards that you used for testing?
UnknownAX said:
One last thing though, what make and model were the two soundcards that you used for testing?
Click to expand...
Click to collapse
First a cheap Creative USB Soundcard, second a DJ-Audio-Player from EKS (www.eks.fi) which has its own soundcard per player.
Could you test this on the faux kernel that your running atm, Shaftenberg?
Most people who have tried it on the stock ROM have experienced the same glitches that you mentioned in your first post. On the other hand, there's also one report of it working fine, with the Google music player. The DAC is probably the biggest factor.
Anyway, I'm just waiting for the 16gb version to be available....
I tried 2 DACs. One was a CEntrance DACport LX flashed with the iPad firmware, and the other was a cheap off-brand thing (ELE EL-D01 on eBay). Both of them "worked", but I encountered the same issue with each: I tested both by playing a Youtube video, and the audio was not playing back at the proper sampling rate. The audio was slightly slowed down... as a result, pitches were slightly lower, and the audio lagged behind the video pretty significantly. If I had to guess, the audio was 48kHz, and Android was trying to play it back at 44.1kHz without resampling it first.
Why it was doing this, I have no idea: on a Nexus 4 running stock Jellybean with jacknorris' patch (which, AFAIK, doesn't pay attention to sampling rates but just assumes Android will handle that properly elsewhere), this works perfectly. However, it was fascinating/encouraging to see this work at all on the Moto G: it means that with stock firmware, not only does OTG/USB host mode work, and not only does the kernel have the stock Linux USB DAC driver compiled in, but the Android framework itself attempts to use the DAC, which is *definitely* not true with plain-jane AOSP.
One thing I was sad to see (which also seems to be true of a LOT of other Android phones that support OTG out-of-the-box) is that if I injected 5V from an external source into the USB power lines, the phone would NOT charge as long as OTG mode was engaged. Which means that, at least with the stock Moto G firmware, you can't both be in USB host most *and* be charging the battery at the same time. (Interestingly, the very first time you plug the power in, the phone says "charging", but it's quickly obvious it isn't. If you unplug and re-plug the power in after that, it will not show the lightning symbol on the battery any longer until you reboot the phone. Normal USB chargers continue to work without the OTG cable without requiring a reboot.)
-- Nathan
nlra said:
If I had to guess, the audio was 48kHz, and Android was trying to play it back at 44.1kHz without resampling it first.
Click to expand...
Click to collapse
That makes sense to me. But what would happen if we played a 44.1kHz track? It wouldn't have to resample then, would it?
Maybe that's why there is a report of it working with google music player...maybe he just happened to try it with a 44.1kHz track?
I'm pretty sure this will/can be fixed with a ROM / Kernel. Like USB OTG charging, it's just a matter of time (I hope). Both things have already been successfully enabled on many different devices.
Thanks for the info, luckily I'm not the only one showing interest in this.
It most definitely works with my Moto G and my FiiO E17 (connected via a generic OTG cable)
Trouble is, although it ALMOST worked, I got sporadic but impossible to listen to skipping/stuttering when using Poweramp or the native Google player app.
I finally found an app made by the same people who do the USB Audio Recorder Pro as mentioned by the poster, called USB Audio Player Pro (can't post the link, being a new poster, but a quick search for "USB audio player" gets to it)
...it costs over 5 pounds, and to be frank it is not the world's prettiest or richly featured player, but it certainly works and the output sound is great.
Anyway, just posting to let you know that it works, at least with my Fiio E17.
So here's some good news: after applying the official KitKat 4.4.2 OTA, OTG still works, USB DAC support still exists, and now it even works properly, at least for me! No more strange audio sampling issues: I could attach either one of my DACs and play the same Youtube clip without any difficulty! Audio was perfectly in-sync with the video.
-- Nathan
Did anyone manage to get USB audio to work with the Moto G play edition?
Has anybody found a way to enable OTG and charging at the same time? I genuinely enjoy listening to Moto G + FiiO E17 but it leaves me with low battery on the way home which is rather frustrating and makes me to swap charger/DAC during the day.
I don't mind putting unofficial ROM in as long as it doesn't require hardware mods.
jjacks said:
Has anybody found a way to enable OTG and charging at the same time? I genuinely enjoy listening to Moto G + FiiO E17 but it leaves me with low battery on the way home which is rather frustrating and makes me to swap charger/DAC during the day.
I don't mind putting unofficial ROM in as long as it doesn't require hardware mods.
Click to expand...
Click to collapse
I have taken ziddey's USB OTG kernel patch for the Nexus 4, which allows both for charging as well as USB OTG mode without an actual OTG cable, and I have compiled a new kernel for the stock Moto G 4.4.2 ROM, and it works great! The only thing is that you have to use a non-OTG cable...if it detects the OTG cable it will shut off the charging. So you will need a USB Y cable to inject a 5V power source to both your DAC and phone, and plug the phone into the Y cable using a standard micro-USB cable instead of an OTG cable.
If people are interested in this kernel, I can post it. You will need to unlock your bootloader to flash it.
-- Nathan
That is interesting. I would be happy to flash it. Is it safe operation? I flashed multiple windows mobile / windows phone devices but no experience with Android mods yet. Any downsides of custom kernel?
jjacks said:
That is interesting. I would be happy to flash it. Is it safe operation? I flashed multiple windows mobile / windows phone devices but no experience with Android mods yet. Any downsides of custom kernel?
Click to expand...
Click to collapse
You should read some of the other threads on how to unlock your Moto G bootloader and how to flash stock ROMs back, at the very least, before applying mine. I can't educate you on these matters here and there are other threads more appropriate for those discussions. Then take that knowledge and apply it to this. In this case, as long as you are using a stock Motorola ROM already (and not a GPE ROM!), you only need to flash one component: the kernel.
This kernel is completely identical to the stock Motorola kernel in every way except that it has ziddey's patch applied. So the only downsides would be:
1) because you have to unlock the bootloader, if you live in the U.S. at least, Motorola can legally void your hardware warranty, even if you have a hardware failure that cannot be linked to your unlocking of the bootloader. (Other countries' laws are different and Motorola may not be legally allowed to void warranties for bootloader unlocks where you are at.)
2) If an OTA update is pushed to your phone, I believe the kernel will be replaced with a stock one again, and this will stop working. Either that, or because you are running a custom kernel or an unlocked bootloader, perhaps OTAs won't be pushed to your phone, or if they are, they might not install. I have not tested this or read up on this myself as I generally detest OTA updates outside of my control, and prefer to flash my devices myself on my terms when I'm ready to do so.
You can read about ziddey's USB OTG patches that he developed (with the help/inspiration of CaptainMuon) here: http://forum.xda-developers.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820
The only real difference between how this works on the Nexus 4 and how this works on the Moto G is that, as I explained previously, on the Moto G, there is something in hardware that prevents the phone from accepting a charge if it detects that you are using an OTG micro-USB cable, whereas the Nexus 4 doesn't care if you use an OTG cable or not because pin 5 on the Nexus 4 is not actually wired to anything internally. On the Moto G, there is even a slight cosmetic quirk: if you try to inject 5V power to the phone through an OTG cable, the first time that you plug it in after a fresh reboot, it will say that it is charging after you plug the cable in, but it actually isn't (battery will continue to deplete). And if you unplug the cable and plug it back in, it will no longer show the "charging" symbol, until you reboot the phone again. If you plug in a regular micro-USB cable, though, it will both show charging as well as actually take a charge.
Another thing to be aware of is that there are two different releases of KitKat 4.4.2 that Motorola has released for the G (they released an updated 4.4.2 ROM that fixed a couple of bugs after its initial release), but as far as I can tell, they have so far only released the kernel sources for the original 4.4.2 ROM and not the updated one. So I have only managed to build a kernel for the original 4.4.2 update for the Moto G. I have not tested this, but it's *possible* that this kernel will work just fine with the later 4.4.2 ROM. You are welcome to try it; you won't harm your phone by doing so and can always flash the factory kernel back if it doesn't work or has problems. This kernel likely won't work with any 3rd-party ROMs or with the Google Play Edition ROM (which doesn't support USB DACs anyway, sooo no point in using that one, at least if you care about USB audio which you obviously do). Motorola has not released any kernel sources for 4.4.3 or 4.4.4 yet either, so you should stick with 4.4.2 for now. If this kernel does not work with the later 4.4.2 release, then you should be able to downgrade your system image to the older 4.4.2 ROM and use this kernel with that.
The two 4.4.2 releases on the Moto G (excluding the GPE ROM) are marked by their kernel versions. The first 4.4.2 kernel is versioned as KXB20.9-1.8-1.4, and corresponds to the U.S. retail 172.44.4 ROM version, among others internationally. The second 4.4.2 kernel is versioned as KXB20.9-1.10-1.24-1.1, and corresponds to the U.S. retail 174.44.1 ROM version, among others internationally. It is the source for the first kernel that I have access to.
You may download my kernel from here: http://www.nconx.com/~nathan/motog/boot_motog_KXB20.9-1.8-1.4_OTG_charge.img
After you have unlocked the bootloader via Motorola's site and mfastboot, enter Fastboot mode on your phone again, and then flash the kernel to the phone with mfastboot (the Motorola version of fastboot) the same way that you would flash a stock Motorola kernel (see this post, step 3b: http://forum.xda-developers.com/showthread.php?t=2542219), but substituting in the file name of my kernel instead:
Code:
mfastboot flash boot boot_motog_KXB20.9-1.8-1.4_OTG_charge.img
Reboot your phone, plug it into your DAC + 5V power source (again, using a normal micro-USB cable), and enjoy battery charging while simultaneously connected up to your external DAC.
Good luck,
-- Nathan
Great. Thanks a lot. I will give it a try when I find some spare time
My Moto G works with Creative X-FI DAC
My Moto G runs Kitkat.
OTG cable is connected between Creative X-FI Dac and Moto G. Then Creative device's optical output is fed to the Logitech speaker with optical input. Sound with this setup is much better and awesome.
My Moto G Works w/ Fiio E07K
Running Android 4.4.4
Moto G (LTE) > USB OTG cable > Fiio E07K USB Cable > Fiio E07K > headphones
:victory:
nlra said:
I have taken ziddey's USB OTG kernel patch for the Nexus 4, which allows both for charging as well as USB OTG mode without an actual OTG cable, and I have compiled a new kernel for the stock Moto G 4.4.2 ROM, and it works great! The only thing is that you have to use a non-OTG cable...if it detects the OTG cable it will shut off the charging. So you will need a USB Y cable to inject a 5V power source to both your DAC and phone, and plug the phone into the Y cable using a standard micro-USB cable instead of an OTG cable.
If people are interested in this kernel, I can post it. You will need to unlock your bootloader to flash it.
-- Nathan
Click to expand...
Click to collapse
Would you be interested in building a compatible kernel for 4.4.4? Is the source available? My Moto G is brand new pre-installed with 4.4.4. so no option to use your 4.4.2 kernel. I would really appreciate the help - I have a project that requires me to be able to charge and host simultaneously.
Also, I'm fine with flashing an alternate ROM with source available, such as CyanogenMod -- anything to get OTG + Charging working. Any advice is appreciated.
Thanks,
samwathegreat

USB OTG keeps ejecting

Hello, anybody here with an Idol 3 that keeps ejecting flash drives plugged into the micro usb using a USB OTG cable? I have used 2 flash drives and 3 OTG cables and it still keeps on ejecting by itself. Thanks.
Are those flash drives within spec? If they draw more than 500 mA @ 5V, then they are NOT in spec and hence why the drives keep dropping out. Typically that means a USB 2.0 drive should be used. Or a OTG USB drive (I have one) since those have to be in spec otherwise their OTG usefulness goes out the window).
The same flash drives and otg cables worked with all my other phones so I don't think there's any problem with them. I ended up returning the phone since I was also having problems with crappy photos in low light. I have a zenfone 2 which is pretty comparable to this phone and the photos are better in low light plus no noticeable lag unlike with the idol 3. The only thing I really liked with the idol 3 were the stereo speakers which I'm missing right now.
I dont think this phones kernel supports otg. Says USB host diagnostics. BUELLER?
I tried otg also, in 9 of 10 cases, phone reject usb, in one case connections was achieved, and i can copy files from usb. But, even in that case, after some time, connection brakes. Annoying.
5.5 idol 3 android 5.0.2 .. I have used this phones OTG with flash drive, copy move paste all work and other usb devices also work.
My 5.5 idol 3 android 5.0.2 keeps ejecting USB disk CONFIRM

OTG issue on Poco

Hi at all,
who of you, guy has use otg cable for connect drive or pendrive on our phone?
I plug a pendrive using different otg cable that I have, but nothing happen.
I use OTG tester app and it say that OTG is enable, but nothingi happen.
So I've to understand if my phone is defective or there is some option to enable it.
I activeted CIT menù to test OTG but it fail.
IMO the issue depends for alimentation, because if I connect a drone (I'm modellist) nothing happen, while if I do the same on other phone the drone ligh on.
Any idea?
Just connected an old USB I had laying around with the USB OTG adapter I still had from my OnePlus One.
Stick was in fat32 I believe and I have an Android 11 ROM (Latest Nitrogen OS) on the Phone.
Anyway, no problems whatsoever. Was recognized immediately and gave me the Options to Explore/Eject, without any prior settings or anything.
[armitage] said:
Just connected an old USB I had laying around with the USB OTG adapter I still had from my OnePlus One.
Stick was in fat32 I believe and I have an Android 11 ROM (Latest Nitrogen OS) on the Phone.
Anyway, no problems whatsoever. Was recognized immediately and gave me the Options to Explore/Eject, without any prior settings or anything.
Click to expand...
Click to collapse
thanks for test
my Android version is stock 10, with 2.04 MIUI stable.
I don't know if it depend from a bug or hardware issue.
The phone has 3 mounth live and I would't like to return it to Amazon for the change.
I was unlucky with Xiomi this time. I bought the RedMi note 9 pro and I change it for camera problems (dust in the lens). Now with this OTG issue....:crying:

Categories

Resources