ubuntu 10 keyboard and mouse problem

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,

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,

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!

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 :frowning:

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

Regards,

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.

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.

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... 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...

Regards,

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..

Regards,

Yes i am going to try ofcourse. I will inform you when i done.

Regards,

Hakan Özcan.

I can get mouse and keyboard working, with usb 2.0 hub.

Thank you all,

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:
http://pastebin.com/V6K5n0Qt

Thank you
Jake

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?

Regards,

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

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..)

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.

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?

Regards,

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

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

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

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