public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Zhang Rui <rui.zhang@intel.com>
To: Len Brown <lenb@kernel.org>
Cc: "linux-acpi@vger" <linux-acpi@vger.kernel.org>
Subject: Re: [0/12] acpi: make ACPI use driver model
Date: Fri, 24 Nov 2006 14:01:20 +0800	[thread overview]
Message-ID: <1164348080.5768.32.camel@localhost.localdomain> (raw)
In-Reply-To: <200611232338.06895.len.brown@intel.com>

On Thu, 2006-11-23 at 23:38 -0500, Len Brown wrote:
> On Wednesday 22 November 2006 23:54, Zhang Rui wrote:
> > This is caused by some changes in driver model.
> > I sent the updated patches to you on 31 Oct.
> > I think you forget to apply them. :)
> 
> You're right, we talked about this and you sent it to my internal
> e-mail account and not to the list, so I didn't notice it when I
> applied the series from the list.
> 
> In general, please keep the updates on the list so folks
> (besides me) know they're making progress and can follow it.
> 
> So now the T30 boots and runs, but ibm_acpi complains:
> 
> ACPI: AC Adapter [AC] (on-line)
> ACPI: Battery Slot [BAT0] (battery present)
> ACPI: Power Button (FF) [PWRF]
> ACPI: Lid Switch [LID]
> ACPI: Sleep Button (CM) [SLPB]
> ACPI: Thermal Zone [THM0] (54 C)
> ibm_acpi: IBM ThinkPad ACPI Extras v0.12a
> ibm_acpi: http://ibm-acpi.sf.net/
> kobject_add failed for ibm/hotkey (-13)
>  [<c0230939>] kobject_add+0x15d/0x185
>  [<c023059d>] kobject_get+0x15/0x1a
>  [<c0230b37>] kobject_register+0x21/0x3e
>  [<c02b62c0>] bus_add_driver+0x51/0x16e
>  [<f891e4f9>] acpi_ibm_init+0x4a2/0x63e [ibm_acpi]
>  [<c013d643>] sys_init_module+0x16fd/0x1835
>  [<c0161d71>] sys_read+0x4b/0x71
>  [<c0102e79>] sysenter_past_esp+0x56/0x79
>  =======================
> ibm_acpi: acpi_bus_register_driver(IBM0068) failed: -13
The problem is the driver name "ibm/hotkey".
'/' and "\0" can not exist in an kobject->name.
In driver/acpi/ibm_acpi.c line 1828, please replace the '/' with '-' or
any other character and try again :)

  reply	other threads:[~2006-11-24  5:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-22  9:14 [0/12] acpi: make ACPI use driver model Zhang Rui
2006-10-25 20:40 ` Bjorn Helgaas
2006-10-26  6:12   ` Zhang Rui
2006-10-26  8:15     ` Alexey Starikovskiy
2006-11-23  4:07 ` Len Brown
2006-11-23  4:54   ` Zhang Rui
2006-11-24  4:38     ` Len Brown
2006-11-24  6:01       ` Zhang Rui [this message]
2006-11-24 11:07         ` Henrique de Moraes Holschuh
2006-11-24 14:33           ` Henrique de Moraes Holschuh
     [not found]             ` <20061124143349.GC2287-ZGHd14iZgfaRjzvQDGKj+xxZW9W5cXbT@public.gmane.org>
2006-11-24 14:37               ` [PATCH] ACPI: ibm-acpi: do not use / in driver names Henrique de Moraes Holschuh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1164348080.5768.32.camel@localhost.localdomain \
    --to=rui.zhang@intel.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox