Re: 2.6.16-rc2-mm1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin Hermanowski <[email protected]> wrote:
>
> Hi,
> 
> 2.6.16-rc2-mm1 is running fine on my IBM notebook, but the hdaps module
> (acceleration sensor) does not work like I expected:
> 
> ,----[ modprobe hdaps ]
> | Feb 11 21:24:26 nimrais kernel: hdaps: inverting axis readings.
> | Feb 11 21:24:26 nimrais kernel: hdaps: IBM ThinkPad T41p detected.
> | Feb 11 21:24:26 nimrais kernel: hdaps: driver successfully loaded.
> `----
> 
> AFAIK the module should create sysfs files in
> /sys/devices/platform/hdaps/, but I see only `bus', `power' and
> `uevent'.
> 
> When unloading the hdaps module, I get a BUG:
> 
> ,----[ rmmod hdaps ]
> | Feb 11 21:24:49 nimrais kernel:  <c011d8b6> release_resource+0x76/0x80 <c0265bf4> platform_device_del+0x44/0x60
> | Feb 11 21:24:49 nimrais kernel:  <c0265c18> platform_device_unregister+0x8/0x10   <f9b9c8ed> hdaps_exit+0xd/0x25 [hdaps]
> | Feb 11 21:24:49 nimrais kernel:  <f9b9c8e0> hdaps_exit+0x0/0x25 [hdaps] <c0132e05> sys_delete_module+0x145/0x1c0
> | Feb 11 21:24:49 nimrais kernel:  <c0149901> remove_vma+0x41/0x50 <c014ab57> do_munmap+0x1a7/0x200
> | Feb 11 21:24:49 nimrais kernel:  <c0102d91> syscall_call+0x7/0xb  
> | Feb 11 21:24:49 nimrais kernel: hdaps: driver unloaded.
> `----
> 
> Do you need more information?
> 

Thanks, I'll drop hdaps-convert-to-the-new-platform-device-interface.patch,
which very likely to have caused this.

You could try reverting that patch (wget
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc2/2.6.16-rc2-mm1/broken-out/hdaps-convert-to-the-new-platform-device-interface.patch
; patch -p1 -R < hdaps-convert-to-the-new-platform-device-interface.patch) or please test next -mm, let us know?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux