LinuxMCE Forums
May 26, 2013, 03:09:12 am 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  
Pages: [1]
  Print  
Author Topic: [SOLVED] 10.04 Serial Control Bug  (Read 353 times)
davegravy
Guru
****
Posts: 451


View Profile
« on: October 01, 2011, 05:15:44 am »

Serial control of my TV seems to be broken in 10.04. I suspect there is an issue with ListSerialPorts.sh because it is returning

Code:
/dev/ (pci0000:00/0000:00:02.0+3)

Whereas LinuxMCE 0810 returns:

Code:
/dev/ttyUSB0 (pci0000:00/0000:00:02.0+2:1.0)

Has anyone else got serial control working in 10.04?
« Last Edit: October 01, 2011, 03:57:07 pm by davegravy » Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2622


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #1 on: October 01, 2011, 11:11:40 am »

Works just fine for me:
Code:
root@moon263:~# /usr/pluto/bin/ListSerialPorts.sh
pci0000:00/0000:00:06.0+2
pci0000:00/0000:00:06.0+4.1
pci0000:00/0000:00:06.0+4.2
Logged

davegravy
Guru
****
Posts: 451


View Profile
« Reply #2 on: October 01, 2011, 02:56:13 pm »

Hmm... 2 questions for you then, if you don't mind.

1) Do you have any GSDs actually working in 10.04?

If yes, then 2) In webadmin -> wizard -> devices -> Generic Serial Control Devices..

under Device Data,  in the COM port dropdown, what options is it giving you? Mine is showing the correct PCI address, but not the right /dev/ttyUSBx address.

I'm not sure this is actually the cause of my problem, but I'm running out of ideas.

Thanks
Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2622


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #3 on: October 01, 2011, 03:09:19 pm »

1) Do you have any GSDs actually working in 10.04?

yes. I have two GSDs (a Denon amp and a JVC beamer) working. Otherwise I would be dead by now.
Quote
If yes, then 2) In webadmin -> wizard -> devices -> Generic Serial Control Devices..
under Device Data,  in the COM port dropdown, what options is it giving you? Mine is showing the correct PCI address, but not the right /dev/ttyUSBx address.

It is showing /dev/ (pcixxxxxxxx) for each of my AV devices. All of my devices are connected via USB2Serial adapters.
Logged

davegravy
Guru
****
Posts: 451


View Profile
« Reply #4 on: October 01, 2011, 03:56:30 pm »

Thanks Posde, that's what I have too basically.

Fixed this by editing my device template, and removing the COM port entry in device data. This entry seems to be generated automatically for RS232 devices, and 10.04 doesn't seem to like it when you add it manually (810 had somehow never given me trouble for it)

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!