• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Hardware and U-Boot firmware / Hardware / D2 plug I don't have time for 4 Sale. on: August 18, 2013, 02:11:46 PM
I have a nearly unused D2 Plug that I Purchased for a project and haven't had the time to develop. It is fully functional and I still have the original box, cables, etc. Make a reasonable offer etc. via PM.
2  Linux Stuff / General Linux questions / Re: D2 FTDI drivers for external usb/embedded serial device (insteon PLM) on: June 03, 2012, 09:32:08 PM
I undersand you to be confirming that support for the latest supplied kernel leaves out FTDI support correct?

You are suggesting I build kernel myself and flip this option on?

While I may do this, it is adding another level of complexity which in my experience equates to several more levels of dependencies and on and on... It really puts a damper on progress!

I was hoping someone might know of a package suitable for installation. 

Thanks for the info,

Peter
3  Linux Stuff / Linux distributions / Re: D2 apt-get uprgrade error on: June 02, 2012, 10:20:37 AM
Thanks again for your guidance mentor.  I will be "starting fresh" soon and will take your comments into account.  I am however left with a few questions.

Your guidance seems focused on the rootfs and kernel provided (understandable) to the exclusion of all else (not so much).  What about updates (esp. security) and packages I add? What sources should not change? I assume that I can check /ect/apt/sources.list... well, here it is,
Code:


# deb cdrom:[Ubuntu-Netbook 10.04 LTS _Lucid Lynx_ - Release armel+dove (20100427.1)]/ lucid main
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://ports.ubuntu.com/ubuntu-ports/ lucid main restricted
deb-src http://archive.ubuntu.com/ubuntu lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu lucid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ports.ubuntu.com/ubuntu-ports/ lucid universe
deb-src http://archive.ubuntu.com/ubuntu lucid universe
deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates universe
deb-src http://archive.ubuntu.com/ubuntu lucid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ports.ubuntu.com/ubuntu-ports/ lucid multiverse
deb-src http://archive.ubuntu.com/ubuntu lucid multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu lucid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://ports.ubuntu.com/ubuntu-ports/ lucid-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security main restricted
deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security universe
deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security multiverse

Is this ok?

Along the same line, once I do over, what will my available sources be?

What if I need to add another source - can I? Without breaking things of course.

The 'ports' for ARM7 in particular are what I will need to look for and add correct?

If the packages I want / need haven't been ported I will need to find an alternative (build from source) correct?

I don't have any real experience with building from sources, but may be forced to do that. I am trying to avoid this because it is another learning and time hurdle and creates a number of other issues in my case.

Thanks again for your help.

Peter

4  Linux Stuff / General Linux questions / D2 FTDI drivers for external usb/embedded serial device (insteon PLM) on: June 01, 2012, 10:22:47 PM
Greetings all, I am trying to get and INSTEON USB PLM working on a D2. This device has the typical FTDI serial chip embeded inside.

This is what I find in the kernel log when I connect the device to a desktop running ubuntu:
Code:
Jun  1 23:40:48 misterhouse-desktop kernel: [106336.400031] usb 2-4: new full speed USB device using ohci_hcd and address 2
Jun  1 23:40:48 misterhouse-desktop kernel: [106336.627198] usb 2-4: configuration #1 chosen from 1 choice
Jun  1 23:40:48 misterhouse-desktop kernel: [106336.676374] usbcore: registered new interface driver usbserial
Jun  1 23:40:48 misterhouse-desktop kernel: [106336.677346] USB Serial support registered for generic
Jun  1 23:40:48 misterhouse-desktop kernel: [106336.678280] usbcore: registered new interface driver usbserial_generic
Jun  1 23:40:48 misterhouse-desktop kernel: [106336.678284] usbserial: USB Serial Driver core
Jun  1 23:40:48 misterhouse-desktop kernel: [106336.691105] USB Serial support registered for FTDI USB Serial Device
Jun  1 23:40:48 misterhouse-desktop kernel: [106336.692317] ftdi_sio 2-4:1.0: FTDI USB Serial Device converter detected
Jun  1 23:40:48 misterhouse-desktop kernel: [106336.692437] usb 2-4: Detected FT232RL
Jun  1 23:40:48 misterhouse-desktop kernel: [106336.692440] usb 2-4: Number of endpoints 2
Jun  1 23:40:48 misterhouse-desktop kernel: [106336.692442] usb 2-4: Endpoint 1 MaxPacketSize 64
Jun  1 23:40:48 misterhouse-desktop kernel: [106336.692445] usb 2-4: Endpoint 2 MaxPacketSize 64
Jun  1 23:40:48 misterhouse-desktop kernel: [106336.692447] usb 2-4: Setting MaxPacketSize 64
Jun  1 23:40:48 misterhouse-desktop kernel: [106336.694178] usb 2-4: FTDI USB Serial Device converter now attached to ttyUSB0
Jun  1 23:40:48 misterhouse-desktop kernel: [106336.694200] usbcore: registered new interface driver ftdi_sio
Jun  1 23:40:48 misterhouse-desktop kernel: [106336.694203] ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver

This is what I get when I connect the same PLM to the D2:
Code:
[37327.432217] usb 1-1.4: new full speed USB device using orion-ehci and address 8
[37327.550334] usb 1-1.4: configuration #1 chosen from 1 choice

Can anyone give me a means to resolve?
It looks to me like the wrong driver is gloming onto this device and the correct drivers are not present in the system.

Any help will be greatly appreciated!

Peter
5  Linux Stuff / Kernel / Re: D2Plug 2.6.32.55 new kernel available on: May 28, 2012, 06:36:29 AM
I know this thread is rather old but is there any chance of adding support for OWFS? I am trying to do this myself but am not having an easy time. In particular I would like to see the perl, http, and owfs.

Peter
6  Linux Stuff / Linux distributions / Re: D2 apt-get uprgrade error on: May 28, 2012, 05:58:58 AM
Thanks Mentor, I believe I am past those steps (unless there was a new rootfs & kernel release in the last 24 hours).

Quote
I think you do this , it want the system up to date right?

if it is true , I suggest you go to

  "http://www.plugcomputer.org/downloads/d2plug/index.html"

to download latest kernel and rootfs to do this

due to every D2plug rootfs and kernel release has to do some test to make sure full system is ok than pop on web site, so if you want to get this form above web site will be better

What you suggest is exactly what I did.

Then I:

Code:
sudo apt-get update[code]

and:
sudo apt-get upgrade[/code]

and after this I have the error.

Peter
7  Linux Stuff / Linux distributions / D2 apt-get uprgrade error on: May 26, 2012, 07:20:05 PM
When I  run
Code:
apt-get upgrade

I keep getting this
Code:
Reading package lists...
Building dependency tree...
Reading state information...
The following packages have been kept back:
  ubufox
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up linux-image-2.6.32-219-dove (2.6.32-219.37) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.32-219-dove
Running postinst hook script /usr/sbin/flash-kernel.
Unsupported platform.
User postinst hook script [/usr/sbin/flash-kernel] exited with value 1
dpkg: error processing linux-image-2.6.32-219-dove (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-dove:
 linux-image-dove depends on linux-image-2.6.32-219-dove; however:
  Package linux-image-2.6.32-219-dove is not configured yet.
dpkg: error processing linux-image-dove (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-dove:
 linux-dove depends on linux-image-dove (= 2.6.32.219.21); however:
  Package linux-image-dove is not configured yet.
dpkg: error processing linux-dove (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
 linux-image-2.6.32-219-dove
 linux-image-dove
 linux-dove
E: Sub-process /usr/bin/dpkg returned an error code (1)

How can I isolate what is causing this error, avoid in future, etc?

Peter


8  Linux Stuff / Linux distributions / Re: D2 SD Slot is is sdb or ubb ? and cant get uImage.d2plug_v05 to 'work' on: May 26, 2012, 06:39:19 PM
Quote
Do you want to modify kernel(uImage) or some reason need to put on sd-card

I don't have any compelling reason. I wanted to leave the D2 internal memory as close to stock as possible 'till I am more comfortable with it - to avoid bricks and such. The other reason was general principles.  Start with and keep the system up to date.

I will set this aside'till further along in dev cycle.

Thanks for your input.

Peter
9  Linux Stuff / Linux distributions / D2 SD Slot is is sdb or ubb ? and cant get uImage.d2plug_v05 to 'work' on: May 22, 2012, 10:29:20 PM
I have been following the Software User Guide and trying to get the D2 to boot from the SD 'slot'. I have had quite a bit of trouble until I discovered that the SD slot is now found at /dev/ubb !!!
Once I figured that out I was able to get This
 
Code:
set bootargs 'console=ttyS0,115200
video=dovefb:lcd0:1920x1080-16@60,lcd1:1024x768-16@60-edid clcd.lcd0_enable=1
clcd.lcd1_enable=1 usb0Mode=host root=/dev/ubb2 rootwait'
to work.  When I had ....root=/dev/sdb2 the boot process would hang.

Maybe I don't have the big picture, but shouldn't this kind of info be reflected in the Software User Guide?

On to uImage.d2plug_v05. I copied the file onto ubb1 and tried this
Code:
set bootcmd 'usb start; fatload usb 1:1 0x2000000 uImage.d2plug_v05; bootm 0x2000000'
but I get an error . Dont recall exact text (sorry).  Should I be able to just copy the file into ubb1 and use the line as I have? Is there more to it?

Thanks again,

Peter
10  Linux Stuff / Linux distributions / Re: D@ SD slot - Disk Utility does not see anything in slot on: May 22, 2012, 10:07:43 PM
Mentor:

I think you understood well enough.  It looks like DiskUtility is not working right.  This was causing confusion since I wasn't seeing devices there that should have been visible.

I am now booting from SD card as desired.

Thanks

Peter



11  Linux Stuff / Linux distributions / D@ SD slot - Disk Utility does not see anything in slot on: May 21, 2012, 09:30:40 PM
Greetings all:

I am new to the D2 and want to use it as a home automation controller with MisterHouse.  I have other applications I want to explore as well so I would like to be able to change quickly and SIMPLY between application configs by swapping SD cards with different software loads and leave the 'stock' configuration (OS)largely unmolested 'till I am very confident that I know what I am doing and have confidence that if I break the software, I am also able to unbreak it quickly and easily. I will explore net boot options later.

The D2 came with 10.4 and I am staying there for the time being.  I have updated Ubuntu and done nothing else to the base config.

Disk Utility will not recognize the presence of a 16G and 8G micro SD card in 2 different adapters in the
SD slot.  The OS mounts the device in /media/ as expected and I can write and read to it there.  I have also tried 2G SD card 2G micro SD and a 16G SDHC I SanDisk Extreme Pro in the slot, and none show up in Disk Utility! The 2G SD and 2G micro SD won't show up at all in the SD slot but the 2G micro SD will show up in /media/ and in Disk Utility when in a USB adapter in any USB port (actually, any micro SD in the adapter is found in any USB port).

Has anyone else seen this kind of behavior?  I am at a loss to explain how the internal card reader is causing this problem unless it is a driver issue or a very particular defect in the reader...

Considering these idiosyncrasies, I am hesitant to spend time getting the 16G card prepared to boot  'till I am confident that my hardware (D2) is fully functional and that preparing the micro SD card in a USB adapter will work when moved to the SD slot.  If there was an image I could download to the card that I knew would boot from D2 SD slot that would be helpful.

Any suggestions?

Peter
12  General Category / Application ideas and development Q/A / D2 unattended to display stream - suggestions please on: January 26, 2012, 08:16:55 AM
Greetings all,

I am considering the D2 for use as a client to receive video streams sent over the lan but I need guidance in selecting the software and configuration.  Point me in the right direction and I will take things as far as I can before asking more questions. This idea is just that - an idea. I don't know that it will be possible, practical, or most important, reliable.  I also can't afford to waste much time on false starts. Thus, my questions.

I am wanting the D2 to power up (preferably black screen or minimal blinking cursor) uoon application of power. On completion of boot, be listening for some kind of broadcast or stream. When a stream appears, put it on the display in full screen.  When the stream stops, back to black. I plan on sending streams only at the native resolution of the display, progressive only and either 24, 30 or 60 FPS.  The ultimate requirement is 1080P 60 FPS with support for 24 FPS as well. Conversions to these rates will be handled by the source server.  The streams will have a live component so there should be no buffering to speak of and delays from conversion and processing need to be minimized (none in the D2). There will probably be no audio in the stream (there may be later if we add more of these clients).  The number of these clients will be 2 or 3 on a private subnet running at 1G to start. There will be more bells and whistles I would like to have but that is the essential requirement.

The assumption is that I will be generating stream(s) from a Windows workstation using an app that can do that.  A rather large assumption, I know... I have intentionally not specified protocols (mpeg, etc) since at this point I don't care.  Whatever will work we will use. We need to get 1080P60 and will use whatever gets us that. Other assumptions - that a broadcast on a private subnet with no packet loss, etc. to identical devices with identical software (of course IP and MAC addr, etc will differ)  will produce video on displays that is very close to perfectly in sync, and separate but identical streams will also be nearly in sync. In the separate but equal scenario, any packet loss might accumulate which could be a problem.

Bells and whistles later may include:

 WOL
 Webmin administration (this will probably be installed at start).
 A default slide show running on a schedule.  Streams will override of course.
 Slides may be on D2 or on local server (but possibly outside private subnet).
 NTP client to keep clocks in sync.
 Ability to stream unique content to each D2 as desired.
 Stuff I haven't thought of yet.

VLC might do what I want but there may be something better simpler or...

Thanks to all for your time.

Peter


Pages: [1]