ubuntu 10 keyboard and mouse problem

320 views
Skip to first unread message

hilmisu

unread,
Dec 21, 2010, 9:31:48 AM12/21/10
to Beagle Board
Hi everyone,

I install the ubuntu on my sd_card then i boot it without a problem.
But, in the screen
i see "system configuration menu" but i cannot do anything. Because
neither keyboard nor
mouse work. I am not using external 5v power cable, is it because of
that? or any other thing
that i should do


Regards,

Robert Nelson

unread,
Dec 21, 2010, 3:30:37 PM12/21/10
to beagl...@googlegroups.com

You should first double check by plugging in a 5volt power adapter..

If it's an older "C4" board, make sure your using a usb2.0 hub..

If you still have issues, let us know...

Version of Beagle and which distro your installing..

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

hilmisu

unread,
Dec 22, 2010, 7:06:25 AM12/22/10
to beagl...@googlegroups.com
I plugged in 5v power source, again i were be able to see "system configuration screen" but again no keyboad and mouse.
I plug in only the mouse. and i am using ubuntu 10.10 for omap distribution on my BeagleBoard beagle rev c4:kit omap35x.

How can i get working mouse and keyboard? please help!

Robert Nelson

unread,
Dec 22, 2010, 9:46:33 AM12/22/10
to beagl...@googlegroups.com

Are you using a usb 2.0 hub? is the mouse and keyboard plugged in
before power on or after?

ayunus

unread,
Dec 22, 2010, 7:14:08 AM12/22/10
to Beagle Board
I have same problem on Angstrom. USB pheripherals does not work with
or without 5v supplied hub. I upgraded my uImage to newer version but
does not solved but on my host computer at minicom, when plugged mouse
only writes USB can not enumerate the device and falls :(

onlyfever

unread,
Dec 22, 2010, 10:04:21 AM12/22/10
to beagl...@googlegroups.com
 
Are you using a usb 2.0 hub?  is the mouse and keyboard plugged in
before power on or after?
 
Is there any problem about using usb 2.0 hub?
My board has the similar issue,I should plug in usb device before power on so that the usb device can be detected.

hilmisu

unread,
Dec 23, 2010, 1:18:30 AM12/23/10
to beagl...@googlegroups.com
I am not using usb hub. I just plug mouse in the OTG. First, i plugged in after the
power on, then i reset the beagleboard, but again nothing. 

ayunus

unread,
Dec 23, 2010, 3:53:57 AM12/23/10
to Beagle Board

I used US B 2.0 hub but not worked. When I connect the USB mouse
before the power on the board It works

Robert Nelson

unread,
Dec 23, 2010, 9:58:33 AM12/23/10
to beagl...@googlegroups.com

Yeap... So are you going to plug in a usb 2.0 hub?

http://elinux.org/BeagleBoard#OTG

Make sure to use a "mini-a" plug adapter...

Robert Nelson

unread,
Dec 23, 2010, 10:01:48 AM12/23/10
to beagl...@googlegroups.com
On Thu, Dec 23, 2010 at 2:53 AM, ayunus <ayunus...@gmail.com> wrote:
>
> I used US B 2.0 hub but not worked. When  I connect the USB mouse
> before the power on the board It works

Yeap, that's a known weird bug... For some reason you need atleast
one downstream device plugged into the usb hub at powerup, otherwise
it doesn't seem to detect new hot plugged devices when nothing was
connected at boot.

There's a couple other people interested in this, and would be an
interesting project if your interested..

hilmisu

unread,
Dec 23, 2010, 3:56:51 PM12/23/10
to beagl...@googlegroups.com
Yes i am going to try ofcourse. I will inform you when i done.

Regards,

Hakan Özcan.

hilmisu

unread,
Dec 24, 2010, 1:44:00 PM12/24/10
to beagl...@googlegroups.com
I can get mouse and keyboard working, with usb 2.0 hub. 

Thank you all,

Jake

unread,
Jan 3, 2012, 8:03:38 PM1/3/12
to beagl...@googlegroups.com
Robert,

I am having USB trouble on my Beagleboard xM rev B using Ubuntu (following these instructions http://elinux.org/BeagleBoardUbuntu#Oneiric_11.10 without gui)

Sometimes the board boots up and the USB and ethernet ports do not work.  Seems like they just dont power on.  I am trying to use a standard USB keyboard.  It seems like sometimes the board boots up and the USB works, and other times it doesn't.  I am not sure the cause but can you please provide some guidance??

I have pasted by "dmesg" output here:

Thank you
Jake

Robert Nelson

unread,
Jan 3, 2012, 8:11:30 PM1/3/12
to beagl...@googlegroups.com

humm:

[ 4.896362] usb 1-2: device descriptor read/64, error -71
[ 4.929351] udevd[69]: starting version 173
[ 5.138641] usb 1-2: new high speed USB device number 3 using ehci-omap
[ 5.302673] usb 1-2: device descriptor read/64, error -71
[ 5.552673] usb 1-2: device descriptor read/64, error -71
[ 5.794830] usb 1-2: new high speed USB device number 4 using ehci-omap

It really doesn't like that device, with that same usb keyboard
plugged into an x86, what does "lsusb" show?

btw, how are you poweing the board? 5volt DC or via the otg connector?

Jake

unread,
Jan 3, 2012, 8:18:10 PM1/3/12
to beagl...@googlegroups.com
Thanks for your reply.

I am powering the board with a 5VDC.

Plugging the keyboard into my laptop running Ubuntu 11.10, output of "lsusb":

jake@jake-PC:~/Downloads$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam
Bus 005 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 005 Device 007: ID 0566:3002 Monterey International Corp.

I think the keyboard is the last device.

Thanks again,
Jake

Robert Nelson

unread,
Jan 3, 2012, 8:31:03 PM1/3/12
to beagl...@googlegroups.com
On Tue, Jan 3, 2012 at 7:18 PM, Jake <jacob.k...@gmail.com> wrote:
> Thanks for your reply.
>
> I am powering the board with a 5VDC.

Very strange, i've seen similar things happen with a failing power
supply.. (the beagle needs 5volts >=750mA's..)

Works fine their.. i'd expect it to be working on the xm..

With no usb devices plugged into the beagle, does the ethernet
interface come up on boot? (you'd have to user the serial, or look at
the dvi screen)

Next, i'd try this kernel: (although the ehci changes weren't that
massive between 3.1 and 3.2)
http://rcn-ee.net/deb/oneiric-armel/v3.2.0-rc7-d4/

IF the ethernet works long enough on the beagle:
wget http://rcn-ee.net/deb/oneiric-armel/v3.2.0-rc7-d4/install-me.sh
/bin/bash install-me.sh

otherwise you'd have to download the deb, and install it manually..
(the steps are readable in the install-me.sh) essentailly, dpkg -i
*.deb, update-initramfs -ck (new version) mkimage on both
vmlinuz/initrd... copy to sd reboot..

Did it work fine with the original 2.6.32-psp based image? or any
other previous images, or is the first time testing?

Jake

unread,
Jan 3, 2012, 9:05:00 PM1/3/12
to beagl...@googlegroups.com
hmm yes strange.

I tried 2 situations:
(1) Without any USB device plugged in, but an Ethernet cord plugged in, the ethernet port seems to start up fine:
ubuntu@omap:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 

(2) However, when I boot up the board with no USB and no ethernet cord plugged in, and then plug in the ethernet cord AFTER boot and login (through serial console), the ethernet port does NOT seem to start up (noticing the lights and testing a sudo apt-get update; I can always post the dmesg from each situation).  Plus, I eventually receive this message:  
ubuntu@omap:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ubuntu@omap:~$ [  317.420043] usb 1-2: device descriptor read/64, error -71
[  317.693481] usb 1-2: device descriptor read/64, error -71
[  318.091888] usb 1-2: device descriptor read/64, error -71
[  318.365325] usb 1-2: device descriptor read/64, error -71
[  319.052764] usb 1-2: device not accepting address 4, error -71
[  319.630981] usb 1-2: device not accepting address 5, error -71
[  319.646759] hub 1-0:1.0: unable to enumerate USB device on port 2


I will try installing the new kernel.  Thank you for the instructions.

I haven't used my beagleboard in a while (since last spring) and I was previously using Angstrom.  However, I did not encounter this problem in the past.

Thanks again,
Jake

Jake

unread,
Jan 4, 2012, 12:03:34 AM1/4/12
to beagl...@googlegroups.com
Robert,

Thanks for your help.  I tried the new kernel version, but experienced the same errors.  

I also tried an older Angstrom image (2.6.32) I found in my pile of micro-SD cards...had trouble with the USB and ethernet too.  I previously thought this was working fine...

I switch back to the ubuntu new kernal you posted, but this time the ethernet didnt start when no usb device was plugged in.  I eventually received this error after being logged in, and booted with just the ethernet (which didnt start after boot):
[  267.767883] usb 1-2: device descriptor read/64, error -71
[  268.158630] usb 1-2: device descriptor read/64, error -71
[  268.432037] usb 1-2: device descriptor read/64, error -71
[  269.119323] usb 1-2: device not accepting address 2, error -71
[  269.697753] usb 1-2: device not accepting address 2, error -71
[  269.822723] hub 1-2:1.0: hub_port_status failed (err = -19)
[  269.838256] hub 1-2:1.0: hub_port_status failed (err = -19)
[  269.853607] hub 1-2:1.0: hub_port_status failed (err = -19)
[  269.868530] hub 1-2:1.0: hub_port_status failed (err = -19)
[  269.883239] hub 1-2:1.0: hub_port_status failed (err = -19)
[  269.897857] hub 1-2:1.0: activate --> -19
[  270.603881] usb 1-2: device not accepting address 4, error -71
[  270.885223] usb 1-2: device descriptor read/64, error -71
[  271.150817] usb 1-2: device descriptor read/64, error -71
[  271.448303] usb 1-2: device descriptor read/8, error -71
[  271.612915] usb 1-2: device descriptor read/8, error -71
[  272.291229] usb 1-2: device not accepting address 7, error -71
[  272.305938] hub 1-0:1.0: unable to enumerate USB device on port 2

I will try to check if my 5VDC adapter is failing.  (it is rated for 2.5 A)

As of now, I cannot consistently boot the beaglebaord in a USB/ethernet error-free situation...

Thanks again for your help,
Any recommendations appreciated,
Jake

Jake

unread,
Jan 6, 2012, 7:51:42 PM1/6/12
to beagl...@googlegroups.com
Robert,

I have done several fresh attempts to boot the board, i still get errors like:
 device descriptor read/64, error -71

with multiple USB devices, not just that keyboard.  I checked the power supply, dont see a problem there.


Several searches and info from other forums seem to point to:
CONFIG_USB_SUSPEND=y

I am going to trying to build my own kernel with this option disabled.  What are the consequences of turning this off?

Thanks,
Jake

Nicky

unread,
Jun 25, 2012, 3:06:52 PM6/25/12
to beagl...@googlegroups.com
Hi, 
I loaded Ubuntu 11.10 to the beagleboard but it seems like keyboard and mouse is not detected. Any help on enable the keyboard and mouse? 

Regards, 
Nicky

Robert Nelson

unread,
Jun 25, 2012, 3:09:20 PM6/25/12
to beagl...@googlegroups.com
On Mon, Jun 25, 2012 at 2:06 PM, Nicky <nick...@gmail.com> wrote:
> Hi,
> I loaded Ubuntu 11.10 to the beagleboard but it seems like keyboard and
> mouse is not detected. Any help on enable the keyboard and mouse?

Please, expand on your question a little, which beagleboard, and which
ubuntu 11.10 image? (some were broken)

Nicky

unread,
Jun 25, 2012, 8:25:04 PM6/25/12
to beagl...@googlegroups.com
Hi, 
I am using Beagleboard-xm rev C loaded with image file of ubuntu 11.10 for desktop. As i plug into the monitor, it could boot up and show the loading screen but the mouse and keyboard attached to the board is not working. I search through the net and i have created a uEnv.txt but it doesn't seem to help too. 
Please advice. 

Regards, 
Nicky

Robert Nelson

unread,
Jun 25, 2012, 8:34:20 PM6/25/12
to beagl...@googlegroups.com
On Mon, Jun 25, 2012 at 7:25 PM, Nicky <nick...@gmail.com> wrote:
> Hi,
> I am using Beagleboard-xm rev C loaded with image file of ubuntu 11.10 for
> desktop. As i plug into the monitor, it could boot up and show the loading
> screen but the mouse and keyboard attached to the board is not working. I
> search through the net and i have created a uEnv.txt but it doesn't seem to
> help too.
> Please advice.

Okay, i'm going to assume your using Canonical's official images, on
that board, i don't remember if the 11.10 images worked out of the box
(you'd have to ask their developers on #ubuntu-arm on freenode)... If
you have a 2nd SD card can you quickly test their 12.04 image from
here, i know it should work as i worked with one of their dev's on the
xM C's patchset...

https://wiki.ubuntu.com/ARM/OMAP

Nicky

unread,
Jun 25, 2012, 8:34:48 PM6/25/12
to beagl...@googlegroups.com
The link to the download page of the image file : 

Nicky Peh Kean Hock

unread,
Jun 26, 2012, 8:35:56 PM6/26/12
to beagl...@googlegroups.com
Hi Robert, 
12.04 works just fine. Thanks. 

-- To join: http://beagleboard.org/discuss
To unsubscribe from this group, send email to:
beagleboard...@googlegroups.com
Frequently asked questions: http://beagleboard.org/faq



--
Thanks. 

Best Regards,
Nicky (Kean Hock) 

Robert Nelson

unread,
Jun 26, 2012, 8:37:38 PM6/26/12
to beagl...@googlegroups.com
On Tue, Jun 26, 2012 at 7:35 PM, Nicky Peh Kean Hock <nick...@gmail.com> wrote:
> Hi Robert,
> 12.04 works just fine. Thanks.

Awesome, glad it works, i'll add that to my faq... just so many images. ;)
Reply all
Reply to author
Forward
0 new messages