Author Topic: [SOLVED] 10.04 Serial Control Bug  (Read 485 times)

davegravy

  • Guru
  • ****
  • Posts: 490
    • View Profile
[SOLVED] 10.04 Serial Control Bug
« on: October 01, 2011, 06: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: [Select]
/dev/ (pci0000:00/0000:00:02.0+3)
Whereas LinuxMCE 0810 returns:

Code: [Select]
/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, 04:57:07 pm by davegravy »

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2925
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: 10.04 Serial Control Bug
« Reply #1 on: October 01, 2011, 12:11:40 pm »
Works just fine for me:
Code: [Select]
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

davegravy

  • Guru
  • ****
  • Posts: 490
    • View Profile
Re: 10.04 Serial Control Bug
« Reply #2 on: October 01, 2011, 03: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

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2925
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: 10.04 Serial Control Bug
« Reply #3 on: October 01, 2011, 04: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.

davegravy

  • Guru
  • ****
  • Posts: 490
    • View Profile
[SOLVED] 10.04 Serial Control Bug
« Reply #4 on: October 01, 2011, 04: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)