Re: [PATCH] Platform: add Samsung Laptop platform driver

From: Greg KH
Date: Fri Mar 11 2011 - 12:03:51 EST


On Fri, Mar 11, 2011 at 09:12:07AM +0200, Nikolai Kondrashov wrote:
> On 03/10/2011 11:15 PM, Greg KH wrote:
> >Are you sure the driver is loaded?
> It doesn't load - it fails on inserting.
> I should've probably reminded you that in my recent messages.
>
> >What happens if you do:
> > rmmod samsung-laptop
> > dmesg -c
> > modprobe samsung-laptop debug=1
> >
> >can you send me the output of 'dmesg' after doing the above as root?
> Sure:
>
> nick@merry:~$ dmesg
> nick@merry:~$ sudo modprobe samsung-laptop debug=1
> FATAL: Error inserting samsung_laptop (/lib/modules/2.6.37+/kernel/drivers/staging/samsung-laptop/samsung-laptop.ko):
> No such device
> nick@merry:~$ dmesg
> [ 179.689516] samsung_laptop: module is from the staging directory,
> the quality is unknown, you have been warned.
> nick@merry:~$ sudo modprobe samsung-laptop debug=1 force=1
> FATAL: Error inserting samsung_laptop (/lib/modules/2.6.37+/kernel/drivers/staging/samsung-laptop/samsung-laptop.ko):
> Invalid argument
> nick@merry:~$ dmesg
> [ 179.689516] samsung_laptop: module is from the staging directory,
> the quality is unknown, you have been warned.
> [ 190.474615] samsung_laptop: module is from the staging directory,
> the quality is unknown, you have been warned.
> [ 190.479681] This computer does not support SABI

Are you sure this was the driver you just built that I sent you? Can
you send the output of 'modinfo samsung-laptop'?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/