@cas
Thank you. I have it working now. When I isolate what the minimal parameter change is, I will post more information.
Cheers,
Dan
Daniel Petrie
@Daniel Petrie
Best posts made by Daniel Petrie
Latest posts made by Daniel Petrie
-
RE: Can't connect to hidden SSID
-
RE: Can't connect to hidden SSID
@cas
I am not having luck with your suggestion. Could you post your whole /etc/config/network and /etc/config/wireless files (with changed passwords). -
RE: No tty device on Ubuntu 16.04
@Carlos-Sancho said in No tty device on Ubuntu 16.04:
This sound bad. Seems is there, but is restarting continously. Maybe try another cable... and also another computer. Another try is to connect just the dock without the omega2 to see if works fine (usb power related problems).
It did indeed work fine on a Window 10 Lenovo laptop. Your statement got me thinking about power. So I plugged it in via a Charger Doctor (USB power meter) and it is drawing atleast 0.09 amp at 4.9 volts, but peaking at times around 0.14 amps, 0.69 watts (usb 2 limit is 0.5 watts). My Ubuntu laptop has a bunch of USB devices plugged in and drawing power. So I plugged a powered USB hub into my Ubuntu/Lenovo laptop and the Expansion Dock into the powered USB hub and it worked.
Thanks for the ideas!
It seems the Expansion Dock and Omega2+ are drawing more power than they should for usb 2.0
-
RE: No tty device on Ubuntu 16.04
@Carlos-Sancho said in No tty device on Ubuntu 16.04:
I would try in ubuntu 'lsusb' to see if it's connected and recognized.
from dmesg:
[9221247.924088] usb 3-2: new full-speed USB device number 2 using xhci_hcd
[9221248.036092] usb 3-2: device descriptor read/64, error -71
[9221248.252078] usb 3-2: device descriptor read/64, error -71
[9221248.468043] usb 3-2: new full-speed USB device number 3 using xhci_hcd
[9221248.580110] usb 3-2: device descriptor read/64, error -71
[9221248.796028] usb 3-2: device descriptor read/64, error -71
[9221249.012023] usb 3-2: new full-speed USB device number 4 using xhci_hcd
[9221249.012149] usb 3-2: Device not responding to setup address.
[9221249.216111] usb 3-2: Device not responding to setup address.
[9221249.419984] usb 3-2: device not accepting address 4, error -71
[9221249.532021] usb 3-2: new full-speed USB device number 5 using xhci_hcd
[9221249.532158] usb 3-2: Device not responding to setup address.
[9221249.736654] usb 3-2: Device not responding to setup address.
[9221249.939958] usb 3-2: device not accepting address 5, error -71My read on this is that the Expansion Dock should show up on USB bus 003 device 002, 003, 004 or 005.
$ lsusb
Bus 002 Device 005: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 5986:02d2 Acer, Inc
Bus 001 Device 004: ID 147e:2020 Upek TouchChip Fingerprint Coprocessor (WBF advanced mode)
Bus 001 Device 013: ID 0b0e:0345 GN Netcom
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 087: ID 04d9:1702 Holtek Semiconductor, Inc. Keyboard LKS02
Bus 003 Device 086: ID 04d9:a070 Holtek Semiconductor, Inc.
Bus 003 Device 091: ID 067b:2773 Prolific Technology, Inc. PL2773 SATAII bridge controller
Bus 003 Device 083: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubFrom my interpretation, of the above it did not get connected or recognized and does not show up in lsusb.
-
RE: No tty device on Ubuntu 16.04
@György-Farkas said in No tty device on Ubuntu 16.04:
You should connect a simple Micro-USB to USB cable from the Omega's Expansion Dock to your PC.
Yes, I am using a simple micro-usb to usb-A cable. As I said, I have tried several. I did this to be sure it was not a cable problem.
See also: official Onion Omega2 Documentation Connecting to the Omega’s Command Line Connecting via Serial
Yes, I followed those instructions before posting here.
The cp210x module is loaded:
$ lsmod | grep cp210
cp210x 24576 1
usbserial 53248 4 cp210x,pl2303However, no new /dev/ttyUSB* devices are present and as included in my original post there are errors shown by dmesg. It seems to be indicating that it cannot get device info from the Expansion Dock.
-
No tty device on Ubuntu 16.04
I am trying to get my serial connection to the Expansion Dock with Omega2+ to show up on Ubuntu 16.04. I am successfully able to connect to other vendor dev boards and a /dev/tty/USBn shows up. However, I do not get one for the Expansion Dock.
I have tried different cables all with the same result.
I have cp210x installed:
~$ modinfo cp210x
filename: /lib/modules/4.4.0-45-generic/kernel/drivers/usb/serial/cp210x.ko
license: GPL
description: Silicon Labs CP210x RS232 serial adaptor driver
srcversion: B8FE0D3E76AFDE9370644DC
alias: usb:v413Cp9500ddcdscdpiciscipin
alias: usb:v3195pF281ddcdscdpiciscipin
alias: usb:v3195pF280ddcdscdpiciscipin
alias: usb:v3195pF190ddcdscdpiciscipin
alias: usb:v2626pEA60ddcdscdpiciscipin
alias: usb:v1FB9p0701ddcdscdpiciscipin
...
alias: usb:v0846p1100ddcdscdpiciscipin
alias: usb:v0745p1000ddcdscdpiciscipin
alias: usb:v0489pE003ddcdscdpiciscipin
alias: usb:v0489pE000ddcdscdpiciscipin
alias: usb:v0471p066Addcdscdpiciscipin
alias: usb:v045Bp0053ddcdscdpiciscipin
depends: usbserial
intree: Y
vermagic: 4.4.0-45-generic SMP mod_unload modversionsdmesg shows a bunch of errors when I plug in the cable to the Expansion Dock micro USB connection:
usb 3-2: new full-speed USB device number 124 using xhci_hcd
[9170098.059566] usb 3-2: device descriptor read/64, error -71
[9170098.275577] usb 3-2: device descriptor read/64, error -71
[9170098.491520] usb 3-2: new full-speed USB device number 125 using xhci_hcd
[9170098.603520] usb 3-2: device descriptor read/64, error -71
[9170098.819545] usb 3-2: device descriptor read/64, error -71
[9170099.035485] usb 3-2: new full-speed USB device number 126 using xhci_hcd
[9170099.035596] usb 3-2: Device not responding to setup address.
[9170099.239643] usb 3-2: Device not responding to setup address.
[9170099.443521] usb 3-2: device not accepting address 126, error -71
[9170099.555474] usb 3-2: new full-speed USB device number 127 using xhci_hcd
[9170099.555611] usb 3-2: Device not responding to setup address.
[9170099.759628] usb 3-2: Device not responding to setup address.
[9170099.963417] usb 3-2: device not accepting address 127, error -71
[9170099.963477] usb usb3-port2: unable to enumerate USB deviceDo I need to add a rule to /etc/udev/rules.d to get it to map to the cp210x driver?
Cheers,
Dan