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

Main Menu

[SOLVED] 10.04 Serial Control Bug

Started by davegravy, October 01, 2011, 06:15:44 AM

Previous topic - Next topic

davegravy

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

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

Whereas LinuxMCE 0810 returns:

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

Has anyone else got serial control working in 10.04?

Marie.O

Works just fine for me:
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
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

davegravy

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

Marie.O

Quote from: davegravy on October 01, 2011, 03:56:13 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.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

davegravy

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)