Reading is a lossed art, be more consistent with existing stuff

Upon looking, it seems the H962 has idProduct identical to the D855.
Note in appropriate places the H962 is now supportted.
This commit is contained in:
Elliott Mitchell 2016-05-19 14:20:24 -07:00
parent 14df5335c3
commit 114f2b3cd8
2 changed files with 4 additions and 6 deletions

View file

@ -95,7 +95,7 @@ end
function lglaf.init() function lglaf.init()
local usb_product = DissectorTable.get("usb.product"); local usb_product = DissectorTable.get("usb.product");
usb_product:add(0x1004633e, lglaf) -- LG G3 D855 usb_product:add(0x1004633e, lglaf) -- LG G3 (D855) or LG V10 (H962)
usb_product:add(0x1004627f, lglaf) -- LG G3 VS985 usb_product:add(0x1004627f, lglaf) -- LG G3 (VS985)
usb_product:add(0x10046298, lglaf) -- LG G4 VS986 usb_product:add(0x10046298, lglaf) -- LG G4 (VS986)
end end

View file

@ -1,9 +1,7 @@
# /etc/udev/rules.d/42-usb-lglaf.rules # /etc/udev/rules.d/42-usb-lglaf.rules
# LG G3 (D855) in download mode # LG G3 (D855) or LG V10 (H962) in download mode
SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="633e", TAG+="uaccess" SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="633e", TAG+="uaccess"
# LG G3 (VS985) in download mode # LG G3 (VS985) in download mode
SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="627f", TAG+="uaccess" SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="627f", TAG+="uaccess"
# LG G4 (VS986) in download mode # LG G4 (VS986) in download mode
SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="6298", TAG+="uaccess" SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="6298", TAG+="uaccess"
# LG V10 (H962) in download mode
SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", ATTRS{idProduct}=="633e", TAG+="uaccess"