Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
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: 37
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: 70
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

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Side-Swiping Multitasking with Kakudo

Recovering iPad users may still remember the multitasking function where you can swipe left or right to … more

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more