View previous topic :: View next topic |
Author |
Message |
tuxlover Apprentice
Joined: 21 Oct 2003 Posts: 297 Location: weltweit
|
Posted: Mon Oct 27, 2003 2:32 pm Post subject: centrino wlan using linuxant works. |
|
|
This was reported to me today by email:
Centrino (Intel) WLAN works under linux by using the NDIS-Wrapper by Linuxant for linux. This means that you can use the Windows XP drivers.
This thing is not free; there's a 30 day trial version available. They have Red Hat, Suse, and Mandrake binary packages, and sources as rpm, deb, and tar.
Have fun, and post your results. I don't have any kind of access point available to try it unfortunately. |
|
Back to top |
|
|
miju n00b
Joined: 25 Sep 2003 Posts: 15 Location: Germany
|
Posted: Tue Oct 28, 2003 7:32 pm Post subject: IRDA |
|
|
Hi,
i got IRDA work on my Laptop.
I used the hints of Rolf Lüttecke www.rolf-luettecke.de/.
Then i modified the irda runscript.
A small howto:
1. I compiled these Modules into my 2.4.22-ac4 kernel:
Code: | IrDA (infrared) support --->
<M> IrDA subsystem support x x
x x --- IrDA protocols x x
x x <M> IrLAN protocol x x
x x <M> IrCOMM protocol x x
x x [*] Ultra (connectionless) protocol x x
x x --- IrDA options x x
x x [*] Cache last LSAP x x
x x [*] Fast RRs (low latency) x x
x x [ ] Debug information x
IrDA (infrared) support ---> Infrared-port device drivers --->
--- SIR device drivers x x
x x <M> IrTTY (uses Linux serial driver) x x
x x <M> IrPORT (IrDA serial driver) x x
x x --- Dongle support x x
x x [ ] Serial dongle support x x
x x --- FIR device drivers x x
x x <M> IrDA USB dongles (Experimental) x x
x x <M> NSC PC87108/PC87338 |
2. do emerge irda-utils
3. Create or modify /etc/conf.d/irda as follows:
Code: | IRDA=yes
IRDADEV=/dev/ttyS2
#Set (optional) Dongle name here
#DONGLE=actisys+
DISCOVERY=yes |
4. Create or modify /etc/modules.d/irda as follows:
Code: | # IrDA over a normal serial port, or a serial port compatible IrDA port (SIR)
alias tty-ldisc-11 irtty
# IrCOMM (for printing, PPP, Minicom etc)
alias char-major-161 ircomm-tty # if you want IrCOMM support
# To be able to attach some serial dongles
# These values are hard-coded in irattach (not instance order)
alias irda-dongle-0 tekram # Tekram IrMate IR-210B
alias irda-dongle-1 esi # ESI JetEye
alias irda-dongle-2 actisys # Actisys IR-220L
alias irda-dongle-3 actisys # Actisys IR-220L+
alias irda-dongle-4 girbil # Greenwich GIrBIL
alias irda-dongle-5 litelink # Parallax LiteLink/ESI JetEye
alias irda-dongle-6 airport # Adaptec Airport 1000 and 2000
alias irda-dongle-7 old_belkin # Belkin (old) SmartBeam dongle
alias irda-dongle-8 ep7211_ir # Cirrus Logic EP7211 Processor (ARM)
alias irda-dongle-9 mcp2120 # MCP2120 (Microchip) based
alias irda-dongle-10 act200l # ACTiSYS Ir-200L
alias irda-dongle-11 ma600 # Mobile Action ma600
# To use the FIR driver. This applies only to the specific device!!!
options nsc-ircc dongle_id=0x09 # NSC driver on a IBM Thinkpad laptop
alias irda0 nsc-ircc |
5. do modules-update
6. Create or modify /etc/init.d/irda as follows:
Code: | #!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-x86/sys-apps/irda-utils/files/irda.rc,v 1.2 2003/02/14 23:26:04 vapier Exp $
checkconfig() {
if [ -z "$IRDA" ] || [ -z "$IRDADEV" ] ; then
eerror "You need to setup IRDA and IRDADEV in /etc/conf.d/irda first"
return 1
fi
}
start() {
checkconfig || return 1
# Check that irda is enabled.
[ ${IRDA} = "no" ] && return 1
[ -f /usr/sbin/irattach ] || return 1
local ARGS=""
if [ $DONGLE ]; then
ARGS="$ARGS -d $DONGLE"
fi
if [ "$DISCOVERY" = "yes" ];then
ARGS="$ARGS -s"
fi
# Attach irda device
ebegin "Starting IrDA"
/bin/setserial -- /dev/ttyS1 uart none
/sbin/modprobe -- nsc-ircc irq=3 dma=3 io=0x2f8 dongle_id=0x09
start-stop-daemon --start --quiet --pidfile /var/run/irattach.pid \
--exec /usr/sbin/irattach -- irda0 -s
eend ${?}
}
stop() {
ebegin "Shutting down IrDA"
start-stop-daemon --stop --quiet --pidfile /var/run/irattach.pid
/sbin/rmmod -- nsc-ircc
eend ${?}
}
|
7. do rc-update add irda default
Well, this worked for me. I hope for you, too.
Try the command irdadump to test if it works.
Last edited by miju on Wed Oct 29, 2003 6:21 pm; edited 1 time in total |
|
Back to top |
|
|
Fladnag n00b
Joined: 27 May 2003 Posts: 36 Location: Reading, UK
|
Posted: Tue Oct 28, 2003 10:02 pm Post subject: |
|
|
I had a go with the driver loader, with mixed results. The drivers load and I can scan and see access points (yay!) but unfortunately trying to set the essid results in either a segfault or kernel panic (boo!).
I'll try it with another kernel at some point. Any one else had any luck? _________________ Acer TM80x - Manual |
|
Back to top |
|
|
feffi Apprentice
Joined: 29 Mar 2003 Posts: 216 Location: Sol->Earth->Germany->Giessen
|
Posted: Wed Oct 29, 2003 9:40 am Post subject: Re: centrino wlan using linuxant works. |
|
|
tuxlover wrote: | This was reported to me today by email:
Centrino (Intel) WLAN works under linux by using the NDIS-Wrapper by Linuxant for linux. This means that you can use the Windows XP drivers.
This thing is not free; there's a 30 day trial version available. They have Red Hat, Suse, and Mandrake binary packages, and sources as rpm, deb, and tar.
Have fun, and post your results. I don't have any kind of access point available to try it unfortunately. |
I would think about intergrating a shareware-module into my kernel!
I think the best way is to stay patient and wait for real drivers... _________________ have fun
feffi
/(bb|[^b]{2})/ that is the Question!
Gentoo-Wiki: Acer Travelmate 803 LCi manual |
|
Back to top |
|
|
feffi Apprentice
Joined: 29 Mar 2003 Posts: 216 Location: Sol->Earth->Germany->Giessen
|
Posted: Wed Oct 29, 2003 11:54 am Post subject: UPDATE |
|
|
Ok buddies,
I've updated some stuff: Volume Keys, Hotplugging, Console Framebuffer, ATI Radeon driver under kernel 2.6.
the IRDA Stuff is coming soon. I want to verify it first. _________________ have fun
feffi
/(bb|[^b]{2})/ that is the Question!
Gentoo-Wiki: Acer Travelmate 803 LCi manual |
|
Back to top |
|
|
miju n00b
Joined: 25 Sep 2003 Posts: 15 Location: Germany
|
Posted: Wed Oct 29, 2003 2:52 pm Post subject: |
|
|
I have problems to get PCMCIA work. Well no problem but some config warnings.
Is there anybody who can give a good howto?
I tried the linuxant driver, too. I worked some times, but not always. The first time my system hang completely up i removed the driver. Nice try
Concerning the ati-drivers i found out, they chrash in combination with the radeon console framebuffer. Use Vesa Framebuffer instead.
Last edited by miju on Fri Oct 31, 2003 8:21 pm; edited 1 time in total |
|
Back to top |
|
|
feffi Apprentice
Joined: 29 Mar 2003 Posts: 216 Location: Sol->Earth->Germany->Giessen
|
Posted: Thu Oct 30, 2003 1:33 pm Post subject: pcmcia & wlan |
|
|
miju wrote: | I have problems to get PCMCIA work. Well no problem but some config warnings.
Is there anybody who can give a good howto?
I tried the linuxant driver, too. I worked some times, but not always. The first time my system hang completely up i removed the driver. Nice try |
PCMCIA is nearly ready...
I can definetly confirm the system stops...Let this be a warning to you.... _________________ have fun
feffi
/(bb|[^b]{2})/ that is the Question!
Gentoo-Wiki: Acer Travelmate 803 LCi manual |
|
Back to top |
|
|
miju n00b
Joined: 25 Sep 2003 Posts: 15 Location: Germany
|
Posted: Fri Nov 07, 2003 7:29 pm Post subject: Another TV-Out Problem |
|
|
Well, i am not able to Create a XConfig to work in Clone mode for the LCD Device and the TV-Out. Dualhead works fine but the Clone mode not.
Is there anybody who got it work? |
|
Back to top |
|
|
K3yMaster n00b
Joined: 07 Sep 2003 Posts: 27
|
Posted: Mon Nov 17, 2003 1:22 pm Post subject: Awesome post ;) |
|
|
Thanks to _kev_ for this awesome guide to get Gentoo up and running on a Acer Travelmate notebook.
It took me 3 tries to get everything right, but what the heck the system runs totally smooth now
Thanks again to _kev_ and the other linux gurus |
|
Back to top |
|
|
Willem Hendriks n00b
Joined: 20 Nov 2003 Posts: 7
|
Posted: Thu Nov 20, 2003 11:02 pm Post subject: |
|
|
A friend of my and myself where thinking to write a complete 'How to install gentoo on a acer 800' Guide. For installing gentoo on a acer, and have averything working after the installation. Is this topic enough for most people or would a guide be a good idea. |
|
Back to top |
|
|
swell n00b
Joined: 20 Nov 2003 Posts: 11
|
Posted: Fri Nov 21, 2003 12:14 pm Post subject: |
|
|
This thread is being incredibly useful -used it several times to get my TM800 up and running- but there is more info scattered around some other places -see links to several people's guides in tuxmobil.org, for instance-
A guide that would sum everything up would be wonderful, a dream come true But lots of time and work too!
Good luck if you try and thanks in name of every 80x owner! |
|
Back to top |
|
|
feffi Apprentice
Joined: 29 Mar 2003 Posts: 216 Location: Sol->Earth->Germany->Giessen
|
Posted: Tue Nov 25, 2003 9:40 am Post subject: |
|
|
Willem Hendriks wrote: | A friend of my and myself where thinking to write a complete 'How to install gentoo on a acer 800' Guide. For installing gentoo on a acer, and have averything working after the installation. Is this topic enough for most people or would a guide be a good idea. |
I think, if you look at the next post ahead of you, that one big thread is enough, because you can find all information in one place and not scattered around. This was the original purpose of this thread.
But if you want to make a guide, go ahead, maybe you get something i missed. I will definetly link to it !! But i would like to ask you to keep me up to date with your work... _________________ have fun
feffi
/(bb|[^b]{2})/ that is the Question!
Gentoo-Wiki: Acer Travelmate 803 LCi manual |
|
Back to top |
|
|
feffi Apprentice
Joined: 29 Mar 2003 Posts: 216 Location: Sol->Earth->Germany->Giessen
|
|
Back to top |
|
|
MaGuS Guru
Joined: 13 Jun 2002 Posts: 303 Location: Luebeck, Germany
|
Posted: Wed Nov 26, 2003 9:48 am Post subject: |
|
|
Hi all,
I got the Toshiba M30 laptop and all things are working execpts X but I am still testing.
- wlan was easy, but you have to use driverloader from linuxant.
- I don't use pcmcia but it should work.
- Sound should also works (will test it if I get X running)
- acpi is working (thank for the speedfreqd tip)
Thank you for your small howto.
Best regards,
Magnus |
|
Back to top |
|
|
tuxlover Apprentice
Joined: 21 Oct 2003 Posts: 297 Location: weltweit
|
Posted: Sat Nov 29, 2003 2:44 pm Post subject: |
|
|
For some reason the builtin microphone does not seem to work on the tm 800, using kernel 2.4.22-gentoo-test-r1.
I simply started gnomemeeting (and used the setup wizard, err druide)and recording will not work. I tried turning the microphone on using aumix which didn't seem to help. I chose /dev/sound/dsp as recording device and /dev/mixer as recording mixer (which both exist).
Anybody got it to work? It used to work under suse with 2.4.20-suse without any problems. |
|
Back to top |
|
|
tuxlover Apprentice
Joined: 21 Oct 2003 Posts: 297 Location: weltweit
|
Posted: Tue Dec 02, 2003 6:05 pm Post subject: |
|
|
Software suspend (suspend to disk / hibernate) actually works really well in 2.6.0-test11 on the travelmate 800. Please read the whole post, there's a quiz at the end
[edit] and even a solution now! [/edit]
To activate it, simply
Code: | echo 4 > /proc/acpi/sleep |
It will suspend to your swap partition by default. To resume, you need to tell the kernel where it should read the resume image from as a kernel option:
Code: | resume=/dev/<your-swap> |
It is easiest to add this option to your boot manager of course. The kernel will boot normally if it doesn't find the resume image there, so it doesn't do any harm to add this option.
I basically have everything compiled into the kernel. I only have the usb stuff and sd_mod (scsi disk support) as modules. None of the usb stuff will work after the resume, so you have to reload those modules by doing either:
(if you have hotplug installed)
Code: | /etc/init.d/hotplug restart |
or manually:
Code: | # first remove all usb modules:
rmmod hid
rmmod uhci_hcd
rmmod ehci_hcd
rmmod usb_storage
# you need to do this to be able to remove usbcore I think
umount /proc/bus/usb
rmmod usbcore
# then load them again
mount /proc/bus/usb
modprobe usbcore
modprobe usb_storage
modprobe ehci_hcd
modprobe uhci_hcd
|
the second, manual variant assumes your /etc/fstab contains a line:
Code: | none /proc/bus/usb usbdevfs noauto 0 0 |
You can also make a little script:
Code: | #!/bin/sh
echo 4 > /proc/acpi/sleep
/etc/init.d/hotplug restart |
which magically suspends to disk, and after resuming simply restarts hotplug. It works. Find your own way to make it runnable as a user (no, setuid does not work with shell scripts as I had to find out, due to security reasons).
Download my kernel .config for 2.6.0-test11
Note that there are a couple of things that I either don't have in my kernel or haven't tried yet whether they survive the ruseme. These are pcmcia, firewire, irda, linuxant wlan, bluetooth, the sd_mod module, parport, tv-out - I guess that's it.
Another note: There's also the /sys/power/state interface. Supposedly suspending to disk should work like this:
Code: | echo disk > /sys/power/state |
... but it doesn't do anything. Neither do "standby" nor "mem". Any ideas?
A quiz (or rather a question): I use an external usb hard drive. Its block device can be referenced as /dev/scsi/host1/bus0/target0/lun0/part1 usually. Unfortunately, each time I reload the usb modules (or re-plug the device, for that matter) the host-nr increases by 1, meaning after the first resume it will be under /dev/scsi/host2/...
You can imagine that it is quite hard to get autofs or supermount (I don't want to have to mount it myself all the time) to look at the right host.
So is there any block device that I can reference that does not change each time I resume? Or is there any other way of doing this *without* writing some scripts (I know that it would be fairly easy to keep track of the "x" in hostx)? I want a general solution and not one that works for my special purpose...
[edit] Well I just noticed that somehow we still have the old (?) /dev/sdax way of referencing scsi devices/partitions. So I can simply use that, it doesn't change. Great! [/edit] |
|
Back to top |
|
|
ikokai n00b
Joined: 10 Nov 2003 Posts: 14
|
Posted: Thu Dec 04, 2003 2:29 pm Post subject: |
|
|
That's good news, but what about X after resuming? Will the hardware accerelation (with ati-drivers) stop working? Has anybody tested this? |
|
Back to top |
|
|
tuxlover Apprentice
Joined: 21 Oct 2003 Posts: 297 Location: weltweit
|
Posted: Mon Dec 08, 2003 12:44 am Post subject: |
|
|
I tried installing hardware 3d acceleration today. I looked at the various tutorials from the first post in this thread, unfortunately they all contain very different information on how to do this. Some of them are about 6 months old already.
So if any of you who actually got it working with a 2.6 kernel (test11 here) were so kind and would tell me again what I need to do to make it work, that'd be so awfully nice
Compiling agp, agp-intel, drm (and radeon as module), then emerging ati-drivers (and of course changing xf86config using fglrxconfig) as I concluded from the first post in this thread did not work for me. I don't quite remember the xfree error message (it worked, just no 3d accel) from the log because I've tried so many other things by now
I then tried playing with xfree-drm. Do I need that? I couldn't figure it out.
Anyway, a little step-by-step with all the important stuff would be nice. I think my xfree86config is fine by now. |
|
Back to top |
|
|
ikokai n00b
Joined: 10 Nov 2003 Posts: 14
|
Posted: Tue Dec 09, 2003 2:15 pm Post subject: |
|
|
3d acceleration working for me like a charm.
I tried the ati-drivers and the drivers from the 2.6.0-pre11 + xfree.
I am using the ati-drivers now, that's what I do:
Compile kernel without the builtin radeon driver but with drm support.
Make sure that /usr/src/linux points to the actual kernel, and
, edit XF86Config (use fglrx driver), you should run too. After that it's working for me.
For the xfree-drm driver with the latest kernel: I just compiled into the kernel drm, agpgart and radeon support, the Code: | opengl-update xfree |
change the driver in XF86Config to radeon and it's working too.
I hope it helps. I can post my XF86Config later if it's needed.
I tried software suspend too with the pre11 kernel, and it's working nice but only without the 3d acceleration, no luck with ati-drivers or xfree-drm... |
|
Back to top |
|
|
Cthulhu n00b
Joined: 15 Aug 2002 Posts: 40 Location: Manchester, UK/Athens, Greece
|
Posted: Fri Dec 12, 2003 11:50 pm Post subject: |
|
|
I was wondering..
how long is the battery life for your laptops (assumming that you don't run any heavy stuff like compiling etc) after after a full charge? |
|
Back to top |
|
|
ssimon n00b
Joined: 06 Oct 2003 Posts: 8
|
Posted: Sat Dec 13, 2003 1:13 pm Post subject: |
|
|
Did anyone the hotkeys got working? (The four buttons in the right top corner)
I tried all, the problem is.. xev doesn't reply any keycode. |
|
Back to top |
|
|
Gentoo Server Apprentice
Joined: 21 Jul 2003 Posts: 279
|
Posted: Sat Dec 13, 2003 5:25 pm Post subject: |
|
|
Hi i got a 804 today so this thread is for me |
|
Back to top |
|
|
Gentoo Server Apprentice
Joined: 21 Jul 2003 Posts: 279
|
Posted: Sat Dec 13, 2003 6:18 pm Post subject: |
|
|
warum wird in linux nichts für das autokonfig wie unter windows gemacht? |
|
Back to top |
|
|
tuxlover Apprentice
Joined: 21 Oct 2003 Posts: 297 Location: weltweit
|
Posted: Sat Dec 13, 2003 9:04 pm Post subject: |
|
|
Cthulhu wrote: | I was wondering..
how long is the battery life for your laptops (assumming that you don't run any heavy stuff like compiling etc) after after a full charge? |
If you downclock to 600 MHz and dim the display a bit, you should get about the same as in windows (4.5 hours or so).
Gentoo Server wrote: | warum wird in linux nichts für das autokonfig wie unter windows gemacht? |
Why in German? And - what are you talking about?
ikokai wrote: | 3d acceleration working for me like a charm. |
Got it working now, too... I didn't change the link /usr/src/linux before emerging the ati-drivers.
By the way, what kind of a 3d performance are you all getting? I'm getting around 1900 fps in glxgears (24 bit, default size of glxgears window), with this config:
Code: | Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "no"
Option "no_dri" "no"
# === FireGL DDX driver module specific settings ===
# === Screen Management ===
Option "DesktopSetup" "0x00000100"
Option "MonitorLayout" "AUTO, NONE"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "NoTV" "yes"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00000000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
# === Misc Options ===
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
BusID "PCI:1:0:0" # vendor=1002, device=4c66
Screen 0
EndSection |
Note: I know, glxgears is about the worst benchmark |
|
Back to top |
|
|
|T5| n00b
Joined: 13 Dec 2003 Posts: 33
|
Posted: Sat Dec 13, 2003 11:55 pm Post subject: |
|
|
Well, he is just complaining, that there is so little autoconfiguration like those of MS Windows. |
|
Back to top |
|
|
|