public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sitsofe Wheeler <sitsofe@yahoo.com>
To: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Turning off camera also kills card reader on EeePC 900
Date: Mon, 15 Sep 2008 13:19:56 +0100	[thread overview]
Message-ID: <48CE52EC.9060505@yahoo.com> (raw)
In-Reply-To: <48CE217A.1080409@tuffmail.co.uk>

Alan Jenkins wrote:
> Firstly, I understand these kill-switches are supposed to be persistent
> over reboots.  You should check that the SD card stays disabled when you
> reboot.

The settings are persistent (so changing a camera value that is 0 to 1 
will show the camera as being enabled if you go to the BIOS). However 
the SD card will be present at reboot.

> Next, these settings are also exposed in the BIOS configuration screen,
> right?  If it's the same as my 701 then the BIOS will have a separate
> option for disabling the cardreader.  So you could see if the platform
> driver "camera" switch is simply disabling and enabling the two switches
> together.

The option for disabling the cardreader is indeed separate from the one 
to disable the camera. There is, however a switch for disabling USB in 
the BIOS too...

> Or if there's only a BIOS option for the camera, and not the SD card,
> then you should test whether it disables the SD card.

OK there are separate switches in the BIOS for disabling (among other 
things) the Camera, CardReader, and USB Ports.

Doing echo 0 > camera when camera is already 0 does nothing. The value 
in cardr remains 1.
Doing echo 0 > camera when camera is 1 seemingly results in the SD card 
disappearing too (ehci_hcd 0000:00:1d.7: HC died; cleaning up). cardr 
value remains 1. The CardReader and USB Ports options will be in the 
enabled state when looking in the BIOS after rebooting. The Camera 
option will be in the disabled state in the BIOS.
Doing echo 1 > camera after the SD card  has disappeared (but before 
rebooting) in the above step will result in the SD card seemingly coming 
back at a different address and the kernel reporting 'irq 23: nobody 
cared (try booting with the "irqpoll" option)' and a usb_hcd_irq backtrace.
Doing echo 0 > cardr when cardr is 1 results in the SD card disappearing 
and an ext3 error being printed on the console. The CardReader option 
will be in the disabled state in the BIOS after rebooting.
Doing echo 0 > camera after the SD card  has disappeared (but before 
rebooting) in the above step will result in 'ehci_hcd 0000:00:1d.7: HC 
died; cleaning up' being printed.

-- 
Sitsofe | http://sucs.org/~sits/

  reply	other threads:[~2008-09-15 12:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-15  8:48 Turning off camera also kills card reader on EeePC 900 Alan Jenkins
2008-09-15 12:19 ` Sitsofe Wheeler [this message]
2008-09-15 13:37   ` Alan Jenkins
2008-09-25 20:27     ` Pascal Terjan
2008-09-25 21:21       ` Alan Jenkins
2008-09-26  5:46         ` Turning off camera also kills card reader on EeePC 900 (USB regression?) Sitsofe Wheeler
2008-09-26 14:47       ` Turning off camera also kills card reader on EeePC 900 Karl Kiniger
  -- strict thread matches above, loose matches on Subject: below --
2008-09-25 20:49 Sitsofe Wheeler
2008-09-26 10:56 ` Pascal Terjan
2008-09-26 13:26   ` Pascal Terjan
     [not found] <fa.DzjC5FQ8ty+cqmv5KG/NRpAWgdE@ifi.uio.no>
     [not found] ` <fa.+Dv7n0Sa7hzDrReJcnf4HgYqsoA@ifi.uio.no>
     [not found]   ` <fa.+GChIGFRZ5au1CMIOZvlKhwFPrU@ifi.uio.no>
     [not found]     ` <fa.jNQrULYfenJPvj20234NL8Nt+cM@ifi.uio.no>
     [not found]       ` <fa.QFFph3ZzzmbGalzypmWpsSRfEPY@ifi.uio.no>
     [not found]         ` <fa.Pwdn/v9TPDX5WUUVn7K6FAfABEg@ifi.uio.no>
2008-09-17 18:04           ` Sitsofe Wheeler
     [not found] <fa.ynuVPnbW9HmrQpG9wbWk/u+hqkw@ifi.uio.no>
     [not found] ` <fa.HT4htA0oryTT1h7ADNggfgkJnyY@ifi.uio.no>
     [not found]   ` <fa.5D0cM9TkJ80O2GfXhZm3n4hc+GI@ifi.uio.no>
     [not found]     ` <fa.1xyAj/9KUcq9nDwCEVhSHc5KBBs@ifi.uio.no>
     [not found]       ` <fa.jr7R0e2XSjOS0yWom34xSWH95yM@ifi.uio.no>
2008-09-15 21:41         ` Sitsofe Wheeler
     [not found] <fa.AGK4P0BJyB1JXP0f1hBx9GtBh+c@ifi.uio.no>
     [not found] ` <fa.ifmgGzvpZjuOrzmMPG9PMGHUVn4@ifi.uio.no>
     [not found]   ` <fa.jeJ+IlDCDZAKTug+iVXTMjdMIyk@ifi.uio.no>
2008-09-15 15:02     ` Sitsofe Wheeler
2008-09-15 19:42       ` Alan Jenkins
2008-09-14 16:05 Sitsofe Wheeler

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=48CE52EC.9060505@yahoo.com \
    --to=sitsofe@yahoo.com \
    --cc=alan-jenkins@tuffmail.co.uk \
    --cc=linux-kernel@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