Re: keyboard scancodes

2003-02-04 Thread Pavel Mihaylov
Hello,

Check out http://sf.net/projects/omke. We started this as HP
Omnibook-only support but eventually people discovered that many laptops
shared the extra-key enabling scheme. Currently there is support for
various HP Omnibooks, Pavillions, Toshiba Satellites and Compals.

Regards,
Pavel

> hi folks...
> 
> i assume, some of you have already encountered the problem with
> not-working extra-keys on your laptop.
> the numerous tools available work by assigning unassigned
> scancodes to keycodes (to characters/starting programs), as it seems to
> me. this may be different for tools for specific laptops (like tpctl,
> i8kutils), which i do not have access to.
> 
> the problem arises, when there is no scancode at all for a specific key,
> when the keyboard controller does not send any code to the driver.
> you can test this with "showkey -s". and i have seen a couple of laptops
> which do not generate a scancode when hitting an extra key.
> 
> it seems that the keyboard driver has to send a magic byte string to the
> controller for that to work.
> so does anyone of you have any experience in this regard? anyone who
> actually did or tried this?
> 
> tia,
>  sebastian



Re: Synaptics touchpad?

2002-02-12 Thread Pavel Mihaylov
вт, 12.02.2002 г., в 14.54 (+0200) Derek Broughton написа: 
> René Seindal wrote:
> > I haven't quite followed this thread, but there are at least two
> > packages, tpconfig and synaptics, that contain a program to control
> > various features of the synaptics touchpad, such as tapping, dragging,
> > tapping in corners etc.
> 
> Actually, they're the same program, different package names (offhand I can't
> remember which is current). The program, in either package, is tpconfig.
> 
> And, afaik, corner taps aren't supported by tpconfig on synaptics.  The old
> version of tpconfig (which is intended for more touchpads than just
> synaptics) used to let you set corner taps, but it didn't work, and the
> latest version I installed didn't even let me set them.

On the Synaptics touchpad of HP Omnibook XE3 tpconfig supports almost
nothing, basically the only useful thing is turning on/off tapping. The
method described in this thread by Dave Thayer works just great. It
seems gpm supports the touchpad much more natively, only that I would
never guess the weird syntax of /etc/gpm-syn.conf ;)



Re: New XE3, many questions

2002-02-20 Thread Pavel Mihaylov
ср, 20.02.2002 г., в 7.18 (+0200) Gabor FLEISCHER написа:
> 
> 1. When I do /etc/init.d/alsa start (or restart) it works almost as I'd
> except it. Even the controls are set to the last saved state and they are
> also
> unmuted. But the sound is VERY quite until I manually (or from script)
> do any changes to Master and PCM. Now I do
> 
> amixer sset 'Master' mute > /dev/null
> amixer sset 'Master' unmute > /dev/null
> 
> in a script. Any other solutions (which works for all controls)?
> 
alsa init script first loads modules then does "alsactl restore" to get
your mixer settings back to the stage saved by "alsactl store" (usually
invoked by /etc/init.d/alsa stop). On my XE3 (ESS Maestro3 card) I had
to put "sleep 2" between the module loading and volume restoring, else
it wouldn't restore properly.


> 2. Is there any way to do suspend/standby with ACPI? As far as I understood
> from the docs it's not supported yet :( Or should I try with the old APM
> again? With ACPI at least I get the sleep/power button's notify.
ACPI's still experimental/unfinished and there is no suspend/standby
support. With me APM works for suspend/standby (suspend by pressing
Fn+F12)

> 3. Any IrDA expiriences with Nokia 6110? The only thing I could achieve
> was that I saw the IR blinking with a camera when I run irdaping, but
> I couldn't send/receive anything to/from the 6110.
irdaping is part of the irda-tools package. You also need the
irda-common package -- the irattach program to "attach" your IR device.
Of course kernel support should be also present ;) I've had success with
Siemens S35.

> 4. APM doesn't report battery status. -> ok, let's do ACPI
> But ACPI debug gives strange errors from time to time:
> 
> Feb 20 04:36:38 exodus kernel:ecgpe-0131 [04] ec_gpe_handler:
> Unable to send 'query command' to EC.
> Feb 20 04:36:38 exodus kernel: [ACPI Debug] String: =QUERY_42=
> Feb 20 04:36:38 exodus kernel: evregion-0302 [21] Ev_address_space_dispa:
> Region handler: AE_ERROR [System_memory]
> Feb 20 04:36:38 exodus kernel: Ps_execute: method failed -
> \_SB_.PCI0.LPCB.EC0_._Q42 (cf723948)
> 
> 5. ACPI only reports battery _once_ (sometimes not even once).
> When I "cat /proc/acpi/" i get:
> exodus:~# cat /proc/acpi/battery/1/status
> Present: yes
> Error reading battery status (_BST)
>
> and the debug:
> Feb 20 04:45:11 exodus kernel: evregion-0302 [20] Ev_address_space_dispa:
> Region handler: AE_BAD_PARAMETER [Embedded_control]
> Feb 20 04:45:11 exodus kernel:  dswexec-0392 [11] Ds_exec_end_op:
> [Store]: Could not resolve operands, AE_BAD_PARAMETER
> Feb 20 04:45:11 exodus kernel: Ps_execute: method failed -
> \_SB_.PCI0.LPCB.BAT1._BST (cf7222e8)
> 
> Anyone succeeded with ACPI (or APM) and battery status?
Exactly the same situation with ACPI here. I can see battery parameters
(in /proc/acpi/battery/0/info) but I get an error if I want to see the
status (same debug errors in log). Apparently this is also due to the
immatureness of the ACPI support.
 
> 6. Is there any solution to "eepro100: wait_for_cmd_done timeout!" ???
my XE3 has DEC 24xxx compatible card and works fine with the tulip
module

> 
> 7. The LCD panel's clock isn't running. It means, that when I boot
> it syncronizes to CMOS clock (well it's on GMT, but anyway), but it
> doesn't refresh later. So let's say I turn it on at 2:00, and it's on
> for 3 hours, but the LCD's clock is still on 2:00. (The ":" is blinking
> though) Is it only a problem in my machine or anybody seen such things?
no such problem here. Do you have this problem only when you run Linux
or also with other operating systems? Just boot some DOS floppy and see
if the problem is there too -- then it is a hardware/BIOS/whatever error
and you can pursue HP to fix it for free (if you have the warranty of
course :))
> 
> 9. Any methods to change between LCD and external monitor output without
> reboot? (This new XE3 has i830MG. As I saw the older machines had Savage,
> and there was a utility to change between outputs)
Indeed mine has Savage, switching between LCD/CRT is done by Fn+F5

> 
> 10. Any success with KDE? I found on the net that it's a bug in X 4.1's VESA
> driver, and I have to upgrade to 4.2. Is it worth? Will it work?
If you get X running you can get KDE too. It's always best to upgrade to
the latest stable thing. Btw isn't i830 supported natively in X 4.2?

> 
> 11. Any success wit the inet and CD buttons? I saw in the archive that
> someone sent some "code" for enabling the scancodes, but it's not real code.
> Anybody's got a utility for enabling them?
I'm very much interested too!!

> 
> 12. Any success with TouchPad other than simple 2 button (3rd emulated)
> PS/2? synps2 doesn't work, IMPS/2 doesn't work. The two middle buttons
> don't send any codes.
The XE3 has a Synaptics touch pad. 1 or 2 weeks ago there was a thread
with a working solution to get one of the scroll buttons as a third
mouse button under X. Search the list for "Syna

Re: New XE3, many questions

2002-02-21 Thread Pavel Mihaylov
ср, 20.02.2002 г., в 20.20 (+0200) Gabor FLEISCHER написа:
> BUT when I start to play a song I can't hear it (or sometimes only very
> quitely). I need to go to a mixer (alsamixer) and either change a littlebit
> the volume of Master (sometimes even PCM needed) or mute & unmute them.
> After this the volume will be fine.
> 
very strange, which version of alsa is that? The 0.9.x releases could be
buggy, I am using 0.5.12a.

> I think this is a hardware bug. I don't remember how it worked with the
> 2.4.17 kernel's oss drivers (I just wanted to try them out, made alsa stop,
> and modprobe maestro3, but I got kernel crash : so this is the second
> time I type in this letter...) Any idea?
worked fine here with the kernel driver.. your laptop really seems
broken to me.

> Well I don't know which of the different IR types should I set in the BIOS.
> Normal/IrDA/FIR/something else which I don't remember now.
Normal (SIR) should be fine for the Nokia, FIR is Fast InfraRed and
allows speeds up to 4mbits but needs special drivers.

> Well I just checked this out today. I went to the shop where I bought the
> notebook and had a look to the same model. It was running XP, and the LCD
> shaw the same time as on the panel of windows. But I did another try!
> When I booted that machine and entered BIOS setup, the clock on the LCD just
> stopped. I think this is something like "winclock" (like winmodem) it needs
> a driver. The bad thing is that even when I turn the notebook off it
> continues from the time of the last reboot, when BIOS somehow syncronized it
> to the CMOS clock. I think I'll write to the HP hepldesk, maybe they could
> fix this in a future BIOS update. (but I guess Linux driver would be
> necessary anyway to work it during linux session)
It seems very stupid to me if the LCD clock would need a driver, that'll
be a hell downgrade compared to my model.

> 
> > > 9. Any methods to change between LCD and external monitor output without
> > > reboot? (This new XE3 has i830MG. As I saw the older machines had Savage,
> > > and there was a utility to change between outputs)
> > Indeed mine has Savage, switching between LCD/CRT is done by Fn+F5
> Well it's printed on the keyboard, but does nothing. Maybe it blinks the LCD
> when it's on LCD, but now I'm using external monitor, and does nothing)
Probably that is somehow connected to the videocard's BIOS and your
video is different anyway.

> 
> > > 10. Any success with KDE? I found on the net that it's a bug in X 4.1's 
> > > VESA
> > > driver, and I have to upgrade to 4.2. Is it worth? Will it work?
> > If you get X running you can get KDE too. It's always best to upgrade to
> Well no :( I'm using icewm-expermental (gnome) at the moment, because KDE
> hangs when it starts. I found this bug on the internet too, so I'll try it
> with 4.2...
Haven't tried 4.2 yet but I suggest you to try it -- always try the
newest version if there are bugs.

> complicated. I had a look at the kernel source's kbd driver, and if I knew
> what was that code about (some in and out stuff to port 64) maybe I would
> try to hack the kernel, but I have no clue. Tell me if you want the code!
Ok, drop the code on my email.

> > The XE3 has a Synaptics touch pad. 1 or 2 weeks ago there was a thread
> > with a working solution to get one of the scroll buttons as a third
> > mouse button under X. Search the list for "Synaptics touchpad".
> 
> I found it, and well it works better than the things I tried so far, but
> still has some problems. Under X when I move my finger on the touchpad
> and release it, the cursor goes on 'till it reaches the edge of the screen.
will send you mine config later, the phenomenon you describe is due to
"toss-something" setting which is ON by default.

Pavel



Re: New XE3, many questions

2002-02-21 Thread Pavel Mihaylov
> > I found it, and well it works better than the things I tried so far, but
> > still has some problems. Under X when I move my finger on the touchpad
> > and release it, the cursor goes on 'till it reaches the edge of the screen.
> will send you mine config later, the phenomenon you describe is due to
> "toss-something" setting which is ON by default.

here's my /etc/gpm-syn.conf

[use_wmode] Y
[corner_taps_enabled] N
[tossing_enabled] N

tossing was the feature I ment and it needs to be switched off. I also
don't need corner taps -- anyway I've got a middle button :)



Omnibook XE3 multimedia/onetouch keys revealed!

2002-02-22 Thread Pavel Mihaylov

Well, 
after several hours of debugging/testing/experimenting I found what HP
could not tell straightforward. To enable the scancodes for the extra
keys one should write 0x59 to port 0x64 (kbd command register) and then
0x90 to port 0x60 (kbd command parameter register). For those who are
curious I debugged keyboard.exe which is part of the diagnostic tool
that you get when you press F10 on power up. The file is in the
hibernation partition which has a small FAT part in the beginning. 
All extra keys except volume up/down work (I'll try different values to
port 60 to get them working too). I've attached a kernel patch (2.4.x)
and key definitions for hotkeys (a program to get the newly working keys
doing nice things). You also need to add to your kernel parameters
"kbd-reset" because I've put the activation code in a keyboard reset
function which is not invoked by default on x86 (counting that BIOS has
already initialised the keyboard). 

PS: Could anyone with a non-XE3 Omnibook test this too, and tell me
whether it works. 

Pavel
--- pc_keyb.c.org   Sat Feb 23 01:06:54 2002
+++ pc_keyb.c   Sat Feb 23 01:08:40 2002
@@ -879,6 +879,10 @@
kbd_wait_for_input();
}
 
+   printk("HP Omnibook multimedia keys enabled.\n");
+   kbd_write_command_w(0x59);
+   kbd_write_output_w(0x90);
+
if (kbd_write_output_w_and_wait(KBD_CMD_ENABLE) != KBD_REPLY_ACK)
return "Enable keyboard: no ACK";
 



  
  
  
  

  
  

  
  




Re: Mozilla 0.9.9 and Java

2002-05-10 Thread Pavel Mihaylov
На 11 май 2002 г. (събота), в 2.21 Cassandra Lynette Ludwig писа:

> I don't know if anyone else is having this same issue, but I am having a 
> problem with Mozilla 0.9.9 in that it does not seem to accept the Java 
> plugin.
> 
> This is a touch annoying as everything I have read documentation-wise says 
> that it should be working fine I installed it off the web-page, which 
> said it installed fine - restart the browser - nothing.  I installed 
> manually, and restarted the browser - again nothing.  Even the "plug-ins" 
> page doesn't show the java plugin.
> 

I have Sun's JRE 1.3.1 installed in /usr/local/jre and a symlink from 
/usr/local/jre/plugin/i386/ns600/libjavaplugin_oji.so to
/usr/lib/mozilla/plugins/ (standard place where system-wide mozilla
plugins live, if mozilla is installed from a standard deb package)

When you install Java make sure it actually starts (by running
/usr/local/jre/bin/java) as this might be the problem in your case.

Regards,
Pavel



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: USA electricity plugs

2002-10-18 Thread Pavel Mihaylov
If your AC adaptor is universal (usually 100-240V 50/60Hz), which is
probably the case, you will only need a North American plug (which is,
btw, the same as a Japanese one). Voltage in North America is 120V 60Hz.
I recommend you to visit http://kropla.com/electric2.htm, it has a huge
list of countries, plug types, and practical info on world's electrical
systems. (the whole http://kropla.com is in fact a very useful site for
laptop users who travel abroad [and also for technerds like me ;)])

Regards,
Pavel

На 18 октомври 2002 г. (петък), в 12.24 часа, Ionel Mugurel Ciobica
писа:
> Hi,
> 
> An offtopic question. I will go in USA for few days. Do I need some
> special adaptors for my Sony Vaio laptop? Or I can use the electricity
> directly. I have never been in the USA, I don't know how it works there.
> I have been all around Europe, UK, Japan, South Africa, etc. I could
> use it normally. In UK and South Africa I needed a special plug, in
> Japan also. So, how it is in USA?
> 
> Thank you for your help.
> 
> Regards,
> Ionel
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 




Re: Synaptics touchpad?

2002-02-12 Thread Pavel Mihaylov

вт, 12.02.2002 г., в 14.54 (+0200) Derek Broughton написа: 
> René Seindal wrote:
> > I haven't quite followed this thread, but there are at least two
> > packages, tpconfig and synaptics, that contain a program to control
> > various features of the synaptics touchpad, such as tapping, dragging,
> > tapping in corners etc.
> 
> Actually, they're the same program, different package names (offhand I can't
> remember which is current). The program, in either package, is tpconfig.
> 
> And, afaik, corner taps aren't supported by tpconfig on synaptics.  The old
> version of tpconfig (which is intended for more touchpads than just
> synaptics) used to let you set corner taps, but it didn't work, and the
> latest version I installed didn't even let me set them.

On the Synaptics touchpad of HP Omnibook XE3 tpconfig supports almost
nothing, basically the only useful thing is turning on/off tapping. The
method described in this thread by Dave Thayer works just great. It
seems gpm supports the touchpad much more natively, only that I would
never guess the weird syntax of /etc/gpm-syn.conf ;)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: New XE3, many questions

2002-02-20 Thread Pavel Mihaylov

ÓÒ, 20.02.2002 Ç., × 7.18 (+0200) Gabor FLEISCHER ÎÁÐÉÓÁ:
> 
> 1. When I do /etc/init.d/alsa start (or restart) it works almost as I'd
> except it. Even the controls are set to the last saved state and they are
> also
> unmuted. But the sound is VERY quite until I manually (or from script)
> do any changes to Master and PCM. Now I do
> 
> amixer sset 'Master' mute > /dev/null
> amixer sset 'Master' unmute > /dev/null
> 
> in a script. Any other solutions (which works for all controls)?
> 
alsa init script first loads modules then does "alsactl restore" to get
your mixer settings back to the stage saved by "alsactl store" (usually
invoked by /etc/init.d/alsa stop). On my XE3 (ESS Maestro3 card) I had
to put "sleep 2" between the module loading and volume restoring, else
it wouldn't restore properly.


> 2. Is there any way to do suspend/standby with ACPI? As far as I understood
> from the docs it's not supported yet :( Or should I try with the old APM
> again? With ACPI at least I get the sleep/power button's notify.
ACPI's still experimental/unfinished and there is no suspend/standby
support. With me APM works for suspend/standby (suspend by pressing
Fn+F12)

> 3. Any IrDA expiriences with Nokia 6110? The only thing I could achieve
> was that I saw the IR blinking with a camera when I run irdaping, but
> I couldn't send/receive anything to/from the 6110.
irdaping is part of the irda-tools package. You also need the
irda-common package -- the irattach program to "attach" your IR device.
Of course kernel support should be also present ;) I've had success with
Siemens S35.

> 4. APM doesn't report battery status. -> ok, let's do ACPI
> But ACPI debug gives strange errors from time to time:
> 
> Feb 20 04:36:38 exodus kernel:ecgpe-0131 [04] ec_gpe_handler:
> Unable to send 'query command' to EC.
> Feb 20 04:36:38 exodus kernel: [ACPI Debug] String: =QUERY_42=
> Feb 20 04:36:38 exodus kernel: evregion-0302 [21] Ev_address_space_dispa:
> Region handler: AE_ERROR [System_memory]
> Feb 20 04:36:38 exodus kernel: Ps_execute: method failed -
> \_SB_.PCI0.LPCB.EC0_._Q42 (cf723948)
> 
> 5. ACPI only reports battery _once_ (sometimes not even once).
> When I "cat /proc/acpi/" i get:
> exodus:~# cat /proc/acpi/battery/1/status
> Present: yes
> Error reading battery status (_BST)
>
> and the debug:
> Feb 20 04:45:11 exodus kernel: evregion-0302 [20] Ev_address_space_dispa:
> Region handler: AE_BAD_PARAMETER [Embedded_control]
> Feb 20 04:45:11 exodus kernel:  dswexec-0392 [11] Ds_exec_end_op:
> [Store]: Could not resolve operands, AE_BAD_PARAMETER
> Feb 20 04:45:11 exodus kernel: Ps_execute: method failed -
> \_SB_.PCI0.LPCB.BAT1._BST (cf7222e8)
> 
> Anyone succeeded with ACPI (or APM) and battery status?
Exactly the same situation with ACPI here. I can see battery parameters
(in /proc/acpi/battery/0/info) but I get an error if I want to see the
status (same debug errors in log). Apparently this is also due to the
immatureness of the ACPI support.
 
> 6. Is there any solution to "eepro100: wait_for_cmd_done timeout!" ???
my XE3 has DEC 24xxx compatible card and works fine with the tulip
module

> 
> 7. The LCD panel's clock isn't running. It means, that when I boot
> it syncronizes to CMOS clock (well it's on GMT, but anyway), but it
> doesn't refresh later. So let's say I turn it on at 2:00, and it's on
> for 3 hours, but the LCD's clock is still on 2:00. (The ":" is blinking
> though) Is it only a problem in my machine or anybody seen such things?
no such problem here. Do you have this problem only when you run Linux
or also with other operating systems? Just boot some DOS floppy and see
if the problem is there too -- then it is a hardware/BIOS/whatever error
and you can pursue HP to fix it for free (if you have the warranty of
course :))
> 
> 9. Any methods to change between LCD and external monitor output without
> reboot? (This new XE3 has i830MG. As I saw the older machines had Savage,
> and there was a utility to change between outputs)
Indeed mine has Savage, switching between LCD/CRT is done by Fn+F5

> 
> 10. Any success with KDE? I found on the net that it's a bug in X 4.1's VESA
> driver, and I have to upgrade to 4.2. Is it worth? Will it work?
If you get X running you can get KDE too. It's always best to upgrade to
the latest stable thing. Btw isn't i830 supported natively in X 4.2?

> 
> 11. Any success wit the inet and CD buttons? I saw in the archive that
> someone sent some "code" for enabling the scancodes, but it's not real code.
> Anybody's got a utility for enabling them?
I'm very much interested too!!

> 
> 12. Any success with TouchPad other than simple 2 button (3rd emulated)
> PS/2? synps2 doesn't work, IMPS/2 doesn't work. The two middle buttons
> don't send any codes.
The XE3 has a Synaptics touch pad. 1 or 2 weeks ago there was a thread
with a working solution to get one of the scroll buttons as a third
mouse button under X. Search the list for "Syn

Re: New XE3, many questions

2002-02-20 Thread Pavel Mihaylov

ÓÒ, 20.02.2002 Ç., × 20.20 (+0200) Gabor FLEISCHER ÎÁÐÉÓÁ:
> BUT when I start to play a song I can't hear it (or sometimes only very
> quitely). I need to go to a mixer (alsamixer) and either change a littlebit
> the volume of Master (sometimes even PCM needed) or mute & unmute them.
> After this the volume will be fine.
> 
very strange, which version of alsa is that? The 0.9.x releases could be
buggy, I am using 0.5.12a.

> I think this is a hardware bug. I don't remember how it worked with the
> 2.4.17 kernel's oss drivers (I just wanted to try them out, made alsa stop,
> and modprobe maestro3, but I got kernel crash : so this is the second
> time I type in this letter...) Any idea?
worked fine here with the kernel driver.. your laptop really seems
broken to me.

> Well I don't know which of the different IR types should I set in the BIOS.
> Normal/IrDA/FIR/something else which I don't remember now.
Normal (SIR) should be fine for the Nokia, FIR is Fast InfraRed and
allows speeds up to 4mbits but needs special drivers.

> Well I just checked this out today. I went to the shop where I bought the
> notebook and had a look to the same model. It was running XP, and the LCD
> shaw the same time as on the panel of windows. But I did another try!
> When I booted that machine and entered BIOS setup, the clock on the LCD just
> stopped. I think this is something like "winclock" (like winmodem) it needs
> a driver. The bad thing is that even when I turn the notebook off it
> continues from the time of the last reboot, when BIOS somehow syncronized it
> to the CMOS clock. I think I'll write to the HP hepldesk, maybe they could
> fix this in a future BIOS update. (but I guess Linux driver would be
> necessary anyway to work it during linux session)
It seems very stupid to me if the LCD clock would need a driver, that'll
be a hell downgrade compared to my model.

> 
> > > 9. Any methods to change between LCD and external monitor output without
> > > reboot? (This new XE3 has i830MG. As I saw the older machines had Savage,
> > > and there was a utility to change between outputs)
> > Indeed mine has Savage, switching between LCD/CRT is done by Fn+F5
> Well it's printed on the keyboard, but does nothing. Maybe it blinks the LCD
> when it's on LCD, but now I'm using external monitor, and does nothing)
Probably that is somehow connected to the videocard's BIOS and your
video is different anyway.

> 
> > > 10. Any success with KDE? I found on the net that it's a bug in X 4.1's VESA
> > > driver, and I have to upgrade to 4.2. Is it worth? Will it work?
> > If you get X running you can get KDE too. It's always best to upgrade to
> Well no :( I'm using icewm-expermental (gnome) at the moment, because KDE
> hangs when it starts. I found this bug on the internet too, so I'll try it
> with 4.2...
Haven't tried 4.2 yet but I suggest you to try it -- always try the
newest version if there are bugs.

> complicated. I had a look at the kernel source's kbd driver, and if I knew
> what was that code about (some in and out stuff to port 64) maybe I would
> try to hack the kernel, but I have no clue. Tell me if you want the code!
Ok, drop the code on my email.

> > The XE3 has a Synaptics touch pad. 1 or 2 weeks ago there was a thread
> > with a working solution to get one of the scroll buttons as a third
> > mouse button under X. Search the list for "Synaptics touchpad".
> 
> I found it, and well it works better than the things I tried so far, but
> still has some problems. Under X when I move my finger on the touchpad
> and release it, the cursor goes on 'till it reaches the edge of the screen.
will send you mine config later, the phenomenon you describe is due to
"toss-something" setting which is ON by default.

Pavel


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: New XE3, many questions

2002-02-21 Thread Pavel Mihaylov

> > I found it, and well it works better than the things I tried so far, but
> > still has some problems. Under X when I move my finger on the touchpad
> > and release it, the cursor goes on 'till it reaches the edge of the screen.
> will send you mine config later, the phenomenon you describe is due to
> "toss-something" setting which is ON by default.

here's my /etc/gpm-syn.conf

[use_wmode] Y
[corner_taps_enabled] N
[tossing_enabled] N

tossing was the feature I ment and it needs to be switched off. I also
don't need corner taps -- anyway I've got a middle button :)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Omnibook XE3 multimedia/onetouch keys revealed!

2002-02-22 Thread Pavel Mihaylov


Well, 
after several hours of debugging/testing/experimenting I found what HP
could not tell straightforward. To enable the scancodes for the extra
keys one should write 0x59 to port 0x64 (kbd command register) and then
0x90 to port 0x60 (kbd command parameter register). For those who are
curious I debugged keyboard.exe which is part of the diagnostic tool
that you get when you press F10 on power up. The file is in the
hibernation partition which has a small FAT part in the beginning. 
All extra keys except volume up/down work (I'll try different values to
port 60 to get them working too). I've attached a kernel patch (2.4.x)
and key definitions for hotkeys (a program to get the newly working keys
doing nice things). You also need to add to your kernel parameters
"kbd-reset" because I've put the activation code in a keyboard reset
function which is not invoked by default on x86 (counting that BIOS has
already initialised the keyboard). 

PS: Could anyone with a non-XE3 Omnibook test this too, and tell me
whether it works. 

Pavel


--- pc_keyb.c.org   Sat Feb 23 01:06:54 2002
+++ pc_keyb.c   Sat Feb 23 01:08:40 2002
@@ -879,6 +879,10 @@
kbd_wait_for_input();
}
 
+   printk("HP Omnibook multimedia keys enabled.\n");
+   kbd_write_command_w(0x59);
+   kbd_write_output_w(0x90);
+
if (kbd_write_output_w_and_wait(KBD_CMD_ENABLE) != KBD_REPLY_ACK)
return "Enable keyboard: no ACK";
 





  
  
  
  

  
  

  
  





Re: Mozilla 0.9.9 and Java

2002-05-10 Thread Pavel Mihaylov

На 11 май 2002 г. (събота), в 2.21 Cassandra Lynette Ludwig писа:

> I don't know if anyone else is having this same issue, but I am having a 
> problem with Mozilla 0.9.9 in that it does not seem to accept the Java 
> plugin.
> 
> This is a touch annoying as everything I have read documentation-wise says 
> that it should be working fine I installed it off the web-page, which 
> said it installed fine - restart the browser - nothing.  I installed 
> manually, and restarted the browser - again nothing.  Even the "plug-ins" 
> page doesn't show the java plugin.
> 

I have Sun's JRE 1.3.1 installed in /usr/local/jre and a symlink from 
/usr/local/jre/plugin/i386/ns600/libjavaplugin_oji.so to
/usr/lib/mozilla/plugins/ (standard place where system-wide mozilla
plugins live, if mozilla is installed from a standard deb package)

When you install Java make sure it actually starts (by running
/usr/local/jre/bin/java) as this might be the problem in your case.

Regards,
Pavel



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: USA electricity plugs

2002-10-18 Thread Pavel Mihaylov
If your AC adaptor is universal (usually 100-240V 50/60Hz), which is
probably the case, you will only need a North American plug (which is,
btw, the same as a Japanese one). Voltage in North America is 120V 60Hz.
I recommend you to visit http://kropla.com/electric2.htm, it has a huge
list of countries, plug types, and practical info on world's electrical
systems. (the whole http://kropla.com is in fact a very useful site for
laptop users who travel abroad [and also for technerds like me ;)])

Regards,
Pavel

На 18 октомври 2002 г. (петък), в 12.24 часа, Ionel Mugurel 
Ciobica
писа:
> Hi,
> 
> An offtopic question. I will go in USA for few days. Do I need some
> special adaptors for my Sony Vaio laptop? Or I can use the electricity
> directly. I have never been in the USA, I don't know how it works there.
> I have been all around Europe, UK, Japan, South Africa, etc. I could
> use it normally. In UK and South Africa I needed a special plug, in
> Japan also. So, how it is in USA?
> 
> Thank you for your help.
> 
> Regards,
> Ionel
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: keyboard scancodes

2003-02-04 Thread Pavel Mihaylov
Hello,

Check out http://sf.net/projects/omke. We started this as HP
Omnibook-only support but eventually people discovered that many laptops
shared the extra-key enabling scheme. Currently there is support for
various HP Omnibooks, Pavillions, Toshiba Satellites and Compals.

Regards,
Pavel

> hi folks...
> 
> i assume, some of you have already encountered the problem with
> not-working extra-keys on your laptop.
> the numerous tools available work by assigning unassigned
> scancodes to keycodes (to characters/starting programs), as it seems to
> me. this may be different for tools for specific laptops (like tpctl,
> i8kutils), which i do not have access to.
> 
> the problem arises, when there is no scancode at all for a specific key,
> when the keyboard controller does not send any code to the driver.
> you can test this with "showkey -s". and i have seen a couple of laptops
> which do not generate a scancode when hitting an extra key.
> 
> it seems that the keyboard driver has to send a magic byte string to the
> controller for that to work.
> so does anyone of you have any experience in this regard? anyone who
> actually did or tried this?
> 
> tia,
>  sebastian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]