• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Linux Stuff / Linux distributions / Re: d2plug's factory Ubuntu 10.04 on: September 24, 2011, 08:02:36 AM
Well, what do you know, a disappointment.

Standard-definition works just fine; my little boy enjoyed a ripped DVD movie last night. But this morning in response to the request above, I tried viewing a 720P H264 encoded file and it won't work. Not over the network, and not when copied to the D2.

Also, compiling MythTV from source didn't work either; still getting "illegal instruction." I'll have to go deeper--but no time right now.
2  Linux Stuff / Linux distributions / d2plug's factory Ubuntu 10.04 on: September 23, 2011, 08:25:57 AM
I just found out that although Ubuntu itself runs fine on my new d2plug, the repositories are not set up to receive armel versions of at least some packages. For instance, the MythTV packages don't run, and back-checking against packages.ubuntu.com, one finds that they are not even available compiled for armel. So I guess I have several choices and not sure how to pick between them:
  • Install Debian (did this on my Sheevaplug and I'm very happy with it, but it takes a long time and I heard on here that Debian doesn't support armv7 yet, which is what the d2plug uses? And yes I have the jtag board to do this)
  • Keep Ubuntu, but install Debian armel package for MythTV (same problem; not sure this platform is supported out of the box)
  • IKeep Ubuntu but point at a Debian armel repository (never tried this)
  • Compile MythTV from source (I've done this too, but it also takes a long time)
  • Use something other than MythTV to conveniently watch downloaded videos

Any advice?

John
3  Hardware and U-Boot firmware / Hardware / Re: Anyone preorder d2plug? on: September 22, 2011, 03:10:54 PM
I got an email back saying to try the password "marvell"; I'll try it tonight; if I don't post again then please assume it worked!
4  Hardware and U-Boot firmware / Hardware / Re: Anyone preorder d2plug? on: September 22, 2011, 09:41:22 AM
Yes what I should've asked for in my first post was if anyone knows what the default (shipped) password is for the "ubuntu" user; with that I could use sudo. No response yet from GlobalScale Technologies.
5  Hardware and U-Boot firmware / Hardware / Re: Anyone preorder d2plug? on: September 21, 2011, 09:37:27 PM
I guess I could've been more clear, to use sudo all I need is the default password for the "ubuntu" user; I know root is disabled in Ubuntu.
6  Hardware and U-Boot firmware / Hardware / Re: Anyone preorder d2plug? on: September 21, 2011, 09:29:19 PM
I got my d2plug and it looks really good. Unfortunately, the root password doesn't appear to be "nosoup4u"; I'll be emailing Global Scale and I'll post the response, but in the meantime does anyone here know? It ships with Ubuntu 10.04., and the autologin user is "ubuntu".
7  Hardware and U-Boot firmware / Hardware / Re: Debian Squeeze and Sheevaplug LED control on: December 02, 2010, 12:04:23 PM
Yes, I see what you mean, the file is owned by the regular account and not by root. Now I see that redirection is being performed differently from how I thought. You learn as you go, right? Since my full-time job is not computer engineering I only have my spare time to pick up these subtleties.

At any rate, I became root using "sudo bash" (not sure why "su" doesn't do it) and I can control the LED's. Well, at least I don't get an error; I'm not at home to visually inspect the lights. So it looks like this problem is resolved. Thanks for the help. Glad it wasn't a more major problem; just old-fashioned operator error.
8  Hardware and U-Boot firmware / Hardware / Re: Debian Squeeze and Sheevaplug LED control on: December 02, 2010, 07:36:39 AM
Yes; the /etc/sudoers file is normal, as provided in the distribution; and these commands work fine:

Code:
john@shiva:~$ sudo echo "testing"
testing
john@shiva:~$ sudo echo "testing" > test.txt
john@shiva:~$ cat test.txt
testing

Thanks,

John K.
9  Hardware and U-Boot firmware / Hardware / Debian Squeeze and Sheevaplug LED control on: December 01, 2010, 06:15:04 PM
First, one of these days I'm going to get around to writing a success story but in a nutshell my Sheevaplug has completely replaced a desktop computer that used to run Ubuntu and served as a multipurpose server, in the process saving us a lot of electricity, noise, and heat. My wife's happy that the old computer is gone and I'm happy that I still have a machine running all the time.

I'm running Debian Squeeze, installed as per the very excellent instructions on the www.cyrius.com Web site. I've read up on controlling the SheevaPlug LED's in these forums, in the wiki, and everywhere I can find on the Internet, and it seems so straightforward. Everyone manages to control them using the "trigger" file in /sys/devices/platform/leds-gpio/leds/plug:green:health or the alternate symlinked location of /sys/class/leds/plug:green:health. This is what happens when I try:

Code:
john@shiva:~$ cd /sys/class/leds/plug\:green\:health
john@shiva:/sys/class/leds/plug:green:health$ ls -l
total 0
-rw-r--r-- 1 root root 4096 Dec  1 17:04 brightness
lrwxrwxrwx 1 root root    0 Dec  1 17:04 device -> ../../../leds-gpio
-r--r--r-- 1 root root 4096 Dec  1 17:01 max_brightness
drwxr-xr-x 2 root root    0 Dec  1 17:04 power
lrwxrwxrwx 1 root root    0 Dec  1 17:00 subsystem -> ../../../../../class/leds
-rw-r--r-- 1 root root 4096 Dec  1 17:04 trigger
-rw-r--r-- 1 root root 4096 Dec  1 17:00 uevent
john@shiva:/sys/class/leds/plug:green:health$ cat trigger
none nand-disk timer [default-on] mmc0
john@shiva:/sys/class/leds/plug:green:health$ sudo echo "none" > trigger
-bash: trigger: Permission denied
john@shiva:/sys/class/leds/plug:green:health$ sudo ls
[sudo] password for john:
brightness  device  max_brightness  power  subsystem  trigger  uevent
john@shiva:/sys/class/leds/plug:green:health$ sudo echo "none" > trigger
-bash: trigger: Permission denied


I should note that for security reasons I have the root account disabled, using root via sudo. There is a very interesting clue therein: I am not even prompted for my password before getting the "permission denied" message. That's why, in the code section above, I put in the "sudo ls": so you can see that I was prompted for my password by "sudo ls" but not by the sudo echo command.

I just did a full system update (apt-get update;apt-get upgrade) and reboot and the problem is still happening. uname -a reports:

Code:
john@shiva:~$ uname -a
Linux shiva 2.6.32-5-kirkwood #1 Fri Nov 26 07:01:06 UTC 2010 armv5tel GNU/Linux

Incidentally, the intended use here is to tell me when it's okay to unplug my mp3 player after updating the podcasts on it. I have a udev script that watches for the mp3 player to be plugged in, then launches a Python script to update the podcasts in the background. The heavy lifting is done by hpodder, which is called by the Python script; the Python script just deletes and copies files. Without the LED control, I have to either power up a laptop to check if the script completed, or wait 15 minutes so that I can be sure the script is done. I thought the LED control would have been the easiest part of this application but unfortunately not :-(

Thanks in advance for any help you may be able to provide.

John K.
10  Hardware and U-Boot firmware / U-Boot stuff / Re: Installing EPIA made my Windows USB keyboard and mouse stop working on: August 13, 2010, 11:32:38 AM
Some more searching revealed it's a problem with libusb-win32. Something about running it in compatibility mode. I didn't see an option for that but anyway I apparently need to get a PS/2 keyboard or mouse from the office and use it to log in and fix the machine. Sucks.
11  Hardware and U-Boot firmware / U-Boot stuff / Installing EPIA made my Windows USB keyboard and mouse stop working on: August 13, 2010, 11:04:30 AM
Hello all,

I installed setupESIA-2.0.5.exe on my Windows Vista computer. At the very end, when it asked me if I wanted to run a test application at the conclusion of installation, the USB keyboard and mouse stopped working. The keyboard works during the boot process and then stops working once Windows is up. Safe mode doesn't work; neither did attempting to select restoring the last known working configuration from the F8 menu on bootup.

I'm going to keep working on SheevaPlug with my Linux laptop but I hope  I can get the Windows machine up before my wife gets home from work or she's gonna be pissed...

I see this happened at least once before: http://plugcomputer.org/plugforum/index.php?topic=1400.msg8726#msg8726 but there was no followup so I don't know what that person did to resolve the issue if anything. I also haven't found anything about this in the documents on Sourceforge so I'm trying to help myself but am having no luck.

Please advise.

John K.
Pages: [1]