sábado, 24 de noviembre de 2012

Linux Dell XPS 15z MMC Card Reader

En edubuntu: https://wiki.edubuntu.org/HardwareSupport/Machines/Laptops/Dell/XPS/15z

Hacen referencua al Driver JMB38x para el Lector de Tarjetas de la laptop DELL XPS 15z al activarlo y configurarlo en el kernel obtengo los siguientes mensajes en el dmesg:


[    1.734475] jmb38x_ms 0000:05:00.3: JMB38x: set PMOS0 val 0x47
[    1.734484] jmb38x_ms 0000:05:00.3: Clock Control by PCI config is disabled!
[    1.734532] jmb38x_ms 0000:05:00.3: power off
[    1.745273] jmb38x_ms 0000:05:00.3: power on
[    1.745287] jmb38x_ms 0000:05:00.3: Set Host Interface Mode to 0
[    1.745310] jmb38x_ms 0000:05:00.3: tasklet req 0
[    1.745329] jmb38x_ms 0000:05:00.3: tasklet req 0
[    1.745334] jmb38x_ms 0000:05:00.3: tasklet req 0
[    1.745339] jmb38x_ms 0000:05:00.3: tasklet req -11
[    1.745378] jmb38x_ms 0000:05:00.3: power off
[    1.968302] jmb38x_ms 0000:05:00.3: irq_status = 00000000
[    1.975248] jmb38x_ms 0000:05:00.3: irq_status = 00000000
[    2.070212] jmb38x_ms 0000:05:00.3: irq_status = 00000000


Ideas??




 --
Saludos

Alberto

viernes, 16 de noviembre de 2012

Change dcm4chee web URL

Normalmente el URL mostrado es:

http://localhost/dcm4chee_web3/

Si queremos cambiar el "/dcm4chee_web3/" en el url por "/My_custom_name/" quedando
http://localhost/My_custom_name/

Solo tenemos que editar el archivo "META-INF/application.xml" que se encuentra dentro del archivo ear (Comprimido)

${JBOSS_HOME}/server/default/deploy/dcm4chee-web-ear-X.X.X-XXXXXX.ear

Dentro del archivo XML observamos el siguiente Codigo:

  <module>
    <web>
      <web-uri>dcm4chee-web-war-X.X.X.war</web-uri>
      <context-root>/dcm4chee-web3</context-root>
    </web>
  </module>

Cambiamos el /dcm4chee-web3 por el nombre que queramos guardamos los cambios en el archivo xml y el archivo ear, reiniciamos el servidor y cargamos ahora con nuestra URL personalizada.
--
Exito

Firmware dlink dir 600 c1 v 3.05

El driver router inalambrico D-Link dir 600 c1


Descarga Directa
DIR-600_fw_revC1_3-05B15__all_en_20120216.zip


Mirror en Mega


DIR-600C_FW305WW_Release Notes(for PLM).pdf

DIR-600_fw_revC1_3-05B15__all_en_20120216.zip
DIR600C1_FW305WWb15.bin

Exito


jueves, 8 de noviembre de 2012

FFmpeg libavdevice compilation fail on make

Tratando de Compilar ffmpeg marca el siguiente error, he seguido los pasos descritos en la pagina oficial pero el problema persiste.


Output:

bash-4.1# pwd
/root/Downloads/ffmpeg/ffmpeg
bash-4.1# gmake
CC    libavdevice/alldevices.o
In file included from libavdevice/alldevices.c:21:0:
./config.h:159:2: error: invalid preprocessing directive #defin
./config.h:159:7: warning: null character(s) ignored
./config.h:2:0: error: unterminated #ifndef
In file included from ./libavutil/common.h:76:0,
                 from ./libavutil/avutil.h:238,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
./config.h:159:7: warning: null character(s) ignored
./config.h:2:0: error: unterminated #ifndef
In file included from ./libavutil/intmath.h:26:0,
                 from ./libavutil/common.h:77,
                 from ./libavutil/avutil.h:238,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
./config.h:159:7: warning: null character(s) ignored
./config.h:2:0: error: unterminated #ifndef
In file included from ./libavutil/common.h:77:0,
                 from ./libavutil/avutil.h:238,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
./libavutil/intmath.h:42:5: warning: "HAVE_FAST_CLZ" is not defined
./libavutil/intmath.h:101:5: warning: "HAVE_FAST_CLZ" is not defined
In file included from ./libavutil/internal.h:37:0,
                 from ./libavutil/common.h:376,
                 from ./libavutil/avutil.h:238,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
./config.h:159:7: warning: null character(s) ignored
./config.h:2:0: error: unterminated #ifndef
In file included from ./libavutil/timer.h:33:0,
                 from ./libavutil/internal.h:39,
                 from ./libavutil/common.h:376,
                 from ./libavutil/avutil.h:238,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
./config.h:159:7: warning: null character(s) ignored
./config.h:2:0: error: unterminated #ifndef
In file included from ./libavutil/timer.h:42:0,
                 from ./libavutil/internal.h:39,
                 from ./libavutil/common.h:376,
                 from ./libavutil/avutil.h:238,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
./libavutil/x86/timer.h:37:7: warning: "HAVE_RDTSC" is not defined
In file included from ./libavutil/libm.h:28:0,
                 from ./libavutil/internal.h:113,
                 from ./libavutil/common.h:376,
                 from ./libavutil/avutil.h:238,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
./config.h:159:7: warning: null character(s) ignored
./config.h:2:0: error: unterminated #ifndef
In file included from ./libavutil/common.h:376:0,
                 from ./libavutil/avutil.h:238,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
./libavutil/internal.h:120:5: warning: "CONFIG_SMALL" is not defined
./libavutil/internal.h:143:5: warning: "HAVE_SYMVER_ASM_LABEL" is not defined
./libavutil/internal.h:147:7: warning: "HAVE_SYMVER_GNU_ASM" is not defined
./libavutil/internal.h:159:5: warning: "HAVE_THREADS" is not defined
./libavutil/internal.h:176:19: warning: "HAVE_MM_EMPTY" is not defined
libavdevice/alldevices.c: In function 'avdevice_register_all':
libavdevice/alldevices.c:41:1: error: 'CONFIG_ALSA_OUTDEV' undeclared (first use in this function)
libavdevice/alldevices.c:41:1: note: each undeclared identifier is reported only once for each function it appears in
libavdevice/alldevices.c:41:1: error: 'CONFIG_ALSA_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:42:1: error: 'CONFIG_BKTR_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:43:1: error: 'CONFIG_CACA_OUTDEV' undeclared (first use in this function)
libavdevice/alldevices.c:44:1: error: 'CONFIG_DSHOW_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:45:1: error: 'CONFIG_DV1394_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:46:1: error: 'CONFIG_FBDEV_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:47:1: error: 'CONFIG_IEC61883_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:48:1: error: 'CONFIG_JACK_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:49:1: error: 'CONFIG_LAVFI_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:50:1: error: 'CONFIG_OPENAL_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:51:1: error: 'CONFIG_OSS_OUTDEV' undeclared (first use in this function)
libavdevice/alldevices.c:51:1: error: 'CONFIG_OSS_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:52:1: error: 'CONFIG_PULSE_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:53:1: error: 'CONFIG_SDL_OUTDEV' undeclared (first use in this function)
libavdevice/alldevices.c:54:1: error: 'CONFIG_SNDIO_OUTDEV' undeclared (first use in this function)
libavdevice/alldevices.c:54:1: error: 'CONFIG_SNDIO_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:55:1: error: 'CONFIG_V4L2_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:57:1: error: 'CONFIG_VFWCAP_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:58:1: error: 'CONFIG_X11GRAB_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:61:1: error: 'CONFIG_LIBCDIO_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:62:1: error: 'CONFIG_LIBDC1394_INDEV' undeclared (first use in this function)
gmake: *** [libavdevice/alldevices.o] Error 1
Sugerencias??

--
Saludos

domingo, 4 de noviembre de 2012

Consultas Frecuentes

¿donde esta la clave del modem de megacable?
-> La clave por defecto son los ultimos 10 Digitos del Mac Address
 para mas detalles leer mi articulo de essid: MegaredXXXX

Ejemplo:

SSID: Megared24B2
MAC: 34:08:04:B8:24:B2
WEP:       08:04:B8:24:B2 

Solo funcionara en Caso que sea el wep default


router dlink dir600 C1

-> Router inalambrico, este modelo tiene poca memoria flash por lo cual no se le puede instalar DD-WRT, me causo problemas ya que se reinicia constantemente, pero se soluciono instalando el firmware de fabrica, ya que venia con uno modificado por Megacable el cual causaba que se reinicia constantemente

DNS Megacable

-> Cambiarte a los DNS de Google es mejor...

  • 8.8.4.4
  • 8.8.8.8
Mas detalles en mi articulo: Navega en redes Megacable aun Desconectado


Exito!!

sábado, 3 de noviembre de 2012

Android GTA III 'bomb da base: act ii' ¿Invert sniper?


Reciente mente estoy Jugando GTA III para Android va bien, sin embargo me encuentro sin poder pasar la Mision de "bomb da base: act ii"


Screenshot del Juego
La mira del sniper se encuentra invertida, y en las opciones del control al parecer no funciona la opcion de invertir, adiconal a esto es muy lenta la mira, he estado practicando sin embargo es realmente dificil.

Buscando en internet no he encontrado la forma de corregir este detalle.


viernes, 2 de noviembre de 2012

Integer.getInteger() give NULL value

I used before the static function of Integer Class "getInteger()" but rigth now always give me a null pointer in several cases of coding...

Some know if this issue is only on Java 7?

bash-4.1# /usr/java/jdk1.7.0_09/bin/java -version
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)




Code:

public class Test  {
    public static void main(String[] args) {
    String str = new String("10");
    Integer l;
    l = Integer.getInteger(str);
    System.out.println(l);
    }
}

Output:

bash-4.1# /usr/java/jdk1.7.0_09/bin/javac Test.java
bash-4.1# /usr/java/jdk1.7.0_09/bin/java Test
null
--

Code:

public class Test  {
    public static void main(String[] args) {
    Integer l;
    l = new Integer(Integer.getInteger(new String("10")));
    System.out.println(l);
    }
}

Output:

Bash-4.1# /usr/java/jdk1.7.0_09/bin/java Test
Exception in thread "main" java.lang.NullPointerException
    at Test.main(Test.java:4)



--

Code:

public class Test  {
    public static void main(String[] args) {
    Integer l;
    l = Integer.getInteger("10");
    System.out.println(l);
    }
}


Output:

bash-4.1# /usr/java/jdk1.7.0_09/bin/javac Test.java    
bash-4.1# /usr/java/jdk1.7.0_09/bin/java Test    
null

--

Code:

public class Test  {
    public static void main(String[] args) {
    Integer l;
    l = Integer.getInteger(new String("10"));
    System.out.println(l);
    }
}


bash-4.1# /usr/java/jdk1.7.0_09/bin/javac Test.java
bash-4.1# /usr/java/jdk1.7.0_09/bin/java Test
null


--
Linux Version
bash-4.1# uname -a
Linux localhost 3.6.4 #2 SMP Thu Nov 1 11:31:12 CST 2012 x86_64 Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz GenuineIntel GNU/Linux



--
--
Saludos

Exito!!

Buscar en el Blog

Populares siempre