[Q] chroot + framebuffer [Ainol Fire][Android 4.0.4] - Android Q&A, Help & Troubleshooting

Hi, I'm trying to force Xorg to use /dev/grapgics/fb0 of android. Android's /dev is binded to chroot's /dev.
When I run "cat /dev/urandom > /dev/graphics/fb0" in chroot I see random color pixels on screen, but I can't setup Xorg to properly to use fb0.
I'm using "setprop ctl.stop media && setprop ctl.stop zygote" to kill Android ui to avoid using fb0. After starting Xorg i cant see any changes on screen.
[device: Ainol Fire, A4.0.4(feiyu), Mali400Mp2, 1280x800]
Any ideas what im doing wrong?
Xorg.conf:
Code:
Section "ServerLayout"
Identifier "Default"
Screen 0 "Default Screen" 0 0
# InputDevice "Touchscreen" "CorePointer"
EndSection
#Section "InputDevice"
# Identifier "Touchscreen"
# Driver "tslib"
# Option "Device" "/dev/input/event5"
#EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "fbdev"
Option "fbdev" "/dev/graphics/fb0"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
DisplaySize 1280 800
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
EndSection
Section "ServerFlags"
Option "DefaultServerLayout" "Default"
Xorg log on pastebin: "Wngrb9D7" (I can't post url)

Hi, on my Samsung Galaxy Tab 2 10.1" I have a running X11 with this config.
Code:
[email protected]:/# cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "Layout0"
Screen "Screen0"
#InputDevice "Mouse0" "CorePointer"
InputDevice "cyttsp-i2c" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
#Option "Device" "/dev/input/event7"
Option "Device" "/dev/input/event9"
Option "Protocol" "usb"
EndSection
Section "InputDevice"
Identifier "Mouse0"
#Driver "evdev"
Driver "mouse"
Option "Protocol" "IMPS/2"
#Option "Device" "/dev/input/event0"
Option "Device" "/dev/input/mice"
#Option "Protocol" "usb"
EndSection
Section "InputDevice"
Identifier "cyttsp-i2c"
Driver "multitouch"
Option "Device" "/dev/input/event0"
# mouse should move as fast as finger and not faster
Option "AccelerationScheme" "none"
# evdev has it, multitouch doesn't so it behaves like touchpad
# Option "IgnoreRelativeAxes" "True"
EndSection
Section "Device"
Identifier "Card0"
Driver "fbdev"
Option "fbdev" "/dev/graphics/fb0"
VendorName "Unknown"
BoardName "Unknown"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x600_60.00"
EndSubSection
EndSection
Section "ServerFlags"
Option "AutoAddDevices" "false"
EndSection
I hope it helps

I tried with conf like this and still is something wrong, can you post xorg.conf.d conf files and xorg.0.log? (or pm)

AW: [Q] chroot + framebuffer [Ainol Fire][Android 4.0.4]
Try to shutdown surfaceflinger with:
setprop ctl.stop surfaceflinger
May thats the problem...
Sent from my GT-S5830 using xda app-developers app

Only screen frezee, nothing changed on screen/buffer like a xorg cant acces to fb (im pretty sure about this). In log I cant see anything about fbdevhw, maybe it is related to problem?
//edit
On gt540 (Android 2.3.7) it works without killing android, screen goes black and xorg starts successfully, but msm7227 needs something to refresh screen (i can see desktop when im killing xorg and zygote+media gets back framebuffer). So is there any other part of android (killed zygote, media, drm, surfaceflinger) using framebuffer in Android 4.0.4 ?
//edit
Partial success, xorg is using framebuffer, but there is an errror
Anybody know how to fix it?
Code:
[[email protected] /]# xinit -- :0 ttyS0 vt1 -verbose
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
X.Org X Server 1.13.2.901 (1.13.3 RC 1)
Release Date: 2013-02-15
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.34-1-FARM armv7l
Current Operating System: Linux localhost 3.0.8 #3 SMP PREEMPT Wed Nov 14 11:26:15 CST 2012 armv7l
Kernel command line: init=/init console=ttyS0,115200n8 hlt no_console_suspend vmalloc=256m mem=1024m logo=osd1,loaded,panel,debug hdmitx=vdacoff,powermode1,unplug_powerdown a9_clk_max=1512000000
Build Date: 24 February 2013 12:25:58AM
Current version of pixman: 0.28.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 11 09:08:09 2013
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(**) ServerLayout "Layout0"
(**) |-->Screen "DefaultScreen" (0)
(**) | |-->Monitor "Configured Monitor"
(**) | |-->Device "Mali FBDEV"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) Automatically adding GPU devices
(WW) The directory "/usr/share/fonts/TTF/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/Type1/" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
(==) ModulePath set to "/usr/lib/xorg/modules"
(**) Extension "Composite" is disabled
(**) Extension "RENDER" is enabled
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.13.2.901, module version = 1.0.0
(==) AIGLX enabled
Loading extension GLX
(II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
compiled for 1.13.0, module version = 0.4.3
(II) FBDEV: driver for framebuffer: fbdev
(++) using VT number 1
(WW) Falling back to old probe method for fbdev
(II) Loading /usr/lib/xorg/modules/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 1.13.2.901, module version = 0.0.2
(II) FBDEV(0): using /dev/graphics/fb0
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(**) FBDEV(0): Depth 32, (--) framebuffer bpp 32
(EE) FBDEV(0): Weight given (000) is inconsistent with the depth (32)
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
[[email protected] /]#

So it works (24bit depth), touch as touchpad, usb keyboard/mouse works too (only if connected before startx).
And first time i get sound working in chroot (visible as pcm card) but works only with rhytmbox playing mp3 stream, when i try to play mp3 file i get gstreamer backend error (not enough data). Sound works too with flash player (10.1).

I have the same tab as you (ainol fire, F-0506 A4.2.2) and want to get ubuntu working on my device. I faced with the same problem: Xorg don't want work with my fb0. So I want know: how you solved this problem?
Sorry for my bad English
EDIT
Framebuffer works, I can see some parts of full picture, but not full. I use gnome environment and all i see is mouse pointer that doesn't respond and Hide all buttom in left bottom corner. What I am doing wrong?
EDIT
Yes, I completely right, fb works, but with lags. I don't know why.. may be this lag is in cause of using new feiyu's kernel.. I take a photo of screen but I can't show them.
Also after I choose (I MADE IT!) Shut down - my fire freeze & I can't doing anything except restart my device.

Related

[Q] MTP installation on debian doesn't work

Hello,
I've compiled the latest version of libmtp (1.1.2) and installed properly. It seems that the device is recognized but still without the ability to connect to it. Here is the log. I got two different outputs. So I'll post both of them:
1.
Code:
libmtp version: 1.1.2
Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1/S2/GT-N7000/Galaxy Nexus.
Found 1 device(s):
Samsung: GT-P7510/Galaxy Tab 10.1/S2/GT-N7000/Galaxy Nexus (04e8:6860) @ bus 1, dev 12
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
inep: usb_get_endpoint_status(): No such device
outep: usb_get_endpoint_status(): No such device
usb_clear_halt() on IN endpoint: No such device
usb_clear_halt() on OUT endpoint: No such device
usb_clear_halt() on INTERRUPT endpoint: No such device
ignoring usb_claim_interface = -9ignoring usb_claim_interface = -22LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
OK.
2.
Code:
libmtp version: 1.1.2
Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1/S2/GT-N7000/Galaxy Nexus.
Found 1 device(s):
Samsung: GT-P7510/Galaxy Tab 10.1/S2/GT-N7000/Galaxy Nexus (04e8:6860) @ bus 1, dev 13
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
OK.
I've read about a samsung-proprietary mtp protocol which would not work with libmtp. I hope those rumors are wrong, aren't they?
I'd really appreciate any help. I've been working on it for a couple of days and it starts really anoying me.
regards, hornby
I have the same issue. I am trying to connect my Linux Mint Debian machine to my SGS2 running CM9 nightly. Debian can see the device but communication is a nogo.
Here is mtp-detect:
Code:
~ $ mtp-detect
libmtp version: 1.1.2
Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1/S2/GT-N7000/Galaxy Nexus.
Found 1 device(s):
Samsung: GT-P7510/Galaxy Tab 10.1/S2/GT-N7000/Galaxy Nexus (04e8:6860) @ bus 1, dev 9
Attempting to connect device(s)
ignoring usb_claim_interface = -110Android device detected, assigning default bug flags
USB low-level info:
Using kernel interface "usbfs"
bcdUSB: 512
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
idVendor: 04e8
idProduct: 6860
IN endpoint maxpacket: 512 bytes
OUT endpoint maxpacket: 512 bytes
Raw device info:
Bus location: 1
Device number: 9
Device entry info:
Vendor: Samsung
Vendor id: 0x04e8
Product: GT-P7510/Galaxy Tab 10.1/S2/GT-N7000/Galaxy Nexus
Vendor id: 0x6860
Device flags: 0x08008106
Device info:
Manufacturer: samsung
Model: GT-I9100
Device version: 1.0
Serial number: ????????
Vendor extension ID: 0x00000006
Vendor extension description: microsoft.com: 1.0; android.com: 1.0;
Detected object size: 64 bits
Extensions:
microsoft.com: 1.0
android.com: 1.0
Supported operations:
1001: get device info
1002: Open session
1003: Close session
1004: Get storage IDs
1005: Get storage info
1006: Get number of objects
1007: Get object handles
1008: Get object info
1009: Get object
100a: Get thumbnail
100b: Delete object
100c: Send object info
100d: Send object
1014: Get device property description
1015: Get device property value
1016: Set device property value
1017: Reset device property value
101b: Get partial object
9801: Get object properties supported
9802: Get object property description
9803: Get object property value
9804: Set object property value
9805: Get object property list
9810: Get object references
9811: Set object references
95c1: Unknown (95c1)
95c2: Unknown (95c2)
95c3: Unknown (95c3)
95c4: Unknown (95c4)
95c5: Unknown (95c5)
Events supported:
0x4002
0x4003
0x4004
0x4005
Device Properties Supported:
0xd401: Synchronization Partner
0xd402: Friendly Device Name
0x5003: Image Size
Playable File (Object) Types and Object Properties Supported:
3000: Undefined Type
3001: Association/Directory
3004: Text
3005: HTML
3008: MS Wave
3009: MP3
300b: MPEG
3801: JPEG
3802: TIFF EP
3807: GIF
3808: JFIF
380b: PNG
380d: TIFF
b901: WMA
b902: OGG
b903: AAC
b982: MP4
b983: MP2
b984: 3GP
ba05: Abstract Audio Video Playlist
ba10: WPL Playlist
ba11: M3U Playlist
ba14: PLS Playlist
ba82: XMLDocument
b906: FLAC
Storage Devices:
StorageID: 0x00010001
StorageType: 0x0003 fixed RAM storage
FilesystemType: 0x0002 generic hierarchical
AccessCapability: 0x0000 read/write
MaxCapacity: 12332314624
FreeSpaceInBytes: 6137163776
FreeSpaceInObjects: 1073741824
StorageDescription: Internal Storage
VolumeIdentifier: (null)
Special directories:
Default music folder: 0x0000001a
Default playlist folder: 0xffffffff
Default picture folder: 0x0000001f
Default video folder: 0xffffffff
Default organizer folder: 0xffffffff
Default zencast folder: 0xffffffff
Default album folder: 0xffffffff
Default text folder: 0xffffffff
MTP-specific device properties:
Friendly name: (NULL)
Synchronization partner: (NULL)
libmtp supported (playable) filetypes:
Folder
Text file
HTML file
RIFF WAVE file
ISO MPEG-1 Audio Layer 3
MPEG video stream
JPEG file
GIF bitmap file
JFIF file
Portable Network Graphics
TIFF bitmap file
Microsoft Windows Media Audio
Ogg container format
Advanced Audio Coding (AAC)/MPEG-2 Part 7/MPEG-4 Part 3
MPEG-4 Part 14 Container Format (Audio+Video Emphasis)
ISO MPEG-1 Audio Layer 2
Abstract Playlist file
XML file
Free Lossless Audio Codec (FLAC)
ERROR: Could not close session!
inep: usb_get_endpoint_status(): No such device
outep: usb_get_endpoint_status(): No such device
usb_clear_halt() on IN endpoint: No such device
usb_clear_halt() on OUT endpoint: No such device
usb_clear_halt() on INTERRUPT endpoint: No such device
OK.

Arch Linux running on NC with native Xorg

Ran into this off Reddit. Includes instructions. Thought people might be interested. Damn impressive.
http://thomaspolasek.blogspot.ca/2012/04/arch-linux-lxde-w-xorg-mouse-keyboard_16.html
Looks like I got something to do after getting through this current barrage of Uni assignments
Oh, that is impressive. Something I'll have to try, for sure.
umm...yeah...i'm gonna try this out for sure
\O/
Sent from my NookColor using XDA
So, how does it work??????
Okay, I'd like to report that it works... pretty well!
I started with PengDroid, so I got Debian instead of Arch. Then installed:
Code:
xinit xserver-xorg-core xserver-xorg-video-fbdev xserver-xorg-input-mtrack lxde
I also don't have a spare USB keyboard and mouse, so I decided to skip the keyboard and try to use the touchscreen as a pointing device. So here's my /etc/X11/xorg.conf:
Code:
Section "ServerLayout"
Identifier "Layout0"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mtrack"
Option "Device" "/dev/input/event2"
EndSection
Section "Device"
Identifier "Adapter0"
Driver "fbdev"
Option "fbdev" "/dev/graphics/fb0"
EndSection
As you can see, I'm using the mtrack driver, which makes the screen behave as a giant trackpad (with two-point touch = right-click). I have not been successful in getting proper touchscreen support working with evdev, but I suspect it might require the mtev driver.
Anyway, to start this thing off via adb:
Code:
ln -s Xorg /usr/bin/X
setprop ctl.stop media
setprop ctl.stop zygote
killall bootanimation
xinit /usr/bin/lxsession
... and to go back to Android,
Code:
^C
setprop ctl.start zygote
@bassrebel: Do you want technical details... or an answer involving unicorns?
Thats awesome that the touchscreen does work though. How about sound? I use my nook as my car stereo and would like to see if linux has any better audio drivers than android... also, xmbc on nook in a car would be awesome!
I haven't tried getting sound output, but I know it'd require getting ALSA/OSS set up with something like PulseAudio.
inportb said:
Okay, I'd like to report that it works... pretty well!
I started with PengDroid, so I got Debian instead of Arch. Then installed:
Code:
xinit xserver-xorg-core xserver-xorg-video-fbdev xserver-xorg-input-mtrack lxde
I also don't have a spare USB keyboard and mouse, so I decided to skip the keyboard and try to use the touchscreen as a pointing device. So here's my /etc/X11/xorg.conf:
Code:
Section "ServerLayout"
Identifier "Layout0"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mtrack"
Option "Device" "/dev/input/event2"
EndSection
Section "Device"
Identifier "Adapter0"
Driver "fbdev"
Option "fbdev" "/dev/graphics/fb0"
EndSection
As you can see, I'm using the mtrack driver, which makes the screen behave as a giant trackpad (with two-point touch = right-click). I have not been successful in getting proper touchscreen support working with evdev, but I suspect it might require the mtev driver.
Anyway, to start this thing off via adb:
Code:
ln -s Xorg /usr/bin/X
setprop ctl.stop media
setprop ctl.stop zygote
killall bootanimation
xinit /usr/bin/lxsession
... and to go back to Android,
Code:
^C
setprop ctl.start zygote
@bassrebel: Do you want technical details... or an answer involving unicorns?
Click to expand...
Click to collapse
I prefer the unicorns method!
racks11479 said:
I prefer the unicorns method!
Click to expand...
Click to collapse
+1 for unicorns.
I got to the part where I try to install the mtrack driver but I get:
Code:
E: Unable to locate package xserver-xorg-input-mtrack
EDIT:
I was able to get it running but since no mtrack driver no input so I just restarted. I'm so close, I tried adding repositories to apt and updating but still stuck.
Hi I hope anybody will read this. I really try to get this work but after pacman -Syu I get this error output:
Code:
"[[email protected] /]# pacman -Syu
:: Synchronizing package databases...
core 38.8 KiB 53.8K/s 00:01 [######################] 100%
extra 428.5 KiB 286K/s 00:01 [######################] 100%
community 421.6 KiB 450K/s 00:01 [######################] 100%
alarm 6.0 KiB 5.20M/s 00:00 [######################] 100%
aur 11.7 KiB 1964K/s 00:00 [######################] 100%
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
Targets (1): pacman-4.0.3-3
Total Download Size: 1.00 MiB
Total Installed Size: 3.38 MiB
Net Upgrade Size: 0.00 MiB
Proceed with installation? [Y/n] y
:: Retrieving packages from core...
pacman-4.0.3-3-armv7h 1019.7 KiB 262K/s 00:04 [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
warning: could not get filesystem information for /mnt/asec: No such file or directory
warning: could not get filesystem information for /mnt/obb: No such file or directory
warning: could not get filesystem information for /rom: No such file or directory
warning: could not get filesystem information for /system: No such file or directory
warning: could not get filesystem information for /data: No such file or directory
warning: could not get filesystem information for /cache: No such file or directory
warning: could not get filesystem information for /mnt/sdcard: No such file or directory
warning: could not get filesystem information for /mnt/secure/asec: No such file or directory
warning: could not get filesystem information for /mnt/sdcard/.android_secure: No such file or directory
warning: could not get filesystem information for /mnt/emmc: No such file or directory
warning: could not get filesystem information for /data/pengdroid: No such file or directory
(1/1) checking available disk space [######################] 100%
error: Partition / is mounted read only
error: not enough free disk space
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded."
I think I unterstand the problem but how can I fix it.
I had that problem too when I tried to get this running. I ended up searching the problem and had to change a configuration file. I dont really think this linux is worth it to try yet. If only the touchscreen worked though.

Enabling keyboard on tizen armv7l

Hello
I work on a armv7l port
No default soft keyboard appears.
I have connected a hardware keyboard. xinput lists
---------------------------------------------------------------------------
xinput
� Virtual core pointer id=2 [master pointer (3)]
� ��↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
� ��↳ Touchscreen id=6 [slave pointer (2)]
� Virtual core keyboard id=3 [master keyboard (2)]
��↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
��↳ DELL Dell QuietKey Keyboard id=7 [slave keyboard (3)]
-------------------------------------------------------------------------------
Settings->Keyboards-> Keyboard Selection list is empty
It says IMEngine failed to load.
LOG:
----------------------------------------------------------------------------------------------------------------------------------
ERR<2427>:efl-assist /home/abuild/rpmbuild/BUILD/efl-assist-0.1.18r01/src/lib/efl_assist.c:36 ea_init() could not register efl-assist log domain
(process:2427): GLib-CRITICAL **: g_error_free: assertion `error != NULL' failed
ERR<2427>:ecore_con ecore_con_local.c:152 ecore_con_local_connect() local connection failed: No such file or directory
ERR<2427>: ecore_con.c:513 ecore_con_server_connect() safety check failed: ecore_con_local_connect(svr, _ecore_con_cl_handler, svr) is false
ERR<2427>:ecore_evas ecore_evas_extn.c:1610 ecore_evas_extn_plug_connect() Extn plug failed to connect:ipctype=0, svcname=elm_indicator_portrait, svcnum=0, svcsys=0
INF<2427>:multisense_factory multisense_factory.c:33 multisense_sound_player_get() PA player_plugin = (nil)
failed to open /opt/home/app/.scim/engines_list
add_module: Failed to load socket IMEngine module!!!
ERR<2427>:ecore_con ecore_con_local.c:152 ecore_con_local_connect() local connection failed: No such file or directory
ERR<2427>: ecore_con.c:513 ecore_con_server_connect() safety check failed: ecore_con_local_connect(svr, _ecore_con_cl_handler, svr) is false
ERR<2427>:ecore_evas ecore_evas_extn.c:1610 ecore_evas_extn_plug_connect() Extn plug failed to connect:ipctype=0, svcname=elm_indicator_portrait, svcnum=0, svcsys=0
---------------------------------------------------------------------------------------------------------------------------------------------
scim -l lists
-----------------------------------------------------------------------------------------------------
Input Service Manager 2.4.6717
Available FrontEnd module:
socket
x11
Available Config module:
simple
socket
Available ISEngine module:
hangul
ise-engine-anthy
ise-engine-default
ise-engine-sunpinyin
socket
table
ise-default
-------------------------------------------------------------------------------------------------------
Any help on this?

Archos 101 g9 8gb & Huawei modem E173u-1[No driver found]

Hi, I am having issues with a Huawei modem E173u-1 on my tablet Archos 101 g9 8gb
driver not found.
Can you help me, pls?
USB_ModeSwitch log from Wed Apr 09 17:50:44 PKT 2014
Raw args from udev: 1-1/1-1:1.0
Using top device dir /sys/bus/usb/devices/1-1
----------------
USB values from sysfs:
manufacturer HUAWEI
product HUAWEI Mobile
serial
----------------
bNumConfigurations is 1 - don't check for active configuration
SCSI attributes not needed, moving on
checking config: /data/data/de.draisberghof.pppwidget/app_tmp/12d1.14fe
! matched. Reading config data
devList 1:
config: TargetVendor set to 12d1
config: TargetProduct set to 1506
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1
Logger is: /system/bin/log
Command to be run:
usb_modeswitch -I -W -D -s 20 -u -1 -b 1 -g 2 -v 12d1 -p 14fe -f $cB
Verbose debug output of usb_modeswitch and libusb follows
(Note that some USB errors are to be expected in the process)
--------------------------------
Reading long config from command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.2.4 (C) Josua Dietze 2012
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x14fe
TargetVendor= 0x12d1
TargetProduct= 0x1506
TargetClass= not set
TargetProductList=""
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint= not set
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled
Use given bus/device number: 001/002 ...
Looking for default devices ...
bus/device number matched
searching devices, found USB ID 12d1:14fe
found matching vendor ID
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Skipping the check for the current configuration
Using interface number 0
Using endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Looking for active driver ...
OK, driver found; name unknown, limitation of libusb1
OK, driver "unkown" detached
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Resetting response endpoint 0x81
Could not reset endpoint (probably harmless): -34
Resetting message endpoint 0x01
Could not reset endpoint (probably harmless): -6
Device is gone, skipping any further commands
Bus/dev search active, referring success check to wrapper. Bye.
ok:busdev
--------------------------------
(end of usb_modeswitch output)
Checking success of mode switch for max. 20 seconds ...
Waiting for device file system (1 sec.) ...
Waiting for device file system (2 sec.) ...
Waiting for device file system (3 sec.) ...
Waiting for device file system (4 sec.) ...
Waiting for device file system (5 sec.) ...
Waiting for device file system (6 sec.) ...
Waiting for device file system (7 sec.) ...
Reading attributes ...
Mode switch has completed
Mode switching was successful, found 12d1:1506 (HUAWEI: HUAWEI Mobile)
Device class of first interface is ff
Now checking for bound driver ...
No driver has bound to interface 0 yet
Module loader is /sbin/insmod
Trying to find and install main driver module "option"
Trying to find module "option"
Loading support module /lib/modules/usb_wwan.ko
Error: insmod: cannot insert '/lib/modules/usb_wwan.ko': Invalid module format (-1): Exec
format error
Loading main driver module "option"
Error: insmod: cannot insert '/lib/modules/option.ko': Invalid module format (-1): Exec
format error
Falling back to "usbserial"
Module "usb_serial" not found, can't do more here
Driver binding seems to have failed
All done, exiting
please answer!!!
i'm solved the problem by replacing the nucleus

Run pidgin in ubuntu touch on a Nexus5. Problem with Mir

Hi
I'm trying to run pidgin in ubuntu touch which is installed on Nexus 5.
I did try to run it in libertine container, however it fails with the follwoing error.
Code:
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
(EE)
Fatal server error:
(EE) Failed to connect to Mir: Failed to connect: not accepted by server
(EE)
I have also tried to run it without the container using the following desktop file
Code:
[Desktop Entry]
Name=Pidgin Internet Messenger
GenericName=Internet Messenger
Comment=Chat over IM. Supports AIM, Google Talk, Jabber/XMPP, MSN, Yahoo and more
Exec=pidgin
Icon=pidgin
StartupNotify=true
Terminal=false
Type=Application
Categories=Network;InstantMessaging;
X-MessagingMenu-UsesChatSection=true
X-Ubuntu-Touch=true
X-Ubuntu-Gettext-Domain=pidgin
X-Ubuntu-XMir-Enable=true
To run pidgin I am using the following script, launching it from phone's command line
Code:
#!/bin/bash
DISP=:1
Xmir :1 -mirSocket /var/run/mir_socket --desktop_file_hint=/home/phablet/pidgin.desktop -debug &
sleep 0.5;
DISPLAY=:1 pidgin &
However, Xmir failed with the following error.
Code:
ARM architecture: Defaulting to software mode because glamor is not stable
XMir initialized with 2 visuals:
Visual id 0x28: ff ff00 ff0000, 24 planes
Visual id 0x29: ff ff00 ff0000, 24 planes
Realize ROOT window 0xb8a6d530 id=0xea "": 1080x1920 +0+0 parent=(nil)
depth=24 redir=0 type=0 class=1 visibility=3 viewable=1
override=0 _NET_WM_WINDOW_TYPE=0()
WM_TRANSIENT_FOR=(nil)
WM_HINTS=<none>
Aborted
I checked that unity is running, and the resullt of "ps aux | grep unity" was
Code:
unity-system-compositor --disable-overlays=false --spinner=/usr/bin/unity-system-compositor-spinner --file /run/mir_socket --from-dm-fd 10 --to-dm-fd 13 --vt 1
I also checked that mir_socket is created and reachable under /var/run and /run directories
There are no errors in lightdm file
But Xorg log file shows the following error
Code:
[ 89.205] (II) No BusID or DriverName specified - opening /dev/dri/card0
directory
[ 89.205] (WW) Falling back to old probe method for fbdev
[ 89.205] (WW) Falling back to old probe method for modesetting
[ 89.206] No devices to configure. Configuration failed.
[ 89.206] (EE) Server terminated with error (2). Closing log file.
The directory /dev/dri is missing on my phone. Although libdrm2 is installed
Any ideas how to overcome this problem?
Mqhash said:
Hi
I'm trying to run pidgin in ubuntu touch which is installed on Nexus 5.
I did try to run it in libertine container, however it fails with the follwoing error.
Code:
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
(EE)
Fatal server error:
(EE) Failed to connect to Mir: Failed to connect: not accepted by server
(EE)
I have also tried to run it without the container using the following desktop file
Code:
[Desktop Entry]
Name=Pidgin Internet Messenger
GenericName=Internet Messenger
Comment=Chat over IM. Supports AIM, Google Talk, Jabber/XMPP, MSN, Yahoo and more
Exec=pidgin
Icon=pidgin
StartupNotify=true
Terminal=false
Type=Application
Categories=Network;InstantMessaging;
X-MessagingMenu-UsesChatSection=true
X-Ubuntu-Touch=true
X-Ubuntu-Gettext-Domain=pidgin
X-Ubuntu-XMir-Enable=true
To run pidgin I am using the following script, launching it from phone's command line
Code:
#!/bin/bash
DISP=:1
Xmir :1 -mirSocket /var/run/mir_socket --desktop_file_hint=/home/phablet/pidgin.desktop -debug &
sleep 0.5;
DISPLAY=:1 pidgin &
However, Xmir failed with the following error.
Code:
ARM architecture: Defaulting to software mode because glamor is not stable
XMir initialized with 2 visuals:
Visual id 0x28: ff ff00 ff0000, 24 planes
Visual id 0x29: ff ff00 ff0000, 24 planes
Realize ROOT window 0xb8a6d530 id=0xea "": 1080x1920 +0+0 parent=(nil)
depth=24 redir=0 type=0 class=1 visibility=3 viewable=1
override=0 _NET_WM_WINDOW_TYPE=0()
WM_TRANSIENT_FOR=(nil)
WM_HINTS=<none>
Aborted
I checked that unity is running, and the resullt of "ps aux | grep unity" was
Code:
unity-system-compositor --disable-overlays=false --spinner=/usr/bin/unity-system-compositor-spinner --file /run/mir_socket --from-dm-fd 10 --to-dm-fd 13 --vt 1
I also checked that mir_socket is created and reachable under /var/run and /run directories
There are no errors in lightdm file
But Xorg log file shows the following error
Code:
[ 89.205] (II) No BusID or DriverName specified - opening /dev/dri/card0
directory
[ 89.205] (WW) Falling back to old probe method for fbdev
[ 89.205] (WW) Falling back to old probe method for modesetting
[ 89.206] No devices to configure. Configuration failed.
[ 89.206] (EE) Server terminated with error (2). Closing log file.
The directory /dev/dri is missing on my phone. Although libdrm2 is installed
Any ideas how to overcome this problem?
Click to expand...
Click to collapse
Unfortunately, the only real good method of running X11 applications on Ubuntu Touch is via Libertine. That's odd that it won't connect to Mir. /dev/dri should indeed be missing from your phone, most phones do not expose DRM/DRI to the OS as they don't always have native support for it (for example, Qualcomm devices require the msm_kgsl_drm kernel module, however that module doesn't compile properly on newer kernels.)
On Android devices, an abstraction layer known as Libhybris is used for handling graphics and hardware by wrapping the native Android drivers and using them.
The only thing I could suggest is possibly creating a new empty libertine container and install only pidgin on it to see if it could possibly be an issue with your container, last time I used Ubuntu Touch, Pidgin worked out of the box in Libertine.
Thank you for your reply
ShadowEO said:
The only thing I could suggest is possibly creating a new empty libertine container and install only pidgin on it to see if it could possibly be an issue with your container.
Click to expand...
Click to collapse
Unfortunately, I did try to create a new container but same error. No change . I even tried to run firefox but same error
ShadowEO said:
last time I used Ubuntu Touch, Pidgin worked out of the box in Libertine.
Click to expand...
Click to collapse
What phone were you running ubuntu touch on?
Mqhash said:
Hi
I'm trying to run pidgin in ubuntu touch which is installed on Nexus 5.
I did try to run it in libertine container, however it fails with the follwoing error.
Code:
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
(EE)
Fatal server error:
(EE) Failed to connect to Mir: Failed to connect: not accepted by server
(EE)
Click to expand...
Click to collapse
How exactly did you get to this point? Which UT image? Was libertine included? The scope? The app? Did you install parts of it via apt? How did you run it? Where/how do you read the error?
I have also tried to run it without the container using the following desktop file
Click to expand...
Click to collapse
When you say without the container what exactly do you mean? If you only make the desktop file yourself, then there still is only one pidgin executable and that is the one in the container, right ... I don't know how to connect the two.
Code:
[Desktop Entry]
Name=Pidgin Internet Messenger
GenericName=Internet Messenger
Comment=Chat over IM. Supports AIM, Google Talk, Jabber/XMPP, MSN, Yahoo and more
Exec=pidgin
Icon=pidgin
StartupNotify=true
Terminal=false
Type=Application
Categories=Network;InstantMessaging;
X-MessagingMenu-UsesChatSection=true
X-Ubuntu-Touch=true
X-Ubuntu-Gettext-Domain=pidgin
X-Ubuntu-XMir-Enable=true
To run pidgin I am using the following script, launching it from phone's command line
Code:
#!/bin/bash
DISP=:1
Xmir :1 -mirSocket /var/run/mir_socket --desktop_file_hint=/home/phablet/pidgin.desktop -debug &
sleep 0.5;
DISPLAY=:1 pidgin &
However, Xmir failed with the following error.
Code:
ARM architecture: Defaulting to software mode because glamor is not stable
XMir initialized with 2 visuals:
Visual id 0x28: ff ff00 ff0000, 24 planes
Visual id 0x29: ff ff00 ff0000, 24 planes
Realize ROOT window 0xb8a6d530 id=0xea "": 1080x1920 +0+0 parent=(nil)
depth=24 redir=0 type=0 class=1 visibility=3 viewable=1
override=0 _NET_WM_WINDOW_TYPE=0()
WM_TRANSIENT_FOR=(nil)
WM_HINTS=<none>
Aborted
Click to expand...
Click to collapse
So, firstly, I think libertine should work, so I'd focus on that first. Secondly, if you want to explore an alternative route, I had things working in the past with:
* install via apt
* write a shell script like yours (search the internet for that desktop_file_hint, it seems to have some magical hidden meaning, you do not want to set it to pidgin, but I think to some uhm, whatdidtheycallit, "unconfined" app I think)
* write a desktop file and point it to shell script, and launch it by tapping on the display

Categories

Resources