Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: USB Keyboard and Mouse not working with Beagleboard-xM

  1. #1
    Join Date
    Dec 2007
    Beans
    17

    USB Keyboard and Mouse not working with Beagleboard-xM

    Hello,

    I tried installing Ubuntu Natty and Oneiric Beta 1 on a SD Card for using it with a BeagleBoard-xM Rev. C, following these instructions: https://wiki.ubuntu.com/ARM/OmapNetbook

    (For Oneiric i did not update the kernel like the instructions tells for Natty)
    These are the images i used:
    http://cdimage.ubuntu.com/releases/1...el+omap.img.gz
    http://cdimage.ubuntu.com/releases/1...el+omap.img.gz

    For both images i had the same problem of the USB keyboard and mouse not working.
    With the original Ångström Linux, which was shipped preinstalled on a SD Card, mouse and keyboard was working nicely, though.

    I have not found anything usefull when searchig for this on the internet. Other people seem not to have this problem.

    I would like to give you a nice bootlog but unfortunately the output on the serial port stops after the booting of the kernel starts (see below) while the screen shows the booting continuing.
    (The original Ångström Linux gives a proper bootlog.)

    Does anyone have any idea what i can do to tackle this problem?
    Or how to get at least a full bootlog first?


    The following is the output i get from the serial port when booting the SD Card i installed Oneiric on:
    Code:
    Texas Instruments X-Loader 1.5.1 (Jul 15 2011 - 21:29:14)                             
    Beagle xM                                                                             
    Reading boot sector
    Loading u-boot.bin from mmc
    
    
    U-Boot 2011.06 (Aug 29 2011 - 16:51:02)
    
    OMAP3630/3730-GP ES2.1, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
    OMAP3 Beagle board + LPDDR/NAND
    I2C:   ready
    DRAM:  512 MiB
    WARNING: Caches not enabled
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    *** Warning - readenv() failed, using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    Beagle unknown 0x02
    No EEPROM on expansion board
    Die ID #340a00029ff800000163810c1502f01e
    Hit any key to stop autoboot:  0 
    SD/MMC found on device 0
    reading boot.scr
    
    356 bytes read
    Running bootscript from mmc ...
    ## Executing script at 82000000
    reading uImage
    
    3710572 bytes read
    reading uInitrd
    
    6616482 bytes read
    ## Booting kernel from Legacy Image at 80000000 ...
       Image Name:   Ubuntu Kernel
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3710508 Bytes = 3.5 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
    ## Loading init Ramdisk from Legacy Image at 81600000 ...
       Image Name:   Ubuntu Initrd
       Image Type:   ARM Linux RAMDisk Image (gzip compressed)
       Data Size:    6616418 Bytes = 6.3 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.

  2. #2
    Join Date
    Dec 2007
    Beans
    17

    Re: USB Keyboard and Mouse not working with Beagleboard-xM

    OK, i found this page: https://wiki.ubuntu.com/ARM/BeagleEditBootscr
    and followed it's instructions to modify my boot.scr file to enable the serial console and get a boot log.

    I added "console=ttyS2,115200n8" to the "setenv bootargs" line so the script now looks like this:

    Code:
            fatload mmc 0:1 0x80000000 uImage
            fatload mmc 0:1 0x81600000 uInitrd
            setenv bootargs console=ttyS2,115200n8 ro elevator=noop vram=12M omapfb.mode=dvi:1280x720MR-16@60 mpurate=auto root=UUID=065b0a56-079e-4957-b875-b949552f6a75 fixrtc quiet splash
            bootm 0x80000000 0x81600000
    Unfortunately it did not work.

    The serial output now looks like shown below.
    It has not changed much but you can see that the new boot.scr has been read ("379 bytes read" instead of 356).
    Also with this modification now the screen is just staying black.
    Though the screen is getting some signal as it's LEDs indicate and it reports to be driven with a resolution of 1280x720@60Hz.

    Code:
    Texas Instruments X-Loader 1.5.1 (Jul 15 2011 - 21:29:14)                          
    Beagle xM                                                                          
    Reading boot sector
    Loading u-boot.bin from mmc
    
    
    U-Boot 2011.06 (Aug 29 2011 - 16:51:02)
    
    OMAP3630/3730-GP ES2.1, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
    OMAP3 Beagle board + LPDDR/NAND
    I2C:   ready
    DRAM:  512 MiB
    WARNING: Caches not enabled
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    *** Warning - readenv() failed, using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    Beagle unknown 0x02
    No EEPROM on expansion board
    Die ID #340a00029ff800000163810c1502f01e
    Hit any key to stop autoboot:  0 
    SD/MMC found on device 0
    reading boot.scr
    
    379 bytes read
    Running bootscript from mmc ...
    ## Executing script at 82000000
    reading uImage
    
    3710572 bytes read
    reading uInitrd
    
    6616482 bytes read
    ## Booting kernel from Legacy Image at 80000000 ...
       Image Name:   Ubuntu Kernel
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3710508 Bytes = 3.5 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
    ## Loading init Ramdisk from Legacy Image at 81600000 ...
       Image Name:   Ubuntu Initrd
       Image Type:   ARM Linux RAMDisk Image (gzip compressed)
       Data Size:    6616418 Bytes = 6.3 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.

  3. #3
    Join Date
    Dec 2007
    Beans
    17

    Re: USB Keyboard and Mouse not working with Beagleboard-xM

    To make this more graspable i've recorded a video of the problem:
    http://www.youtube.com/watch?v=mVsrByp283g

    It shows the boot processes and how the mouse and keyboard works with the shipped Angström Linux but don't work with Ubuntu Oneiric Beta 2.

  4. #4
    Join Date
    Dec 2008
    Beans
    12
    Distro
    Ubuntu

    Re: USB Keyboard and Mouse not working with Beagleboard-xM

    I am having the same problem with Natty on my Beagleboard XM. I downloaded 'ubuntu-11.04-preinstalled-netbook-armel+omap.img.gz', unpacked it to the SD and then applied 'beagleXM-natty.tgz' changes according to instructions at https://wiki.ubuntu.com/ARM/OmapNetbook.

    Ubuntu started and reconfigured its disk correctly (it seems). It rebooted itself, making a very nice red screen(!) and finally hung at the Natty configure window, asking for my language. My mouse LED was dark, and no mouse or keyboard commands were accepted. Changed USB ports, no better.

    I made the console=ttyS2 change in the boot script, as recommended. I see a login prompt on my console device. Can't log in though, since I have not configured a password or user account yet.

    Angstrom works fine, FWIW.

    What to do? TIA!

    Martin

  5. #5
    Join Date
    Oct 2011
    Beans
    2

    Re: USB Keyboard and Mouse not working with Beagleboard-xM

    Hi,

    I have the same problem. I have been trying to find out a solution to this.
    Please let me know if you could resolve the problem.

    -Venu

  6. #6
    Join Date
    Dec 2008
    Beans
    12
    Distro
    Ubuntu

    Re: USB Keyboard and Mouse not working with Beagleboard-xM

    I've changed to a different kernel, so I cannot easily try the following, which I stumbled across somewhere else.

    Try attaching the keyboard and mouse to an external USB2 hub and attaching the hub to the BB USB port. The suggestion is that the Ubuntu USB driver is not able to work with slower devices. Worth a shot. Post if you try this.

    Martin

  7. #7
    Join Date
    Oct 2011
    Beans
    2

    Thumbs up Re: USB Keyboard and Mouse not working with Beagleboard-xM

    Went through responses over the internet where an externally powered USB devices were also not recognized.
    So, tried another method that completely worked.

    1. Followed the installation instructions for Ubuntu 11.04 from:
    https://wiki.ubuntu.com/ARM/OmapNetbook
    Including those under the section: "Update for BeagleXM Rev B & Rev C"

    2. After everything was done from step#1, I, went ahead and mounted the microSD card on my linux box. Mounted sdb1 and replaced u-boot.bin
    mkdir /tmp/2; mount /dev/sdb1 /tmp/2; rm -f u-boot.bin; wget http://www.angstrom-distribution.org...ard/u-boot.bin .

    Note: the u-boot.bin that I downloaded is with this timestamp and size: "23-Oct-2011 15:03 318K"


    3. Then, I created a uEnv.txt file from the default boot.scr script of ubuntu and placed it in the /dev/sdb1 file system.

    Contents of uEnv.txt is as below:

    bootargs=ro elevator=noop vram=12M omapfb.mode=dvi:1280x720MR-16@60 mpurate=500 root=UUID=195f94b2-d64e-4702-b85d-91a269683828 fixrtc quiet splash
    uenvcmd=mmc rescan;fatload mmc 0:1 0x80000000 uImage;fatload mmc 0:1 0x81600000 uInitrd;bootm 0x80000000 0x81600000


    4. Rebooted the beagleboard and yes, the mouse and keyboard were not only powered up but are also detected.

    5. Enjoy!!!


    Regards,
    Venu Yanamandra

  8. #8
    Join Date
    Jan 2012
    Beans
    1

    Re: USB Keyboard and Mouse not working with Beagleboard-xM

    Thanks for the solution Venu. It works!!

    I want to make a tiny addition for newbies to use the new version of mentioned uBoot (http://www.angstrom-distribution.org/demo/beagleboard/).
    (I used "02-Nov-2011 08:15 318K" version of uBoot.)

    Just copy original uImage from the first partition of sd card to Boot directory in the second partition. Otherwise uBoot will show kernel not found error.

    With this change kernel starts printing to console (serial port) also.
    Last edited by fx08; January 6th, 2012 at 09:31 AM.

  9. #9
    Join Date
    Feb 2012
    Beans
    2

    Re: USB Keyboard and Mouse not working with Beagleboard-xM

    Hi. I'm having the same problem, but when I check the angstrom archive there's not a u-boot.bin file there. I'm looking at http://www.angstrom-distribution.org/demo/beagleboard/, the only file that's close to the size you mentioned is u-boot.img which is 321k. Thanks for any help you can provide.

  10. #10
    Join Date
    Mar 2011
    Beans
    4

    Re: USB Keyboard and Mouse not working with Beagleboard-xM

    try that ' wget http://www.beagleboard.org/angstrom-...ard/u-boot.bin ' instead of the previous one because the previous one is in img format. and after you created uEnv.txt don't forget to change " root=UUID=195f94b2-d64e-4702-b85d-91a269683828 " line as the same with your boot.scr file . You can open boot.scr with gedit.

    When i used that way , my keyboard and mause come to the alive but problem is the new installation is going on so slow then before. For example maybe it took 15 min just for the language selection screen coming . The previous which my usb ports are not avaiable is like 4 min for the same screen . Have any idea ?

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •