Some words of explanation: when I was submitting the original patch for Intuos4 WL (78761ff9bc4e944e0b4e5df1e7eedcfdbb1a9a1a) there were no problems with connection, battery values were incorrect, but it was a minor issue. When the patch reached the mainline kernel it became unusable (crash report below). I tried to bisect the problem, but I failed. <Guessing mode on> The problem might be related to the attempt to send a packet to the tablet while the link is not yet established. I don't feel confident enough with kernel locks to suggest a solution yet, but I'm working on it. Currently I just switched off the sysfs code for I4WL in the driver. My only concern is that I don't have access to Graphire Bluetooth and there is a chance that the tablet might be affected as well..
regards, Przemo Crash report (also here: http://pastebin.com/ZVNZWaPs) : > Feb 1 21:47:58 pldmachine kernel: [ 89.535952] Bluetooth: HIDP (Human > Interface Emulation) ver 1.2 > Feb 1 21:49:51 pldmachine kernel: [ 202.347235] wacom 0005:056A:00BD.0001: > unknown main item tag 0x0 > Feb 1 21:49:51 pldmachine kernel: [ 202.347999] input: PTK-540WL as > /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/blue > tooth/hci0/hci0:1/input8 > Feb 1 21:49:51 pldmachine kernel: [ 202.348201] wacom 0005:056A:00BD.0001: > input,hidraw0: BLUETOOTH HID v1.06 Mouse [PTK-5 > 40WL] on 00:11:67:D6:1D:BF > Feb 1 21:49:51 pldmachine kernel: [ 202.416811] BUG: unable to handle > kernel NULL pointer dereference at 00000020 > Feb 1 21:49:51 pldmachine kernel: [ 202.416888] IP: [<c1142bb4>] > sysfs_do_create_link+0x24/0x1c0 > Feb 1 21:49:51 pldmachine kernel: [ 202.416945] *pde = 00000000 > Feb 1 21:49:51 pldmachine kernel: [ 202.416973] Oops: 0000 [#1] > Feb 1 21:49:51 pldmachine kernel: [ 202.417002] Modules linked in: > hid_wacom(+) hidp binfmt_misc rfcomm bnep cn i915 drm_k > ms_helper drm i2c_algo_bit cfbfillrect cfbcopyarea cfbimgblt rtl8192cu > rtl8192c_common rtlwifi mac80211 ipw2200 libipw cfg80 > 211 snd_intel8x0 snd_ac97_codec ac97_bus btusb bluetooth pcmcia snd_pcm > snd_timer snd rfkill intel_agp sdhci_pci intel_gtt v > ideo yenta_socket tpm_infineon sdhci lib80211 soundcore evdev pcspkr > snd_page_alloc psmouse pcmcia_rsrc pcmcia_core backligh > t mmc_core agpgart tg3 sg ohci_hcd uhci_hcd ehci_hcd usbhid usbcore > usb_common hid ata_piix libata sd_mod crc_t10dif scsi_mod ext4 crc16 mbcache > jbd2 jbd [last unloaded: scsi_wait_scan] > Feb 1 21:49:51 pldmachine kernel: [ 202.417660] > Feb 1 21:49:51 pldmachine kernel: [ 202.417676] Pid: 3759, comm: modprobe > Not tainted 3.3.0-rc1-2-00001-g326ff11 #18 Hewlett-Packard HP Compaq nc4200 > (PV983AW#ABU) /0938 > Feb 1 21:49:51 pldmachine kernel: [ 202.417781] EIP: 0060:[<c1142bb4>] > EFLAGS: 00010202 CPU: 0 > Feb 1 21:49:51 pldmachine kernel: [ 202.417826] EIP is at > sysfs_do_create_link+0x24/0x1c0 > Feb 1 21:49:51 pldmachine kernel: [ 202.417866] EAX: 00000008 EBX: 00000246 > ECX: c1484021 EDX: e7624c68 > Feb 1 21:49:51 pldmachine kernel: [ 202.417914] ESI: c1484021 EDI: ef36bf00 > EBP: ef307db8 ESP: ef307d80 > Feb 1 21:49:51 pldmachine kernel: [ 202.417962] DS: 007b ES: 007b FS: 0000 > GS: 00e0 SS: 0068 > Feb 1 21:49:51 pldmachine kernel: [ 202.418005] Process modprobe (pid: > 3759, ti=ef306000 task=e7560380 task.ti=ef306000) > Feb 1 21:49:51 pldmachine kernel: [ 202.418066] Stack: > Feb 1 21:49:51 pldmachine kernel: [ 202.418084] 00000002 00000001 ef307d90 > c1383f88 ef307dcc f81037fa 00000000 e7624c68 > Feb 1 21:49:51 pldmachine kernel: [ 202.418170] e7693aa0 e7560380 e7693abc > 00000246 e7624000 ef36bf00 ef307dc4 c1142d62 > Feb 1 21:49:51 pldmachine kernel: [ 202.418255] 00000001 ef307dcc c1289ed6 > ef307df8 f812f5c0 00000002 ef307df8 f8130028 > Feb 1 21:49:51 pldmachine kernel: [ 202.418341] Call Trace: > Feb 1 21:49:51 pldmachine kernel: [ 202.418366] [<c1383f88>] ? > mutex_unlock+0x8/0x10 > Feb 1 21:49:51 pldmachine kernel: [ 202.418406] [<f81037fa>] ? > hidp_output_raw_report+0x15a/0x1c0 [hidp] > Feb 1 21:49:51 pldmachine kernel: [ 202.418457] [<c1142d62>] > sysfs_create_link+0x12/0x20 > Feb 1 21:49:51 pldmachine kernel: [ 202.418498] [<c1289ed6>] > power_supply_powers+0x16/0x20 > Feb 1 21:49:51 pldmachine kernel: [ 202.418541] [<f812f5c0>] > wacom_probe+0x180/0x2c0 [hid_wacom] > Feb 1 21:49:51 pldmachine kernel: [ 202.418592] [<f8c320ae>] > hid_device_probe+0x8e/0x110 [hid] > Feb 1 21:49:51 pldmachine kernel: [ 202.418639] [<c12613b1>] > driver_probe_device+0x61/0x170 > Feb 1 21:49:51 pldmachine kernel: [ 202.418683] [<c1261549>] > __driver_attach+0x89/0x90 > > Feb 1 21:49:51 pldmachine kernel: [ 202.418722] [<c12614c0>] ? > driver_probe_device+0x170/0x170 > Feb 1 21:49:51 pldmachine kernel: [ 202.418766] [<c125fff8>] > bus_for_each_dev+0x38/0x60 > Feb 1 21:49:51 pldmachine kernel: [ 202.418809] [<c12610ec>] > driver_attach+0x1c/0x20 > Feb 1 21:49:51 pldmachine kernel: [ 202.418847] [<c12614c0>] ? > driver_probe_device+0x170/0x170 > Feb 1 21:49:51 pldmachine kernel: [ 202.418891] [<c1260df7>] > bus_add_driver+0x187/0x260 > Feb 1 21:49:51 pldmachine kernel: [ 202.418935] [<c11c1c6d>] ? > kset_find_obj+0x2d/0x60 > Feb 1 21:49:51 pldmachine kernel: [ 202.418976] [<f8c2f650>] ? > hid_disconnect+0x60/0x60 [hid] > Feb 1 21:49:51 pldmachine kernel: [ 202.419022] [<c12619c5>] > driver_register+0x65/0x120 > Feb 1 21:49:51 pldmachine kernel: [ 202.419064] [<c1383f88>] ? > mutex_unlock+0x8/0x10 > Feb 1 21:49:51 pldmachine kernel: [ 202.419104] [<f8c317ea>] > __hid_register_driver+0x2a/0x60 [hid] > Feb 1 21:49:51 pldmachine kernel: [ 202.419151] [<f8132019>] > wacom_init+0x19/0x31 [hid_wacom] > Feb 1 21:49:51 pldmachine kernel: [ 202.419198] [<c100111f>] > do_one_initcall+0x2f/0x160 > Feb 1 21:49:51 pldmachine kernel: [ 202.419240] [<f8132000>] ? 0xf8131fff > Feb 1 21:49:51 pldmachine kernel: [ 202.419275] [<c10641c5>] > sys_init_module+0x395/0x1c00 > Feb 1 21:49:51 pldmachine kernel: [ 202.419324] [<c138b993>] > sysenter_do_call+0x12/0x22 > Feb 1 21:49:51 pldmachine kernel: [ 202.419364] Code: ff ff 5b 5d c3 66 90 > 55 89 e5 83 ec 38 85 c9 89 75 f8 89 ce 89 5d f4 89 7d fc 89 55 e4 0f 84 81 01 > 00 00 85 c0 0f 84 3c 01 00 00 <8b> 40 18 bf f2 ff ff ff 85 c0 89 45 e8 0f 84 > 82 00 00 00 8b 55 > Feb 1 21:49:51 pldmachine kernel: [ 202.420047] EIP: [<c1142bb4>] > sysfs_do_create_link+0x24/0x1c0 SS:ESP 0068:ef307d80 > Feb 1 21:49:51 pldmachine kernel: [ 202.420047] CR2: 0000000000000020 > Feb 1 21:49:51 pldmachine kernel: [ 202.451891] ---[ end trace > dc2911a95f4cfc0a ]--- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
