public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* cdrom support with thinkpad x6 ultrabay
@ 2006-06-15  4:52 George Nychis
  2006-06-15  5:12 ` Randy.Dunlap
  2006-06-15  5:48 ` Jeremy Fitzhardinge
  0 siblings, 2 replies; 9+ messages in thread
From: George Nychis @ 2006-06-15  4:52 UTC (permalink / raw)
  To: lkml

Hi,

I am looking for support somewhere in the kernel for my thinkpad x6
ultrabay's cdrom drive.  Whenever I attach the ultrabay it picks up the
extra usb ports, seems to pick up the ethernet port, but it fails to
pick up anything about the dvd/cd-writer.  Nothing shows up in dmesg
about the drive at all... anyone know what I might need in the kernel?
I am using 2.6.17-rc6

Thanks!
George

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cdrom support with thinkpad x6 ultrabay
  2006-06-15  4:52 cdrom support with thinkpad x6 ultrabay George Nychis
@ 2006-06-15  5:12 ` Randy.Dunlap
  2006-06-15  5:48 ` Jeremy Fitzhardinge
  1 sibling, 0 replies; 9+ messages in thread
From: Randy.Dunlap @ 2006-06-15  5:12 UTC (permalink / raw)
  To: George Nychis; +Cc: linux-kernel

On Thu, 15 Jun 2006 00:52:06 -0400 George Nychis wrote:

> Hi,
> 
> I am looking for support somewhere in the kernel for my thinkpad x6
> ultrabay's cdrom drive.  Whenever I attach the ultrabay it picks up the
> extra usb ports, seems to pick up the ethernet port, but it fails to
> pick up anything about the dvd/cd-writer.  Nothing shows up in dmesg
> about the drive at all... anyone know what I might need in the kernel?
> I am using 2.6.17-rc6

I'm not sure, but you may need the dock station driver patches
that are in -mm.  You could try 2.6.17-rc6-mm2 ...

---
~Randy

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cdrom support with thinkpad x6 ultrabay
  2006-06-15  4:52 cdrom support with thinkpad x6 ultrabay George Nychis
  2006-06-15  5:12 ` Randy.Dunlap
@ 2006-06-15  5:48 ` Jeremy Fitzhardinge
  2006-06-15  7:25   ` George Nychis
  1 sibling, 1 reply; 9+ messages in thread
From: Jeremy Fitzhardinge @ 2006-06-15  5:48 UTC (permalink / raw)
  To: George Nychis; +Cc: lkml

George Nychis wrote:
> I am looking for support somewhere in the kernel for my thinkpad x6
> ultrabay's cdrom drive.  Whenever I attach the ultrabay it picks up the
> extra usb ports, seems to pick up the ethernet port, but it fails to
> pick up anything about the dvd/cd-writer.  Nothing shows up in dmesg
> about the drive at all... anyone know what I might need in the kernel?
> I am using 2.6.17-rc6
-mm has some support for the dock, but there isn't support for hot 
add/remove of the optical device yet.  I think that's waiting on some 
support in libata, but I'm not exactly sure what's needed.

At the moment, you either get the dock optical if you boot the machine 
in the dock, and you can never eject the dock, or you get no optical and 
eject works fine.

    J

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cdrom support with thinkpad x6 ultrabay
  2006-06-15  5:48 ` Jeremy Fitzhardinge
@ 2006-06-15  7:25   ` George Nychis
  2006-06-15  7:37     ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 9+ messages in thread
From: George Nychis @ 2006-06-15  7:25 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: lkml



Jeremy Fitzhardinge wrote:
> George Nychis wrote:
>> I am looking for support somewhere in the kernel for my thinkpad x6
>> ultrabay's cdrom drive.  Whenever I attach the ultrabay it picks up the
>> extra usb ports, seems to pick up the ethernet port, but it fails to
>> pick up anything about the dvd/cd-writer.  Nothing shows up in dmesg
>> about the drive at all... anyone know what I might need in the kernel?
>> I am using 2.6.17-rc6
> -mm has some support for the dock, but there isn't support for hot
> add/remove of the optical device yet.  I think that's waiting on some
> support in libata, but I'm not exactly sure what's needed.
> 
> At the moment, you either get the dock optical if you boot the machine
> in the dock, and you can never eject the dock, or you get no optical and
> eject works fine.
> 
>    J
> 

Thanks for the responses Jeremy and Randy.

I tried taking the acpi dock patch seperately out of the mm patchset by
applying this patch:
http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17-rc6/2.6.17-rc6-mm1/broken-out/acpi-dock-driver.patch

it successfully is applied, and i notice that CONFIG_ACPI_DOCK needs to
be set, so I did a "make oldconfig" after applying the patch, expecting
it to ask me whether or not i wanted to support it... it didn't.  So
then I manually added "CONFIG_ACPI_DOCK=y" to the .config and built the
kernel, but dock.o is never built... what else do i need to do?

If i can't get hot swappable support yet, I might as well get what is
supported for now so I can atleast use it sometimes :)

Maybe this cry for help will spark someone to finish off the work on hot
swapping the optical drive.

Thanks!
George

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cdrom support with thinkpad x6 ultrabay
  2006-06-15  7:25   ` George Nychis
@ 2006-06-15  7:37     ` Jeremy Fitzhardinge
  2006-06-15 15:22       ` George Nychis
  0 siblings, 1 reply; 9+ messages in thread
From: Jeremy Fitzhardinge @ 2006-06-15  7:37 UTC (permalink / raw)
  To: George Nychis; +Cc: lkml

George Nychis wrote:
> it successfully is applied, and i notice that CONFIG_ACPI_DOCK needs to
> be set, so I did a "make oldconfig" after applying the patch, expecting
> it to ask me whether or not i wanted to support it... it didn't.  So
> then I manually added "CONFIG_ACPI_DOCK=y" to the .config and built the
> kernel, but dock.o is never built... what else do i need to do?
>   

Make sure you disable the (obsolete?) ACPI_IBM_DOCK stuff.

> If i can't get hot swappable support yet, I might as well get what is
> supported for now so I can atleast use it sometimes :)
>
> Maybe this cry for help will spark someone to finish off the work on hot
> swapping the optical drive.
>   

Yeah, I'm hoping all the work on power management in libata will make 
things "just work" soon, but I think there's more to it.  When you press 
the dock eject button, it really needs to go out to acpid, activate a 
script to unmount any filesystems mounted off the device, and then poke 
the ata layer to remove the device, before OKing the dock eject so the 
hardware's "don't do that" light goes out.

But in the meantime I'm having enough trouble getting plain old 
suspend/resume reliable.

    J

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cdrom support with thinkpad x6 ultrabay
  2006-06-15  7:37     ` Jeremy Fitzhardinge
@ 2006-06-15 15:22       ` George Nychis
  2006-06-15 16:21         ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 9+ messages in thread
From: George Nychis @ 2006-06-15 15:22 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: lkml

I applied the acpi-dock patch that I specified, and that patch only, and
i'm getting errors building:

drivers/acpi/dock.c: In function 'dock_notify':
drivers/acpi/dock.c:543: error: 'KOBJ_DOCK' undeclared (first use in
this function)
drivers/acpi/dock.c:543: error: (Each undeclared identifier is reported
only once
drivers/acpi/dock.c:543: error: for each function it appears in.)
drivers/acpi/dock.c:562: error: 'KOBJ_UNDOCK' undeclared (first use in
this function)

Is there something else I need to apply that I am missing?

Thanks!
George


Jeremy Fitzhardinge wrote:
> George Nychis wrote:
>> it successfully is applied, and i notice that CONFIG_ACPI_DOCK needs to
>> be set, so I did a "make oldconfig" after applying the patch, expecting
>> it to ask me whether or not i wanted to support it... it didn't.  So
>> then I manually added "CONFIG_ACPI_DOCK=y" to the .config and built the
>> kernel, but dock.o is never built... what else do i need to do?
>>   
> 
> Make sure you disable the (obsolete?) ACPI_IBM_DOCK stuff.
> 
>> If i can't get hot swappable support yet, I might as well get what is
>> supported for now so I can atleast use it sometimes :)
>>
>> Maybe this cry for help will spark someone to finish off the work on hot
>> swapping the optical drive.
>>   
> 
> Yeah, I'm hoping all the work on power management in libata will make
> things "just work" soon, but I think there's more to it.  When you press
> the dock eject button, it really needs to go out to acpid, activate a
> script to unmount any filesystems mounted off the device, and then poke
> the ata layer to remove the device, before OKing the dock eject so the
> hardware's "don't do that" light goes out.
> 
> But in the meantime I'm having enough trouble getting plain old
> suspend/resume reliable.
> 
>    J
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cdrom support with thinkpad x6 ultrabay
  2006-06-15 15:22       ` George Nychis
@ 2006-06-15 16:21         ` Jeremy Fitzhardinge
  2006-06-19  2:56           ` George Nychis
  0 siblings, 1 reply; 9+ messages in thread
From: Jeremy Fitzhardinge @ 2006-06-15 16:21 UTC (permalink / raw)
  To: George Nychis; +Cc: lkml, Kristen Accardi

George Nychis wrote:
> I applied the acpi-dock patch that I specified, and that patch only, and
> i'm getting errors building:
>
> drivers/acpi/dock.c: In function 'dock_notify':
> drivers/acpi/dock.c:543: error: 'KOBJ_DOCK' undeclared (first use in
> this function)
> drivers/acpi/dock.c:543: error: (Each undeclared identifier is reported
> only once
> drivers/acpi/dock.c:543: error: for each function it appears in.)
> drivers/acpi/dock.c:562: error: 'KOBJ_UNDOCK' undeclared (first use in
> this function)
>
> Is there something else I need to apply that I am missing?
>   
Kristen?

    J
> Thanks!
> George
>
>
> Jeremy Fitzhardinge wrote:
>   
>> George Nychis wrote:
>>     
>>> it successfully is applied, and i notice that CONFIG_ACPI_DOCK needs to
>>> be set, so I did a "make oldconfig" after applying the patch, expecting
>>> it to ask me whether or not i wanted to support it... it didn't.  So
>>> then I manually added "CONFIG_ACPI_DOCK=y" to the .config and built the
>>> kernel, but dock.o is never built... what else do i need to do?
>>>   
>>>       
>> Make sure you disable the (obsolete?) ACPI_IBM_DOCK stuff.
>>
>>     
>>> If i can't get hot swappable support yet, I might as well get what is
>>> supported for now so I can atleast use it sometimes :)
>>>
>>> Maybe this cry for help will spark someone to finish off the work on hot
>>> swapping the optical drive.
>>>   
>>>       
>> Yeah, I'm hoping all the work on power management in libata will make
>> things "just work" soon, but I think there's more to it.  When you press
>> the dock eject button, it really needs to go out to acpid, activate a
>> script to unmount any filesystems mounted off the device, and then poke
>> the ata layer to remove the device, before OKing the dock eject so the
>> hardware's "don't do that" light goes out.
>>
>> But in the meantime I'm having enough trouble getting plain old
>> suspend/resume reliable.
>>
>>    J
>>
>>     


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cdrom support with thinkpad x6 ultrabay
  2006-06-15 16:21         ` Jeremy Fitzhardinge
@ 2006-06-19  2:56           ` George Nychis
  2006-06-23 13:50             ` Kristen Carlson Accardi
  0 siblings, 1 reply; 9+ messages in thread
From: George Nychis @ 2006-06-19  2:56 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: lkml, Kristen Accardi

any update on this? anyone else have a clue?

Thanks!
George


Jeremy Fitzhardinge wrote:
> George Nychis wrote:
>> I applied the acpi-dock patch that I specified, and that patch only, and
>> i'm getting errors building:
>>
>> drivers/acpi/dock.c: In function 'dock_notify':
>> drivers/acpi/dock.c:543: error: 'KOBJ_DOCK' undeclared (first use in
>> this function)
>> drivers/acpi/dock.c:543: error: (Each undeclared identifier is reported
>> only once
>> drivers/acpi/dock.c:543: error: for each function it appears in.)
>> drivers/acpi/dock.c:562: error: 'KOBJ_UNDOCK' undeclared (first use in
>> this function)
>>
>> Is there something else I need to apply that I am missing?
>>   
> Kristen?
> 
>    J
>> Thanks!
>> George
>>
>>
>> Jeremy Fitzhardinge wrote:
>>  
>>> George Nychis wrote:
>>>    
>>>> it successfully is applied, and i notice that CONFIG_ACPI_DOCK needs to
>>>> be set, so I did a "make oldconfig" after applying the patch, expecting
>>>> it to ask me whether or not i wanted to support it... it didn't.  So
>>>> then I manually added "CONFIG_ACPI_DOCK=y" to the .config and built the
>>>> kernel, but dock.o is never built... what else do i need to do?
>>>>         
>>> Make sure you disable the (obsolete?) ACPI_IBM_DOCK stuff.
>>>
>>>    
>>>> If i can't get hot swappable support yet, I might as well get what is
>>>> supported for now so I can atleast use it sometimes :)
>>>>
>>>> Maybe this cry for help will spark someone to finish off the work on
>>>> hot
>>>> swapping the optical drive.
>>>>         
>>> Yeah, I'm hoping all the work on power management in libata will make
>>> things "just work" soon, but I think there's more to it.  When you press
>>> the dock eject button, it really needs to go out to acpid, activate a
>>> script to unmount any filesystems mounted off the device, and then poke
>>> the ata layer to remove the device, before OKing the dock eject so the
>>> hardware's "don't do that" light goes out.
>>>
>>> But in the meantime I'm having enough trouble getting plain old
>>> suspend/resume reliable.
>>>
>>>    J
>>>
>>>     
> 
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cdrom support with thinkpad x6 ultrabay
  2006-06-19  2:56           ` George Nychis
@ 2006-06-23 13:50             ` Kristen Carlson Accardi
  0 siblings, 0 replies; 9+ messages in thread
From: Kristen Carlson Accardi @ 2006-06-23 13:50 UTC (permalink / raw)
  To: George Nychis; +Cc: Jeremy Fitzhardinge, lkml

George Nychis wrote:
> any update on this? anyone else have a clue?
>
> Thanks!
> George
>
>
> Jeremy Fitzhardinge wrote:
>   
>> George Nychis wrote:
>>     
>>> I applied the acpi-dock patch that I specified, and that patch only, and
>>> i'm getting errors building:
>>>
>>> drivers/acpi/dock.c: In function 'dock_notify':
>>> drivers/acpi/dock.c:543: error: 'KOBJ_DOCK' undeclared (first use in
>>> this function)
>>> drivers/acpi/dock.c:543: error: (Each undeclared identifier is reported
>>> only once
>>> drivers/acpi/dock.c:543: error: for each function it appears in.)
>>> drivers/acpi/dock.c:562: error: 'KOBJ_UNDOCK' undeclared (first use in
>>> this function)
>>>
>>> Is there something else I need to apply that I am missing?
>>>   
>>>       
>> Kristen?
>>
>>    J
>>     
>>> Thanks!
>>> George
>>>
>>>
>>> Jeremy Fitzhardinge wrote:
>>>  
>>>       
>>>> George Nychis wrote:
>>>>    
>>>>         
>>>>> it successfully is applied, and i notice that CONFIG_ACPI_DOCK needs to
>>>>> be set, so I did a "make oldconfig" after applying the patch, expecting
>>>>> it to ask me whether or not i wanted to support it... it didn't.  So
>>>>> then I manually added "CONFIG_ACPI_DOCK=y" to the .config and built the
>>>>> kernel, but dock.o is never built... what else do i need to do?
>>>>>         
>>>>>           
>>>> Make sure you disable the (obsolete?) ACPI_IBM_DOCK stuff.
>>>>
>>>>    
>>>>         
>>>>> If i can't get hot swappable support yet, I might as well get what is
>>>>> supported for now so I can atleast use it sometimes :)
>>>>>
>>>>> Maybe this cry for help will spark someone to finish off the work on
>>>>> hot
>>>>> swapping the optical drive.
>>>>>         
>>>>>           
>>>> Yeah, I'm hoping all the work on power management in libata will make
>>>> things "just work" soon, but I think there's more to it.  When you press
>>>> the dock eject button, it really needs to go out to acpid, activate a
>>>> script to unmount any filesystems mounted off the device, and then poke
>>>> the ata layer to remove the device, before OKing the dock eject so the
>>>> hardware's "don't do that" light goes out.
>>>>
>>>> But in the meantime I'm having enough trouble getting plain old
>>>> suspend/resume reliable.
>>>>
>>>>    J
>>>>
>>>>     
>>>>         
Hi, sorry for the delay in responding - I am out of town at the moment 
and have sporadic access to email.

You are indeed missing a patch that you need:

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17-rc5/2.6.17-rc5-mm3/broken-out/kevent-add-new-uevent.patch

If you have any PCI devices, you also need the patches to acpiphp:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17-rc5/2.6.17-rc5-mm3/broken-out/acpiphp-use-new-dock-driver.patch


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-06-23 13:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-15  4:52 cdrom support with thinkpad x6 ultrabay George Nychis
2006-06-15  5:12 ` Randy.Dunlap
2006-06-15  5:48 ` Jeremy Fitzhardinge
2006-06-15  7:25   ` George Nychis
2006-06-15  7:37     ` Jeremy Fitzhardinge
2006-06-15 15:22       ` George Nychis
2006-06-15 16:21         ` Jeremy Fitzhardinge
2006-06-19  2:56           ` George Nychis
2006-06-23 13:50             ` Kristen Carlson Accardi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox