Weston can not start using fullscreen-shell - rdp

I am trying to start weston with shell=fullscreen-shell.so configured in my weston.ini file and using the command ExecStart=/usr/bin/weston --modules=systemd-notify.so --debug in my systemd file but it only returns a black screen. The reason I need to run fullscreen-shell and not some other type is that i am trying to make rdp/vnc work using weston itself, as I have not found another solution to configuring vnc/rdp using weston. The debug log is as follows
activating session
event8 - Video Bus: is tagged by udev as: Keyboard
event8 - Video Bus: device is a keyboard
event0 - Power Button: is tagged by udev as: Keyboard
event0 - Power Button: device is a keyboard
event2 - Logitech USB Optical Mouse: is tagged by udev as: Mouse
event2 - Logitech USB Optical Mouse: device is a pointer
event3 - Chicony HP Elite USB Keyboard: is tagged by udev as: Keyboard
event3 - Chicony HP Elite USB Keyboard: device is a keyboard
event6 - Chicony HP Elite USB Keyboard System Control: is tagged by udev as: Keyboard
event6 - Chicony HP Elite USB Keyboard System Control: device is a keyboard
event7 - Chicony HP Elite USB Keyboard Consumer Control: is tagged by udev as: Keyboard
event7 - Chicony HP Elite USB Keyboard Consumer Control: device is a keyboard
event4 - Silicon Integrated System Co. SiS HID Touch Controller Touchscreen: is tagged by udev as: Touchscreen
event4 - Silicon Integrated System Co. SiS HID Touch Controller Touchscreen: device is a touch device
event5 - Silicon Integrated System Co. SiS HID Touch Controller Mouse: is tagged by udev as: Mouse
event5 - Silicon Integrated System Co. SiS HID Touch Controller Mouse: device is a pointer
event1 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
event1 - AT Translated Set 2 keyboard: device is a keyboard
libinput: configuring device "Video Bus".
associating input device event8 with output eDP-1 (none by udev)
libinput: configuring device "Power Button".
associating input device event0 with output eDP-1 (none by udev)
libinput: configuring device "Logitech USB Optical Mouse".
associating input device event2 with output eDP-1 (none by udev)
libinput: configuring device "Chicony HP Elite USB Keyboard".
associating input device event3 with output eDP-1 (none by udev)
libinput: configuring device "Chicony HP Elite USB Keyboard System Control".
associating input device event6 with output eDP-1 (none by udev)
libinput: configuring device "Chicony HP Elite USB Keyboard Consumer Control".
associating input device event7 with output eDP-1 (none by udev)
Touchscreen - Silicon Integrated System Co. SiS HID Touch Controller Touchscreen -
/sys/devices/pci0000:00/0000:00:15.0/usb1/1-4/1-4:1.0/0003:0457:1080.0003/input/input4/event4
libinput: configuring device "Silicon Integrated System Co. SiS HID Touch Controller Touchscreen".
input device event4 has no enabled output associated (none named), skipping calibration for now.
associating input device event4 with output eDP-1 (none by udev)
libinput: configuring device "Silicon Integrated System Co. SiS HID Touch Controller Mouse".
input device event5 has no enabled output associated (none named), skipping calibration for now.
associating input device event5 with output eDP-1 (none by udev)
libinput: configuring device "AT Translated Set 2 keyboard".
associating input device event1 with output eDP-1 (none by udev)
event0 - Power Button: device removed
event7 - Chicony HP Elite USB Keyboard Consumer Control: device removed
event1 - AT Translated Set 2 keyboard: device removed
event5 - Silicon Integrated System Co. SiS HID Touch Controller Mouse: device removed
event6 - Chicony HP Elite USB Keyboard System Control: device removed
event4 - Silicon Integrated System Co. SiS HID Touch Controller Touchscreen: device removed
event2 - Logitech USB Optical Mouse: device removed
event8 - Video Bus: device removed
event3 - Chicony HP Elite USB Keyboard: device removed
deactivating session

Related

NVIDIA Shield - USB to HDMI

SHORT QUESTION:
Will a usb(male) to hdmi(female) adaptor work with NVIDIA Sheild?
Full Question:
I am trying to connect my surround sound hifi with my nvidia shield separately to my TV. Would a usb to hdmi work on the nvidia shield to pass the audio through. Any issues with drivers?
End Goal:
To connect 4k to TV and separate 5.1 audio to hifi box
Currently Tried:
HDMI splitter - it only chooses the lowest audio output which is the TV (2.0) not the required 5.1
Notes:
Hifi box supports hdmi passthrough but only at 1080p
Hifi box (2012 pioneer, INPUTS: HDMI, OPTICAL COAXIAL)

List UART -> COM converter in Windows Device Portal

I have Raspberry Pi 3 plate with connected USB to UART (COM) converter.
The power led on the USB stick is ON.
I can not find the converter in Windows Device Portal.
In both: connected and disconnected states I see just two UART related records in Device Manager:
(ID:ACPI\BCM2835\0, Class:System, Manufacturer:Microsoft, StatusCode:25165834)
>BCM283x Mini UART Serial Device
(ID:ACPI\BCM2836\0, Class:Ports, Manufacturer:Microsoft, StatusCode:25182218)
>ARM PL011 UART Device Driver
(ID:ACPI\BCM2837\4, Class:System, Manufacturer:Microsoft, StatusCode:25165834)
Also I use git diff between saved device lists and there is no difference between the case I connect USB stick and disconnect it.
Where can I see the device in the list?
UPDATE
Here I print all found devices:
First you need make sure your USB to UART (COM) converter is supported on Windows IoT Core. Please check the hardware compatibility list. The CP2102 USB 2.0 to TTL Module Serial Converter is supported.
I use CP2102 USB to UART Bridge Converter and it also works. Use the SerialUART sample can list two device: one is on-board PL011 UART Device and the other is mine.
From device portal:

Getting Hotplug react when plugging 3G netstick (with mdev)

I'm trying to get a device running embedded linux V-2.6.31 to automatically recognize when a Huawei 3G usb stick is plugged to it, run usb_modeswitch, and communicate with the module.
it seems that usb_modeswitch doesn't work well in a system that has mdev, since the path /dev/bus/usb is only being created with udev.
I found a script that create this path and enable usb_modeswitch to work properly.
now, all i need is automation of this process, e.g., when plugging the 3G module, hotplug will first call my script, and then usb_modeswitch.
the problem is that when plugging the 3G module nothing happens when the enumeration is done (the hotplug wont run), see trace:
[83175.520000] usb 2-1: new full speed USB device using bcm5892-ohci:PORT-2 and address 3
[83175.730000] usb 2-1: not running at top speed; connect to a high speed hub
[83175.750000] usb 2-1: New USB device found, idVendor=12d1, idProduct=1f1c
[83175.760000] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[83175.770000] usb 2-1: Product: HUAWEI Mobile
[83175.770000] usb 2-1: Manufacturer: Vodafone(Huawei)
[83175.780000] usb 2-1: SerialNumber: FFFFFFFFFFFFFFFF
[83175.800000] usb 2-1: configuration #1 chosen from 2 choices
[83175.870000] scsi1 : SCSI emulation for USB Mass Storage devices
[83180.910000] scsi 1:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
I'm not sure what is wrong, is there something i didn't enable? is there a KO that i need to load in order for it to work?
Thank you in advance!

Using Arduino to connect Android tablet to USB Accessory

I have an Arduino-compatible board with USB Host Shield. It is connected to an Acer A100 Android tablet running "Ice Cream Sandwich" (Android 4.0.3) with Kernel 2.6.39.4. (The tablet has a USB micro connector and does not support USB HOST mode and therefore cannot connect directly to a USB accessory device.)
This picture shows what I have been able to do successfully (but with my tablet in place of the phone).
http://www.seeedstudio.com/wiki/File:SeeeduinoADK_Setup.jpg
I would like to find an example of using an Android tablet connected to a USB Accessory (such as a keyboard or flash drive) via Arduino.
Connecting the USB accessory to the Arduino's USB micro connector (using an external power supply) does not work.
Can anyone provide me with such an example?
Theoretically it should work, I haven't tried it yet though.
Arduino should act as the middle man and should relay signals both from your tablet and the accessory.
What code are you use?
This is: adk_release_20120606?
And what board are you use SeeeduinoADK?
I use board Seeeduino ADK, but unfortunately I could not make it work in USB accessory mode. My board work in only ADB (MicroBridge mode). See my work example
My tablet is Ainol Aurora with Android version 4.0.4 (CyanogenMod 9)

USB on embedded Linux - TI hub TUSB2046B doesn't detect USB devices

I have a problem on embedded platform with very limited toolchain. I have TI Hub connected to USB host on chip. This hub seems to be detected properly, but sierra wireless SL6087 device that I connect to it, doesn't appear in system. Unfortunately I can't use USB Device Filesystem - I have no /proc/bus/usb. What I can do is read /sys direct.
I get following system log with and without modul connected. I also don't see any communication on D+ and D- lines. kernel 2.6.21.
# dmesg | grep -e hub -e usb
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usbmon: debugfs is not available
rt3xxx-ohci rt3xxx-ohci: roothub.a 02000202 POTPGT=2 NPS NDP=2(2)
rt3xxx-ohci rt3xxx-ohci: roothub.b 00000000 PPCM=0000 DR=0000
rt3xxx-ohci rt3xxx-ohci: roothub.status 00008000 DRWE
rt3xxx-ohci rt3xxx-ohci: roothub.portstatus [0] 0x00000100 PPS
rt3xxx-ohci rt3xxx-ohci: roothub.portstatus [1] 0x00000100 PPS
usb usb1: default language 0x0409
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: RT3xxx OHCI Controller
usb usb1: Manufacturer: Linux 2.6.21 ohci_hcd
usb usb1: SerialNumber: rt3xxx-ohci
usb usb1: uevent
usb usb1: usb_probe_device
usb usb1: configuration #1 chosen from 1 choice
usb usb1: adding 1-0:1.0 (config #1, interface 0)
usb 1-0:1.0: uevent
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: no power switching (usb 1.0)
hub 1-0:1.0: global over-current protection
hub 1-0:1.0: power on to power good time: 4ms
hub 1-0:1.0: local power source is good
hub 1-0:1.0: no over-current condition exists
hub 1-0:1.0: trying to enable port power on non-switchable hub
hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem
usbcore: registered new interface driver sierra
drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems: v.1.7.40
Check your VBUS. Are you getting the +5V going to your devices?
When you connect the device, is there any log file change? These are the things I would try. Sometimes it is as simple as following an enable/reset line on the schematic and setting a GPIO properly.
NOTE: If you do get a log file change when you insert the device, then you probably are just missing the other side of the process; the driver.