Comment # 12 on bug 1217417 from Joe S
(In reply to Takashi Iwai from comment #11)
> You can try to add the new entry for 8126 via sysfs and let r8169 driver
> binding with it without compilation.
>   https://docs.kernel.org/PCI/pci.html?highlight=new_id
> 
> e.g. try to write like
>   echo -n "10ec 8126 ffff ffff 0 0 0" > /sys/bus/pci/drivers/r8169/new_id
>   echo -n "0000:05:00.0" > /sys/bus/pci/drivers/r8169/bind

Ok, I tried what you suggested above.

First I load the module and verified it loaded:

lsmod | grep r8169

modprobe r8169

lsmod | grep r8169

r8169                 114688  0
mdio_devres            12288  1 r8169
libphy                245760  3 r8169,mdio_devres,realtek

Your 1st echo does not report any issues

echo -n "10ec 8126 ffff ffff 0 0 0" > /sys/bus/pci/drivers/r8169/new_id

Your 2nd echo fails

echo -n "0000:05:00.0" > /sys/bus/pci/drivers/r8169/bind

-bash: echo: write error: No such device

What am I doing wrong ?


You are receiving this mail because: