View previous topic :: View next topic |
Author |
Message |
avx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/22194535045e47d317d4f5.jpg)
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Mon Jan 09, 2006 11:48 pm Post subject: Special keys and card-reader |
|
|
Hi there,
I've got some problems with my notebook, a Sony VAIO TX1XP (called TX670 outside Europe).
The most important things (for me) are working quite well, as I describe here, but there are some problems which could maybe get solved with your help.
My main problem is that there are some extra media-buttons(av-mode, play/pause, stop, prev, next, eject, vol+, vol-) and I can only get play/pause, stop, prev and next to work via xmodmap. The av-mode button and the buttons for vol+ and vol- give the same event and eject doesn't give any event at all. Also the Fn-key (or combinations with it) doesn't give a event.
I can however get some events by doing
Code: | cat /dev/input/event4 | but I don't know how to make use of them.
Interesting is that the LiveCD of Ubuntu 5.10 catches this keys without any extra work and seems to talk directly to the BIOS, cause I can change the brightness by presing Fn+F5/F6. Under Gentoo I need sony_acpi and sonypi and can only do it via
Code: | echo {1-8} > /proc/acpi/sony/brightness | .
Further more, the notebook has 2 cardreaders built-in, one for Memory Stick and one for SD/MMC-Cards, both don't work under Gentoo, but do work under the so-called Instant-On-Mode, which is a Mini-Linux modified by Intervideo to play media from the dvd-drive or the cardreader(s).
Any help with this problems would be very much appreciated, for reference here are some of my configs, if you need something else, please let me know.
cheers and thanks in advance,
ph030
Code: | cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0011 Vendor=0002 Product=0008 Version=0000
N: Name="PS/2 Mouse"
P: Phys=isa0060/serio1/input1
S: Sysfs=/class/input/input1
H: Handlers=mouse0 event1
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3
I: Bus=0011 Vendor=0002 Product=0008 Version=7321
N: Name="AlpsPS/2 ALPS GlidePoint"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input2
H: Handlers=mouse1 event2
B: EV=f
B: KEY=420 0 70000 0 0 0 0 0 0 0 0
B: REL=3
B: ABS=1000003
I: Bus=0010 Vendor=104d Product=0000 Version=0000
N: Name="Sony Vaio Jogdial"
P: Phys=
S: Sysfs=/class/input/input3
H: Handlers=mouse2 event3
B: EV=7
B: KEY=40000 0 0 0 0 0 0 0 0
B: REL=100
I: Bus=0010 Vendor=104d Product=0000 Version=0000
N: Name="Sony Vaio Keys"
P: Phys=
S: Sysfs=/class/input/input4
H: Handlers=kbd event4
B: EV=3
B: KEY=1f ffff0000 0 20000 100000 0 2 0 0 100400 0 40300400 0 0 0 0 |
Code: | cat /proc/bus/input/handlers
N: Number=0 Name=kbd
N: Number=1 Name=mousedev Minor=32
N: Number=2 Name=evdev Minor=64 |
lspci -vv
lsusb -vv
fstab
kernel-config
xorg.conf
xmodmap
FYI: The system is running under 2.6.15-gentoo with xorg-x11-6.8.99.15-r4, sonypi build as module and the latest sony_acpi.
Last edited by avx on Fri Jan 13, 2006 6:14 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
avx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/22194535045e47d317d4f5.jpg)
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Wed Jan 11, 2006 7:49 pm Post subject: |
|
|
*BUMP* ![Embarassed :oops:](images/smiles/icon_redface.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
avx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/22194535045e47d317d4f5.jpg)
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Wed Jan 18, 2006 3:17 am Post subject: |
|
|
*BUMP* again
Someone at least able to tell me how to use the keyboard via the evdev? Or a good link?
Would this fit better in another category?
cheers,
ph030 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20588
|
Posted: Fri Jan 20, 2006 8:35 pm Post subject: |
|
|
Moved from Other Things Gentoo _________________ Quis separabit? Quo animo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Nicholai n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Sep 2004 Posts: 13 Location: Denmark
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rteichmann n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Feb 2004 Posts: 20 Location: Germany
|
Posted: Thu Jan 26, 2006 11:01 am Post subject: |
|
|
Regarding your card reader: You will probably have to enable the option CONFIG_SCSI_MULTI_LUN in your kernel config. Also the udev rule should contain the "all_partitions" option...
...like this:
BUS="scsi", KERNEL="sd*", SYSFS{model}="Flash XL MMC/SD", SYSFS{vendor}="Medion ", NAME{
all_partitions}="usb/sd"
Hope that helps. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|