Jump to content


Photo

External usb / usb host

- - - - -

  • Please log in to reply
30 replies to this topic

#21
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300
Looking at kernel

its needs to be supported in the kernel, is not included in the g300


Is this just speculation or do you know OTG support isn't included? The spec sheet for the MSM7227A indicates a host mode controller. Looking at the kernel 2.6.38.6 config for the g300, EHCI and USB mass storage related stuff is compiled directly into the kernel, but CONFIG_USB_OTG is not set even though CONFIG_USB_MSM_OTG_72K=y is set. OTG appears supported but not fully enabled, which makes sense in 2.6.38.6 as this is the Gingerbread kernel. If someone could post the kernel 3.0.8 config, it'd be interesting to compare.

Unless you know know something I don't, I plan on getting an OTG cable and exploring this!

Edited by unaszplodrmann, 28 July 2012 - 01:59 AM.

  • 0
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#22
dragpyre

dragpyre

    Enthusiast

  • Members
  • PipPipPip
  • 232 posts
  • Gender:Male
  • Devices:kumquat, grouper
  • Twitter:@dragpyre

USB Host Mode is officially only supported on Honeycomb and later versions of Android.

Whether the promised ICS update will include USB Host Mode must depend entirely on whether the G300 has the necessary hardware i think.


I had it on a cheap £65 tablet running Eclair...

  • 0
Posted Image

If you like one of my posts, or if it helps you out, vote it up! :)

(now updated device list and added twitter. Come stalk me ;) )

#23
metalimbo

metalimbo

    Newbie

  • Members
  • Pip
  • 4 posts
  • Devices:Huawei G300
No developments on this area? Would love to have usb otg on my G300 :)

  • 0

#24
Dazzozo

Dazzozo

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,319 posts
  • Gender:Male
  • Location:York, UK
  • Devices:Crescent, G300, Y300, Nexus 5
  • Twitter:@Dazzozo
The G300 will not output power for it. It might work (depends on the kernel you're using) with a hub.

  • 0
Like my work? Give me rep!

Like my work a lot? Donate! Remember to leave your forum name if you want to be credited!

#25
metalimbo

metalimbo

    Newbie

  • Members
  • Pip
  • 4 posts
  • Devices:Huawei G300
Thanks Dazzozo.
I do not think i need power. I only wish i could use DSLR Controller app connecting my phone to my Canon DSLR. Right now I'm on CM9, can you tell me what do I need? Cheers

  • 0

#26
daivatam

daivatam

    Newbie

  • Members
  • Pip
  • 15 posts
Yessss for exact same thing I needed myself....pleassseee if anyoane know how to enable usb on the go for that :) Tx!

  • 0

#27
Davidoff59

Davidoff59

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,317 posts
  • Gender:Male
  • Devices:Orange San Francisco, G300
take a look in the nexus 7 forum on xda. They have released the code there for the nexus 7 which was not meant to work with otg either. It may help you guys.
http://forum.xda-dev...d.php?t=1934722

Also didn't some guy have otg working months ago for this? I'm sure he released the workaround then pulled it for reasons unknown to me.

Edited by Davidoff59, 13 January 2013 - 03:43 PM.

  • 0

#28
metalimbo

metalimbo

    Newbie

  • Members
  • Pip
  • 4 posts
  • Devices:Huawei G300
Thanks for the link Davidoff59. But i think that's not exactly what i'm looking for. I just need the USB Host mode to work as the DSLR has its own battery/power. That would be cool to have on our G300 though, i'm just not that advanced as user to know how to implement those patches and kernels and stuff :P

Edit: And i think the Nexus 7 has native USB Host mode. I've seen people using the app with Nexus. Right now i'm on CM10 R3, tried to plug the DSLR in with a USB OTG cable and no go :(
I've found this link https://github.com/o...ter/drivers/usb is this what we need? Some kind of drivers? USB Host Controller tells me the phone is missing the "S3C USB Host driver".

Edited by metalimbo, 15 January 2013 - 02:01 PM.

  • 0

#29
agent_0013

agent_0013

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:Huawei U8815 Accent G300
Somehow, idk it was lag or smth, my G300 was able to output the power to USB connector.
It happened when I was charging it from PC using default HTC microusb cable. After turning the PC off, I've noticed that power led on a card reader installed in the pc is still on. I thought that it was kind of unspecified usb charging function, but when I came back after an hour, phone battery was almost empty. After disconnecting the cable card readers power led turned off immidiately. I've tryied to do the same on the next day, but had no success. So I think G300 has the ability of working as an usb host, just need some software modifications. Unfortunately, now I have no time for doing that..

  • 0

#30
metalimbo

metalimbo

    Newbie

  • Members
  • Pip
  • 4 posts
  • Devices:Huawei G300

Somehow, idk it was lag or smth, my G300 was able to output the power to USB connector.
It happened when I was charging it from PC using default HTC microusb cable. After turning the PC off, I've noticed that power led on a card reader installed in the pc is still on. I thought that it was kind of unspecified usb charging function, but when I came back after an hour, phone battery was almost empty. After disconnecting the cable card readers power led turned off immidiately. I've tryied to do the same on the next day, but had no success. So I think G300 has the ability of working as an usb host, just need some software modifications. Unfortunately, now I have no time for doing that..


Please do if you find the time! I think a lot of people would appreciate it :)

  • 0

#31
vahit.lafci

vahit.lafci

    Newbie

  • Members
  • Pip
  • 40 posts
  • Devices:u8816
What is current status? If anyone can modify kernel its very easy to make external power source from any usb charging adapter i can write a guide about it

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users