LinuxMCE Forums
June 19, 2013, 01:33:45 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
  Home Help Search Chat Login Register  
  Show Posts
Pages: 1 2 [3] 4
31  LinuxMCE / Users / Re: New PLCBUS driver on: August 18, 2011, 05:53:00 am
Ehm, I do not know what you are doing, but there shouldnt be any device as a child in your core.
 
it is plug and play, when you plug it in, everything would go automaticly.

I havent the child device yet, just checked the device template to check itīs ok before I try to plug the 1141 in.

yes, that should be blank. It shows up with the usb id of the prolific rs232/usb bridge. So we don't use that for device detection. We've a serial detection script that should find the device. But there have been issues with serial plug and play recently. So you might need to manually create the device and select the proper com port.

br Hari

Perfect, then īll go ahead an plug the 1141 in, lets see what happens. Thanks for your patience Hari!

*UPDATE*

Pnp scripts find the 1141, and downloads the required software and the 1141 buzz a few times. Everything seems to be ok, will add one lamp and continue testing after work tonight! YEAH!!
32  LinuxMCE / Users / Re: New PLCBUS driver on: August 17, 2011, 10:01:17 pm
Sorry Hari, can't help you with the logs.

Now LMCE is installed from scratch. Took a look at the PLCBUS device template, and the Vendor model ID is blank. Is this as it should be? Havenīt plugged in the 1141 yet!
33  LinuxMCE / Users / Re: New PLCBUS driver on: August 16, 2011, 08:35:59 pm
Havenīt enough bandwidth left for this month, I have only 3G with 10GB/month cap. Looked at the snapshots page in wiki yesterday when I were at a hotel with free wifi and downloaded the snapshot that is recommended in the wiki.
34  LinuxMCE / Users / Re: New PLCBUS driver on: August 16, 2011, 07:41:09 pm
PLCBUS device just dies when sending a command to it.

Iīll try installing 8.10 from scratch again tonight from snapshot 24279 and lets start from there and lets solve the plcbus problems once for all!
35  LinuxMCE / Users / Re: New PLCBUS driver on: August 15, 2011, 06:38:23 pm
spawning looks ok. Sending commands would be great. btw, there is a new version available in a bit that also scans for devices on house code A-E. If possible I'd like to see the output of that one. Please not only enable log level 35 but also 40 and 41.

thanks and best regards,
hari

Wonderful, is the update&upgrade give me the new version or do I need to do anything else to get it?
36  LinuxMCE / Users / Re: New PLCBUS driver on: August 15, 2011, 06:03:40 pm
reloading the router of course makes the PLCBUS device quit..

br Hari

Yeah of course, but the spawning sequence looks ok? Maybe I shall try to send commands to the lamp and then paste the log here?!

If a were at home Iīd do it right away, but I wonīt be at home until tomorrow evening.
37  LinuxMCE / Users / Re: New PLCBUS driver on: August 15, 2011, 12:56:28 am
Okay, here we go. I edited the pluto.conf and rebooted the core. My pluto.conf loglevel line reads:

LogLevels = 1,5,7,8,35

This is what I get when reloading the router.

Code:
Sun Aug 14 23:19:39 CEST 2011 Restart
========== NEW LOG SECTION ==========
1 08/14/11 23:19:47 39 (spawning-device) Starting... 1
1 08/14/11 23:19:47 39 (spawning-device) Found /usr/pluto/bin/PLCBUS
01 08/14/11 23:19:52.876 TranslateSerialUSB pci0000:00/0000:00:1d.3+1 result /dev/ttyUSB0 <0xb71ea6c0>
01 08/14/11 23:19:52.876 Open port: /dev/ttyUSB0 <0xb71ea6c0>
01 08/14/11 23:19:52.942 TranslateSerialUSB pci0000:00/0000:00:1d.3+1 result /dev/ttyUSB0 <0xb71ea6c0>
05 08/14/11 23:19:52.953 Creating child 40 <0xb71ea6c0>
05 08/14/11 23:19:52.953 Note: Device manager has attached a device of type 37 that this has no custom event handler for.  It will not fire events. <0xb71ea6c0>
05 08/14/11 23:19:52.953 Note: Device manager has attached a device of type 37 that this has no custom handler for.  This is normal for IR. <0xb71ea6c0>
05 08/15/11 1:53:55.041 Got a reload command from 0  <0xb61e7b90>
05 08/15/11 1:53:55.292 void ClientSocket::Disconnect() on this socket: 0x8e8c2b0 (m_Socket: 7) <0xb71ea6c0>
Return code: 2
38  LinuxMCE / Users / Re: New PLCBUS driver on: August 11, 2011, 02:37:50 pm
Hi!

On my old system I had the new PLCBUS driver working perfectly, I donīt remember wich snapshot I installed it from, but everything worked fine.

Now I have a new server that I have installed LMCE 810 on, but PLCBUS doesnīt work. I have tried numerous different snapshots to install from, but my PLCBUS1141 isnīt recognized by the pnp scripts. As I only have a 3G internet connection with a 10GB/month cap, I canīt download the most recent snapshot every now and then to try them out.

However, I discovered one thing. When I make an install from the most recent snapshot Iīve got (from mid june 2011) and take a closer look at the device template for PLCBUS, I see that the field "Vendor model ID" is left blank. Once I discovered that I fired up my old system to look att the working install, and I found that the model ID should be "067b2303".

I put "067b2303" into the model ID on my fresh install and voilá, pnp scripts finds the PLC1141 without problems, and installs the needed software.

But there is still something missing. After the successful install of the PLCBUS device, it sets the "COM port on PC" to "/dev/ttyUSB0". This config gives the following log at startup:

Code:
/var/log/pluto/39_PLCBUS.log

0 08/11/11 13:04:11 39 (spawning-device) Entering 39
========== NEW LOG SECTION ==========
1 08/11/11 13:04:11 39 (spawning-device) Starting... 1
1 08/11/11 13:04:11 39 (spawning-device) Found /usr/pluto/bin/PLCBUS
01 08/11/11 13:04:11.792 TranslateSerialUSB pci0000:00/0000:00:1d.3+1 result /dev/ttyUSB0 <0xb72646c0>
01 08/11/11 13:04:11.792 Open port: /dev/ttyUSB0 <0xb72646c0>
01 08/11/11 13:04:11.827 TranslateSerialUSB pci0000:00/0000:00:1d.3+1 result /dev/ttyUSB0 <0xb72646c0>
05 08/11/11 13:04:11.836 Creating child 40 <0xb72646c0>
05 08/11/11 13:04:11.836 Note: Device manager has attached a device of type 37 that this has no custom event handler for.  It will not fire events. <0xb72646c0>
05 08/11/11 13:04:11.836 Note: Device manager has attached a device of type 37 that this has no custom handler for.  This is normal for IR. <0xb72646c0>
Return code: 134
3 08/11/11 13:05:10 39 (spawning-device) Device died... count=1/50 dev=39

I remember that when the PLCBUS driver worked fine (my old system is dead, the drive gave up), the setting for "COM port on PC" was left unmodified or in "-Please select-" state. When I change that setting to -Please select- again, the setting is changed back to /dev/ttyUSB0 by itself when I reload the router.

Anyone who have a clue of whats wrong here?
39  LinuxMCE / Users / Re: good core. on: March 29, 2011, 11:03:22 pm
Iīm thinking of installing the core onto a SSD to increase performance and lifetime. Wich component does impact orbiter regen most; RAM, CPU or storage?! Any rule of thumb in this issue?!

All media storage is on a NAS so a 60-80GB SSD wold be ok, right?!
40  LinuxMCE / Installation issues / Re: Snapshot 23559 taking more than 5 hours to install on: January 22, 2011, 01:26:58 pm
Hi Rukus,

i have just finished the install and updates, but have not run the linuxmce icon yet. Did you change the nvidia script before or after you ran the linuxmce icon?

Regards
Justin

So, one is supposed to have the system connected to the internet and run apt-get update & upgrade before clicking the LMCE icon?!
41  LinuxMCE / Installation issues / Re: PLCBus devices setup on: January 17, 2011, 06:50:16 pm
That is indeed not correct.
Dis you do an apt-get update and apt-get upgrade?

Not since I took the screenshot. Iīll do an update and see if that fixes the problem.
42  LinuxMCE / Installation issues / Re: PLCBus devices setup on: January 17, 2011, 09:56:21 am
bump, see my post above.
43  LinuxMCE / Installation issues / Re: PLCBus devices setup on: January 11, 2011, 10:14:16 am
Looked closer at my PLCBUS device template. Is the "Plug&Play" section supposed to be empty?! This is what mine looks like!
44  LinuxMCE / Installation issues / Re: PLCBus devices setup on: January 09, 2011, 12:02:22 pm
Heard anything yet?!

I suspect it has to do with my modified z-wave template.....is there a way to restore one single device template to its original?
45  LinuxMCE / Installation issues / Re: PLCBus devices setup on: January 05, 2011, 11:35:47 am
Thanks for the advice Bongo!!

I removed all PLCBUS devices, regen orbiters, rebooted, updated the core via apt-get.

When I plug in the 1141 now it starts running scripts, 20_Denonreciever.sh and so forth, but no PLCBUS... The pnp script exists in the /usr/pluto/pnp directory, but isnīt executed.

Does the changes in the zwave template affect this? http://forum.linuxmce.org/index.php?topic=11157.msg77351#msg77351
Pages: 1 2 [3] 4
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!