General TC > Tiny Core Netbooks

HOWTO: Install and tweak Tiny Core for the Eee 900

<< < (2/3) > >>

spence91:
This tutorial is probably generic enough to be considered a guide for most netbooks out there.

Did you get anywhere with the eee-specific stuff? like the hardware toggles (turn wireless modules on/off, volume, screen brightness etc)?

i'm currently trying to find a way to turn the wireless module on and off for my EEEpc, but i'm really struggling with it.

OldAdamUser2:
I'm pleased that you think the tutorial is helpful, Spence. On my Eee some of the function keys work fine. Screen brightness works fine--but its helpful to know the code for "overclocking" the brightness:

sudo setpci -s 00:02.1 f4.b=ff

Sound can be adjusted using flit.

Suspend does not work, and sleep (which can be enabled with a bit of code) doesn't save any battery power so its not useful. TC boots up and shuts down so quickly that I just deal with it that way.

I don't know how to implement a software switch for the wifi radio. It would be handy, but I usually want wifi on anyway.

Pats:
Hi OldAdamUser2 !
Thanks ! You have done a very decent job here, a very thorough and detailed Tuts for everyone - newbees & ecperiennced as well !! You can be a good teacher and Tech. Writer, I think !

Although many have given How to set-up TCl here,If you add-up:
Dial-up setup, wget, rsysnc, sendmail/Qmail, fetchmail, ftp, firewall, printer-setup and some often used little apps here, I think - it will be a complete TCL tutorial for everyone !

Carry-on pl. - if time permits you and interested to do so! :)

~ Pats

spence91:
I had a quick look at getting the wireless toggle to work over the weekend. It looks like it will require several modules that the standard TCL kernel is missing.

I don't know an awful lot about building modules but i'll have a go this evening, see if i get anywhere.

Once that is done then it may be worth building a package that can configure TCL to run well on the eeepc range of devices.

OldAdamUser2:

--- Quote from: spence91 on January 15, 2010, 05:48:13 AM ---This tutorial is probably generic enough to be considered a guide for most netbooks out there.

Did you get anywhere with the eee-specific stuff? like the hardware toggles (turn wireless modules on/off, volume, screen brightness etc)?

i'm currently trying to find a way to turn the wireless module on and off for my EEEpc, but i'm really struggling with it.

--- End quote ---

sringh and jemimah at eeeuser.com modified some code for Puppy Linux that allows wireless to be toggled on and off. The script needs to be run as root (i.e., sudo) and the last two lines of code before esac may not be needed for the Eee 700 but are necessary for my 900:


--- Quote ---#!/bin/sh

#RADIO_CONTROL='/sys/devices/platform/eeepc/rfkill/rfkill0/state'
RADIO_CONTROL=$(find /sys/devices/ | grep ASUS | grep rfkill | grep state)
RADIO_STATE=$(cat $RADIO_CONTROL);

#WIFI_IF=$(cat /etc/acpi/wifi-interface)
WIFI_IF='wlan0'
#WIFI_DRIVER=$(cat /etc/acpi/wifi-driver)
WIFI_DRIVER='ath5k'


case $RADIO_STATE in
    1)
    #killall yaf-splash
        #yaf-splash -display :0 -margin 2 -bg lightblue -placement top -font "9x15B" -outline 0 -timeout 1 -text "Shutting Down $WIFI_IF"
  echo "Shutting Down $WIFI_IF"
    #wpa_cli terminate
    /usr/local/sbin/dhcpcd -k $WIFI_IF
        ifconfig $WIFI_IF down 2>/dev/null
        sleep 1
    rmmod $WIFI_DRIVER
    sleep 1
           echo 0 > $RADIO_CONTROL
    ;;
    0)
#    killall yaf-splash
#        yaf-splash -display :0 -margin 2 -bg lightblue -placement top -font "9x15B" -outline 0 -timeout 1 -text "Bringing Up $WIFI_IF"
  echo "Bringing Up $WIFI_IF"
        echo 1 > $RADIO_CONTROL
        sleep 1
        modprobe $WIFI_DRIVER 2>/dev/null
        sleep 1
    #/usr/local/Pwireless2/start-wpa&
    iwconfig wlan0 essid any
    udhcpc -i wlan0
        ;;
esac
--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version