Debian Testing/Unstable xmltv update released (finally)

Posted on May 19th, 2007

by siyb

An upgrade for xmltv from version 0.5.45-2 to 0.5.45-3 was issued today. The upgrade finally fixes the bug in the tv_today grabber, that was due to design changes of the website.

  • bugtracker
  • Debian on Dell Inspiron 6400 (SID)

    Posted on May 13th, 2007

    by siyb

    This is a small tut explaining how to setup Debian SID on an Dell Inspirion 6400, if you encounter any problems please contact me in this post. The laptop is pretty Linux friendly and it’s not a hazzle to get the major features working. As Dell issues different models, I am just giving a small information about my system:

    Intel(R) Core(TM) Duo CPU T2350 @ 1.86GHz
    2048 mb ram
    160gig hdd
    nVidia Corporation Quadro NVS 110M / GeForce Go 7300
    IPW 3945

    Add your user to plugdev and powerdev:

    adduser $USER powerdev
    adduser $USER plugdev

    nVidia drivers:

    # get all required packets
    apt-get install nvidia-kernel-source nvidia-settings linux-headers-`uname -r` module-assistant build-essential

    # building the module
    cd /usr/src/linux-headers-`uname -r` && m-a a-i nvidia

    # edit the drivers option in your device section in /etc/xorg.conf
    Driver “nvidia”

    # get glx
    apt-get install nvidia-glx

    # stop gdm/kdm/xdm etc…
    /etc/init.d/gdm stop

    # load the module onto your kernel
    modprobe -v nvidia

    # start gdm/kdm/xdm again
    /etc/init.d/gdm start

    Next step wlan:

    # installing packages
    apt-get install firmware-ipw3945 ipw3945-source ipw3945d wireless-tools

    # building the module
    cd /usr/src/linux-headers-`uname -r` && m-a a-i ipw3945 && modprobe -v ipw3945

    # install network manager (on demand)
    apt-get install network-manager network-manager-gnome (or kde)

    # adding user to netdev group
    adduser $USER netdev

    # restart gdm/kdm/xdm
    /etc/init.d/gdm restart

    Sound:

    alsaconf

    Cpu frequency scaling:

    # first edit your /etc/modules file, add the following entries

    # frequency scaling
    speedstep_centrino
    cpufreq_ondemand
    cpufreq_conservative
    cpufreq_stats
    cpufreq_userspace
    cpufreq_powersave

    # after this reboot OR load all modules listed above manually
    modprobe -v $MODULE

    # install a cpu frequency scaling daemon and applet (in this case I choose powersaved and the emifreq applet)
    apt-get install powersaved emifreq-applet

    Disable internal speaker

    $EDITOR /etc/modprobe.d/blacklist

    # add the following line at the end
    blacklist pcspkr

    The SD cardreader worked without me having to modify anything. Vertical scrolling works fine too (touchpad), haven’t bothered to try to set up the horizontal scroll, due to the fact that I don’t really need it. I am still working to get the TV out working properly and will probably write a whole post an that later on.

    Battleships Server update

    Posted on April 8th, 2007

    by siyb

    I just completed the battleships_ship_data proc, which validates the shipdata sent in by clients. The next task is the completion of the bombardment proc, which should complete the Battleships server application. The implementation of the console client runs paralel to the development of the server, so that the completion of the server will enable you to play. The GUI client will hopefully be completed soon after the first beta release.

    You may take a look into “teh almighty devdirs” @ Xlernt or check the newest release of the server application here, in case you are keen on developing on own client in another language.

    Debian 4.0 Released

    Posted on April 8th, 2007

    by siyb

    Debian 4.0 was released earlier this day, reaad the official note for more information on this topic.

    http://lists.debian.org/debian-announce/debian-announce-2007/msg00002.html

    GPRS und UMTS mit E-Plus UMTS Notebook Card II alias Option GT 3G Quad

    Posted on April 5th, 2007

    by Zhenech

    Ich bin ja auf der ewigen Mission mein Laptop auch unterwegs im Netz haben zu können. Dazu habe ich ja bereits einige Experimente mit Vodafone und meinem 6230i gemacht, und anschließen das gleiche mit ALDI-Talk bzw E-Plus wiederholt, wodurch ich schonmal per GPRS surfen konnte. Da GPRS aber nur eine sehr magere Leistung von 2-4KB/s bringt, ist der Spaß beim Surfen eher gedämpft. Da muss eigentlich UMTS her, aber ich habe derzeit kein Gerät da (mein Vater hat ein Nokia 6288, aber der ist gerade nicht da). Praktischerweise ist heute früh aber meinem Cheff sein Notebook gestorben (Gruß an dieser Stelle an MSI - wieso bootet das Ding plötzlich nicht mehr?!) und er hatte da eine UMTS Karte von E-Plus drin. Habe ihn also vorhin im Büro angehauen und bis nächste Woche das Kärtchen ausgeliehen bekommen.

    Einstecken unf Funktionieren ist ja leider bei Linux nicht immer der Fall (obwohl es bei dieser Karte sein könnte), also erstmal ein wenig gegoogelt.
    Bei der von E-Plus als "UMTS Notebook Card II" vertrieben Karte handelt sich eigentlich um eine GlobeTrotter 3G Quad von Option, die sich beim Einstecken in den CardBus-Slot als USB-Controller meldet und auf diesem eine serielle Schnittstelle zum Modem anbietet.

    Damit die Karte nun tatsächlich funktioniert braucht man folgende drei Optionen im Kernel:
    CONFIG_USB_OHCI_HCD=m
    CONFIG_USB_SERIAL=m
    CONFIG_USB_SERIAL_OPTION=m

    Der erste Eintrag ist für den NEC USB-Chip, der zweite für die allgemeine USB-to-Serial Unterstützung und der letzte für eben diese Option Karte. Netterweise war der erste bei mir nicht gesetzt (ich habe hier sonst nur EHCI und UHCI) und deswegen wurde das erstmal nichts mit online. Kurz den Kernel kompiliert (nach mindestens 10 Minuten grübeln warum das nu nicht geht :() und schon flutscht es. Ich stecke die Karte rein und sehe folgendes in dmesg:

    pccard: CardBus card inserted into slot 0
    ohci_hcd: 2006 August 04 USB 1.1 ‘Open’ Host Controller (OHCI) Driver (PCI)
    PCI: Enabling device 0000:16:00.0 (0000 -> 0002)
    ACPI: PCI Interrupt 0000:16:00.0[A] -> GSI 16 (level, low) -> IRQ 17
    PCI: Setting latency timer of device 0000:16:00.0 to 64
    ohci_hcd 0000:16:00.0: OHCI Host Controller
    ohci_hcd 0000:16:00.0: new USB bus registered, assigned bus number 6
    ohci_hcd 0000:16:00.0: irq 17, io mem 0×50000000
    usb usb6: configuration #1 chosen from 1 choice
    hub 6-0:1.0: USB hub found
    hub 6-0:1.0: 1 port detected
    PCI: Enabling device 0000:16:00.1 (0000 -> 0002)
    ACPI: PCI Interrupt 0000:16:00.1[B ] -> GSI 16 (level, low) -> IRQ 17
    PCI: Setting latency timer of device 0000:16:00.1 to 64
    ohci_hcd 0000:16:00.1: OHCI Host Controller
    ohci_hcd 0000:16:00.1: new USB bus registered, assigned bus number 7
    ohci_hcd 0000:16:00.1: irq 17, io mem 0×50001000
    usb usb7: configuration #1 chosen from 1 choice
    hub 7-0:1.0: USB hub found
    hub 7-0:1.0: 1 port detected
    usb 7-1: new full speed USB device using ohci_hcd and address 2
    usb 7-1: configuration #1 chosen from 1 choice
    usbcore: registered new interface driver usbserial
    drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
    usbcore: registered new interface driver usbserial_generic
    drivers/usb/serial/usb-serial.c: USB Serial Driver core
    drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
    option 7-1:1.0: GSM modem (1-port) converter detected
    usb 7-1: GSM modem (1-port) converter now attached to ttyUSB0
    option 7-1:1.1: GSM modem (1-port) converter detected
    usb 7-1: GSM modem (1-port) converter now attached to ttyUSB1
    option 7-1:1.2: GSM modem (1-port) converter detected
    usb 7-1: GSM modem (1-port) converter now attached to ttyUSB2
    option 7-1:1.3: GSM modem (1-port) converter detected
    usb 7-1: GSM modem (1-port) converter now attached to ttyUSB3
    usbcore: registered new interface driver option
    drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1

    Entgegen allen Meldungen im Netz musste ich usbserial auch keine kryptischen Optionen mitgeben, es lief einfach.
    Wie man sieht wurden direkt vier Devices angelegt, und ich konnte das Modem auch über alle ansprechen. Jetzt noch kurz /dev/ttyUSB0 statt /dev/ttyACM0 vom Nokia in die /etc/ppp/peers/eplus-gprs eintragen und nach einem pon eplus-gprs ist man online. Vorrausgesetzt man hat auf der Karte die PIN deaktiviert, was ich habe. Irgendwie kann man dem die PIN aber auch übergeben.

    Nach einem kurzen Speedtest stellte ich jedoch fest, dass ich weiterhin nur GPRS hatte. Doof, dabei hieß es doch, man könnte UMTS mit ALDI-Talk nutzen (zumindest las ich das in Foren und bei teltarif.de, bei ALDI sagt man, das ginge nicht). Muss ich die Tage mal irgendwo in der Stadt testen, wo es gehen sollte (bei E-Plus weiß man nie…).

    Noch ein Tipp am Schluss, es gibt ein nettes Tool namens gcom bzw comgt (http://sourceforge.net/projects/comgt, unter Debian Etch/Sid reicht ein "apt-get install gcom"), damit kann man der Karte allerlei Informationen entlocken: gcom -d /dev/ttyUSB0.


    design: makequick.com | modificashuns and bugfixes by jesse
    bottom