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>,
	Corentin Chary <corentincj@iksaif.net>,
	acpi4asus-user@lists.sourceforge.net
Subject: Re: Turning off camera also kills card reader on EeePC 900
Date: Mon, 15 Sep 2008 22:41:04 +0100	[thread overview]
Message-ID: <48CED670.40105@yahoo.com> (raw)
In-Reply-To: <fa.jr7R0e2XSjOS0yWom34xSWH95yM@ifi.uio.no>

Alan Jenkins wrote:
> Sitsofe Wheeler wrote:
>>
>> Alan Jenkins wrote:
>>
>>> The "HC died" message is interesting.  Sounds like the controller for
>>> these two USB devices stops working.  Maybe try unloading and reloading
>>> the ehci module?  I don't think I can help any more though.
>>
>> I compiled the kernel without module support so unless there's some 
>> sysfs trick that can be done...
>>
> Well, since you ask :-P.  Here's an equivalent incantation.  I hope it's 
> not too brittle.  Don't forget to unmount the SD card first.
> 
> cd /sys/module/ehci_hcd/drivers/pci:ehci_hcd
> echo -n 0000:00:1d.7 | sudo tee unbind; echo -n 0000:00:1d.7 | sudo tee 
> bind
> 
> The magic number is the PCI ID for the USB Host Controller, taken from 
> your error message.
> 
> If the manual "bind" works you should then see a symlink, "0000:00:1d.7" 
> in that directory.

Unfortunately when the SD card disappears so do the typical shell 
commands (as that's the device I'm booting off). I was left having to 
use source to look at the contents of things in /sys when the SD card died.

>>> - It might be necessary to compare with the pre-installed OS
>>>  - Is the pre-installed kernel any better (files might be under
>>> /proc/acpi/asus instead)?  I guess you might not have the time or
>>> resources to test that though.
>>
>> The Xandros 2.6.21.4-eeepc install has the following files in 
>> /proc/acpi/asus/
>> brn camera cardr cpufv disp hdps init type wlan
>>
>> I have no idea what cpufv, disp, hdps, init or type are. Doing echo 1 
>> > camera && echo 0 > camera under this setup does NOT disappear the SD 
>> card.
> Rats.  So there is some secret the mainline driver is missing :-(.

Looks it.

>> Additionally brn seems to really represent the current LCD brightness 
>> (whereas it does not on a stock kernel and seems to always be set to -19)
> It might have bitrotted on stock kernels?  The newer interface is under 
> /sys/class/backlight.

Ah I see - the stuff in there is correct. Does that mean that brn should 
quietly disappear now this alternative interface is present?

>> and the hotkeys (e.g. for brightness) seem to respond far more quickly 
>> than the stock kernel too.
> Heh heh.  I know all too much about that.  It's a problem with the ACPI 
> Embedded Controller driver, a hardware bug which triggered a regression 
> in 2.6.25.
> 
> I'm currently running... it claims to be 2.6.27-rc4 but it might be 
> 2.6.27-rc5 or something in between... which includes a fix.  I'm not 
> confident that they haven't broken it again since then.  The problem is 
> there are just so many different types of buggy EC's.  "Fixes" for some 
> buggy hardware break other buggy hardware.  Very nasty.

Sigh. I think I've seen those posts ( 
http://thread.gmane.org/gmane.linux.acpi.devel/32779/focus=33442 ? ) and 
hadn't fully comprehended what you were fighting against. Doesn't this 
just lead to DMI based quirks?

>>>  - The source code is... a 2Gb+ rar file someone would have to download
>>> and pick apart.
>>
>> Does anyone know if the archives on
>> http://support.asus.com/download/download_item_4.aspx?product=20&model=Eee%20PC%20900/Linux&SLanguage=en-us&os=5 
>> (release dates appear to be 5th September 2008) are actually any 
>> different?
>>
> Why do you say that?  Are the filesizes suspiciously identical?

I wish I could say - for some reason every option to download the source 
code in the dropdown on http://eeepc.asus.com/global/download.htm goes 
to a 404 page. I can't say I'm looking forward to downloading 2.6Gbytes 
on this network connection regardless.

--
Sitsofe

       reply	other threads:[~2008-09-15 21:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2008-09-25 20:49 Turning off camera also kills card reader on EeePC 900 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.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
  -- strict thread matches above, loose matches on Subject: below --
2008-09-15  8:48 Alan Jenkins
2008-09-15 12:19 ` Sitsofe Wheeler
2008-09-15 13:37   ` Alan Jenkins
2008-09-25 20:27     ` Pascal Terjan
2008-09-25 21:21       ` Alan Jenkins
2008-09-26 14:47       ` Karl Kiniger
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=48CED670.40105@yahoo.com \
    --to=sitsofe@yahoo.com \
    --cc=acpi4asus-user@lists.sourceforge.net \
    --cc=alan-jenkins@tuffmail.co.uk \
    --cc=corentincj@iksaif.net \
    --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