File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,10 +50,12 @@ pub fn print_touchpad_fw_ver() -> Result<(), HidError> {
5050 " Found {:04X}:{:04X} (Usage Page {:04X})" ,
5151 vid, pid, usage_page
5252 ) ;
53- if vid != PIX_VID || ( pid != 0x0274 && pid != 0x0239 && pid != 0x0360 ) {
53+ if vid != PIX_VID
54+ || ( pid != 0x0274 && pid != 0x0239 && pid != 0x0360 && pid != 0x0343 )
55+ {
5456 debug ! (
55- " Skipping VID:PID. Expected {:04X}:{:04X}/{:04X}" ,
56- PIX_VID , 0x0274 , 0x0239
57+ " Skipping VID:PID. Expected {:04X}:{:04X}/{:04X}/{:04X} " ,
58+ PIX_VID , 0x0274 , 0x0239 , 0x0343
5759 ) ;
5860 continue ;
5961 }
@@ -71,6 +73,7 @@ pub fn print_touchpad_fw_ver() -> Result<(), HidError> {
7173 let ver = match pid {
7274 0x0239 => format ! ( "{:04X}" , read_239_ver( & device) ?) ,
7375 0x0274 => format ! ( "{:04X}" , read_274_ver( & device) ?) ,
76+ 0x0343 => format ! ( "{:04X}" , read_274_ver( & device) ?) ,
7477 0x0360 => format ! ( "{:04X}" , read_360_ver( & device) ?) ,
7578 _ => "Unsupported" . to_string ( ) ,
7679 } ;
You can’t perform that action at this time.
0 commit comments