Skip to content

Instantly share code, notes, and snippets.

View loxK's full-sized avatar

Laurent Dinclaux loxK

View GitHub Profile
$ sudo !!
sudo mtp-detect
Unable to open ~/.mtpz-data for reading, MTPZ disabled.libmtp version: 1.1.5
Listing raw device(s)
Device 0 (VID=18d1 and PID=4e41) is a Google Inc (for Asus) Nexus 7 (MTP).
Found 1 device(s):
Google Inc (for Asus): Nexus 7 (MTP) (18d1:4e41) @ bus 2, dev 19
Attempting to connect device(s)
Android device detected, assigning default bug flags
[86790.811061] named[1139]: segfault at 473 ip 00007f44aa723581 sp 00007f44a33e6f50 error 4 in named[7f44aa6f4000+78000]
[86790.907455] init: ebox.bind9 main process (1137) killed by SEGV signal
[86790.907480] init: ebox.bind9 main process ended, respawning
[86790.928743] general protection fault: 0000 [#1] SMP
[86790.930422] CPU 2
[86790.930436] Modules linked in: snd_hrtimer snd_seq_midi snd_seq_midi_event snd_seq ipt_REDIRECT nf_nat_sip nf_conntrack_sip nf_nat_pptp nf_nat_proto_gre nf_conntrack_pptp nf_conntrack_proto_gre nf_nat_h323 nf_conntrack_h323 nf_conntrack_tftp nf_nat_ftp nf_conntrack_ftp xt_mac xt_mark xt_connmark ip6table_filter ip6_tables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp iptable_filter ip_tables x_tables bridge stp kvm_intel kvm quota_v2 quota_tree bnep rfcomm bluetooth snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device i915 snd_hda_codec_via drm_kms_helper drm snd_hda_intel snd_hda_co
$ sudo ./install
DRIVER COPY START
STA_PATH_FLAG=.
STA_PATH_FULL=/home/pi/driver/install
START_PATH_DRIVER=/home/pi/driver
CURRENT install from ./install
INSTALL_PATH is not set ,auto install
INSTALL_PATH=/usr/local/Mobile_Partner
INSTALL_PATH is another path
rm /usr/local/Mobile_Partner/driver
@loxK
loxK / recovery.log
Created November 17, 2011 00:10
Recovery error
cat recovery.log
Starting recovery on Thu Nov 17 00:08:21 2011
framebuffer: fd 4 (480 x 800)
ClockworkMod Recovery v5.0.2.0
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null)
1 /recovery emmc /dev/block/mmcblk0p7 (null)
2 /boot emmc /dev/block/mmcblk0p5 (null)
3 /cache ext3 /dev/block/mmcblk0p2 (null)
<?php
if( ! function_exists('get_called_class') ) :
function get_called_class($bt = false,$l = 1) {
if (!$bt) $bt = debug_backtrace();
if (!isset($bt[$l])) throw new Exception("Cannot find called class -> stack level too deep.");
if (!isset($bt[$l]['type'])) {
throw new Exception ('type not set');
}
else switch ($bt[$l]['type']) {
if( ! function_exists('get_called_class') ) :
function get_called_class($bt = false,$l = 1) {
if (!$bt) $bt = debug_backtrace();
if (!isset($bt[$l])) throw new Exception("Cannot find called class -> stack level too deep.");
if (!isset($bt[$l]['type'])) {
throw new Exception ('type not set');
}
else switch ($bt[$l]['type']) {
case '::':
$lines = file($bt[$l]['file']);
--------- beginning of /dev/log/system
D/VoldCmdListener( 110): asec path com.google.android.apps.chrometophone-1
D/VoldCmdListener( 110): asec path antris.gameblasters.classic-1
D/VoldCmdListener( 110): asec path com.adobe.flashplayer-2
D/VoldCmdListener( 110): asec path com.natenai.glowhockey-1
Index: wpsc-admin/includes/display-items-functions.php
===================================================================
--- wpsc-admin/includes/display-items-functions.php (révision 357938)
+++ wpsc-admin/includes/display-items-functions.php (copie de travail)
@@ -841,6 +841,8 @@
$product_data['meta'] = $product_meta = maybe_unserialize( $product_data['_wpsc_product_metadata'][0] );
$upload_max = wpsc_get_max_upload_size();
+
+ ob_start();
Index: wpsc-admin/includes/display-items-functions.php
===================================================================
--- wpsc-admin/includes/display-items-functions.php (révision 357938)
+++ wpsc-admin/includes/display-items-functions.php (copie de travail)
@@ -841,6 +841,8 @@
$product_data['meta'] = $product_meta = maybe_unserialize( $product_data['_wpsc_product_metadata'][0] );
$upload_max = wpsc_get_max_upload_size();
+
+ ob_start();
Index: wpsc-admin/includes/display-items-functions.php
===================================================================
--- wpsc-admin/includes/display-items-functions.php (révision 357938)
+++ wpsc-admin/includes/display-items-functions.php (copie de travail)
@@ -841,6 +841,8 @@
$product_data['meta'] = $product_meta = maybe_unserialize( $product_data['_wpsc_product_metadata'][0] );
$upload_max = wpsc_get_max_upload_size();
+
+ ob_start();