From: Sven A. <an...@an...> - 2008-02-25 22:18:33
|
Michał Majchrowicz schrieb: > Hi. > I did mark all the functions and I got this: > Test atp_init > Test atp_probe > Test atp_is_geyser_3_4 > Test atp_is_geyser_2 > Test atp_is_fountain > Test atp_geyser_init > appletouch: Geyser mode initialized. > Test atp_is_geyser_3_4 > Test atp_is_geyser_2 > input: appletouch as > /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.1/input/input12 > usbcore: registered new interface driver appletouch > At this moment I did run evtest and get this: > Test atp_open > Test atp_complete Up to here, it look all fine... > appletouch: OVERFLOW with data length 81, actual length is 81 This is strange! > And of course after closing evtest I get atp_close. The overflow > warning is shown only once no matter how many times to I run evtest. Yes, this is intentional. See this code: | case -EOVERFLOW: | if(!dev->overflowwarn) { | printk("appletouch: OVERFLOW with data " | "length %d, actual length is %d\n", | dev->datalen, dev->urb->actual_length); | dev->overflowwarn = 1; | } | case -ECONNRESET: | case -ENOENT: > But no The module never uses atp_report_fingers and atp_calculate_abs > :( Of course, because has got an error. Just for interest, try to add a 'break' before the "case -ECONNRESET:" line. What happens?? > Is this because of some error inside of appletouch.c or do I have to > patch my applesmc in some way? Do you need any more data? What compiler are you using to compile the kernel? Are you compiling a 32 or 64 bit kernel? Regards Sven -- Sven Anders <an...@an...> () Ascii Ribbon Campaign /\ Support plain text e-mail ANDURAS service solutions AG Innstraße 71 - 94036 Passau - Germany Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55 Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032 Mitglieder des Vorstands: Sven Anders, Marcus Junker Vorsitzender des Aufsichtsrats: Dr. Thomas Träger |