[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51066E73.60704@huawei.com>
Date: Mon, 28 Jan 2013 20:26:27 +0800
From: Yijing Wang <wangyijing@...wei.com>
To: Martin Mokrejs <mmokrejs@...d.natur.cuni.cz>
CC: Chris Clayton <chris2553@...glemail.com>,
Yijing Wang <wangyijing0307@...il.com>,
LKML <linux-kernel@...r.kernel.org>, <linux-pci@...r.kernel.org>
Subject: Re: 3.8.0-rc4+ - Oops on removing WinTV-HVR-1400 expresscard TV Tuner
On 2013/1/28 20:12, Martin Mokrejs wrote:
> Chris Clayton wrote:
>>
>> [snip]
>>
>>> [chris:~]$ cat /proc/cmdline
>>> root=/dev/sda5 pciehp_ports=native ro resume=/dev/sda6
>> ^^
>> **typo**
>> I've run the test again with pcie_ports=native and the directories now get populated. Even better though, is that when I plug in the card, hotplug **works** and the card's drivers are loaded.
>
> BTW, I have with acpiphp on 3.7.4:
>
> ls -la /sys/bus/pci_express/devices
> total 0
> drwxr-xr-x 2 root root 0 Jan 28 13:07 .
> drwxr-xr-x 4 root root 0 Jan 28 13:07 ..
> $ ls -la /sys/bus/pci/devices/slots
> ls: cannot access /sys/bus/pci/devices/slots: No such file or directory
> $
>
> And for me hotplug also works (as far as I can tell). ;-)
Right, only pciehp (pcie nativa hotplug) need to bind pcie port devices.
Acpiphp (acpi pci hotplug) don't need pcie port devices, it just depend the firmware
in your machine, also acpiphp can support both pci hotplug and pcie hotplug. pciehp only
support pcie device hotplug.
>
>>
>> Excellent! Thank you so much for your help (and patience) Martin and Yijing.
>>
>> Now to solving why running scandvb doesn't find any TV channels.
>
> Would be fine if you could re-do the PresDet checks and confirm whether it is also broken
> for you under pciehp.
>
> Martin
>
>
--
Thanks!
Yijing
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists