la, 2009-12-05 kello 14:53 +0200, Antti Kaijanmäki kirjoitti: > The reference driver does not use product id alone. See below, it also > tests EPROM_SELECT_GPIO. I don't know if this is sufficient, but as the > driver comes from Realtek I would presume that the detection is correct. > At least they have the documentation for full EEPROM register map and > such. I haven't got the time to test the reference driver yet, but > EPROM_SELECT_GPIO could just be the difference between our chipsets. > > > > > r8187_core.c:L4359 > > > > > > if((idProduct == 0x8197) || (idProduct == 0x8198)) { > > > priv->EEPROMSelectNewGPIO =((u8)((eprom_read(dev,EPROM_SELECT_GPIO) & 0xff00) >> 8)) ? true : false; > > > DMESG("EPROM_SELECT_GPIO:%d", priv->EEPROMSelectNewGPIO); > > > } else { > > > priv->EEPROMSelectNewGPIO = false; > > > } I just tested the reference driver and for me it says: rtl8187B: EPROM_SELECT_GPIO:1 And the kill switch works as it should. Hin-Tak, when you have time could you test the reference driver, too. -- Antti
Attachment:
signature.asc
Description: Digitaalisesti allekirjoitettu viestin osa