• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1] 2 3
1  Linux Stuff / Kernel / Re: Enabling UART1 to facilitate a 2nd serial interface/ttyS1 on: August 10, 2011, 01:29:20 AM

Hello SLR,

Hope you are still out there and actively participating to this forum.

Would like to know whether you were successful in getting uart1 (ttyS1) in userspace?

Did you also just edit "arch/arm/mach-feroceon-kw/kw_family/boardEnv/mvBoardEnvSpec.h" and change the ff line?

#define RD_88F6281A_MPP8_15                      0x13313311


The value for MPP 13 and 14 are set to 0x3 to select UART1 instead of SDIO. I've tried recompiling the uImage with this setting but still I am getting input/output errors on ttyS1 when trying to access it.


2  General Category / General Discussion / Re: Nimbus 100 vs. Sheevaplug on: August 04, 2010, 01:30:51 AM
Hello Fletch,

Hmm.  Does the Nimbus 100 JTAG module use the same USB chip?  The FTDI linux driver which works with my Sheevaplg and Guruplug doesn't detect the Nimbus 100.

I think the IONICS plug uses a different VID / PID. Maybe try issuing an "lsusb" command on your Linux Host console to check these values then use a modprobe command:

# modprobe ftdi_sio vendor=0x1c0c product=0x0102
# dmesg |grep FTDI


Hope this helps.  Smiley
3  General Category / General Discussion / Re: New QT based installer: Enhanced Sheevaplug Installer Application (ESIA) on: June 20, 2010, 11:49:51 PM
Hello rooster,

It's ok now, I went back to your instructions and modified the bootargs_root env. Afterwards, I was able to connect using xtightvncviewer on my ubuntu host.


One interesting observation though, the red and blue hues seem to be interchanged on the VNC viewer... I tried using the web browser and checked-out google, and I could see that that the red and blue letters are not in their usual places... Any ideas? Smiley
4  General Category / General Discussion / Re: New QT based installer: Enhanced Sheevaplug Installer Application (ESIA) on: June 17, 2010, 08:39:28 PM
Hello rooster,


connect to plugdroid UI using VNC viewer on port 5901 (calendar error is known bug so just hit ok and go on). First attempt may have fuzzy screen so just reboot and connect again.


This is great! I have tried installing android into the plug but I could not connect using a VNC viewer (xtightvncviewer) on my Ubuntu PC.
I have tried manually assigning an IP address in the plug by using "ifconfig". I could ping the plug via PC but I could not establish a VNC connection on "<assigned IP address>:5091"

Any helpful pointers? Do I need to activate a VNC server on the plugdroid using the command line?

5  General Category / General Discussion / Re: how to add heartbeat into trigger on: June 15, 2010, 12:30:32 AM
Hello realfenglin,


if you can, please give me some good documents or links i can read about compile kernel


If you have purchased a plug, then more or less your plug provider has also given out a development disc which contains relevant documentation to help you out. Otherwise, there are also instructions from PlugWiki on how to perform kernel compilation:
http://plugcomputer.org/plugwiki/index.php/Compiling_Linux_Kernel_for_the_Plug_Computer

Smiley
6  General Category / General Discussion / Re: how to add heartbeat into trigger on: June 09, 2010, 11:00:55 PM
cat /sys/class/leds/plug\:green\:health/trigger

result:
none nand-disk timer [default-on] mmc0

doed not have heartbeat value. how can i add into it. i used Vi or nano to add heartbeat into this trigger file. it does not allow me to change.

any idea.

 thank you .

You need to add the trigger during kernel compilation. Do you have the tools for compiling a new kernel for your plug? They are usually included in your Development Kit disc.  Smiley
7  Hardware and U-Boot firmware / Hardware / Re: How to Add and Control GPIO's of the Sheevaplug on: June 09, 2010, 02:10:41 AM
Hello sdaau,



Just wanted to say thanks for posting this!


Thank you too for replying to this thread, I've learned from your post. By reading your posted links and looking for related topics I was able to bump on this:
http://squidge.sourceforge.net/gpio/

With a bit of change on the sheevaplug.c and the kernel configs, I could now control the GPIO's. I am now interested on your other posted link about the SPI connection. If you do have some additional pointers on doing this, I would really appreciate it.

Thanks!  Grin
8  Linux Stuff / General Linux questions / Re: How to clone a SheevaPlug? on: April 14, 2010, 12:01:50 AM
Hi SonicBoom,

Maybe you could try hacking the script from cbxbiker61 to produce a tarball in .tar.gz format. Rename the created file to rootfs.tar.gz and use it with the sheevaplug-installer.

See this link for additional info:
http://www.plugcomputer.org/plugwiki/index.php/SheevaPlug_Installer


Hope this helps.  Grin
9  General Category / Success stories / Re: zwave for home automation using z-stick2 and Zwave appliance on: April 07, 2010, 09:57:41 PM
So what do you think of zwave ?.
I will check out the parts you have used for your Home automation, I guess have a Sheevaplug will help to control the modules instead of using a pc.

Hello peter a,

I do use a sheevaplug... or it's variant I guess. It's a little bit small so I could hide it away in a corner.  I'm planning to make a script to turn on/off a lighting or appliance at a specific time. Just experimenting.

Thanks, I will try webmin too.

Zwave is great I think, but I'm not technically aware of its full capabilities... have to browse the net more. I am also seeing references of Zigbee which I think offers a similar function.

Thanks, anyway. I'm attaching my set-up in case you would like to see.  Grin


10  General Category / Success stories / Re: zwave for home automation using z-stick2 and Zwave appliance on: April 07, 2010, 06:27:57 AM
It`s probably a CPAN module called Device::SerialPort;

Hello peter a,

Thanks for the big hint... I appreciate that.. Wink

I quickly browsed the net for this and found http://www.cpan.org/.

But the problem with building the cpan modules from the tarball is that there are too many dependencies that is needed... luckily there is a faster way to install the cpan module Device::SerialPort into the plug.


I found this:

#apt-get update
#apt-get install libdevice-serialport-perl

Together with the following:
1. perl script from http://www.bigsister.ch/zwave/zwave_s
2. TrickleStar USB dongle
3. Leviton ZWave Light Dimmer
4. Light bulb

I was able to control a light bulb by issuing commands on the plug's console.
Yeah!... home automation is cool.





Also, thanks Tom Aeby! (the maker of the perl script)  Grin






11  General Category / Success stories / Re: zwave for home automation using z-stick2 and Zwave appliance on: April 06, 2010, 08:49:58 PM

I can control the appliance via this perl script  http://www.bigsister.ch/zwave/zwave_s .


Hello boonpin,

I have a plugcomputer and a tricklestar usb dongle. I have tried running the script but it seems to be looking for a ".pm" file:

root@ubuntu:~# perl zwave.pl                                                   
Can't locate Device/SerialPort.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr
/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at zwave.pl line27.                                                                           

BEGIN failed--compilation aborted at zwave.pl line 27.


Where can I get the extra files? Hope you could help this newbie.
12  Linux Stuff / Kernel / Re: 2.6.33 new release on: April 06, 2010, 06:20:14 AM
Hello cbxbiker61,

I also tried writing the sheeva-2.6.33-uImage directly into the NAND by:

1. Flashing the plug first with sheeva-2.6.30.2-uImage
2. Boot-up the plug
3. Use "nandwrite" to write the sheeva-2.6.33-uImage directly into the NAND
4. Reboot


The plug was able to boot-up successfully. I think this will do for my case.

I am just wondering whether this is a bug during compilation... Thanks again!

13  Linux Stuff / Kernel / Re: 2.6.33 new release on: April 06, 2010, 05:58:33 AM
Hello cbxbiker61,

Upon trying to update my plug's kernel image from sheeva-2.6.30.2-uImage to sheeva-2.6.33-uImage I encountered errors.

My procedure was:
1. Use sheevaplug-installer-v1.0
2. populate the usb stick and use sheeva-2.6.30.2-uImage and modules

I tried it again and just replaced the uImage with sheeva-2.6.33-uImage and its corresponding modules. I am attaching the logs in case someone would like to see.

By comparing the logs, I am having some speculation that the problem starts at initializing the UBI device but I am not sure at all...

Hope you could help point out which part of the kernel source is affecting this. (if possible).

Thanks in advance.







14  General Category / General Discussion / Re: Scripted Photo Frame ? on: March 12, 2010, 01:24:11 AM
Hmm... I was thinking a similar idea (mimo photoframe) but my approach was to utilize the screensaver GLSlideshow and just dump the pictures unto a certain directory. Haven't really explored this yet but I saw that my xfce4+mimo+plugcomputer setup shows a potential for this....  Grin

http://www.jwz.org/xscreensaver/faq.html#slideshow
15  General Category / General Discussion / Re: Can you make drives spin / power down on: February 23, 2010, 05:42:21 AM

Look at this, it worked for me:

http://hartvig.de/2009/howto-automatically-spin-down-external-usb-hard-drives-in-ubuntu/

This isn't Ubuntu-specific, i use Gentoo.

This is perfect, thanks. Smiley
Pages: [1] 2 3