We have moved at community.getvera.com

Author Topic: Serial device not showing up  (Read 22026 times)

Offline integlikewhoa

  • Master Member
  • *******
  • Posts: 5630
  • Karma: +157/-382
Re: Serial device not showing up
« Reply #45 on: September 19, 2014, 12:59:29 am »
anyone?

Offline j.hoekstra

  • Jr. Member
  • **
  • Posts: 70
  • Karma: +5/-0
Re: Serial device not showing up
« Reply #46 on: September 19, 2014, 03:51:50 am »
Would start with checking dmesg, this to see if the bridge-chip is recognized. If it isn't you might need to ammend the serial proxy config(ser2proxy). If it is, you can deduct the proper devicevalue from that.
Could you post also the screen of the serialconfig?

Offline integlikewhoa

  • Master Member
  • *******
  • Posts: 5630
  • Karma: +157/-382
Re: Serial device not showing up
« Reply #47 on: September 19, 2014, 10:50:38 am »
Well that was over my head so I needed to do some leg work.

But after getting putty and my SSH password of my VERAlite

entering this command:  "dmesg | grep -i tty"

Quote
Kernel command line:  console=ttyS1,57600 board=VERALITE rootfstype=squashfs,jffs2
console [ttyS1] enabled
serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
usb 1-1.4: pl2303 converter now attached to ttyUSB0

I have also attached a screen shot of how it currently looks with a powered USB hub plugged into my vera and the USB flash drive, CAddx alarm, and Arduino Nano plugged in.
 

Offline CucK

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: Serial device not showing up
« Reply #48 on: September 24, 2014, 08:13:58 pm »
I'm pulling my hair out trying to get the Vera Lite UI to show my FTDI serial -USB adaptor. I've read every post on the subject and tried it all. I even bought 2 different FTDI adaptors and neither shows in the UI (firmware version 1.7.318).
It appears to detect my serial port:

From dmesg:

ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected
usb 2-1: Detected FT232RL
usb 2-1: Number of endpoints 2
usb 2-1: Endpoint 1 MaxPacketSize 64
usb 2-1: Endpoint 2 MaxPacketSize 64
usb 2-1: Setting MaxPacketSize 64
usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0
eth0: link down
eth0: link up (100Mbps/Full duplex)
ramips-wdt: timeout value 60 must be 0 < timeout < 25

I had no serproxy.ports file so I added it with the line'vendor:0403 product:6001' - reboot and still no love. When I click on the Serial Port configuration in the UI it doesn't do anything? It just remains on the page "Test Luup code (Lua)".

Can anyone suggest something else? Perhaps there is a problem with the UI?

Many thanks in advance

Offline hek

  • Moderator
  • Hero Member
  • *****
  • Posts: 714
  • Karma: +60/-1
Re: Serial device not showing up
« Reply #49 on: September 25, 2014, 07:47:01 am »
Nobody has verified if the serial gateway works on UI7. Other plugins seems to have problems using the USB ports on UI7.

Offline CucK

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: Serial device not showing up
« Reply #50 on: September 25, 2014, 08:23:45 am »
Thanks hek - that makes me feel a bit better. Can I roll back my UI? I'm new to the Vera.

Thanks

Offline integlikewhoa

  • Master Member
  • *******
  • Posts: 5630
  • Karma: +157/-382
Re: Serial device not showing up
« Reply #51 on: September 25, 2014, 10:31:49 am »
Hek can you help out in my case above? Anything I can do or just get another nano? The one on your site linked is known to work right?

I'm on ui5

Offline hek

  • Moderator
  • Hero Member
  • *****
  • Posts: 714
  • Karma: +60/-1
Re: Serial device not showing up
« Reply #52 on: September 25, 2014, 01:17:16 pm »
Hek can you help out in my case above? Anything I can do or just get another nano? The one on your site linked is known to work right?

I'm on ui5

Maybe ser2net could help you. Someone successfully connected an Uno here:
http://forum.mysensors.org/topic/265/uno-as-a-serial-gateway-for-vera/3

Offline garrettwp

  • Master Member
  • *******
  • Posts: 6371
  • Karma: +227/-128
  • Vera 3, Lite, ISY994
Re: Serial device not showing up
« Reply #53 on: September 25, 2014, 05:47:29 pm »
I got this going via a uno and ser2net way back when my sensors was in early development. I believe I have a few posts on this in the forum explaining what I did. It's definitely possible to do.

- Garrett


Offline m26872

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Serial device not showing up
« Reply #54 on: October 30, 2014, 07:26:16 pm »
Since last week I now have the problem with my VeraLite UI5 to find my serial gateway after power up. For a while it was a hit or miss to get it back with reloads and power cycles, but now its mostly not possible.
dmesg gives me the "unable to enumerate USB device" error as someone wrote here earlier. Once connected the gateway works perfect.
I also have a Ethernet gateway (ENC28J60) which I yesterday updated with the new UIPEthernet library. This works just as good and right away, but instead it's not working to include anything (it found one child once but not the node). (At one include try all my Arduino device boxes were permanently erased of their content, so rescue from backup was needed.)
But here is the funny thing; After using the Ethernet gateway and then switching back to the serial gateway - Vera always finds the usb-device with the serial gateway!?!  :o
This manual start up by switching gateways is not very attractive and I suspect some corruption of files. I think a reinstall of plugin-files is worth a first try. Any other suggestions?

Offline integlikewhoa

  • Master Member
  • *******
  • Posts: 5630
  • Karma: +157/-382
Re: Serial device not showing up
« Reply #55 on: October 31, 2014, 09:01:32 am »
Since last week I now have the problem with my VeraLite UI5 to find my serial gateway after power up. For a while it was a hit or miss to get it back with reloads and power cycles, but now its mostly not possible.
dmesg gives me the "unable to enumerate USB device" error as someone wrote here earlier. Once connected the gateway works perfect.
I also have a Ethernet gateway (ENC28J60) which I yesterday updated with the new UIPEthernet library. This works just as good and right away, but instead it's not working to include anything (it found one child once but not the node). (At one include try all my Arduino device boxes were permanently erased of their content, so rescue from backup was needed.)
But here is the funny thing; After using the Ethernet gateway and then switching back to the serial gateway - Vera always finds the usb-device with the serial gateway!?!  :o
This manual start up by switching gateways is not very attractive and I suspect some corruption of files. I think a reinstall of plugin-files is worth a first try. Any other suggestions?

This might not help you at all, but I found my cheap ebay NANO to be my problem with not showing up (I know not really the same issue your having) but after that its go me thinking how many other people have connection issues related to cheap/faulty units.

Maybe try another NANO if your's was a cheaper one and see if your issues continue.

Also I know nothing of Ethernet gateway.

Offline m26872

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Serial device not showing up
« Reply #56 on: November 01, 2014, 09:26:45 am »
This might not help you at all, but I found my cheap ebay NANO to be my problem with not showing up (I know not really thesame issue your having) but after that its go me thinking how many other people have connection issues related to cheap/faulty units.

Maybe try another NANO if your's was a cheaper one and see if your issues continue.
Thanks. I have a few of those cheap Nanos. But this one is sourced and proven not to be one of them.

I tried new pluging-files which help once, but not after a reboot.

Since there are other strange problems, I think I must face it - a factory reset is needed. And a lot of work to rebuild my setup... :'(
 

Offline poohbah

  • Sr. Newbie
  • *
  • Posts: 24
  • Karma: +1/-0
Re: Serial device not showing up
« Reply #57 on: November 15, 2014, 07:18:59 pm »
I was having trouble getting the serial gateway to show up. No mater what I did, once I created the device, it would hang on lua startup. I fixed this by changing the serial baud rate BEFORE creating the device (once the device is created, I lost access to serial settings). It was on 9600 (I think) by default. I changed this to 115200, restarted the vera, THEN I added the mysensors device.

So, if you have trouble, try deleting the device and set the serial device per the instructions. The only thing that was not set correctly on mine was the baud rate.