Saturday, July 26, 2008

¡A partir de ya puedes encontrar la referencia a esta lap en www.linux-laptop.net!


Linux On Laptops

Sunday, October 28, 2007

Tarjeta Broadcom e Instalación de SuSE 10.3

Recién salió OpenSuSE 10.3 y no pude evitar la tentación; lo instalé en la laptop.

Problemas hasta el momento:

El dispositivo wireless que supuestamente debería usar el driver bcm43xx no funcionaba.
Al usar ifup se obtenía esa lectura:

ifup eth1
eth1 device: Broadcom Corporation BCM4318 [AirForce One 54g]
802.11g Wireless LAN Controller (rev 02)
SIOCSIFFLAGS: No such file or directory
Starting DHCP Client Daemon on eth1... . . . . . no IP address yet...
backgrounding.
SIOCSIFFLAGS: No such file or directory
Cannot enable interface eth1.
interface eth1 is not up

Lo cual significaba que se necesita un archivo en algún lugar y el sistema lo está buscando.

En los mensajes del kernel se puede leer esto:

Oct 27 01:45:17 linux network: Checking for the NetworkManager:
Oct 27 01:45:17 linux network: Checking for the NetworkManagerDispatcher:
Oct 27 01:45:17 linux network: Checking for the DHCP DBUS Daemon:
Oct 27 01:45:17 linux network: Starting the DHCP DBUS Daemon
Oct 27 01:45:17 linux network: Starting the NetworkManagerDispatcher
Oct 27 01:45:17 linux dhcdbd: Started up.
Oct 27 01:45:17 linux network: Starting the NetworkManager
Oct 27 06:45:17 linux kernel: eth0: link down
Oct 27 06:45:17 linux kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
Oct 27 06:45:17 linux kernel: bcm43xx: PHY connected
Oct 27 01:45:18 linux firmware.sh[4391]: Cannot find firmware file 'bcm43xx_microcode5.fw'

NOTA: Observar que esta invocando ese script

Oct 27 06:45:18 linux kernel: bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.

Oct 27 06:45:18 linux kernel: bcm43xx: core_up for active 802.11 core failed (-2)
Oct 27 06:45:19 linux kernel: ip6_tables: (C) 2000-2006 Netfilter Core Team
Oct 27 01:45:20 linux SuSEfirewall2: Warning: ip6tables does not support state matching. Extended IPv6 support disabled.
Oct 27 01:45:20 linux SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
Oct 27 01:45:20 linux SuSEfirewall2: using default zone 'ext' for interface eth0
Oct 27 01:45:20 linux SuSEfirewall2: using default zone 'ext' for interface eth1
Oct 27 06:45:20 linux kernel: Netfilter messages via NETLINK v0.30.
Oct 27 06:45:20 linux kernel: nf_conntrack version 0.5.0 (2042 buckets, 16336 max)
Oct 27 01:45:20 linux SuSEfirewall2: batch committing...
Oct 27 01:45:21 linux SuSEfirewall2: Firewall rules successfully set
Oct 27 01:45:21 linux network: Checking for the NetworkManager:
Oct 27 01:45:21 linux network: Checking for the NetworkManagerDispatcher:
Oct 27 01:45:21 linux network: Checking for the DHCP DBUS Daemon:
Oct 27 01:45:21 linux network: Shutting down the NetworkManager
Oct 27 06:45:22 linux kernel: bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
Oct 27 06:45:22 linux kernel: bcm43xx: core_up for active 802.11 core failed (-2)
Oct 27 01:45:22 linux firmware.sh[4561]: Cannot find firmware file 'bcm43xx_microcode5.fw'
Oct 27 06:45:22 linux kernel: SoftMAC: Associate: Scanning for networks first.
Oct 27 06:45:22 linux kernel: SoftMAC: Associate: failed to initiate scan. Is device up?
Oct 27 06:45:22 linux kernel: bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
Oct 27 06:45:22 linux kernel: SoftMAC: Associate: Scanning for networks first.
Oct 27 06:45:22 linux kernel: SoftMAC: Associate: failed to initiate scan. Is device up?
Oct 27 06:45:22 linux kernel: bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0
Oct 27 01:45:26 linux network: Shutting down the DHCP DBUS Daemon
Oct 27 01:45:26 linux dhcdbd: Shut down.
Oct 27 01:45:26 linux network: Shutting down the NetworkManagerDispatcher
Oct 27 01:45:26 linux network: Starting the DHCP DBUS Daemon
Oct 27 01:45:26 linux network: Starting the NetworkManagerDispatcher
Oct 27 01:45:26 linux network: Starting the NetworkManager
Oct 27 06:45:26 linux kernel: eth0: link down
Oct 27 06:45:26 linux kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
Oct 27 01:45:26 linux dhcdbd: Started up.
Oct 27 01:45:27 linux firmware.sh[4617]: Cannot find firmware file 'bcm43xx_microcode5.fw'
Oct 27 06:45:27 linux kernel: bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not available or load failed.
Oct 27 06:45:27 linux kernel: bcm43xx: core_up for active 802.11 core failed (-2)
Oct 27 01:45:29 linux SuSEfirewall2: batch committing...
Oct 27 01:45:29 linux SuSEfirewall2: Firewall rules unloaded.
Oct 27 01:45:29 linux SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
Oct 27 01:45:29 linux SuSEfirewall2: batch committing...
Oct 27 01:45:29 linux SuSEfirewall2: Firewall rules successfully set

El kernel estaba buscando a través de este script /lib/udev/firmware.sh el firmware y en ese scritpt menciona que busca dicha información en/usr/local/lib/firmware/.
Al usar bcm43xx-fwcutter se forman varios archivos entre ellos bcm43xx_microcode5.fw y moví dichos archivoss a /usr/local/lib/firmware/ directorio que porcierto tuve que crear.

Despues de eso la lectura en el kernel cambió a:


Oct 28 11:53:30 linux-pavillion ifup-dhcp: Starting DHCP Client Daemon on eth1...
Oct 28 11:53:30 linux-pavillion ifup-dhcp: .
Oct 28 11:53:30 linux-pavillion kernel: bcm43xx: Microcode rev 0x13f, pl 0xb (2006-03-15 21:28:24)
Oct 28 11:53:30 linux-pavillion kernel: bcm43xx: Firmware: no support for microcode extracted from version 4.x binary drivers.
Oct 28 11:53:30 linux-pavillion kernel: bcm43xx: core_up for active 802.11 core failed (-95)
Oct 28 11:53:30 linux-pavillion dhcpcd[15730]: dhcpStart: ioctl SIOCSIFFLAGS: Operation not supported
Oct 28 11:53:31 linux-pavillion ifup-dhcp: .
Oct 28 11:53:35 linux-pavillion ifup-dhcp: no IP address yet... backgrounding.

Y definitivamente a pesar de todos mis intentos no funcionó. Lo dejaré para la proxima versión de OpenSuSE.

Solución:

Usar ndiswrapper.

Los pasos son los mismos que usé el 14 de Octubre del 2006

linux-pavilion:/home/user/sp # /usr/sbin/ndiswrapper -i bcmwl5.inf
installing bcmwl5 ...
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
linux-pavilion:/home/user/sp #
linux-pavilion:/home/user/sp # /usr/sbin/ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4318) present (alternate driver: bcm43xx)
linux-pavilion:/home/user/sp #

linux-pavilion:/home/user/sp # /usr/sbin/ndiswrapper -m

Adding "alias wlan0 ndiswrapper" to /etc/modprobe.conf
linux-pavilion:/home/user/sp #


Y cambia muchísimo al usar YaST, aunque se hace demasiado simple

Solo es necesario crear un nuevo dispositivo wireless que se active en el arranque
wlan0

No es necesario indicarle que use ndiswrapper, no es necesario indicar el "bus-pci" ni la "irq", de hecho tratar de hacerlo solo lo lleva a uno a la frustración.

Basta reiniciar y listo hay wireless.

Saturday, December 23, 2006

Pendientes a manejar:


Gráficos y Memoria de Video
• ATI RADEON XPRESS 200M Con 128Mb de memoria DDR (Independiente)

Conexión Firewire
No le he probado, pero ni en Windows(TM), así que no se si funcione

Friday, December 22, 2006

Con el objetivo de poder usar un kernel más nuevo en la laptop y poder explotar el lector de tarjetas SD, instalé el nuevo SuSE 10.2 que usa el 2.6.18.2-34-default que ya tiene en su menu estas opciones:

CONFIG_MMC=m
# CONFIG_MMC_DEBUG is not set
CONFIG_MMC_BLOCK=m
CONFIG_MMC_SDHCI=m

y así deben ser manejadas como (m) y de hecho es la configuración por defult que maneja SuSE, así que en teoría debería funcionar el lector de tarjetas sin mas modificaciones, pero esto no es así, necesita un pequeño manejo para funcionar que viene descrito en este sitio de internet: http://www.webcon.ca/~imorgan/tifm21/ y es así:

setpci -s 06:04.3 4c.b=02

habiendo obtenido este dato 06:04.3 de aquí:

lspci

06:04.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
06:04.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
06:04.4 Generic system peripheral [Class 0805]: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller


Y listo funciona.

Pero, hay que hacerlo cada vez que se inicia nuevamente la computadora, aunque para evitarlo he agregado ese comando el siguiente archivo:

vi /etc/init.d/rc

lo agregué al final y listo no afecta al arranque y si me carga correctamente el lector de tarjetas SD.

El resto de las configuraciones son practicamente iguales a excepción de la usada para la tarjeta wireless que al parecer ya la detecta, aunque desconozco que tanto porque en un acto de distracción total instalé ndiswrapper y posiblemente obstaculice al driver correcto:

CONFIG_BCM43XX=m
CONFIG_BCM43XX_DEBUG=y
CONFIG_BCM43XX_DMA=y
CONFIG_BCM43XX_PIO=y
CONFIG_BCM43XX_DMA_AND_PIO_MODE=y
# CONFIG_BCM43XX_DMA_MODE is not set
# CONFIG_BCM43XX_PIO_MODE is not set

Así que no se si funciona desde la instalación, cargue ndiswrapper y simplemente le indique en YaST en el selector de tarjetas de red que la tarjeta que me detecta como nx6125 es mi tarjeta de wifi y que use el driver
ndiswrapper como lo había hecho en el SuSE 10.1.


Invito a que alguien lo pruebe en un futuro sin usar ndiswrapper. Que a mi no me interesa volver a reinstalar porque ya todo funciona a la perfección.

Y solo me hace falta probar el firewire, pero tambien necesito de algún Gadget para probarlo.

Thursday, November 16, 2006

El control remoto funciona

En realidad no fué necesario ninguna configuración, en realidad era falta de confianza al hardware
tal como encontré en otras páginas de www.linux-on-laptops.com funciona sin necesidad de usar
LIRC o de configuración alguna.
Su único problema era que al tocar cada tecla en la presentación de diapositivas pasaban 3 o más en lugar de solo una, se corrigió fácilmente aumentando el retraso en la sensibilidad de repetición del teclado.

Esto lo corregí en el Centro de Control de KDE. >> Periféricos >> Teclado.
Los usuarios de Gnome pueden hacer lo mismo en gnome system » preferences » keyboard settings.


Thursday, October 19, 2006

Bien desconozco si sea buena idea elegir desde la instalación este teclado ( Latinoamericanco 102 teclas) pero hoy decidí hacer la prueba para usar las teclas tal y como vienen en este teclado, pues no estaban funcionando correctamente los acentos.

así que elegí el teclado latinoamericano y a pesar de que el teclado se define como de 101 teclas funcionó correctamente solo cuando seleccione 102 (intl).

Esta es la imagen de YaST2


Monday, October 16, 2006

Compré una Deskjet F380, para conectarla a la laptop. Y lo volví a hacer, compré hardware y ahora voy a ver como lo configuro.

La distro no tiene el archivo PPD necesario para instalar la impresora por lo tanto lo tuve que buscar y este enlace tiene la información necesaria:

http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_F380


Aunque el archivo lo encontré en la descripción de hpijs Si bien el archivo PPD con el que instalé la impresora es el de la Deskjet F300 Claro instalando la impresora como Deskjet F300 series. En estos momentos la función de la impresora funciona muy bien. Aún no logro que funcione el Scanner, pero pronto habrá de ceder.