Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,633 Members 37,971 Now Online
XDA Developers Android and Mobile Development Forum

[help,plz]problem with usb driver

Tip us?
 
peachwork
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 14
Join Date: Feb 2011
Default [help,plz]problem with usb driver

I have problem with my usb driver on ubuntu in HD2.
I try Y-cable with 3 male and convect 1 male to 1 female.
I try power usb hub same as tiveco TM-UH710 which I search in hxxp://htc-linux.org/wiki/index.php?title=Msm_Usb_Host.all[/url] of this that I try does not work for me.I can't not use my keyboard,mouse or external HDD.

Finally,I see that thing on black boot sceen.
something like "/lib/2.6.32_2.6.32.9-38182/modules.deb no such file or directory".
when I came to look for modules.deb,it had on 2.6.32_2.6.32.9-38182 directory.
could you help me to fix this probelm,plz?
I really want to use keyboard,mouse

ps.sry for my bad english.
 
GuimbardePower
Old
#2  
GuimbardePower's Avatar
Member
Thanks Meter 3
Posts: 72
Join Date: Dec 2008
Location: Somewhere in France
Which version of ubuntu do you use? The 0.3 version of ubuntu? Or the Nandroid bootable version?
 
peachwork
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 14
Join Date: Feb 2011
I use version 0.2 and 0.3 and nandroid too.
Now,I can use power usb hub but I found new problem.
I need to use power charger and AC together because if I use only AC,I can use mouse or keyboard only one.
My problem is my usb hub does not have enough power to use mouse and keyboard together.

ps.sry for my bad english.
 
rudeblunt
Old
#4  
Member
Thanks Meter 24
Posts: 38
Join Date: Dec 2010
That's some set-up, do I need to use a 3-way micro-USB connector to run a keyboard and mouse on Ubuntu?
 
Ruralp.HK
Old
#5  
Member
Thanks Meter 1
Posts: 48
Join Date: Dec 2011
Location: Guangzhou
Quote:
Originally Posted by peachwork View Post
I have problem with my usb driver on ubuntu in HD2.
I try Y-cable with 3 male and convect 1 male to 1 female.
I try power usb hub same as tiveco TM-UH710 which I search in hxxp://htc-linux.org/wiki/index.php?title=Msm_Usb_Host.all[/url] of this that I try does not work for me.I can't not use my keyboard,mouse or external HDD.

Finally,I see that thing on black boot sceen.
something like "/lib/2.6.32_2.6.32.9-38182/modules.deb no such file or directory".
when I came to look for modules.deb,it had on 2.6.32_2.6.32.9-38182 directory.
could you help me to fix this probelm,plz?
I really want to use keyboard,mouse

ps.sry for my bad english.
Postcount limit in developmental fora, why?
 
marius240288
Old
#6  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Nov 2011
Default Problem with usb host

I have also this problem. I have tested my USB(made at home by me also with external power supply)cable in WM6.5 with USBHSwitch V1.03 and is working with USB HDD, Keyboard, USB Silicon Power Flash 8GB, USB HUB but when i load ubuntu 0.2 and 0.3 isn't working Why? I don't understand this "leo/hd2 htc-msm-2.6.32 kernel is patched for usb host mode support. Use htcleo-usbhost_defconfig to configure with correct configurations. " Where do i must insert this command "htcleo-usbhost_defconfig " I want to use external mouse and keyboard in ubuntu. Please explain me how to enable usb host in ubuntu. Thanks !
 
pioterek2666
Old
#7  
Member
Thanks Meter 11
Posts: 72
Join Date: Jul 2008
To use usb host on ubuntu 0.2 or 0.3 go to linux/ubuntu directory on your storage card and edit file startup.txt in this way:

# Ubuntu Linux for HTC HD2 v0.3

set mtype 2524

set ramaddr 0x11800000
set ramsize 0x1E400000

set initrd_offset 0x00a00000

set initrd initrd.cpio.gz

# USB MODES
# Chose one of the following kernels by uncommenting
# (removing the # from the front of the line) the according
# line.

# USBETH allows for conventional usb ethernet connectivity
# ADB will provide android debug bridge conectivity
# USBHOST will allow connection of peripheral usb devices
# when supplying +5V externally.

#set kernel zImage_htcleo_adb_2.6.32.9-38182-g6ad7e77
set kernel zImage_htcleo_usbhost_2.6.32.9-38182-g6ad7e77
# set kernel zImage_htcleo_usbeth_2.6.32.9-38182-g6ad7e77

set cmdline "init=/init rw consoleblank=0 fbcon=rotate:1"

bootlinux


The trick is simple, just make sure that "#" is unchecked on the line "set kernel zImage_htcleo_usbhost_2.6.32.9-38182-g6ad7e77"

Connect your usb devices first before you start haret.exe cause it might not work.
 
bever86
Old
#8  
bever86's Avatar
Member
Thanks Meter 5
Posts: 43
Join Date: Apr 2010
Location: Arnhem
To use Ubuntu 0.3 with nandroid (Magdlr) follow the guide in this post:
http://forum.xda-developers.com/show...&postcount=472

Make sure to use this zImage: zImage_htcleo_usbhost_2.6.32.9-38182-g6ad7e77

This way the mouse and keyboard will work, however the touchscreen and wifi won't

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Add Timestamps to Xposed Installer Logs with… Xposed!

If talking about the most interesting projects in the last few years, we must … more

Secrecy Goes Open Source, Assures File Encryption

As some of you may remember, a while back we spoke about Secrecy, an effective file … more

[APK] Google News and Weather Gets Material Design Makeover, Minor Maps Updates

Although Google has somewhat gotten out of the habit of their … more

Software Build Automation with Jenkins – XDA Developer TV

Many members of the XDA community come to learn and begin in the exciting … more