Nexus One USB host driver - Nexus One General

http://sven.killig.de/android/N1/2.2/usb_host

USB Drives, keyboard, camera, external monitor?

Is there instructions of how to setup, or just someone saying what the pre-req's were and a video showing that it works? Not ready for prime-time?

chesh420 said:
Is there instructions of how to setup, or just someone saying what the pre-req's were and a video showing that it works?
Click to expand...
Click to collapse
If you have any specific question, don't hesitate to ask me so I can add it to the web page.
chesh420 said:
Not ready for prime-time?
Click to expand...
Click to collapse
Well, some of it is Debian based, so ready for nerd time

nice

I would recommend changing the youtube embed to a normal size. I did not even notice the links at the bottom, plus it was too wide for my browser window. If someone wants to watch it fullscreen they can do it themselves.

Clarkster said:
I would recommend changing the youtube embed to a normal size.
Click to expand...
Click to collapse
The embed button on the YouTube site switches automatically to this size when enabling the HD checkbox.
Clarkster said:
I did not even notice the links at the bottom, plus it was too wide for my browser window.
Click to expand...
Click to collapse
I rearranged it.

That's better. I'll just have to get a bigger monitor then
Other than my initial I don't have much else to say other than this is very cool and promising too.
Great work.

sonic74 said:
sven.killig.de/android/N1/2.2/usb_host
Click to expand...
Click to collapse
Nice job, sonic74!
I ordered the OTG cables that you linked. (You should get commission). Which USB to VGA adapter did you use? -- Also, going to hunt down a USB to Ethernet adapter to play with and try.
Cheers,
Kermee

I saw in the hardware list, you have a "USB Dual Power Cable" listed as one of the items. Does that go between the powered USB hub and the USB OTG cable?
Cheers,
Kermee

Kermee said:
(You should get commission)
Click to expand...
Click to collapse
I don't. Nice idea, though...
Kermee said:
Which USB to VGA adapter did you use?
Click to expand...
Click to collapse
It's a Lenovo 45K5296.
It's DisplayLink DL-195 based and so can do 2048x1536 over DVI. If you don't need that high a resolution, there are cheaper options. Or small USB monitors.

Yeah I'm confused on the "USB Dual Power Cable" and what exactly that is also. If you can a rough step by step on how you got it working could go along way as well.
I actually posted on reddit asking if I could link your post here.. must've missed it the first time quickly scanning. Congrats on figuring this out by the way.

Kermee said:
Does that go between the powered USB hub and the USB OTG cable?
Click to expand...
Click to collapse
Exactly. I added a picture to the website for clarification.

hi,
do you expect this to work for other phones as well?? like the motorola milestone once we can modify the kernel? Or is it very specific to the nexus one hardware?

royalcs said:
do you expect this to work for other phones as well??
Click to expand...
Click to collapse
The ones from HTC should have similar USB hardware.
royalcs said:
like the motorola milestone once we can modify the kernel?
Click to expand...
Click to collapse
Yes, the Droid/Milestone is TI OMAP based. The first linux OTG/host support came from TI for this SoC. It is even in the mainline tree I think.

sonic74 said:
Exactly. I added a picture to the website for clarification.
Click to expand...
Click to collapse
Awesome. -- Does this allow the N1 to take a charge via USB while you're using it in USB OTG/Host mode?
Cheers,
Kermee

Kermee said:
Does this allow the N1 to take a charge via USB while you're using it in USB OTG/Host mode?
Click to expand...
Click to collapse
Yes, it does.

sonic74 said:
It's a Lenovo 45K5296:
shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPortal/en_US/catalog.workflow:item.detail?GroupID=38&Code=45K5296&current-category-id=F518DEACD67248538629B17343AFFB25
It's DisplayLink DL-195 based and so can do 2048x1536 over DVI. If you don't need that high a resolution, there are cheaper options. Or small USB monitors:
sven.killig.de/openwrt/slugterm_dl.html
Click to expand...
Click to collapse
Ah. Nice! Thanks for the clarification!
I was thinking of picking up a cheap StarTech USB2VGA off eBay for $30 USD. Since it works in an NSLU2, I'm assuming it should work too on the N1.
BTW- I have that exact same ASUS WL-500G Premium... It's a blast to hack!
Thanks again!
Cheers,
Kermee

Sonic74, you've used a self-powered USB Hub. Is it possible to use less-intensive devices like USB Keyboard and Mouse without requiring it to be powered? Or is it a must to even work?
It's also a little confusing the binaries you've put up on your site atmo, since I presume some relate only to running X11 (ConnectBot etc) and others are for simpler things such as the keyboards? Can you make it clearer on the distinction of what's required to do what? Huge thanks.
Lastly, thanks for opening the world's eyes to the amazing possibilities with Android. The dawning that these are more than just phones, they are mobile computer devices that can be converted into gaming consoles or presentation devices or printers or scanners etc. is pretty epic

Interesting...now only if there was an Android driver for my USB FM radio I could get FM on my N1!

Related

HDMI IN?????

Is there any way to use the Epic as a mini monitor? I'm assuming not but I figured I'd ask anyways. Would it be possible at all?
That's actually a very good idea but I don't think its possible.
epic
No HDMI in for the simple reason that there is no hardware support.
stir fry a lot said:
Is there any way to use the Epic as a mini monitor? I'm assuming not but I figured I'd ask anyways. Would it be possible at all?
Click to expand...
Click to collapse
Doesn't really make any sense since our resolution is so low the HDMI input video would look horrible. Also, considering we can't even get the standard video out to work I seriously doubt the reverse is going to work.
Not wired, but there's this app: http://www.shapeservices.com/en/products/details.php?product=idisplay&platform=android
Theres another that I can't find right now (magic something I think). Both are based on VNC mirror display drivers, do you need a pc, a server app for the pc and the client software for your andoid.
Good luck.
Sent from my SPH-D700 using XDA App

[request]OTG usb support for kindle fire

http://www.xda-developers.com/andro...b-sticks-on-the-galaxy-nexus-with-stickmount/
Can Kindle get OTG like Galaxy Nexus/some sony ericsson build OTG support?
I'll try to see what I can do with ics
Sent from my Galaxy Nexus using XDA App
The ultra nicest thing would be USB OTG with a USB GPS receiver and a car charger - the ultimate navigation system!
JackpotClavin said:
I'll try to see what I can do with ics
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
[MODULES][ARC][NEO][FW:4.0.A.2.368] USB-OTG {Storage, Keyboard & Mouse}
http://forum.xda-developers.com/showthread.php?t=1224676
hope this link can help you
ygvuhb said:
http://www.xda-developers.com/andro...b-sticks-on-the-galaxy-nexus-with-stickmount/
Can Kindle get OTG like Galaxy Nexus/some sony ericsson build OTG support?
Click to expand...
Click to collapse
this board OMAP4430 already supports USB-OTG (atleast from the specs it does)...
we just need to enable it in kernel defconfig...
if i get time i will try creating modules for it...
DooMLoRD said:
this board OMAP4430 already supports USB-OTG (atleast from the specs it does)...
we just need to enable it in kernel defconfig...
if i get time i will try creating modules for it...
Click to expand...
Click to collapse
That 's so great we get your help
thanks
ygvuhb said:
That 's so great we get your help
thanks
Click to expand...
Click to collapse
I'll enable this in my next kernel release.
intersectRaven said:
I'll enable this in my next kernel release.
Click to expand...
Click to collapse
hey iR most of the stuff is already enabled:
https://github.com/DooMLoRD/Kindle-...el/arch/arm/configs/otter_new_defconfig#L1599
but this:
https://github.com/DooMLoRD/Kindle-...el/arch/arm/configs/otter_new_defconfig#L1622
and:
https://github.com/DooMLoRD/Kindle-...el/arch/arm/configs/otter_new_defconfig#L1638
should be interesting...
also dont forget to enable:
https://github.com/DooMLoRD/Kindle-...el/arch/arm/configs/otter_new_defconfig#L1658
DooMLoRD said:
hey iR most of the stuff is already enabled:
https://github.com/DooMLoRD/Kindle-...el/arch/arm/configs/otter_new_defconfig#L1599
but this:
https://github.com/DooMLoRD/Kindle-...el/arch/arm/configs/otter_new_defconfig#L1622
and:
https://github.com/DooMLoRD/Kindle-...el/arch/arm/configs/otter_new_defconfig#L1638
should be interesting...
also dont forget to enable:
https://github.com/DooMLoRD/Kindle-...el/arch/arm/configs/otter_new_defconfig#L1658
Click to expand...
Click to collapse
I'm going to try these from OMAPZOOM:
http://omapzoom.org/?p=kernel/omap.git;a=commit;h=3b4c40559a6b3c56dd98a6891dd5bd6bb3d2fcf0
and
http://omapzoom.org/?p=kernel/omap.git;a=commit;h=a48a97aff5cc2a7ce5f9ff9d6e3612c4385b8371
I think those are for usb host and mass storage support according to their commit descriptions.
can it enable in cm7 kindle fire kernel too?
or i can just replace cm7 kernel??
ygvuhb said:
can it enable in cm7 kindle fire kernel too?
or i can just replace cm7 kernel??
Click to expand...
Click to collapse
I think you can just replace CM7 kernel with my CM7 kernel release. According to one of the people who tested it, it worked fine for him. I'm not sure though since I'm not inclined to use it. I'm one of the few people who like the carousel.
intersectRaven said:
I'm going to try these from OMAPZOOM:
http://omapzoom.org/?p=kernel/omap.git;a=commit;h=3b4c40559a6b3c56dd98a6891dd5bd6bb3d2fcf0
and
http://omapzoom.org/?p=kernel/omap.git;a=commit;h=a48a97aff5cc2a7ce5f9ff9d6e3612c4385b8371
I think those are for usb host and mass storage support according to their commit descriptions.
Click to expand...
Click to collapse
yups that should do it.... i use similar defconfig changes to get it working on ARC:
https://github.com/DooMLoRD/Xperia-...rm/configs/doom_usbotg_mogami_defconfig#L1825
as i told u guys before the board already supports it... we just to enable it in kernel config and hope the kernel compiles w/o errors
intersectRaven said:
I think you can just replace CM7 kernel with my CM7 kernel release. According to one of the people who tested it, it worked fine for him. I'm not sure though since I'm not inclined to use it. I'm one of the few people who like the carousel.
Click to expand...
Click to collapse
great
wait the new cm7 kernel release
A bit of bad news. I tried enabling the OHCI and EHCI options but couldn't get it to work or rather, whenever I enabled them, the display won't start. All it displays is a blank screen. There's even no backlight turned on. I'll have to investigate this later.
On the bright side though, mass storage is enabled now. Have no way to test this though so I'll just get it out there later.
Hey, any new updates on this?
Anything I could do to help?
KF community would win a lot with OTG working.
I had a crazy idea that would depend on this. I have a spare webcam from my HP DV2880 and as it's pretty small, and usb, with otg working, I think that would be possible to try to make it work as the camera device. It probably draws very little power and with proper modules could work.
I'm willing to spend some time to try as soon as otg is ready!
AdrienC said:
Hey, any new updates on this?
Anything I could do to help?
KF community would win a lot with OTG working.
I had a crazy idea that would depend on this. I have a spare webcam from my HP DV2880 and as it's pretty small, and usb, with otg working, I think that would be possible to try to make it work as the camera device. It probably draws very little power and with proper modules could work.
I'm willing to spend some time to try as soon as otg is ready!
Click to expand...
Click to collapse
I'll take a crack on it this weekend. I've been too tired to solder the needed USB cable after work.
O man....the kindle fire just gets better and better!
This would be beyond amazing for me, as the space on this device is such a limiting factor. Allow me to connect my USB drives and I'll be more than happy!
Dslrs
I would be especially interested in getting DSLR Controller to work on the kindle. Would look really great on top of a video rig!
If USB host mode gets enabled, would it be possible to use a Bluetooth dongle with KF or would it require additional development?

New Owner with checklist ...am I missing anything? Recommendations are welcome

Hello all!
So I am getting the Note on Tuesday or so and this is a list of things I will be getting with it.
#1 Blue Galaxy Note (of course)
#2 2 cases
#3 2 anker batteries
#4 charging dock
#5 screen protector
#6 SANOXY Micro USB Host Mode OTG Cable
#7 EXPANSYS MHL microUSB to HDMI Adapter
#8 HDMI Cable 2M
# 9 RII Mini Wireless Bluetooth Keyboard
And I think that is it for now. I will be using a PS3 controller for gaming and the mini keyboard would be nice to use also with my HTPC.
Then on the software side, it is currently running CM9.
From what I have read flashing from recovery with CM9 is no problem...correct? Or do I still want to use Odin, etc?
I just hope my emulators are all working
And I hope Netflix TV out also works as it never worked with my Captivate. I could do others but not Netflix.
Any recommendations or suggestions are welcomed.
Thanks!
Maybe you want to get a longer micro usb cable. The one that comes with the Note is awfully short.
Good one. That indeed is something I did with my Captivate. Is this a normal usb I can get locally ?
And from whom you will get all this? Nice package btw...
Sent from my GT-N7000 using Tapatalk
zviki said:
And from whom you will get all this? Nice package btw...
Sent from my GT-N7000 using Tapatalk
Click to expand...
Click to collapse
Thanks!
Some of it came with the phone from the original owner the rest I am getting from different places. Just wanting to get the full experience right away
Looks like I made a stupid move by asking the other user to flash CM9 because I just read the CM9 log:
Speakerphone is a bit broken
USB OTG doesn't work
MHL doesn't work
So two cables I wont be able to use right away.
I guess its time to start reading up on what I can use to get those working.
shaolin95 said:
Good one. That indeed is something I did with my Captivate. Is this a normal usb I can get locally ?
Click to expand...
Click to collapse
What you need is a cable usb type a (ordinary usb plug) - micro usb. You can get any such cable, it's not necessary that the cable meets any specific requirements.
Sent from my Galaxy Note running ICS
shaolin95 said:
Looks like I made a stupid move by asking the other user to flash CM9 because I just read the CM9 log:
Speakerphone is a bit broken
USB OTG doesn't work
MHL doesn't work
So two cables I wont be able to use right away.
I guess its time to start reading up on what I can use to get those working.
Click to expand...
Click to collapse
But you can go back to GB,right? Just be very careful! and read all guide.
Sent from my GT-N7000 using Tapatalk
Yeah I have been considering GB for sure but it seems ICS is "safe" as long as I dont user recovery or trying to reset it.
decisions...
Yeah,but on GB everything works.
Sent from my GT-N7000 using Tapatalk
try cyanofree .... I dont have any problem at all except the fact that it's been discontinued
Sent from my GT-N7000 using XDA

cager external batter/sd card reader

will i be able to use the external battery and sd card made by cager ( search in dealexterme, i cant post links yet) with my nexus for watching movies etc.
thx
:laugh:
no
ziddey said:
no
Click to expand...
Click to collapse
why not?
N4 has no OTG support
"no" is right, unfortunately the N4 does NOT have OTG support... this is hardware based not software, so I doubt it will ever be able to do it...
eisaiasjr said:
"no" is right, unfortunately the N4 does NOT have OTG support... this is hardware based not software, so I doubt it will ever be able to do it...
Click to expand...
Click to collapse
Yeah, the OTG is extremely unfortunate. The 8gb is a huge slap in a face, with only ~300mb wiggle room
eisaiasjr said:
"no" is right, unfortunately the N4 does NOT have OTG support... this is hardware based not software, so I doubt it will ever be able to do it...
Click to expand...
Click to collapse
correct me if i wrong, the device dosent have otg support because the usb port cant produce enough voltage to turn on external devices. this external sd card reader is also a external battery so it has the voltage to turn itself on soshouldnt it work?
yarin699 said:
correct me if i wrong, the device dosent have otg support because the usb port cant produce enough voltage to turn on external devices. this external sd card reader is also a external battery so it has the voltage to turn itself on soshouldnt it work?
Click to expand...
Click to collapse
no
yes
http://forum.xda-developers.com/showthread.php?t=2151159
http://dx.com/s/cager+sd
ziddey said:
yes
http://forum.xda-developers.com/showthread.php?t=2151159
http://dx.com/s/cager+sd
Click to expand...
Click to collapse
I'm surprised you remembered to come back to this thread after a month lol.
DarkScorpion01 said:
I'm surprised you remembered to come back to this thread after a month lol.
Click to expand...
Click to collapse
took me a while to find it :silly:
ziddey said:
took me a while to find it :silly:
Click to expand...
Click to collapse
Anybody found it working??

N7 to External Monitor

Is there anyway to hook up the nexus 7 to an external monitor. (DVI, HDMI, VGA)
is there a piece of hardware that I could buy if not? (To make it work with the previously mentioned connections)
Thanks for your Time
--
Eric
I'm sorry but there isn't any way to use our n7 on tv/monitor through cable.
If you want you had to use dlna (and install a app on your n7) !
excuse me for my bad english
santomarco said:
I'm sorry but there isn't any way to use our n7 on tv/monitor through cable.
If you want you had to use dlna (and install a app on your n7) !
excuse me for my bad english
Click to expand...
Click to collapse
I heard it can't
R: N7 to External Monitor
ericerk said:
I heard it can't
Click to expand...
Click to collapse
Dlna works fine !
Try skifta or bubbleupnp!
santomarco said:
Dlna works fine !
Try skifta or bubbleupnp!
Click to expand...
Click to collapse
Bubbleupnp works great. Also imediashare. I use bubbleupnp daily to stream video from my n7 to my xbox360
Press thanks if I helped ~ Nexus7/ParanoidAndroid/FrancoKernel
Honestly I was hoping to do more than just stream, I'd like to be able to (Somehow) hook it up to a monitor, get a bt keyboard and mouse attached and use it as a computer.
(I truthfully doubt dlna can do that, but if it can i'll buy an adaptor for my monitor, and we'll be in business)
So, you want some kind of mirroring?
Sorry but this is impossible for the n7!
Yes. That is What I would like.
Is there any external buyable hardware that can make this possible?
R: N7 to External Monitor
ericerk said:
Yes. That is What I would like.
Is there any external buyable hardware that can make this possible?
Click to expand...
Click to collapse
No, sorry.
Have you looked at the raspberry pi and android transporter? If you are willing to root an use their ROM, it should do good enough to mirror your screen to tv
Sent from my Nexus 7 using xda app-developers app

Categories

Resources