View previous topic :: View next topic |
Author |
Message |
dextermagnific Tux's lil' helper
Joined: 16 Apr 2005 Posts: 113
|
Posted: Sat Apr 16, 2005 10:13 am Post subject: Unicode by default and soundcard not detected |
|
|
Hi everybody,
i've just bought a sony vaio FS115M and compiled gentoo. i'm very happy with that distrib. However i have some troubles
1. i compiled my kernel with support for the sony vaio programmable contoller (module sonypi built into the kernel), but nothing works, i can't adjust the LCD brightness using spicctrl
when i call spicctrl -B, it returns zero
here is what is in /var/log/messages :
Sony Vaio Jogdial input method installed.
Sony Vaio Keys input method installed.
sonypi command failed at drivers/char/sonypi.c : sonypi_call1 (line 589)
sonypi command failed at drivers/char/sonypi.c : sonypi_call2 (line 600)
sonypi command failed at drivers/char/sonypi.c : sonypi_call2 (line 602)
sonypi command failed at drivers/char/sonypi.c : sonypi_call1 (line 589)
sonypi: Sony Programmable I/O Controller Driverv1.26.
sonypi: detected type2 model, verbose = 0, fnkeyinit = off, camera = off, compat = off, mask = 0xffffffff, useinput = on, acpi = on
sonypi: enabled at irq=11, port1=0x1080, port2=0x1084
sonypi: device allocated minor is 62
2. my soundcard has not been detected and i don't know even which soundcard it is, here is what lspci gives
0000:00:1b.0 Class 0403: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
Subsystem: Sony Corporation: Unknown device 81bb
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at 80000000 (64-bit, non-prefetchable)
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [70] #10 [0091]
Has anyone a workaround for these ?
These are very annoying problems : i can't have sound, and can't adjust the brightness, the sound volume.
3. I want gentoo to use unicode by default. start_unicode does nothing. How to setup that ?
Thanks a lot |
|
Back to top |
|
|
gian Apprentice
Joined: 26 Jul 2004 Posts: 212 Location: Europe
|
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
|
Back to top |
|
|
dextermagnific Tux's lil' helper
Joined: 16 Apr 2005 Posts: 113
|
Posted: Sat Apr 16, 2005 6:43 pm Post subject: |
|
|
Yes ! Thanks a lot !
Now i can make my sound work and have support for utf8 ! These forums are very useful !
I have another question : in the portage tree i see kde-3.4 ebuild, but when i compiled kde with emerge kde, it compiled the 3.3.2 version.
How can i make emerge download and compile kde 3.4 ? |
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Sat Apr 16, 2005 7:22 pm Post subject: |
|
|
KDE 3.4 is marked as unstable. If you want it anyways, simply add Code: | =kde-base/kde-3.4.0 ~x86 | to your /etc/portage/package.keywords (create the file if it doesn't exist). Note that unstable packages might be buggy. I don't use them unless I need something specific in them, but a lot of people run unstable systems.
Edit: Also, KDE 3.4.0 might rely on other unstable packages, so you might have to add them too to package.keywords. _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
|
dextermagnific Tux's lil' helper
Joined: 16 Apr 2005 Posts: 113
|
Posted: Sun Apr 17, 2005 7:01 pm Post subject: |
|
|
another question (not related to gentoo)
I downloaded the lastest stable kernel and the lastest prepatch to have support for my soundcard. But it's the first time i apply a patch.*Can you telle me how to do this after unbzipping it ?
Thanks. |
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Sun Apr 17, 2005 11:01 pm Post subject: |
|
|
dextermagnific wrote: | another question (not related to gentoo)
I downloaded the lastest stable kernel and the lastest prepatch to have support for my soundcard. But it's the first time i apply a patch.*Can you telle me how to do this after unbzipping it ?
Thanks. |
Try this place: http://gentoo-wiki.com/HOWTO_Install_a_Kernel_Patch
It has a lot of info if you are wondering about how to do something in gentoo. Just try the search box on the left side. Hope that helps. _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
|
dextermagnific Tux's lil' helper
Joined: 16 Apr 2005 Posts: 113
|
Posted: Tue Apr 19, 2005 3:09 pm Post subject: |
|
|
Hello again,
i compiled the kernel and the sound works now
but i have some troubles with utf 8. utf8 works well in virtual consoles (ctrl+alt+Fx), but KDE still uses iso8859-1. when i open konsole or xterm, and save a document wih emacs, it says that the document is iso-latin1
this didn't happen with my SuSE, which has support for utf8 by default
Thanks |
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Tue Apr 19, 2005 7:13 pm Post subject: |
|
|
Did you stop KDE and X and log out and back in again after setting the environment variables? If not, KDE probably still runs with LC_ALL="". _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
|
dextermagnific Tux's lil' helper
Joined: 16 Apr 2005 Posts: 113
|
Posted: Tue Apr 19, 2005 7:52 pm Post subject: |
|
|
Yes of course. Shutdown KDE, X, and even the computer. It is very important for me to setup utf8. I know i can convert files to utf 8 using 'recode', but i don't want to do it each time.
when i launch 'xterm -u8', emacs saves documents in utf8 format. but this should be done without adding the -u8. I also noted in the gentoo-wiki that bash 3 is required to support utf8. but i have bash 2.05. note that utf8 works in xterm -u8 with that same version of bash. |
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Wed Apr 20, 2005 8:26 am Post subject: |
|
|
I don't get emacs to save utf-8 no matter how I start xterm. I could probably fix it by using the instructions listed here, but that doesn't seem to be your problem. I don't think I can help you with that. _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
|
|