View previous topic :: View next topic |
Author |
Message |
preacher n00b
Joined: 09 Jan 2004 Posts: 55 Location: Göteborg, Sweden
|
Posted: Wed Mar 10, 2004 9:01 am Post subject: |
|
|
Drivers for Intel 2100 are out.
However they still lack WEP-support, but that will probably be fixed soon.
But since I want 11g-support in my laptop, I'm wondering if it would be possible to exchange the Intel 2100 miniPCI with ANY miniPCI-card, not just the TrueMobile 1150?
There are apparently some good MiniPCI-cards supporting 11g that work fine with linux.[/url] |
|
Back to top |
|
|
federico Advocate
Joined: 18 Feb 2003 Posts: 3272 Location: Italy, Milano
|
|
Back to top |
|
|
preacher n00b
Joined: 09 Jan 2004 Posts: 55 Location: Göteborg, Sweden
|
Posted: Thu Mar 11, 2004 11:44 am Post subject: |
|
|
The 804LCi has, apart from a larger harddrive and 1.7ghz cpu, also a 11g wlan-card instead of only 11b.
Other than that, it seems identical to the 803LCi so I'm hoping this guide will work fine with it.
However, has anyone got any clue which chip provides the 11g wlan, and if it works in linux, be it native or using ndiswrapper? |
|
Back to top |
|
|
fredrin n00b
Joined: 15 Dec 2003 Posts: 54 Location: The Universe -> Earth -> South America -> Argentina -> Buenos Aires -> Almagro
|
Posted: Thu Mar 11, 2004 4:51 pm Post subject: |
|
|
From Rage3d.com
Quote: |
TI Proprietary Linux Driver Features
The ATI proprietary Linux driver provides TV Output support for ATI graphics cards that support TV out. The ATI proprietary Linux driver also allows for the following monitor arrangements:
-Laptop Mode (toggle between internal or external screen)
-Clone Mode (same content on both screens)
-Big Desktop (one desktop stretched across two screens)
-Dual Head (separate instances of XFree86 running on each screen
New Features
The latest version of the ATI proprietary Linux driver now provides support for the ATI RADEON 9800 XT.
Resolved Issues in the ATI Proprietary Linux Driver Version 3.7.6
The following section provides a summary of issues that have been resolved in the latest release of the ATI Proprietary Linux Driver. These include:
-The ATI Proprietary Linux driver no longer fails to load on AMD Athlon systems. Further information on this issue can be found at: http://www.ati.com/support/infobase/4469.html
-The ATI Proprietary Linux driver version 3.7.6 provides hardware acceleration under WineX. Further information on this issue can be found at: http://www.ati.com/support/infobase/4470.html
Known Issues
The following section provides a brief description of known issues associated with the latest version of ATI proprietary Linux driver. These include the following:
-3D Linux applications exhibit tearing in fast moving objects. Further information on this issue can be found at: http://www.ati.com/support/infobase/4464.html
-TV Display is corrupt after switching resolutions. Further information on this issue can be found at: http://www.ati.com/support/infobase/4462.html
-3D Linux applications corrupt or hang with force multi-sample visuals enabled. Further information on this issue can be found at: http://www.ati.com/support/infobase/4463.html
-ATI Control Panel gamma controls turn the display green. Further information on this issue can be found at: http://www.ati.com/support/infobase/4461.html
|
This is the thread at the rage3d.com forum http://www.rage3d.com/board/showthread.php?s=&threadid=33746855
Anyone which have the guts, time and skill, pleas report your experience.
-fredrin- _________________ -fuck-the-system-that-fucks-you- |
|
Back to top |
|
|
feffi Apprentice
Joined: 29 Mar 2003 Posts: 216 Location: Sol->Earth->Germany->Giessen
|
Posted: Fri Mar 12, 2004 1:24 pm Post subject: Update |
|
|
ok, hello to all I'm back (I accidently removed this thread from my watch-list, stupid me, and I was wondering there is no update or post so far)...
I've updated the Graphics section and included pestilence's tutorial and mtrr-fix for the ATI-Radeon 9000
Furthermore I'm investigating into the Open-Source Intel Driver and a friend of mine is targeting the ATI-TV-Out problem.
So be patient, we currently have heavy workload on gentoo here (I just set up a Gentoo-Cluster so applause and some 'horray' would be appreciated )
P.S.: Yes, you can laugh!
Last edited by feffi on Fri Mar 12, 2004 7:19 pm; edited 1 time in total |
|
Back to top |
|
|
feffi Apprentice
Joined: 29 Mar 2003 Posts: 216 Location: Sol->Earth->Germany->Giessen
|
Posted: Fri Mar 12, 2004 2:53 pm Post subject: emerge.log |
|
|
Hi,
I've written a small parser in PHP for the emerge.log file which gives me the compilation times for all packages currently in the logfile.
Now I would like to ask you all, if you can bzip2 your emerge.log for me and send it to me via email? I would be very pleased about it, as I could provide some compilation times for the tutorial. Before you ask, SURELY I will release this parser script, but I just want to test/bugfix it a little bit before releasing...
Stay tuned
Last edited by feffi on Fri Mar 12, 2004 7:19 pm; edited 1 time in total |
|
Back to top |
|
|
feffi Apprentice
Joined: 29 Mar 2003 Posts: 216 Location: Sol->Earth->Germany->Giessen
|
Posted: Fri Mar 12, 2004 7:18 pm Post subject: really busy today |
|
|
OK, here comes another one
Added FN-Volume-Keys and XFree-OSD (really nice) _________________ have fun
feffi
/(bb|[^b]{2})/ that is the Question!
Gentoo-Wiki: Acer Travelmate 803 LCi manual |
|
Back to top |
|
|
|T5| n00b
Joined: 13 Dec 2003 Posts: 33
|
Posted: Fri Mar 12, 2004 10:46 pm Post subject: |
|
|
Hi, this Config should work for TV-OUT, using two different instances of XFree. So everything should work, except moving windows from one screen to the second.
HMM, maybe this files would need a cleanup .
regards
xvlun
Code: | # File: XF86Config-4
# File generated by fglrxconfig (C) ATI Research, a substitute for xf86config.
# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
Mode 0666
EndSection
# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
Section "Module"
Load "dbe" # Double buffer extension
Load "synaptics"
SubSection "extmod"
Option "omit xfree86-dga" #THIS SEEM TO BE REALLY IMPORTANT FOR ME, TRY TO COMMENT THIS LINE OUT IF YOU WANT BUT BE WARNED
EndSubSection
Load "type1"
Load "freetype"
Load "glx" # libglx.a
Load "dri" # libdri.a
EndSection
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
# Option "NoTrapSignals"
# Option "DontZap"
# Option "Dont Zoom"
# Option "DisableVidModeExtension"
# Option "AllowNonLocalXvidtune"
# Option "DisableModInDev"
# Option "AllowNonLocalModInDev"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "de"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "SendCoreEvents" "true"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
Section "InputDevice"
Identifier "Mouse2"
Driver "synaptics"
Option "Device" "/dev/input/mouse0"
Option "ZAxisMapping" "4 5"
Option "Edges" "1900 5400 1800 3900"
Option "Finger" "25 30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0007"
Option "SHMConfig" "on"
Option "UpDownScrolling" "on"
Option "Protocol" "ImPS/2"
#Option "CorePointer" ""
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
Identifier "Monitor0"
HorizSync 55-60
VertRefresh 50 - 70
Option "DPMS"
# 1400x1050 @ 60Hz M9 Laptop mode
# ModeLine "1400x1050" 122.000 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync
EndSection
Section "Monitor"
Identifier "TV"
HorizSync 31.5
VertRefresh 49.0-61.0
Option "DPMS"
modeline "pal_320x240" 6.125 320 328 360 392 240 267 270 312 -hsync -vsync # H 15625 [Hz], V 50.0801 [Hz]
modeline "pal_400x300" 7.75 400 416 456 496 300 444 450 625 -hsync -vsync interlace # H 15625 [Hz], V 50 [Hz]
modeline "pal_512x384" 9.875 512 528 576 632 384 486 492 625 -hsync -vsync interlace # H 15625 [Hz], V 50 [Hz]
modeline "pal_640x480" 12.25 640 656 712 784 480 534 540 625 -hsync -vsync interlace # H 15625 [Hz], V 50 [Hz]
modeline "pal_768x576" 14.75 768 784 864 944 576 582 588 625 -hsync -vsync interlace # H 15625 [Hz], V 50 [Hz]
modeline "pal_720x576" 13.875 720 744 808 888 576 582 588 625 -hsync -vsync interlace # H 15625 [Hz], V 50 [Hz]
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
# Standard VGA Device:
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
# Chipset "generic"
Driver "vga"
# BusID "PCI:0:10:0"
# VideoRam 256
# Clocks 25.2 28.3
EndSection
# === ATI device section ===
Section "Device"
Identifier "ATI0"
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" "0x00000000"
Option "MonitorLayout" "AUTO, STV"
Option "IgnoreEDID" "off"
Option "HSync2" "56-60"
Option "VRefresh2" "50 - 70"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "NoTV" "no"
Option "TVStandard" "PAL-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" "on"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAScale" "0"
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
Section "Device"
Identifier "ATI1"
Driver "fglrx"
Option "no_accel" "yes"
BusID "PCI:1:0:0" # vendor=1002, device=4c66
Screen 1
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
Section "Screen"
Identifier "Screen0"
Device "ATI0"
Monitor "Monitor0"
DefaultDepth 24
#Option "backingstore"
Subsection "Display"
Depth 24
Modes "1400x1050" "1024x768" "640x480"
ViewPort 0 0 # initial origin if mode is smaller than desktop
# Virtual 1280 1024
EndSubsection
Subsection "Display"
Depth 16
Modes "1400x1050" "1024x768" "640x480"
EndSubsection
EndSection
Section "Screen"
Identifier "Screen1"
Device "ATI1"
Monitor "TV"
DefaultDepth 24
##
SubSection "Display"
Depth 16
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "640x480"
EndSubSection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen0"
Screen "Screen1" RightOf "Screen0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "Always Core"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
### EOF ###
|
|
|
Back to top |
|
|
federico Advocate
Joined: 18 Feb 2003 Posts: 3272 Location: Italy, Milano
|
|
Back to top |
|
|
federico Advocate
Joined: 18 Feb 2003 Posts: 3272 Location: Italy, Milano
|
Posted: Sun Mar 14, 2004 11:58 pm Post subject: |
|
|
I tried xbindkeys http://hocwp.free.fr/xbindkeys/xbindkeys.html for key binding and I discovered that I can use my P1 and P2 keys easily and I am really happy for that. It does not depend on the X system you are using so it's useful also if you use more than one X and so on...
You must set an .xbindkeysrc file like that for example (that's mine)
Code: |
#BlockNum
"xterm"
m:0x10 + c:77
#P1
"firefox"
m:0x0 + c:236
#P2
"sylpheed-claws"
m:0x0 + c:178
#Vol +
"~/osd.py +"
m:0x0 + c:176
#Vol -
"~/osd.py -"
m:0x0 + c:174
#Mute
"~/osd.py mute"
m:0x0 + c:160
|
Here I set the mute volume, volume up and down, P1 and P2 keys and also blocknum because I want to osd_cat show it when I press it (now it's not ready the code..)
Then I propose this for the management, it's just a base program like the shell script show by kev
Code: |
#!/usr/bin/python
import os,sys
show_vol='|'.join((
r'''echo `setmixer -V vol +0''',
r'''awk '/vol/{split ($3,a,",");print a[1];}'` "% Volume"''',
r'''osd_cat --font="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*" --shadow=2 --pos=top --align=right --colour=green --delay=1'''
))
if sys.argv[1]=='+':
os.system("setmixer vol +3")
os.system(show_vol)
elif sys.argv[1]=='-':
os.system("setmixer vol -3")
os.system(show_vol)
elif sys.argv[1]=='mute':
os.system("setmixer vol mute")
|
I think that now the keyboard problems are solved forever
Federico _________________ Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk |
|
Back to top |
|
|
hovenko n00b
Joined: 14 Mar 2004 Posts: 8 Location: Oslo/Norway
|
Posted: Mon Mar 15, 2004 11:51 am Post subject: xbindkeys didn't work with my specialkeys (P1, P2..) |
|
|
I tried your .xbindkeysrc file, but no luck. I managed to make the mute-command work though. The problem is that my Linux-installation doesn't detect the keys at all. I ran 'xbindkeys -k', but it didn't detect any keycodes for my specialkeys.
federico wrote:
Quote: | I think that now the keyboard problems are solved forever |
I dont think the problem is solved at all :\
My laptop is an Acer TM803LCi, running Gentoo Linux _________________ Fatrix
*Trust is a Weakness*
Acer Travelmate 803LCi |
|
Back to top |
|
|
federico Advocate
Joined: 18 Feb 2003 Posts: 3272 Location: Italy, Milano
|
Posted: Mon Mar 15, 2004 12:46 pm Post subject: |
|
|
Two friends of mine reported today the same problem... Absurd.. I will experiment with other kernels, maybe that's the problem..
Here they works..
[EDIT]
Checked on 2.6.x kernels (from x=0 to 3) and xkeybinds works well
My test is done on a 291lmi TravelMate, gentoo ~x86 with and without xmodmap running (not on the same keys...) _________________ Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk |
|
Back to top |
|
|
pjv Guru
Joined: 02 Jul 2003 Posts: 353 Location: Belgium
|
Posted: Mon Mar 15, 2004 3:58 pm Post subject: |
|
|
I believe the P1 and P2 keys for some non-800 Acer's were already working (they are just an extension of the keyboard). The 4 keys of the TM800 series however don't work yet, as they are sent through the BIOS or something. So it isn't that much a surprise that P1 and P2 work with a 29x whatever laptop. |
|
Back to top |
|
|
federico Advocate
Joined: 18 Feb 2003 Posts: 3272 Location: Italy, Milano
|
|
Back to top |
|
|
feffi Apprentice
Joined: 29 Mar 2003 Posts: 216 Location: Sol->Earth->Germany->Giessen
|
Posted: Mon Mar 15, 2004 10:51 pm Post subject: keycode |
|
|
as the 80x series has some other hardware (look at a post of mine a little bit back in this discussion), it obvious that this xkeybinding thingy will work. Like 'xev' no tools whatsoever will definetly detect a keycode for those keys (althrough they are detected on 60x and 20x)...
So I think, we'll have to wait
P.S.: Please mail the makes of 'acerhk' and beg them for inclusion of the 80x series (as these guys have the most understanding how the keys work) _________________ have fun
feffi
/(bb|[^b]{2})/ that is the Question!
Gentoo-Wiki: Acer Travelmate 803 LCi manual |
|
Back to top |
|
|
jjc n00b
Joined: 04 Feb 2004 Posts: 4 Location: Bangkok, Thailand
|
Posted: Tue Mar 16, 2004 3:01 am Post subject: Making the extra keys work |
|
|
On the 803 the keyboard controller firmware won't generate scan codes for the extra keys unless a special command is sent to it. Here's a little patch I wrote to do this. This is against 2.6.4.
Code: | diff -pur linux-2.6.4/arch/i386/kernel/dmi_scan.c linux-2.6.4-jjc/arch/i386/kernel/dmi_scan.c
--- linux-2.6.4/arch/i386/kernel/dmi_scan.c 2004-03-11 09:55:25.000000000 +0700
+++ linux-2.6.4-jjc/arch/i386/kernel/dmi_scan.c 2004-03-15 09:54:20.821365376 +0700
@@ -16,6 +16,7 @@ unsigned long dmi_broken;
EXPORT_SYMBOL(dmi_broken);
int is_sony_vaio_laptop;
+int laptop_kbd_needs_extra_init;
int is_unsafe_smbus;
int es7000_plat = 0;
@@ -400,6 +401,13 @@ static __init int sony_vaio_laptop(struc
return 0;
}
+static __init int laptop_kbd_extra_init(struct dmi_blacklist *d)
+{
+ laptop_kbd_needs_extra_init = 1;
+ printk(KERN_INFO "Detected %s laptop needing extra keyboard initialization.\n", d->ident);
+ return 0;
+}
+
/*
* This bios swaps the APM minute reporting bytes over (Many sony laptops
* have this problem).
@@ -702,6 +710,11 @@ static __initdata struct dmi_blacklist d
MATCH(DMI_PRODUCT_NAME, "PCG-"),
NO_MATCH, NO_MATCH,
} },
+ { laptop_kbd_extra_init, "Acer Travelmate 800", {
+ MATCH(DMI_SYS_VENDOR, "Acer"),
+ MATCH(DMI_PRODUCT_NAME, "TravelMate 800"),
+ NO_MATCH, NO_MATCH,
+ } },
{ swab_apm_power_in_minutes, "Sony VAIO", { /* Handle problems with APM on Sony Vaio PCG-N505X(DE) */
MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies LTD"),
MATCH(DMI_BIOS_VERSION, "R0206H"),
diff -pur linux-2.6.4/arch/i386/kernel/i386_ksyms.c linux-2.6.4-jjc/arch/i386/kernel/i386_ksyms.c
--- linux-2.6.4/arch/i386/kernel/i386_ksyms.c 2004-03-11 09:55:54.000000000 +0700
+++ linux-2.6.4-jjc/arch/i386/kernel/i386_ksyms.c 2004-03-15 09:54:20.831363856 +0700
@@ -192,6 +192,9 @@ EXPORT_SYMBOL(atomic_dec_and_lock);
extern int is_sony_vaio_laptop;
EXPORT_SYMBOL(is_sony_vaio_laptop);
+extern int laptop_kbd_needs_extra_init;
+EXPORT_SYMBOL(laptop_kbd_needs_extra_init);
+
EXPORT_SYMBOL(__PAGE_KERNEL);
#ifdef CONFIG_HIGHMEM
diff -pur linux-2.6.4/drivers/input/serio/i8042.c linux-2.6.4-jjc/drivers/input/serio/i8042.c
--- linux-2.6.4/drivers/input/serio/i8042.c 2004-03-11 09:55:22.000000000 +0700
+++ linux-2.6.4-jjc/drivers/input/serio/i8042.c 2004-03-15 09:54:20.833363552 +0700
@@ -646,6 +646,23 @@ static void i8042_timer_func(unsigned lo
i8042_interrupt(0, NULL, NULL);
}
+#ifdef CONFIG_X86
+
+static void i8042_laptop_extra_init(void)
+{
+ extern int laptop_kbd_needs_extra_init;
+ unsigned char param = 0x90;
+
+ if (!laptop_kbd_needs_extra_init)
+ return;
+
+ if (i8042_command(¶m, 0x1159))
+ printk(KERN_WARNING "i8042.c: Failed to enable extra laptop keys\n");
+ else
+ printk(KERN_INFO "i8042.c: Laptop extra keys enabled\n");
+}
+
+#endif
/*
* i8042_controller init initializes the i8042 controller, and,
@@ -737,6 +754,10 @@ static int i8042_controller_init(void)
return -1;
}
+#ifdef CONFIG_X86
+ i8042_laptop_extra_init();
+#endif
+
return 0;
}
|
It is also necessary to call setkeycodes to tell the kernel keyboard driver how to map the scan code onto the keycode. I handle this with an /etc/init.d/keycodes like this:
Code: | #!/sbin/runscript
depend() {
need localmount
}
start() {
# Load scan code to key code mappings
if [ -n "$KEYCODES" -a -x /usr/bin/setkeycodes ]
then
ebegin "Loading scan code to key code mappings"
/usr/bin/setkeycodes $KEYCODES
eend $? "Error loading key code mappings"
fi
}
|
This is configured using /etc/conf.d/keycodes:
Code: | KEYCODES="e025 205 e026 154 e027 199 e074 239 e073 238"
|
The mapping is chosen so that applications (like X) will see the right scancodes if they use raw mode. Hopefully at some point the keyboard driver will become less broken and this will be unnecessary. (I haven't yet added entries for the wireless and bluetooth buttons on the front of the machine.)
To get reasonable keysyms in X, I added a section to /etc/X11/xkb/symbols/inet:
Code: | partial alphanumeric_keys
xkb_symbols "acer_tm800" {
name[Group1]= "Acer TravelMate 800";
key <I6C> { [ XF86Mail ] };
key <I32> { [ XF86WWW ] };
key <I74> { [ XF86Launch1 ] };
key <I73> { [ XF86Launch2 ] };
key <I25> { [ F13 ] };
key <I26> { [ F14 ] };
key <I27> { [ F15 ] };
key <I20> { [ XF86AudioMute ] };
key <I2E> { [ XF86AudioLowerVolume ] };
key <I30> { [ XF86AudioRaiseVolume ] };
};
|
Note that this maps Fn+F1, Fn+F2 and Fn+F3 onto F13, F14 and F15 respectively.
You then need to rebuild /etc/X11/xkb/symbols.dir by doing:
Code: | cd /etc/X11/xkb/symbols
/usr/X11R6/lib/X11/xkb/xkbcomp -lfhlpR '*' >../symbols.dir |
Also add acer_tm800 to $inetkbds in /etc/X11/xkb/rules/xfree86.
Then in your XF86Config-4, in the keyboard section use
Code: | Option "XkbModel" "acer_tm800"
|
If you are using a Gnome desktop, no extra programs are necessary to make the keys do something useful. You can use Acme (under Applications|Desktop Preferences|Multimedia Keys) to bind the key to one of a fixed set of actions. This works even without the modifications to the xkb setup. This works very nicely for the volume keys. Under gnome 2.4.1, I also found it necessary to add /usr/bin/acme as a startup program (under Applications|Desktop Preferences|Advanced|Sessions).
To start a program that Acme doesn't know about, it is possible to use the window manager (Metacity). To do this, you need to use the configuration editor to edit /apps/metacity. For example, to make P2 start emacs, change global_keybindings/run_command_1 to XF86Launch2 and keybinding_commands/command_1 to /usr/bin/emacs. |
|
Back to top |
|
|
feffi Apprentice
Joined: 29 Mar 2003 Posts: 216 Location: Sol->Earth->Germany->Giessen
|
Posted: Tue Mar 16, 2004 1:24 pm Post subject: |
|
|
hell, THIS is really good news, I'll try that immediatly and if it works, I'll definetly include this into the tutorial!
BTW: Has anybody gotten the Modem to work via hfps or similar?? A little tutorial would be nice... _________________ have fun
feffi
/(bb|[^b]{2})/ that is the Question!
Gentoo-Wiki: Acer Travelmate 803 LCi manual |
|
Back to top |
|
|
tuxlover Apprentice
Joined: 21 Oct 2003 Posts: 297 Location: weltweit
|
Posted: Tue Mar 16, 2004 7:14 pm Post subject: |
|
|
preacher wrote: | However, has anyone got any clue which chip provides the 11g wlan, and if it works in linux, be it native or using ndiswrapper? |
in the config menu for my 2.6.3 kernel there is one a/b/g chip that seems to be supported:
Intersil Prism GT/Duette/Indigo PCI/PCMCIA (NEW)
if someone finds out which mini-pci cards use it post it please. |
|
Back to top |
|
|
thepi Guru
Joined: 06 Jan 2004 Posts: 352 Location: Tokyo, Japan
|
Posted: Tue Mar 16, 2004 11:25 pm Post subject: |
|
|
federico wrote: | I thought it was a nice idea.. Excuse me if it's not ... |
It is indeed a nice idea (did not know of xbindkeys). It's not your fault that the tm800 behaves non-standard
Thanks to jjc's kernel patch we should be able to finally use all the nifty special keys I'm missing so much
@jjc: How did you find that out? That one gave us a hard time... you have my respect!
pi~ _________________ Violence is the last resort of the incompetent --Isaac Asimov
Gentoo on Acer TM800 | Help! | Vote! | Get FF! |
|
Back to top |
|
|
LcMatrix n00b
Joined: 18 Mar 2004 Posts: 33
|
Posted: Thu Mar 18, 2004 8:09 am Post subject: |
|
|
I'Ve tried the Code postet by jjc on my Travelmate 801 LCiB. The Browser and Mail Key work perfectly. After patching the kernel source etc. KDE recognized the keys and i could attach them to Konquerer and KMail. The P1 and P2 Keys don't work (yet). Don't know why. Maybe the Code is different on the LCiB for them or it interferes with some other keys. Will check that out.
Something else:
Has anyone tried the ndiswrapper 0.6 ? At home where i do not use a WEP key everything works perfectly but at my university where i have to use a WEP key it doesn't seem to work - althoug it is noted as fixed in the release notes for that release. Anyone has some deeper insights ?
Greetings,
Matrix |
|
Back to top |
|
|
korban n00b
Joined: 04 Feb 2003 Posts: 37 Location: Vienna, Austria
|
Posted: Thu Mar 18, 2004 9:22 am Post subject: |
|
|
also tried the code posted by jjc, same for me: Mail and Web key work great (thanks to jjc), the others are not recognized by xev.
(using love-sources 2.6.4-rc2, xfree-4.3.0-r5) |
|
Back to top |
|
|
feffi Apprentice
Joined: 29 Mar 2003 Posts: 216 Location: Sol->Earth->Germany->Giessen
|
Posted: Thu Mar 18, 2004 2:05 pm Post subject: me too |
|
|
on my alptop also only the MAIL and WWW buttons work _________________ have fun
feffi
/(bb|[^b]{2})/ that is the Question!
Gentoo-Wiki: Acer Travelmate 803 LCi manual |
|
Back to top |
|
|
preacher n00b
Joined: 09 Jan 2004 Posts: 55 Location: Göteborg, Sweden
|
Posted: Thu Mar 18, 2004 8:15 pm Post subject: |
|
|
Dont know if this is the right thread to report this in, but latest CVS of ndiswrapper now works with the Intel 2200BG, which is the 802.11gb-chip in the Acer 804LCi
Got a wireless connection against my AP with WEP in just a few minutes fiddling.
Btw, nice work with the special keys patch. Will try it out and see if it works on the 804 aswell, which (I believe) has basically the same hardware except for some minor hardware upgrades.
But why work on the bluetooth and wlan-button?
On my computer both buttons work, bluetooth out of the box and wlan as soon as I installed the ndiswrapper-driver.
... Unless ofcourse you want to remap the buttons to do something else... |
|
Back to top |
|
|
sonicwave n00b
Joined: 18 Apr 2002 Posts: 28 Location: The Netherlands
|
Posted: Thu Mar 18, 2004 8:46 pm Post subject: |
|
|
Hey everybody,
I am a still a little new to gentoo, but got my laptop up and running yesterday. I am having a bit of difficulty getting the right performance out of my Radeon though.
Compiled the kernel (after the emerge gentoo-dev-sources-2.6.4-r1.ebuild) with DRM and the Radeon kernel options enabled as module. Followed the guide, and installed (emerge) ati-drivers 3.2.8, and ran fglrxconfig to set everything up.
X runs beautifly so thats pretty cool but i am getting a little low results on glxgears.
Code: |
1283 frames in 5.0 seconds = 256.600 FPS
1250 frames in 5.0 seconds = 250.000 FPS
1250 frames in 5.0 seconds = 250.000 FPS
|
I emerged tuxracer, but that one quits on me with error
Code: |
ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
|
which maybe has something to do with the low performance (as in, something isnt loaded that should be?)
Help |
|
Back to top |
|
|
hovenko n00b
Joined: 14 Mar 2004 Posts: 8 Location: Oslo/Norway
|
Posted: Thu Mar 18, 2004 8:47 pm Post subject: Pentium M CPU support in linux-2.6.4 |
|
|
Code: | Processor type and features --->
Processor family (Pentium M) --->
(X) Pentium M
|
There is in 2.6.4 of the Linux kernel support for the Centrino processor. I havn't seen anything in this forum about that, so i thought i could just make you all aware of that.
Don't know what the big difference between this one and Pentium 3 (and Pentium 4) is, since I have used Pentium 4 until now, without any problems.
I have also used -march=pentium4 in CFLAGS with the only problem when compiling openoffice (if I remember correctly). That had something to do with the optimalizationflag too (-O3).
I had problems with the synaptics driver for XFree86, after I switched to the xfree-radeon driver. away from ati.com closedsource driver.
That fixed itself somehow after a reboot. (only change was setting the psmouse driver from build-in to a module in the kernel) _________________ Fatrix
*Trust is a Weakness*
Acer Travelmate 803LCi |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|