Author Topic: ttyUSB / serial hack  (Read 2566 times)

maybeoneday

  • Guru
  • ****
  • Posts: 194
    • View Profile
ttyUSB / serial hack
« on: January 11, 2009, 03:53:10 pm »
Hi all,
after dicking around trying to establish which usb port a device used (as in ttyUSB rather than pci0000/00:000:10:2+1 for example), to try and create  a
template,I've managed to screw something up.
I followed  wiki.linuxmce.com/index.php/Serial_Hack, and get the following,


linuxmce@dcerouter:~$ tree -fi /dev | grep ttyUSB
/dev/ttyUSB0
/dev/ttyUSB1
linuxmce@dcerouter:~$ tree -fi /dev | grep ttyS
/dev/ttyS0
/dev/ttyS1
/dev/ttyS2
/dev/ttyS3
linuxmce@dcerouter:~$


I actually have 6 usb (4 used) and 1 serial port(unused), so that's obviously problem 1, more important is that now every template shows "no serial port detected"

can anyone tell me /hint
           a-what's happening?
           b- how to return to  previous  state?
           c- how to find out ttyusb ? used by  a piece of equipment ?

thanks in advance,
Ian
         

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: ttyUSB / serial hack
« Reply #1 on: January 11, 2009, 04:31:01 pm »
I'd assume you have broken the ListSerialPorts.sh script.

br, Hari
rock your home - http://www.agocontrol.com home automation

maybeoneday

  • Guru
  • ****
  • Posts: 194
    • View Profile
Re: ttyUSB / serial hack
« Reply #2 on: January 11, 2009, 05:12:43 pm »
Hari
 ;D sort of gathered that, anybody,(preferably with popcorn  ;D   ) (without 810 "duties")any pointers ?

regards,
Ian