Skip to content

Instantly share code, notes, and snippets.

metaphys

Block or report user

Report or block metaphys

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@metaphys
metaphys / gist:5509390
Created May 3, 2013
debian patch for primus git 2013-05-03
View gist:5509390
diff -rupN -x .git -x lib primus/Makefile primus.mod/Makefile
--- primus/Makefile 2012-12-27 07:58:41.000000000 +0200
+++ primus.mod/Makefile 2012-12-27 08:28:14.000000000 +0200
@@ -1,19 +1,28 @@
-CXX ?= g++
-CXXFLAGS ?= -Wall -g
+ECHO = echo
+RM = rm
+MKDIR = mkdir
+INSTALL = install
View rbutilwarn1
diff --git a/rbutil/rbutilqt/base/system.cpp b/rbutil/rbutilqt/base/system.cpp
index 02e6ac9..5894389 100644
--- a/rbutil/rbutilqt/base/system.cpp
+++ b/rbutil/rbutilqt/base/system.cpp
@@ -246,11 +246,10 @@ QMap<uint32_t, QString> System::listUsbDevices(void)
#if defined(Q_OS_LINUX)
#if defined(LIBUSB1)
libusb_device **devs;
- int res;
- ssize_t count;
@metaphys
metaphys / fsckresutl1
Created Jan 15, 2012
no internal - fsck result
View fsckresutl1
root@debian:/home/jean-louis/Bureau/rockbox-devtree/PLA/rockbox# fsck.vfat -a -w -v /dev/sde1
dosfsck 3.0.12 (29 Oct 2011)
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "mkdosfs"
Media byte 0xf8 (hard disk)
2048 bytes per logical sector
32768 bytes per cluster
32 reserved sectors
@metaphys
metaphys / usbinternal
Created Jan 15, 2012
usb no internal
View usbinternal
[ 1706.092182] usb 3-1.2: new high speed USB device number 4 using ehci_hcd
[ 1706.189164] usb 3-1.2: New USB device found, idVendor=0781, idProduct=74e1
[ 1706.189169] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1706.189171] usb 3-1.2: Product: Rockbox media player
[ 1706.189173] usb 3-1.2: Manufacturer: Rockbox.org
[ 1706.191982] scsi8 : usb-storage 3-1.2:1.0
[ 1707.194201] scsi 8:0:0:0: Direct-Access Rockbox Internal Storage 0.00 PQ: 0 ANSI: 4
[ 1707.196172] scsi 8:0:0:1: Direct-Access Rockbox SD Card Slot 0.00 PQ: 0 ANSI: 4
[ 1707.201133] sd 8:0:0:0: [sde] 7748864 2048-byte logical blocks: (15.8 GB/14.7 GiB)
[ 1707.203121] sd 8:0:0:1: [sdf] 62333952 512-byte logical blocks: (31.9 GB/29.7 GiB)
View lampPLA
Index: apps/plugins/lamp.c
===================================================================
--- apps/plugins/lamp.c (révision 31584)
+++ apps/plugins/lamp.c (copie de travail)
@@ -24,6 +24,7 @@
#include "plugin.h"
#include "lib/helper.h"
+#include "lib/pluginlib_actions.h"
@metaphys
metaphys / pacmankey
Created Jan 5, 2012
IRIVER_H10_5GB and IRIVER_H10 mapping on pacman
View pacmankey
#elif CONFIG_KEYPAD == IRIVER_H10_PAD
#if defined(IRIVER_H10_5GB)
#define PACMAN_UP BUTTON_SCROLL_UP
#define PACMAN_DOWN BUTTON_SCROLL_DOWN
#define PACMAN_LEFT BUTTON_LEFT
#define PACMAN_RIGHT BUTTON_RIGHT
#else
#define PACMAN_UP BUTTON_RIGHT
#define PACMAN_DOWN BUTTON_LEFT
View manual-patch-v8.diff
Index: firmware/export/config/sansafuzeplus.h
===================================================================
--- firmware/export/config/sansafuzeplus.h (révision 31500)
+++ firmware/export/config/sansafuzeplus.h (copie de travail)
@@ -9,15 +9,17 @@
#define HW_SAMPR_CAPS SAMPR_CAP_ALL
+/*#define CONFIG_TUNER SI470O doesn't work for now */
+
@metaphys
metaphys / badmanualbuild
Created Dec 31, 2011
bad build fplus manual
View badmanualbuild
Overfull \hbox (3.57814pt too wide) in paragraph at lines 43--46
\T1/lmr/m/n/10.95 Scar-bor-ough, [] 2003 Jos\E9 Maria Garcia-Valdecasas Bernal &
Pe-ter Schlenker.
[]
(./version.tex)) [2
]
@metaphys
metaphys / maualbuid good
Created Dec 31, 2011
good gigabeat manual
View maualbuid good
until here both file are strictly identical
Overfull \hbox (3.57814pt too wide) in paragraph at lines 43--46
\T1/lmr/m/n/10.95 Scar-bor-ough, [] 2003 Jos\E9 Maria Garcia-Valdecasas Bernal &
Pe-ter Schlenker.
[]
(./version.tex)) [2
View lsusbhid
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
You can’t perform that action at this time.