• Revista PROGRAMAR: Já está disponível a edição #53 da revista programar. Faz já o download aqui!

CR_

Toshiba Satellite A200 -1GB Debian Lenny / Testing

7 mensagens neste tópico

[code][code]http://pt.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/jsp/productPage.do?service=PT&PRODUCT_ID=131748&toshibaShop=false


Não consegui pôr a funcionar o leitor de cartões com cartões do tipo xD (os SD funcionam) e ainda não experimentei o bluetooth com nenhum dispositivo. O resto ou funcionou à primeira ou como mostro aqui:


Placa gráfica - Radeon HD 2600
#aptitude install libstdc++5 

Sacar os drivers do site da ATI
sh ./ati-driver-installer-8.XXXXX-x86.x86_64.run --buildpkg Debian/testing

#dpkg -i fglrx-amdcccle_8.XXXXX_i386.deb
#dpkg -i fglrx-driver_8.XXXXX_i386.deb
#dpkg -ifglrx-driver-dev_8.XXXXX_i386.deb
#dpkg -i fglrx-kernel-src_8.XXXXX_i386.deb

(PS: Nalguns drivers mais recentes tenho que além disto instalar manualmente (sem criação de pacotes apenas #sh ./ati-driver-installer-8.XXXXX-x86.x86_64.run ) e depois ir à pasta /usr/modules/fglrx/build_mod/ e #sh make.sh  e ir a /usr/modules/fglrx/ e instalar #sh make_install.sh . Ver xorg.conf no fim.

Wireless

Intel® Wireless WiFi™ Link 4965AGN

$http://www.intellinuxwireless.org/iwlwifi/downloads/iwlwifi-4965-ucode-4.44.1.20.tgz
$tar xvf iwlwifi-4965-ucode-4.44.20.tgz
#cp iwlwifi-4965-ucode-4.44.XXXX/iwlwifi-4965.ucode /lib/firmware/

#aptitude install linux-headers

$http://www.intellinuxwireless.org/iwlwifi/downloads/iwlwifi-1.2.22.tgz
$tar xvf iwlwifi-1.22.0.tgz
$cd iwlwifi-1.22.0 
$make
#make install

[eu tive que fazer um link simbólico para as sources do kernel  # ln -s /usr/src/linux-source-2.6.22 /lib/modules/2.6.22-3-686/source]

% dmesg -c > /dev/null

% ./load debug=0x43fff

Verify that loading succeeds without any errors in the kernel:

% dmesg -c

Bring up the interface so it can be configured:

% ifconfig wlan0 up

Verify that you can scan and see access points:

% iwlist wlan0 scan

Associate to your network:

% iwconfig wlan0 essid XXXXXX

If you use WEP encryption, configure your key:

% iwconfig wlan0 key [1] ...your key in hex...

% iwconfig <-- Verify that you are associated

% dhcpcd wlan0

in:  http://intellinuxwireless.org/

Webcam:

#aptitude install linux-uvc-modules-2.6.22-2-686

#modprobe uvcvideo

ou

#aptitude install linux-uvc-source

#m-a update

#m-a prepare

#m-a build uvcvideo

#m-a install uvcvideo

#depmod -a

#modprobe uvcvideo

ou

$svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk

$cd trunk

$make

#make install

#depmod -a

#modprobe uvcvideo

Som

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller

O som funciona logo após instalar com excepção dos headphones.

Instalei a última versão do alsa.

No entanto sugiro que primeiro façam:

# sudo gedit /etc/modprobe.d/alsa-base

alterar e pôr:

options snd-hda-intel model=toshiba

Reboot e ver nas opções de som (alsamixer, gnome-volume-control, etc)

Se não funcionar:

$ wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.15.tar.bz2

$ tar -xvjf alsa-driver-1.0.15.tar.bz2

$ cd alsa-driver-1.0.15

$ ./configure

$ make

# sudo make install

# sudo gedit /etc/modprobe.d/alsa-base

alterar e por:

options snd-hda-intel model=toshiba

Wacom:

#aptitude install wacom-tools

Adicionar a /etc/X11/xorg.conf

Section "InputDevice"
Identifier   "stylus"
Driver	     "wacom"
Option	     "Type" "stylus"
Option	     "Mode" "Absolute"
Option	     "USB" "on"
Option	     "Threshold" "10"
Option	     "Tilt" "on"
Option	     "Device" "/dev/input/wacom"
EndSection

Section "InputDevice"
Identifier   "eraser"
Driver	     "wacom"
Option	     "Type" "eraser"
Option	     "Mode" "Absolute"
Option	     "USB" "on"
Option	     "Tilt" "on"
Option	     "Threshold" "10"
Option	     "Device" "/dev/input/wacom"
EndSection

Section "InputDevice"
Identifier   "cursor"
Driver	     "wacom"
Option	     "Type" "cursor"
Option	     "Mode" "Relative"
Option	     "USB" "on"
Option	     "Threshold" "10"
Option	     "Device" "/dev/input/wacom"
EndSection

Section "InputDevice"
   Identifier "pad"
   Driver "wacom"
   Option "Device" "/dev/input/wacom"
   Option "Type" "pad"
   Option "USB" "on"
EndSection 

Tema de icons:

http://www.gnome-look.org/content/show.php/nuoveXT+2?content=56625

Fontes:

#aptitude install msttcorefonts

683378systemfonts.png

685350firefox_fonts.png

$ lsusb
Bus 007 Device 001: ID 0000:0000  
Bus 006 Device 002: ID 04f2:b008 Chicony Electronics Co., Ltd 
Bus 006 Device 001: ID 0000:0000  
Bus 005 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000 

$ lspci
00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PCI Express Root Port (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation Mobile LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation Mobile IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Mobile SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 9581
01:00.1 Audio device: ATI Technologies Inc Unknown device aa08
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01)
05:00.0 Network controller: Intel Corporation Unknown device 4229 (rev 61)
06:00.0 Memory controller: Intel Corporation Unknown device 444e (rev 01)
0c:04.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
0c:04.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
0c:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
0c:04.3 Generic system peripheral [0805]: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller

/etc/X11/xorg.conf

# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
EndSection
Section "Module"
	Load		"i2c"
	Load		"bitmap"
	Load		"ddc"
	Load		"dri"
	Load		"extmod"
	Load		"freetype"
	Load		"glx"
	Load		"int10"
	Load		"vbe"
	Load "dbe"
	Load	"v4l"
EndSection
Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"pt"
EndSection
Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
EndSection
Section "InputDevice"
	Identifier   "stylus"
	Driver	     "wacom"
	Option	     "Type" "stylus"
	Option	     "Mode" "Absolute"
	Option	     "USB" "on"
	Option	     "Threshold" "10"
	Option	     "Tilt" "on"
	Option	     "Device" "/dev/input/wacom"
EndSection
Section "InputDevice"
	Identifier   "eraser"
	Driver	     "wacom"
	Option	     "Type" "eraser"
	Option	     "Mode" "Absolute"
	Option	     "USB" "on"
	Option	     "Tilt" "on"
	Option	     "Threshold" "10"
	Option	     "Device" "/dev/input/wacom"
EndSection
Section "InputDevice"
	Identifier   "cursor"
	Driver	     "wacom"
	Option	     "Type" "cursor"
	Option	     "Mode" "Relative"
	Option	     "USB" "on"
	Option	     "Threshold" "10"
	Option	     "Device" "/dev/input/wacom"
EndSection
Section "InputDevice" #não, não tenho wacom nenhuma foi só para testar uma vez 
   Identifier "pad"
   Driver "wacom"
   Option "Device" "/dev/input/wacom"
   Option "Type" "pad"
   Option "USB" "on"
EndSection 
Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection
Section "Device"
	Identifier	"ATI Technologies Inc ATI Default Card"
	Driver		"fglrx"
	BusID		"PCI:1:0:0"
	Option		"UseFBDev"		"true"
        Option          "AllowGLXWithComposite"         "true"
        Option          "XAANoOffscreenPixmaps"         "true"
EndSection
Section "Monitor"
	Identifier	"Monitor Genérico"
	Option		"DPMS"
EndSection
Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies Inc ATI Default Card"
	Monitor		"Monitor Genérico"
	DefaultDepth	24
	SubSection "Display"
		Modes		"1280x800" "1152x864" "1152x768" "1024x768"
	EndSubSection
EndSection
Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
	InputDevice    "stylus"	   "SendCoreEvents"
	InputDevice    "eraser"	   "SendCoreEvents"
	InputDevice    "cursor"	   "SendCoreEvents"
	InputDevice    "pad"	   ""
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection

[/code][/code]

Bluetooth:

Instalei o módulo omnibook usando este método: http://ubuntuforums.org/showthread.php?t=316358

Note: The project website at http://omnibook.sourceforge.net seems to no longer be available. While it appears to no longer be maintained, the source code is still available from http://sourceforge.net/projects/omnibook. As it may no longer be maintained, it is probably a good idea to find an alternative to this module. Unfortunately, I have not had the time (or need as yet) to search for a usable alternative.

HOWTO: Toshiba Laptop (with Phoenix BIOS) and built-in Bluetooth

I hope somebody will find this useful. I have seen a few people with problems using bluetooth on the Phoenix BIOS models of Toshiba laptops, in this forum and elsewhere on the internet (while searching for answers to this problem).

This is a subject that is sorely lacking all over the place. There are wonderful utilities (or seemingly so, as I cannot use them) for Toshiba models that do not have a Phoenix BIOS, but rather a Toshiba BIOS, such as the “toshset” utility.

Toshiba models that use a Phoenix BIOS cannot use the toshset utility. This is a problem when you wish to use bluetooth. I came across a utility originally for the HP Omnibook, with support for various Toshiba (notably those with a Phoenix BIOS) and Acer models.

The omnibook module is written by Mathieu Bérard, and all credit goes to him.

I have a Toshiba Satellite Pro M70-235 (available in Europe, Africa, and I guess the Middle East – as those regions tend to be grouped as EMEA – but I am unsure about the US), with the following specs:

Pentium M 1.86GHz

512 MB RAM (Upgraded to 1GB)

60GB HDD

DVD Writer

ATI X700

WiFi

Bluetooth

In short, its a powerful machine, but has everything required for mobility and ease of use etc (such as I will require bluetooth for using my phone as a GPRS modem when I am away from home this Christmas).

I was very worried today that I might have to reinstall Windows after wiping it off (again) so that I would be able to use Bluetooth.

The problem is this: The Toshiba bluetooth radio is disabled at boot, and it can only be enabled with a particular ACPI call. In Windows, you hit the Enable Bluetooth Radio button, and on you go. In GNU/Linux, you ... spend hours on the Internet and give up. Or maybe you find the omnibook sourceforge project (who would look there for a Toshiba problem?), which allows (through the /proc filesystem) control of things like the WiFi and Bluetooth radios. At least, that is all I have used it for. presumably, you can also use it to set up the multimedia buttons and whatnot, which I may have a bash at soon, but bluetooth was the big thing for me.

The omnibook project can be found at http://omnibook.sourceforge.net

Only source code is available, and you HAVE TO (!!!!!) use the svn trunk. At the time of writing this, the latest source package available on sourceforge did not work for me!

Before you download the required packages, and build, install and attempt to use the omnibook kernel module, head over to the supported laptops list and see if your machine (or a similar machine, if you feel daring) is listed. Note the number next to the name of the machine (in my case, the Toshiba Satellite M70 has a value of 12 for the ectype field). You may need this value if your machine is not directly supported (as mine was not – i.e. the module did not detect what options it should load as I have a Satellite Pro, different from the Satellite listed there).

Packages that you will need in order to download and build the omnibook kernel module:

subversion
build-essential
linux-source

note that linux source is fairly large (in the region of 40 MB). I am not certain if this is required, but it is listed clearly as a dependency in the original install instructions.

You should probably also install the linux-headers package relating to your kernel, for instance linux-headers-generic

So, simply issue this command to install them:

$ sudo apt-get install subversion build-essential linux-source linux-headers-generic

make a folder in your home directory called “omnibook”, and use svn (subversion) to download the latest omnibook module sources:

$ cd ~
$ mkdir omnibook
$ cd omnibook
$ svn co https://omnibook.svn.sourceforge.net/svnroot/omnibook/omnibook/trunk

you will get notification of each file downloaded, and when it is done, you need to cd into the trunk folder:

$ cd trunk

now, you need to build and install the module:

$ make
$ sudo make install

load the module by performing the following command (which will run depmod and modprobe for you):

$ sudo make load

now, cd to /proc/omnibook/ (which should now exist)

$ cd /proc/omnibook
$ ls

There should be, at the very least, two files listed there:

dmi

version

If these are the only two files listed, then your machine is not supported directly. I will get to working around that in a second. If you have other files listed there, like wifi, bluetooth, lcd, temparature, touchpad, or others, then your machine is supported and you can enable bluetooth by using the following command:

$ sudo su
# echo 1 > bluetooth

(I do the “sudo su” to get a root console because a normal “sudo echo 1 > bluetooth” does not work. More on this later, and how to fix it)

To disable:

$ sudo su
# echo 0 > bluetooth

The same can be done for wifi.

You can also get information about each item by doing this:

$ sudo cat bluetooth

To stop having to use a root console to set the paramaters, load the module with this option: “userset=1”

so, instead of running “make load” as we did earlier, do this:

$ sudo depmod -a
$ sudo modprobe omnibook userset=1

now a normal user will be able to enable/disable bluetooth, or edit any other omnibook paramater:

$ echo 1 > bluetooth

Once bluetooth is enabled using this method, you will be able to use it as normal. Issue a "hcitool dev" command in the console and you should get this:

$ hcitool dev
Devices:
        hci0    xx:xx:xx:xx:xx:xx
$

xx:xx:xx:xx:xx:xx

is your bluetooth HW address

where before you had this:

$ hcitool dev
Device:
$

If you do not have the settings files (such as bluetooth and wifi), but only have the dmi and version files, all is not lost if you feel like taking a risk. If your computer is similar to one of the models listed as supported, I think this is a small risk, but if it is completely different.. well, here is the warning from the website:

I take no responsibility for damaged caused by loading the module on an unsupported machine.

Here is where you need the “ectype” from the supported laptop list described above (the number in the column next to the laptop model – 12 in my case)

when you load the module, you will need to specify the ectype as a module option:

$ sudo depmod -a
$ sudo modprobe omnibook ectype=12

You should now have a list of files something like this in /proc/omnibook

blank

bluetooth

display

dmi

hotkeys

lcd

temperature

touchpad

version

wifi

You can make the module start on boot:

make a file called omnibook.modprobe in /etc/modprobe.d/ and place the module options in it:

options omnibook ectype=12 userset=1

append “omnibook” to /etc/modules to load it at boot:

$ sudo su
# echo “omnibook” > /etc/modules

You can also run this command to get a list of module options:

$ modinfo omnibook

then you can disable support for various elements completely. For instance, using bluetooth=0 as a module option will prevent the bluetooth file from showing up in /proc/omnibook and thus prevent you from modifying it.

see http://omnibook.sourceforge.net for full documentation to discover what else you can do with this utility.

EDIT: See post #3 below for my issues with omnibook.

EDIT (13-12-2007): Update the URL to the SVN repository (It changed, and the one on the website is also incorrect....).

0

Partilhar esta mensagem


Link para a mensagem
Partilhar noutros sites

Os cartões é que também não consegui pôr a dar de resto acho que tenho tudo a funcionar também :D. Caso descubras como se mete os cartões a dar avisa ;).

0

Partilhar esta mensagem


Link para a mensagem
Partilhar noutros sites

Funcionou :) Muito obrigado Black Tiger III :D

Afinal a minha página já teve utilidade para alguém :thumbsup:

0

Partilhar esta mensagem


Link para a mensagem
Partilhar noutros sites

Crie uma conta ou ligue-se para comentar

Só membros podem comentar

Criar nova conta

Registe para ter uma conta na nossa comunidade. É fácil!


Registar nova conta

Entra

Já tem conta? Inicie sessão aqui.


Entrar Agora