[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
Cross compiling a 'display' driver for A-110
06-10-2009, 01:05 PM
Post: #1
Cross compiling a 'display' driver for A-110
Hello,

I have recently bought an external USB display (Pertelian X2040 Product Page), which I would like to use with my PCH A-110 to display some basic information about the currently played media as a start (but it can be used to display any kind of info from the net, eg. weather forecast, stocks, eBay etc.), so I do not have to use my TV to check what is currently played (mainly for audio and/radio). With some coding it might be also used as a very, very basic user interface for selecting/playing files.

My problem, however, is I do not know how to cross compile the driver. I tried to build the toolchain on my Linux box, but no success. It would be great if someone with an already set up toolchain could compile the driver(s) provided on the Pertelian web site (Pertelian Pertd and Pertd2) and share the binaries with me, so I could test them on the PCH.

Thanks in advance for any help.
Gergely
Find all posts by this user
06-12-2009, 12:32 AM
Post: #2
RE: Cross compiling a 'display' driver for A-110
I will take a look at compiling this for you over the weekend.

Cheers.
Find all posts by this user
06-17-2009, 05:24 AM
Post: #3
RE: Cross compiling a 'display' driver for A-110
Both pertd and pertd2 are now available via CSI.

Let us know how you go.
Find all posts by this user
06-17-2009, 07:35 PM
Post: #4
RE: Cross compiling a 'display' driver for A-110
Thanks a lot. I am currently strugilling with the PCH as it does not want to recognise the display. It should be an USB - Serial device and create a new ttyUSB4 in /dev, there are already ttyUSB0-3. The only thing I can see in dmesg is "usb 2-1: new full speed USB device using tangox-ohci-hcd and address 3"
Pertd2 seems to start (ok cannot find the device so it stops), but pertd complaines about not to be able to create a pid file in /tmp.
It works on my normal Ubuntu server.
Find all posts by this user
06-18-2009, 01:03 AM
Post: #5
RE: Cross compiling a 'display' driver for A-110
(06-17-2009 07:35 PM)gsalamon Wrote:  Thanks a lot. I am currently strugilling with the PCH as it does not want to recognise the display. It should be an USB - Serial device and create a new ttyUSB4 in /dev, there are already ttyUSB0-3. The only thing I can see in dmesg is "usb 2-1: new full speed USB device using tangox-ohci-hcd and address 3"
Pertd2 seems to start (ok cannot find the device so it stops), but pertd complaines about not to be able to create a pid file in /tmp.
It works on my normal Ubuntu server.

It may be that they both attempt to create the same pid file (? -- I'm not home, so can't check).. You may only be able to run one at a time. If this is the case, I'll mod them so that they can both be running (but talking to different devices).

Cheers.
Find all posts by this user
06-18-2009, 08:06 PM
Post: #6
RE: Cross compiling a 'display' driver for A-110
No, I tried to start them separately, not the same time. I canot even try to use them prallel as pertd2 exist immediately as it cannot find a valid device. I think pertd2 doesn't even use a pid file, but not sure about that.

But the main problem now, is how to make PCH to recognize the display ...

(06-18-2009 01:03 AM)Mr Segfault Wrote:  It may be that they both attempt to create the same pid file (? -- I'm not home, so can't check).. You may only be able to run one at a time. If this is the case, I'll mod them so that they can both be running (but talking to different devices).

Cheers.
Find all posts by this user
06-19-2009, 01:17 PM
Post: #7
RE: Cross compiling a 'display' driver for A-110
So, finally I found the device created for the display it is usbdev2.x. At every unplug and plug x will increase, my only hope is that after a reboot it is going to be the same Smile
But when I try to start pertd or pertd2 I got the very same error message:
Start pertd(2): Unable to get terminal attributes. Strange. I will also try with lcd4linux if it will be re-compiled with their Pertelian driver.


(06-17-2009 05:24 AM)Mr Segfault Wrote:  Both pertd and pertd2 are now available via CSI.

Let us know how you go.
Find all posts by this user
08-15-2009, 03:39 PM (This post was last modified: 08-15-2009 08:41 PM by MATPOC.)
Post: #8
RE: Cross compiling a 'display' driver for A-110
(06-12-2009 12:32 AM)Mr Segfault Wrote:  I will take a look at compiling this for you over the weekend.

Could you please compile Soundgraph iMON IR/VFD driver? Or maybe LIRC with all drivers? I compiled LCDproc binaries successfully but compiled standalone driver of iMON by Venky Raju don't loaded. Kernel complained "invalid module format":

Code:
root@B-110 /root# insmod /lib/modules/2.6.15-sigma/kernel/drivers/usb/imon_vfd.ko
insmod: can't insert '/lib/modules/2.6.15-sigma/kernel/drivers/usb/imon_vfd.ko': invalid module format
Visit this user's website Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  cross-compile 2.6.15 kernel dony71 1 363 03-19-2013 01:45 AM
Last Post: dony71
  FTDI USB->RS232 driver source code dony71 1 455 03-16-2013 12:21 AM
Last Post: dony71
  Bierdopje auto-sub for A-110 BeeVee 13 2,780 02-06-2013 09:15 PM
Last Post: Gsxie
  Is it possible to code a HULU player for the A-110? mulderfox 0 371 01-05-2013 11:11 AM
Last Post: mulderfox
Brick ImageSplit4NMT - How to display comics (from CBR / CBZ) on your TV PhunkyBob 4 1,559 09-19-2012 08:39 AM
Last Post: PhunkyBob
  MN-200 work with B-110? dwalterm 2 1,463 03-30-2012 05:31 PM
Last Post: dwalterm
  A-110 used like server db to store sensor data csorda 0 1,041 01-18-2012 04:06 PM
Last Post: csorda
  SSH keygen on A-110 - how to lhg1 0 1,174 11-03-2011 10:58 PM
Last Post: lhg1
  PCH A-110 and LG LW6500 SMART TV tommbslk 1 2,140 06-25-2011 05:13 PM
Last Post: Warden
Rainbow Litepodder v1.0.0 for Popcorn Hour A-100/A-110/B-110 (podcast downloader) philofred 117 38,925 04-05-2011 03:17 AM
Last Post: jasch

Forum Jump: