[Q] USB Host Capabilities - G Tablet General

So I have my Viewsonic gTablet running VegaNTab b5.1 and I love it. I also have a wonderful USB headset that I love dearly. Is there anyway to reverse engineer the drivers for my headset to run on Android 2.2 or am I stuck with having to buy an analog set of headphones? I'd really like to use the host USB port, but I don't know if this is possible.

Related

Music control on phone for Car radio

Hello,
I have really no idea if this is possible, how hard this could be to do and what it can require but :
1 - Would it be possible when I plug my phone on my car radio with USB to control the music with my phone instead of the radio itself ?
2 - Would it be possible to deport the sounds (calls, applications etc) on the car speakers ?
Let me know if I'm not very clear
PS : please don't answer something like "use a jack-jack cable"
Thanks !
From what I get, you want to "stream" audio through the USB port. I don't know why would you want that and the jack-jack cable is not good (maybe you have a USB port on you car stereo but no line in) but as far as I know it would take A lot of modifications (stereo and phone) to make it work.
So, theoretically it is possible, practically I don't think someone will ever make it possible.
Im pretty sure it would be impossible to control the car radio with the phone via usb. There might be some kind of solution using IR, but I don't know how that'd interface with the Droid. Most aftermarket decks allow for a wired remote on the back (looks like a headphone Jack). I've used it with a steering wheel interface adapter and it worked well, so there is a possibility that a custom usb cable could be made, but would also require a custom app written for the Droid to output the signals through the usb.
On streaming radio via usb, I don't think that's possible either, bc the uusb on the deck is looking for files to read on a mounted drive.
If you happen to have an incredible, you can get the tv-out cable and make a shorting pin on the video output. This makes the phone think it's connected to a TV, and will then stream Pandora, music, Google navigation, etc through the usb. If you do this with your aftermarket radio, you'll need an aux input and an rca to 3.5mm cable unless you already have RCA.
Hope this helps!
Thank you for answers! I was asking that because I remember when I had an iPhone, I was able to play, pause, forward the music from my iPhone. I will try to use the aux-in (I have a little Pioneer DEH-3200UB).
Thank again !
That's because both the head unit and the iPhone know a common language and communicate.
Sadly, I don't think there's anything like that outside Apple.
It is called Ipod ready. That could be emulated in Android, would be another bite out of the apple,s ass.

[Q] Using hd2 as a external BT or USB soundcard for PC

Hi, folks!
My old laptop is nearing the end of its lifecycle and now its soundcard got busted and I can't find a way to get it working again.
I could go to a shop to buy an USB-soundcard, but that would be
a) too easy and
b) waste of resources
- as I'm aiming to buy a new laptop soon enough. But until that time I need to hear some sound from the box anyway (some music, some movies and some training videos) so I wonder if it's possible to use the HD2 as a soundcard and get the audio output from its 3,5mm jack. Either by bluetooth or cable connection..
Is there a specific application for this?
phone is running stock winmo 6.5
pc is win7ultimate in intel T7700:2x2.4GHz/4GbRam/500GbHDD box, BT enabled.
Any ideas how it could be done?
Thanks a lot!
Edit: Ohcrap. Posted it in the wrong subforum. n00b-ish, I know. The correct post/thread can be found here: http://forum.xda-developers.com/showthread.php?t=1279180

Emulate an Iphone USB interface to a car radio?

I recently purchased a car that has a USB interface for the radio. My wife's Iphone fully integrates with it, of course, and via the radio's interface but the Samsung only mounts as a connected drive.
I have read other thread where people were able to force their Samsung into car dock mode by modifying a USB cable. Is there anyway to just do that in software?
you misunderstand what car mode is.
Good luck! I switched back to my iPhone for this reason alone. I listen to a lot of podcasts and I couldn't get this to work via the USB interface and I don't have bluetooth on my head unit. I can't seem to get the newest update to see if that works either. Would love to know if someone has a solution that doesn't require making your own cable.
yo sleze..what model car if i may ask?
i made my own auxiliary input for my car(i know its not a big feat) with an old dsl filter a soldering gun and some resistors and capacitors.. i might be interested in creating a usb interface for my car and then maybe i can give you some insight .. big maybe
well you will never get the headunit to command the phone, android simply doesn't support anything like that. but you can get audio over USB which is triggered by shorting a couple pins through a resistor. ill have to look up that thread but there may already be a dongle or cable out there to do this. it may not be say "android carmode" but if you find the name of the USB standard that they use to trigger it you can find the appropriate cable or dongle.
isnt there a usb headset available that can stop/start music and next track functionality ..if so you could (in theory) make a usb interface that would allow the head unit or in my case steering wheel control to work similarly?
no it wont command the phone. the framework and apps don't have an interface for that. plus the headunit would need special drivers if the phone had that capability. the issue with android is too many manufacturers do things different so unless google comes out with that on a nexus and tells maunfacturers the way it needs to be implimented I don't see any hope.
there might be a way to echo the commands through adb if you have a computer in your car. but I guess you'd have to know how the music app works for that.
we All know apple has the accessories market down pretty good. even though some older accessories don't work with the newest hardware. that's the one thing apple is good for, a wide accessory market.
now if you have a Bluetooth controler and it uses the right protocol to work with thw samaung bluetooth stack then you might be able to map keys to certain functions with an app or simple configuration file editing. but as far as USB goes I don't think android is designed to host USB input devices. there is limited otg usb support on certain special galaxy s and nexus 1 and nexus s kernels but nothing native.
maybe some 3rd party root app could eventually be developed but I haven't heard of one yet.
besides all that, who knows if the head unit will know to go into audio over USB mode in the first place, even if you get the phone in that mode, will the headunit be looking for USB storage and an iPhone interface only? was it designed to accept USB audio other than an iPod interface?
well with my car BMW mad a usb interface for ipod/iphone.. i hate mac so scratch that.. i also have a usb interface(i can control radio/nav functions via carputer) that is designed to work with I-BUS (intelligent input bus) which is what some BMW's used for audio/nav integration. some newer models actually come with a usb input that was designed to work with most media players..so i thought maybe with some time/frustration/rum..i might be able to make it work..
mejori said:
well with my car BMW mad a usb interface for ipod/iphone.. i hate mac so scratch that.. i also have a usb interface(i can control radio/nav functions via carputer) that is designed to work with I-BUS (intelligent input bus) which is what some BMW's used for audio/nav integration. some newer models actually come with a usb input that was designed to work with most media players..so i thought maybe with some time/frustration/rum..i might be able to make it work..
Click to expand...
Click to collapse
It still to my understanding that on BMW iDrive system will have full integration with iOS. We had a 2010 5 series at home with all the bell and whistles on it, and even then it would only display song names. With my iPod we got full library options, podcast too. Android will only be able to be used as a mounted devices.
Sent from my SAMSUNG-SGH-I997 using xda premium
I used to have an iPhone and installed this kit http://usaspec.com/product.php?ProductID=18. After switching to android I just use a 2.5mm to RCA cable to plug in to the same unit. Not worried too much about integrating with car controls - I also use a phone mount. Does your head unit have any AUX IN connectivity? Maybe on the rear? If so just play audio through the headphone jack. There's always the lighter socket RF adapter option too, but audio quality with those things can be lame.
Samsung-SGH-I997 Infused 2.3.3
yeah the headphone amp on the infuse has pretty good fidelity too. the headphone Jack might not be as convenient as a single USB that also charges the phone but I'd you want to use the playlists and 3rd party apps like Pandora or Google music its the best way. audio over USB needs the dock or special cable to trigger but I don't know which headunits will support that.

[Q] USB Speakers - Is it Possible

Hi guys I was wondering if it was possible to get the transformer to output music through the USB ports. I have a set of portable Creative speakers which have great sound and would love to use them with the transformer. They are powered and receive audio from USB
It is very possible, but you'd ave to add the device modules (drivers for the device) to the kernel yourself because it isn't native. I've been trying to get USB headphones working for a while.. :/
Thing O Doom said:
It is very possible, but you'd ave to add the device modules (drivers for the device) to the kernel yourself because it isn't native. I've been trying to get USB headphones working for a while.. :/
Click to expand...
Click to collapse
Got work usb audio on tf101 with CM10. Just kernel modules for usb audio are not enough to get sound from apps to be routed through the DAC. It's also needed to patch vertana audio driver.
I know it's been a long time but I just got around to rooting my TF101 and actually enjoying it. Has anyone done anything similar with speakers or headphones
Sent from my Transformer TF101 using xda app-developers app
Lollipop - Any Improvements?
Has anyone been able to get USB Audio working in a Lollipop ROM given the improvements to USB host?
So far, no luck for me:
KatKiss Lollipop 5.1 #21 ROM
JBL Pebbles USB Speakers connected to the dock
My tablet recognizes there is a USB audio device as the audio stops after connecting.
Also, disabling auto routing of audio to USB audio devices does what it supposed to do - so detection works.
Connecting the headphones out to the aux in of the USB speaker didn't work. Tablet speakers shut off but no sound in the USB speakers.
I could get it to work is powering the speakers from an AC charger and using the tablet headphone out to it.
Also, USB Audio Tester app works in that it can detect the USB device and it was able to play audio out of it (tested via connecting int mic to ext speaker mode and raising the volume bars).
To my understanding from the developer's description, that app uses non-standard interface to output USB audio.
The speakers work fine on Windows and Chrome OS without drivers so I was hoping it was plug and play.
Update:
I did note that I had to raise the in-app playback control volume bars first though to work in USB Audio Tester app.
Also, when connected to a computer and using the Aux In of the speakers, my phones and tablet can play audio.
Based on power draw of a USB charger I connected, the speakers use 0.6W idle and about 1W max.
Therefore, I'm thinking maybe it fails the USB enumeration in Android and the default 100mA is not enough.
Anyone know how to check the USB host enumeration settings?
phioschaos said:
Has anyone been able to get USB Audio working in a Lollipop ROM given the improvements to USB host?
So far, no luck for me:
KatKiss Lollipop 5.1 #21 ROM
JBL Pebbles USB Speakers...
...Also, USB Audio Tester app works in that it can detect the USB device and it was able to play audio out of it (tested via connecting int mic to ext speaker mode and raising the volume bars).
To my understanding from the developer's description, that app uses non-standard interface to output USB audio...
Click to expand...
Click to collapse
Since we are talking about USB HOST, maybe it's important to use USB OTG cable, I reckon, as not all USB cables are equal. This has just recently struck me, because I used USB cable that came with my soundcard the other day. Its of great quality, sure, but I'm almost positive it's not OTG. My audiocard is externally powered, so on the other hand it might be just unimportant in my case...
USB Speakers of all sorts have generic DACs in them that require no special drivers and have to work out of the box on any system as long as USB connection and standard USB functionality are intact. Success stories of USB Audio working under Lollipop are rather abundant.
If USB Audio Tester works for you then USB Audio Player PRO should too, those are made by the same guys AFAICT. UAPP is no free app though, costs a sum, and sadly its proprietary driver(yeah, those devs apps use "non-standard interface") only works inside the program, one cannot watch Youtube or MX Player by using that... Compatibility list is on the devs site. My card, E-MU 0404 USB is listed as compatible for only RECORDING, not playback. Heck, I'm absolutely certain, I saw someone on some forum claiming they got same card totally working under UAPP and that wasn't even on Lollipop! Anyway, my trial and error continues...
I don't have a USB OTG cable for the TF101.
Instead, I'm using the keyboard dock that provides two USB ports.
It should be the same thing.
It is very good to hear that USB audio is working for a lot of people on Lollipop.
I've tried testing my speakers on more Android devices - my Nexus 5 and Samsung Galaxy Tab S.
Like the TF101, the speakers are detected as the OS switches over (no more audio out of built in speakers) but no sound out of the speakers themselves.
I'm leaning towards these speakers are not compatible with Android yet.
Sigh - non-standard standards.

USB Audio

I know similar topics have been talked about before, but I still don't have the information I need to come to any sort of conclusion, so here is my situation.
I have a Nexus S 4G with unrooted, unlocked, stock Jelly Bean on it and I don't want to root my phone. I would like to purchase a head unit for my car and be able to plug my phone into said head unit in my car via usb in order to charge my phone and play music (i.e. Pandora) at the same time. It sounds like in order to accomplish this the head unit requires a certain protocol MSC or MTP maybe, I don't really know. So does anyone have any information on how I can possibly make this work or maybe some information to lead me in the right direction. Google makes this sound so easy, but apparently it is far from it.
Thanks,
Dave
On my older galaxy 3 i5800 i could just plug in USB on phone and in car stereo, it asks to mount(like on PC), and phone was charging, also car stereo recognized my music, it played. So i think it only depends on radio options.
Sent from SpeedMachine i9023
It sounds like in order to accomplish this the head unit requires a certain protocol MSC or MTP maybe, I don't really know
Click to expand...
Click to collapse
sbdave, the head unit would need to support MTP (Media Transfer Protocol) which is a new MS protocol. The pre-ICS (android 4.0) version of the OS supported MSC (which made the phone look like a normal USB drive). Most car stereos with a USB jack should understand the old protocol. It seems very few support the new one. Very annoying to me. Google wants to say that MTP is a better solution since it allows simultaneous access to the files while syncing and "just" requires some additional drivers. But how do you add drivers to a head unit? Seems like short-sighted thinking to me. Hopefully we'll get a better answer via XDA or via Google in a future OS update. Seems like it should be an option to use one or the other (like they allow MTP and PTP now).
I've tried to use the SGS3 Easy UMS app for my car stereo (Infiniti G Sedan), but to no avail. Still looking for a solution.
phlepper

Categories

Resources