[Q] Backtrack 5 chroot Forwarding usb from host mode - Galaxy S II Q&A, Help & Troubleshooting

Hey im running backtrack5 on the galaxy sII. Trying to attach a exernal us..?b wifi card. The phone recognizes the decice and is powered correctly. All i need to do is install the driver on the chroot session. How can you forward the usb?
I can run desmg and i can see its connected
Any ideas?

Maybe better to ask this question on the BackTrack thread on the SGS II Android Development forum

Td8f4 said:
The phone recognizes the device and is powered correctly.
Click to expand...
Click to collapse
Very interesting information ... post it HERE please and don't forget to tell us, which card you use!

wifi card
Yeah i know, i totally would post on in the Dev section but i have under 10 posts with XDA and unfortunately i cant post there.( dumb )
the card i used is a "alfa network 802.11g high power usb" (AWUS036H)
the only reason why it powers up is because I modified the cable to feed power in, same thing could be acheived by plugging the cable into a powered USB hub, except i wanted to eventually run this on a rechargeable battery.
it seems like i have the old version of busy box in the chroot session, any ideas on forwarding the new one onto it, i have ver 1.9 on android and 1.3 on the chroot session.
thx

Td8f4 said:
... but i have under 10 posts ...
Click to expand...
Click to collapse
Now you have 11
same thing could be acheived by plugging the cable into a powered USB hub
Click to expand...
Click to collapse
I always wondered, if a Y-cable usually used for USB HDDs might work ... one end for data, the other plugged into a USB hub for power.
except i wanted to eventually run this on a rechargeable battery.
Click to expand...
Click to collapse
Would be a nice solution for the SGS2. On the Asus Transformer the dock should have enough power, I think.
i have ver 1.9 on android and 1.3 on the chroot session.
Click to expand...
Click to collapse
Sorry, my Android/Linux knowledge is too limited to help here ... but in the other thread you'll find enough experts

Related

USB 1.1 Should Be Outlawed

If I have to say one bad thing about the Wing it's the USB 1.1 transfer and how painfully slow it is! I actually use my Treo 650 to transfer files to it! Do yourself a favor and get a memory reader!
PhillyKing said:
If I have to say one bad thing about the Wing it's the USB 1.1 transfer and how painfully slow it is! I actually use my Treo 650 to transfer files to it! Do yourself a favor and get a memory reader!
Click to expand...
Click to collapse
Why not turn on the enhanced USB 2.0 transfers?
Gurm said:
Why not turn on the enhanced USB 2.0 transfers?
Click to expand...
Click to collapse
Care to elaborate? lol
Gurm said:
Why not turn on the enhanced USB 2.0 transfers?
Click to expand...
Click to collapse
How do you do that!!! Please tell me!
Well i'm new to these forums..
but it appears "USB" is too short a word to be searched for on these forums, cant find any info on this (enabling 2.0) online
lol there is no such thing as 'enabling' usb 2.0, just use a memory card reader to copy stuff into and out of your micro sd card. the cable that syncs the wing to the pc is probably already usb 2.0, it's just that the wing is too slow to read and write the card.
BBM-Lee said:
Well i'm new to these forums..
but it appears "USB" is too short a word to be searched for on these forums, cant find any info on this (enabling 2.0) online
Click to expand...
Click to collapse
For problems searching please check out the second post in this thread.
http://forum.xda-developers.com/showthread.php?t=319004

[Q] USB Host Ubuntu v0.2

Is there something extra I have to do to activate USB Host on the HD2 with v0.2? Hosting was working fine with 0.1 but the same cable refuses to recognise with 0.2 now. What's more is, it doesn't even come up in the kernel at boot anymore.
119 views and no one knows? Please guys I need to get this sorted. I'm going to try something that you all may be interested in. Bumping.
No answer I couldn't get .2 working try tweeting htc_linux to see if he can help you
Sent from my HTC HD2 using XDA App
11calcal said:
No answer I couldn't get .2 working try tweeting htc_linux to see if he can help you
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
Don't have twitter Was hosting working for you in 0.1?
ayilm1 said:
Don't have twitter Was hosting working for you in 0.1?
Click to expand...
Click to collapse
Never tried version 1 htc Linux invited me over twitter to beta test a couple of weeks ago to try version 2 but couldn't get it up & running. A few did but some others couldn't. I haven't tried the public release version so can't help you sorry
Sent from my HTC HD2 using XDA App
Anyone else got any ideas?
Is your phone charging when you are booting on Ubuntu?
USB Host is working for me when I disable the 'USB charging' in WM. If I enable it, my phone is charging while using ubuntu, but I can't use USB Host at all.
Something strange btw: when I boot on Ubuntu charging, and then I disconnect the cable, my charging LED keep working (orange led, as if I was charging) without any power source!
nthony said:
Is your phone charging when you are booting on Ubuntu?
USB Host is working for me when I disable the 'USB charging' in WM. If I enable it, my phone is charging while using ubuntu, but I can't use USB Host at all.
Something strange btw: when I boot on Ubuntu charging, and then I disconnect the cable, my charging LED keep working (orange led, as if I was charging) without any power source!
Click to expand...
Click to collapse
Ok, I'll give that a go shortly. Just have a few assignments to finish off! I'll keep you posted.
nthony said:
Is your phone charging when you are booting on Ubuntu?
USB Host is working for me when I disable the 'USB charging' in WM. If I enable it, my phone is charging while using ubuntu, but I can't use USB Host at all.
Something strange btw: when I boot on Ubuntu charging, and then I disconnect the cable, my charging LED keep working (orange led, as if I was charging) without any power source!
Click to expand...
Click to collapse
Wow. Wow wow wow. You sir are incredible. It worked. Now to go try what I was initially going to do. If it works, I'll post it up.
Thank you for this thread. You helped me out.

[Answered] NT USB port unusable at this time...right?

I presume the usb port of the NT is unusable until a kernel level root is developed. If someone would confirm for the hell of it, please do! (I grabbed a couple usb to micro-usb converters - but, no luck...)
I didn't research the usability until after I tried using the usb port! I figured it would be enabled... why not allow a keyboard, etc.? Anyway, that explains why I couldn't find out the 'port type' in the official specs (micro usb).
Read some stuff on the Nook Color - and I believe the usb is available for it when rooted.
ebsq said:
I presume the usb port of the NT is unusable until a kernel level root is developed. If someone would confirm for the hell of it, please do! (I grabbed a couple usb to micro-usb converters - but, no luck...)
I didn't research the usability until after I tried using the usb port! I figured it would be enabled... why not allow a keyboard, etc.? Anyway, that explains why I couldn't find out the 'port type' in the official specs (micro usb).
Read some stuff on the Nook Color - and I believe the usb is available for it when rooted.
Click to expand...
Click to collapse
USB host mode is part of the android kernel since gingerbread but the ROM has to support it.
Cheers!
-M
XDA member since 2007
by unusable do you mean like not working or can't be connected to the computer
to root and debugging?
if you are... what the hell are you smoking?
please elaborate a little more as to unusable
424aca said:
please elaborate a little more as to unusable
Click to expand...
Click to collapse
I think he means, it can't be used to plug a keyboard in?
USB host mode is not supported in the stock B&N os.
424aca said:
by unusable do you mean like not working or can't be connected to the computer
to root and debugging?
Click to expand...
Click to collapse
Yeah - I guess as a USB host is the terminology I needed. I'm rooted - so, the Nook works fine as a device on my PC!
I just want to run devices from the Nook itself - particularly keyboard and game controllers (ps3).
It never occurred to me that it wouldn't function 'out of the box.' The only reason I can see to deny it is either battery drain or to guard against hack attempt. Pretty lame really!
dragon_76 said:
USB host mode is part of the android kernel since gingerbread but the ROM has to support it.
Cheers!
-M
XDA member since 2007
Click to expand...
Click to collapse
Do you think it might be possible to replace elements using root to enable it?
Barring that, in one dev thread or another, I vaguely remember reference to a particular way of bypassing the bootloader lock, that if it worked would allow us to use custom ROMs but we'd be stuck with the B&N kernel. Does that sound familiar? What I'm really asking to anyone who might feel they know, is what are the odds the devs might crack USB host even if they can't get past the bootloader lockout?
Thanks to anyone with information.
Once this is enabled we wont just be able to use a keyboard, but also use it to browse your camera pictures, hard drives, etc
fortunz said:
Do you think it might be possible to replace elements using root to enable it?
Barring that, in one dev thread or another, I vaguely remember reference to a particular way of bypassing the bootloader lock, that if it worked would allow us to use custom ROMs but we'd be stuck with the B&N kernel. Does that sound familiar? What I'm really asking to anyone who might feel they know, is what are the odds the devs might crack USB host even if they can't get past the bootloader lockout?
Thanks to anyone with information.
Click to expand...
Click to collapse
Cyanogenmod has USB host enabled. You could ask a cm dev how it is done. Dalingrin works on the Nook Color port, he may be able to tell you.
Cheers!
-M
XDA member since 2007
albertwertz said:
Once this is enabled we wont just be able to use a keyboard, but also use it to browse your camera pictures, hard drives, etc
Click to expand...
Click to collapse
Yes. Once host mode is enabled you will have access to HID and mass storage. I have both on these on my ATRIX.
Cheers!
-M
XDA member since 2007

[Q] (Q) Nook Table/HP netbook Merger-is it possible?

Hello everyone, I am very happy to be a part of this forum. I love my NT 16GB with CM7. It is awesome.
I have an old HP Mini 1000 netbook with a bad hard drive and no screen. My thought is to mount the tablet in the area where the screen was and use the keyboard/mouse/camera/speakers and periferals. I suppose I would have to cause the tablet to function as motherboard/screen and attach all devices through usb. It is probably more work than it is worth, but would be neat to see. Let me know what all you smart folks think.
mikeslagle47 said:
Hello everyone, I am very happy to be a part of this forum. I love my NT 16GB with CM7. It is awesome.
I have an old HP Mini 1000 netbook with a bad hard drive and no screen. My thought is to mount the tablet in the area where the screen was and use the keyboard/mouse/camera/speakers and periferals. I suppose I would have to cause the tablet to function as motherboard/screen and attach all devices through usb. It is probably more work than it is worth, but would be neat to see. Let me know what all you smart folks think.
Click to expand...
Click to collapse
with a fully functioning ( ota ? ) usb port, then YES.
Totally out of my knowledge base here, but I think I remember reading something about "USB hosting" needing to be enabled in order to use USB peripherals. The NC has this cracked, but I don't think anyone has figured this out for the NT yet.
johnseeking said:
Totally out of my knowledge base here, but I think I remember reading something about "USB hosting" needing to be enabled in order to use USB peripherals. The NC has this cracked, but I don't think anyone has figured this out for the NT yet.
Click to expand...
Click to collapse
Tell me what you know about the NC's usb port please. . And I remember too that the development person toiling away on the new kernel @Kurma30, said the port's got no power ( oh no ! ) and so you need a powered hub -or- custom wiring ( ? ? ? ) to get usb to first base. Hmm.
old_fart said:
Tell me what you know about the NC's usb port please. . And I remember too that the development person toiling away on the new kernel @Kurma30, said the port's got no power ( oh no ! ) and so you need a powered hub -or- custom wiring ( ? ? ? ) to get usb to first base. Hmm.
Click to expand...
Click to collapse
I'm behind a draconian firewall here at work, so I can't check to see if this is the exact page I found this on, but look here: (link)
Or it might have been here: (link)
I want to say it was the 2nd one...

[Q] Xperia U is not Picking Any External Device Connected with OTG Cable

Please Guyz Help me.Whenever i Try To Connect My 16gb Pendrive . It Always give me "USB Power Consumption Error".. Please Help Me ..What Can I Do About This. i Have Rooted My Phone and Any Mods Related to system file can be done...
ricky641b said:
Please Guyz Help me.Whenever i Try To Connect My 16gb Pendrive . It Always give me "USB Power Consumption Error".. Please Help Me ..What Can I Do About This. i Have Rooted My Phone and Any Mods Related to system file can be done...
Click to expand...
Click to collapse
The drive pulls too much power. Just get a cheap POWERED usb hub. I have a crummy old one that works great with my drives. It even works good with my harddrives and such.
Done
mrsatan said:
The drive pulls too much power. Just get a cheap POWERED usb hub. I have a crummy old one that works great with my drives. It even works good with my harddrives and such.
Click to expand...
Click to collapse
I Have Already Tried With that . It Doesnt Work....

Categories

Resources