Re: sonypi kernel driver -- volunteers needed
"Daniel K." <[email protected]>
| Newsgroups | gmane.linux.hardware.sony |
|---|---|
| Message-ID | <[email protected]> |
On 06/25/2003 07:44 PM, Christian T. Steigies typed onto the keyboard: > On Wed, Jun 25, 2003 at 05:56:02PM +0000, Daniel K. wrote: > >>What is reported to syslog will look something like: >>Jun 25 17:48:58 vaio kernel: sonypi: unknown event port1=0x1c,port2=0x11 >> >>The interesting part is the value of port2 >>Here the value is '0x11' which is a 'JOGGER' event, which is already >>taken care of in the patch. >> >>In particluar I am interested in the correct values for the eventtypes >>in the table below. >> >>0x38, SONYPI_LID_MASK >>0x08, SONYPI_CAPTURE_MASK >>0x08, SONYPI_PKEY_MASK >>0x08, SONYPI_HELP_MASK >>0x08, SONYPI_ZOOM_MASK >>0x08, SONYPI_THUMBPHRASE_MASK >>0x08, SONYPI_MEMORYSTICK_MASK >> >>Please report your results to the list, or directly to me. >>I will then prepare a patch and send it to the maintainer of the sonypi >>driver. > > > Do we have to do something special to generate those events you are looking > for? I only get a few messages when loading the driver: The genreal idea is that the events will be generated when you do 'something' with your laptop. e.g. inserting or removing a memorystick will generate an event. If you have a Picturebook, you may generate a 'capture' event by pressing any of the camera keys. Different laptops heve different keys, some have 'thumbphrase' keys, 'zoom' keys, 'help' keys or special 'programmable keys'. These are the ones that will induce the events I am interested in. Maybe *your* laptop even have other special keys that will generate a different set of events, this is what I am after. Hope this clarifies. > > Jun 25 15:35:42 lepcts kernel: sonypi: unknown event port1=0x0f,port2=0x05 > Jun 25 15:35:42 lepcts kernel: sonypi: Sony Programmable I/O Controller Driver v1.18. > Jun 25 15:35:42 lepcts kernel: sonypi: detected type2 model, verbose = 1, fnkeyinit = off, camera = off, compat = off, mask = 0xffffffff, useinput = on > Jun 25 15:35:42 lepcts kernel: sonypi: unknown event port1=0x0f,port2=0x05 > Jun 25 15:35:42 lepcts kernel: sonypi: enabled at irq=11, port1=0x1080,port2=0x1084 > Jun 25 15:35:42 lepcts kernel: sonypi: device allocated minor is 63 > These messages are expected, (I get them too) what they mean however is a little hard to know as Sony doesn't hand out any specs. > Maybe the GR100K is too old? > > Christian >