Printing via OTG cable - Galaxy S III Q&A, Help & Troubleshooting

I created a small video demonstrating printing via OTG host
I did this because i have come across several people saying they cant get it to work, and this is mostly because they are expecting the stock print buttons to work
http://youtu.be/m-8bnejng3Y

I tried to use more than 1 device by connectibg a usb hub, but this did nit work
Are there dual OTG cables available, ir is 1 device the limit ?
Would be nice to connect a printer and a keyboard
Sent from my GT-I9300 using xda premium

Check this video out:
http://www.androidnz.net/2012/06/samsung-galaxy-s-iii-connectivity-demo.html
Pretty much confirms that certain types of USB hubs will work and work well!

Ahh. Cool.. Will try some more hubs
Sent from my GT-I9300 using xda premium

hi, thanks for the video. unfortunately i'm at work for the next 25 days (at sea on a boat) and I cannot access youtube from the work computers. Can you detail the process for me? Is an app or script involved?
I plugged a printer into my phone and it popped up saying printer connected so i thought I'd look online to see if anyone got it working. and you did. well done

Related

[Q] USB to Ethernet Adapter

Has anyone tried to use one. Heard the Viewsonic G Tablet can do some. Needing a solution to cable it. Thanks.
Sent from my Desire HD using XDA App
I guess in theory, one of the ones mentioned in this article might work.
In one of my rooms the wifi coverage is very low - so it is tempting to try to get one of them to test.
tried a sabrent one, no luck
dude2k5 said:
tried a sabrent one, no luck
Click to expand...
Click to collapse
Need one that is supported by linux or drivers will for sure be the doom. The question is only wht support has actually been included by Asus.
This thread looked interesting to me, thanks OP.
I have tested some of these before in another project. I found differences in even what was supposed to be the same models, weird stuff. I did find a few models that worked on LINUX, but I will have to dig around to find them.
A good test might be to find a model that quasi *auto detects* and operates on a specific version of LINUX, as a prerequisite, and then test on the dock.
The amount of OS/configuration modifications to *auto detect* should me minimal or none.
Hmm, youll probably need to compile the drivers as modules and manually insert them before it might work. But its worth a shot to just try one first
I should have my hands on the Apple adapter on Tuesday.
Sent from my Desire HD using XDA App
HTCinToronto said:
Has anyone tried to use one. Heard the Viewsonic G Tablet can do some. Needing a solution to cable it. Thanks.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
i got mine working, just follow the instructions from the link below
http://forum.xda-developers.com/showthread.php?p=14747728
It's working! I connected my n900 via usb and set it to network mode.
did netcfg usb1 dhcp and got the address from dhcp.
I wonder why they didn't include ifconfig in android :S
Also, I suspect you can use usb0 (client mode port) to connect to your pc.
Confirm: Connect to LAN using USB to RJ45 on Asus Transformer?
Hi,
I just want to confirm with the previous post that you were able to connect to the internet via LAN using a USB to RJ-45 purchased from amazon. (Search for "USB 2.0 to RJ-45 Ethernet Adapter" on amazon.) Did you connect using the USB port on the dock or on the tablet itself? Thanks!
bambooman said:
Hi,
I just want to confirm with the previous post that you were able to connect to the internet via LAN using a USB to RJ-45 purchased from amazon. (Search for "USB 2.0 to RJ-45 Ethernet Adapter" on amazon.) Did you connect using the USB port on the dock or on the tablet itself? Thanks!
Click to expand...
Click to collapse
Sorry second part of the first sentence confuses me a little. Are you referring to me? I connected to my phone that has usb network mode. And I attached it to a usb port on the dock.
So I picked up the Apple USB-to-ethernet adapter (MC704ZM/A), plugged it in and no response from my Transformer. Did you guys do anything special to get yours working?
Sent from my Desire HD using XDA App
I can confirm that I tried a USB to ethernet adapter (chip seems to be ASIX ax88x72A) and it did not work on my TF. The adapter came with a driver CD and it did include drivers for android. I'm attaching them here in the hope that someone who knows what to do with these files can help.
The driver files can also be found on Asix's website. Google "asix ax88x72A android". Sorry, this board doesn't allow new members to post external links.
I really hope Google or Asus can fix this missing rather fundamental functionality in a future SW update. I don't want to carry a router around and a lot of hotels only have wired internet!
Found Android Drivers
mesquita1 said:
I can confirm that I tried a USB to ethernet adapter (chip seems to be ASIX ax88x72A) and it did not work on my TF. The adapter came with a driver CD and it did include drivers for android. I'm attaching them here in the hope that someone who knows what to do with these files can help.
The driver files can also be found on Asix's website. Google "asix ax88x72A android". Sorry, this board doesn't allow new members to post external links.
I really hope Google or Asus can fix this missing rather fundamental functionality in a future SW update. I don't want to carry a router around and a lot of hotels only have wired internet!
Click to expand...
Click to collapse
Here are some additional drivers from the manufacturer. They clam it includes Android 4.x.x Good luck
http://www.asix.com.tw/FrootAttach/driver/AX88772C_772B_772A_760_772_178_LINUX_Driver_v4.6.0_Source.tar.bz2

Pictbridge

It was just my girlfriends bitrhday. I got her this little printer that prints polariod style pictures. It says you can print pics from a phone via infrared. Or pics from a camera with pictbridge. It prints pics from her camera with no problem but what phone has infrared? Is there any way to get pictbridge on my phone?
Sent from my SAMSUNG-SGH-I777 using Tapatalk
Just use bluetooth. Thats how i do it. I have the same printer hope this helps
Sent from my SAMSUNG-SGH-I777 using xda premium
tat2messiah said:
Just use bluetooth. Thats how i do it. I have the same printer hope this helps
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
That would be a very nice feature to have but I don't think this thing does that. What printer do you have? I am trying to use a Fujifilm Pivi MP-300.
Try using your microusb->usb cable and enable usb storage mode on your phone.
owmygulay said:
It was just my girlfriends bitrhday. I got her this little printer that prints polariod style pictures. It says you can print pics from a phone via infrared. Or pics from a camera with pictbridge. It prints pics from her camera with no problem but what phone has infrared? Is there any way to get pictbridge on my phone?
Sent from my SAMSUNG-SGH-I777 using Tapatalk
Click to expand...
Click to collapse
No phone I know of has had infrared for YEARS.
These days it's all wifi or Bluetooth.
i know laptops have had IR technology but i havent seen cell phones with that in a long time
OwmyGulay,
Pictbridge is a standard that was created and implemented by both the Digital Camera and Printer consortium. It was enacted as a quick way to get images from a DIGITAL camera off to a PRINTER without having to tether the CAMERA to the COMPUTER first to download data from SD/CF cards and then launching a seperate computer/printer program just to print files.
Imagine taking a PIC and then hitting the PRINT button when you're near the printer, no worries about cables and file copying needed. this was magic back in 2007/2008 before BLUETOOTH took off and Smartphones were all Blackberries (No iphone no Androids yet)
To the best of my knowledge we do NOT have Pictbridge protocols installed on our SGSII so this will not work for us. Instead simply connect via Bluetooth...
Thanks for all the replies guys. My regular printer has bluetooth but this new little photo printer does not. I don't know why. I must have just assumed it did before I bought it. It is pretty weak. My girlfriend is able to print pictures from her Nikon on this printer via usb so she likes it. Thats what she wanted it for. Maybe this thing is just old.

Is it possible?

Currently to me ubuntu running on top of android is pointless but intriguing. Is it possible to connected an external Usb wifi adapter to the phone and have it recognized in ubuntu? More simply put can the phone allow the needed data through the USB interface? I cannot be the only one considering the joy of running Airpwn on a mobile phone... Any thoughts? If the wifi adapter is possible it opens up a whole new box of abilities for the phone.
Sent from my SAMSUNG-SGH-I717 using XDA
Went ahead and ordered http://www.amazon.com/Alfa-AWUS036H-Wireless-Long-Rang-Panel/dp/B003YI4HRM/ref=cm_cr_pr_product_top
And a couple microusb to Usb adapters to test with.. I'll let yall know if I'm successful when I get everything.
Sent from my SAMSUNG-SGH-I717 using XDA
I've been thinking about this since i got the Note. Glad to see someone is thinking along the same lines.
I'm looking forward to seeing your results.
I should have the wifi adapter this week but the damn 50 cent microusb adapter will take until the 1st. Some odd reason I didn't feel like paying for shipping on something that costs 50cents.
Sent from my SAMSUNG-SGH-I717 using XDA
Funny I just ordered an Ethernet to usb adapter for similar purposes. I want to see if I can use Android to do network testing so I dont have to carry a laptop with me.
Looking forward to seeing your results. I will post mine as well.
PS. How do you get Ubuntu to run on the Note?
Shurafa said:
Funny I just ordered an Ethernet to usb adapter for similar purposes. I want to see if I can use Android to do network testing so I dont have to carry a laptop with me.
Looking forward to seeing your results. I will post mine as well.
PS. How do you get Ubuntu to run on the Note?
Click to expand...
Click to collapse
Never thought of that. Now that I'm its a bit scary from a network security standpoint. Having a small easly hidden device hooked into an ethernet network and just running wireshark or ethereal. Lol
Sent from my SAMSUNG-SGH-I717 using XDA
It is possible to get Ubuntu running via a virtual machine setup (emulating Ubuntu on the phone inside Android). The other possibility is a remote desktop option.
The two problems however:
1. Most USB devices require power - something I dont believe the phone puts out thru the USB micro port.
2. Getting direct access to the hardware (required for most of these types of tools to work) is not likely possible via a VM or Remote Desktop situation.
My guess is, this wont work, but Im a glass half full kind of guy.
A little OT but does anyone know if Ubuntu (via Ubuntu installer free app) works on SauRom?
Tried to get working but I couldn't start the shell. I'm thinking the bottleneck is the kernel, not sure if it allows multiple loops or something like that
Sent from my Galaxy Nexus using xda premium
littlewierdo said:
It is possible to get Ubuntu running via a virtual machine setup (emulating Ubuntu on the phone inside Android). The other possibility is a remote desktop option.
The two problems however:
1. Most USB devices require power - something I dont believe the phone puts out thru the USB micro port.
2. Getting direct access to the hardware (required for most of these types of tools to work) is not likely possible via a VM or Remote Desktop situation.
My guess is, this wont work, but Im a glass half full kind of guy.
Click to expand...
Click to collapse
1. I thought about the power requirements after I bought it and so far I haven't been able to find any data on how much power the phone can supply through the USB port but seeing how the MHL requires additional power I might have to get creative to get power to the wifi adapter.
2. As long as the phone recognizes the wifi adapter as a host I don't think I'll have any problems with it inside the ubuntu VM. If I do I might be able to do alittle kernel work to make it communicate properly.
I'm trying to be optimistic as I really want it to work. Plus if integrating the wifi adapter directly fails I have a back up plan... Arduino to the rescue.
Sent from my SAMSUNG-SGH-I717 using XDA
I'm not an expert on all things linux, but the chroot method isn't a virtual machine, it should be full fledged linux on the hardware.
Android runs all processes in a VM. But anyways I have it all working.
Sent from my SAMSUNG-SGH-I717 using XDA
I have all the needed drivers for my wifi adapter cross compiled one set for the current ICS and one for GB. The ICS you need to manually install the drivers from terminal and the GB is already included into my custom kernel. If anyone is interested let me know. At this moment I do not plan on putting it out in the public in the development forum...
Sent from my SAMSUNG-SGH-I717 using XDA
Carnifex3 said:
I should have the wifi adapter this week but the damn 50 cent microusb adapter will take until the 1st. Some odd reason I didn't feel like paying for shipping on something that costs 50cents.
Sent from my SAMSUNG-SGH-I717 using XDA
Click to expand...
Click to collapse
On the same page. I cringe when I order something on Amazon for 3.99 and there's 6 dollars shipping.
Sent from my SAMSUNG-SGH-I717 using XDA

[Q] usb host working for S3? (Keyboard)

Can anyone confirm if the USB host feature works with the Galaxy S3.
Specifically, I'm interested in attaching a USB Keyboard to the device.
After upgrading from honeycomb to ICS on my wife's Galaxy S2 I found that the USB Host function no longer works and I can no longer connect a USB keyboard. (It used to work rather well).
After checking the XDA forums I see that I must root the phone and use another kernel which I'd rather not do given that the S2 is not my phone.
I'll be picking up the Galaxy S3 once the Blue-32gb arrives here in Taiwan so I'm also wondering if anyone can say whether or not the USB Host function works and if anyone has tried out a USB keyboard.
Any advice would be swell
Thanks
Works for me unrooted mate. Had a flash drive connected with no problems
Sent from my HTC One X using xda premium
skanj said:
Works for me unrooted mate. Had a flash drive connected with no problems
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Thanks for the reply.
After upgrading to ICS on my wife's S2 the phone continues to read USB Flash drives just fine, but it could not (cannot) read any other devices including USB Keyboards or a USB Mouse.
I want to be able to use my fold-able ASUS USB Keyboard to type documents on the G3 and from what I've seen, the screen is plenty big to be able to make my dream of 'ultra-portable' document typing a reality.
This, plus the fact that I haven't found any fold-able Blue Tooth keyboard that seems to work very well with the S2.
driftwork said:
After upgrading to ICS on my wife's S2 the phone continues to read USB Flash drives just fine, but it could not (cannot) read any other devices including USB Keyboards or a USB Mouse.
Click to expand...
Click to collapse
Check this video, as stated in another thread
http://www.youtube.com/watch?v=_SOcHFC3MnI&feature=player_embedded
I made my own usb host cable and everything I have tried is working. Wireless keyboard and mouse, memory stick, external harddrive, ps3 controller etc.

Dev target: USB OTG?

I just saw this on Reddit; might be old news to some, but this is the first I've heard about it. Apparently there is a $1.38 (on Amazon.com) cable that allows you to connect various USB devices, and if the device supports USB OTG, you can run flash or powered hard (not portable) drives, keyboards, mice, or even a hub to use more than one. If the device doesn't, it can be added with root, or included in a ROM. I'm not a developer. I'm not even a programmer, so I don't have the first idea on how this could be done. But a Bluetooth keyboard is around $80, and this will allow a $10 keyboard to be used, or a $10 mouse, for a cost of about $12 for one, $22 for both, plus whatever a hub goes for. So having USB OTG could save some folks a lot of money. Plus if they want to use a USB controller for gaming, they can save the cost of a PS3 controller entirely (about $40).
http://forum.xda-developers.com/showthread.php?t=1240082
Please use the search feature. This is not a development topic because support already exists. I detail everything necessary for USB OTG on the Photon in the link below.
http://forum.xda-developers.com/showpost.php?p=28552795&postcount=2
MODS: This is not a development topic. Please move to Q&A or Accessories. Thanks!
There is a report button. The message goes directly to the Moderator. I would like if someone else would do it too and not only me.
This one is reported already.
peetr_ said:
There is a report button. The message goes directly to the Moderator. I would like if someone else would do it too and not only me.
This one is reported already.
Click to expand...
Click to collapse
Done.
peetr_ said:
There is a report button. The message goes directly to the Moderator. I would like if someone else would do it too and not only me.
This one is reported already.
Click to expand...
Click to collapse
zansatsu said:
Done.
Click to expand...
Click to collapse
Also reported...
Do not spam him. One is enough.
Thanks for the information. Did not know the topic was off limits - noted for future reference. Cheers!
Sent from my MB855 using xda app-developers app
Dark Reality said:
Thanks for the information. Did not know the topic was off limits - noted for future reference. Cheers!
Sent from my MB855 using xda app-developers app
Click to expand...
Click to collapse
After reading my response and the subsequent responses, I realize that it probably came off flame-ish. My apologies. It wasn't so much the topic as it was posted in the dev forum. They frown on that, unfortunately.
I am open to questions if you have any regarding USB OTG. I had to mess around with various USB configurations until I found the right connections. When it works, it just works. But figuring it out from a Youtube video in another language made me want to write a guide. I hope it helps.
Good luck!
Well, I have a USB OTG cable coming at some point in the next week. I only paid 90¢ for it on Amazon, so it's not a huge loss if it doesn't work. I will consult your guide when I get it, if it doesn't just work. Obviously I'm gonna hook it up and try it as soon as I get the package.
I have two devices intended for it -- a 10" mini keyboard I got on Newegg for $15 (shipped). If I can't get this to work at all (and I'm sure I will be able to), I can use the keyboard for our bedroom computer, which has a half-broken, dirty, unwieldy "ergonomic" keyboard hooked up to it (and toss that one). Also a wired Xbox 360 controller, for mobile gaming.
Dark Reality said:
Well, I have a USB OTG cable coming at some point in the next week. I only paid 90¢ for it on Amazon, so it's not a huge loss if it doesn't work. I will consult your guide when I get it, if it doesn't just work. Obviously I'm gonna hook it up and try it as soon as I get the package.
Click to expand...
Click to collapse
The Chainfire program should be able to step you through the diagnostics of it. The biggest trick is getting enough power supplied to the phone plus the devices.
Dark Reality said:
I have two devices intended for it -- a 10" mini keyboard I got on Newegg for $15 (shipped). If I can't get this to work at all (and I'm sure I will be able to), I can use the keyboard for our bedroom computer, which has a half-broken, dirty, unwieldy "ergonomic" keyboard hooked up to it (and toss that one). Also a wired Xbox 360 controller, for mobile gaming.
Click to expand...
Click to collapse
Any device that fully implements the standard USB HID protocol should just plug and play. A wired XBOX 360 controller should work, as well as the keyboard... as long as they don't require proprietary software/drivers to operate properly.
For my gaming solution, I went with the Sixaxis drivers for pairing with a PS3 controller through Bluetooth. That was pretty neat and it works. As far as keyboards, I have a wireless Logitech K400 with a touchpad which is fully functional. Using the one USB dongle which uses Logitech's 'Unifying' technology, I also have a Logitech M570 trackball mouse. So essentially, I carry a pocket-sized computer with me everywhere I go. Who needs a laptop?
Self-Powered USB Hubs work great with this setup, you can have multiple devices and Android (being based on Linux) will handle it as long as the kernel has the drivers built in. I've been having trouble trying to get external storage to work under CM7, but I also haven't been working to figure that out.
zansatsu said:
The Chainfire program should be able to step you through the diagnostics of it. The biggest trick is getting enough power supplied to the phone plus the devices.
Any device that fully implements the standard USB HID protocol should just plug and play. A wired XBOX 360 controller should work, as well as the keyboard... as long as they don't require proprietary software/drivers to operate properly.
For my gaming solution, I went with the Sixaxis drivers for pairing with a PS3 controller through Bluetooth. That was pretty neat and it works. As far as keyboards, I have a wireless Logitech K400 with a touchpad which is fully functional. Using the one USB dongle which uses Logitech's 'Unifying' technology, I also have a Logitech M570 trackball mouse. So essentially, I carry a pocket-sized computer with me everywhere I go. Who needs a laptop?
Self-Powered USB Hubs work great with this setup, you can have multiple devices and Android (being based on Linux) will handle it as long as the kernel has the drivers built in. I've been having trouble trying to get external storage to work under CM7, but I also haven't been working to figure that out.
Click to expand...
Click to collapse
Thanks
Sent from my MB855 using xda premium

Categories

Resources