Author Topic: Can I make rs232 device plug'n'play and how ?  (Read 4791 times)

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Can I make rs232 device plug'n'play and how ?
« on: September 09, 2007, 10:02:11 am »
Hi,

plug'n'play from LMCE(Pluto) is implemented this way :
- device searches for dhcp
- from MAC address device is identified and then further configuration steps are performed (mostly written Perl scripts that do the job).

Basically I'd like to do the same with rs232 device. Rs232 interface per se probably cannot be made plug'n'play, but there is a chance to do it over USB to rs232 dongles, cause they are detected when connected.

Can rs232 device be made plug'n'play ? If yes, any examples ?

Regards,

Bulek.
Thanks in advance,

regards,

Bulek.

PeteK

  • Guru
  • ****
  • Posts: 408
    • View Profile
Re: Can I make rs232 device plug'n'play and how ?
« Reply #1 on: September 10, 2007, 02:57:55 am »
I think Paul mentioned in the video (or the write-up) that several TVs are currently Plug-N-Play, and that LMCE uses brute force to test each serial port for a known device.  My guess is that it transmits a message at a set baud rate and waits for a specific response to detect a device.

rwilson131

  • Veteran
  • ***
  • Posts: 118
    • View Profile
Re: Can I make rs232 device plug'n'play and how ?
« Reply #2 on: September 10, 2007, 03:46:42 am »
I have been working on trying to get my TV plug and play and the place I found the scripts are in the following location
Code: [Select]
/usr/pluto/pnp
I have modified one of the TV scripts for my TV and I am able to control the TV via the serial connection the connection keeps being disabled, so I have given up for now and I will try again later.

I hope this is what you are wanting.

Thanks,
Rob