/ 雑記帳

ゼブラーマン...白黒つけられない(笑)

$ lsusb

Bus 002 Device 003: ID 04d9:1400 Holtek Semiconductor, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 005 Device 013: ID 7a69:0001
Bus 005 Device 012: ID 058f:9520 Alcor Micro Corp.
Bus 005 Device 011: ID 058f:6254 Alcor Micro Corp.
Bus 005 Device 001: ID 0000:0000
Bus 005 Device 004: ID 0409:005a NEC Corp.
Bus 005 Device 003: ID 058f:6254 Alcor Micro Corp.
Bus 005 Device 005: ID 058f:9520 Alcor Micro Corp.
Bus 005 Device 008: ID 0dc3:0802 Athena Smartcard Solutions, Inc.
Bus 005 Device 006: ID 7a69:0001

上記のような場合は
recfriio.cpp 
if (parent != "002" && parent != "003" && vendor == "058f" &&
(product == "6254" || product == "9520")) {
hublist.push_back(hub);
hub2type[hub] = FRIIO_WHITE;
} else if (vendor == "058f" && product == "6254")) {
hublist.push_back(hub);
hub2type[hub] = FRIIO_BLACK;
  
recfriiobs.cpp
if (parent != "002" && parent != "003" && vendor == "058f" &&
(product == "6254" || product == "9520")) {
hublist.push_back(hub);
hub2type[hub] = FRIIO_WHITE;
} else if (vendor == "058f" && product == "6254") {
hublist.push_back(hub);
hub2type[hub] = FRIIO_BLACK;
  
まだ安定しない...

— posted by くま at 04:25 pm   pingTrackBack [0]

この記事に対するコメントはありません

<< 2008.7 >>
SMTWTFS
  12345
6 789101112
13 141516171819
2021 2223242526
2728293031  
 
























T: Y: ALL: Online:
ThemePanel
Created in 0.2567 sec.