home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / doc / usb-modeswitch-data / README.Debian < prev    next >
Encoding:
Text File  |  2012-08-16  |  1.3 KB  |  34 lines

  1. ===== usb-modeswitch-data =====
  2.  
  3. === Overriding entries from the database tarball ===
  4.  
  5. From its 1.1.7 version, usb-modeswitch searches for device switching data in
  6. the usb-modeswitch-data database tarball [0]. This heavily reduces the
  7. database disk space, but makes configuration investigation harder. To solve
  8. this issue, usb-modeswitch is shipped with a patch that allows administrators
  9. to override the database entries from the tarball [0] with files under /etc.
  10.  
  11. [0] /usr/share/usb_modeswitch/configPack.tar.gz 
  12.  
  13. = Example =
  14.  
  15. Let's assume one has a 3G dongle "05c6:1000 Qualcomm", which matching database
  16. entry [1] is 05c6:1000:uMa=Option , but isn't correctly switched. Hacking this
  17. database entry can be done as following:
  18.  
  19. # cd /etc/usb_modeswitch.d
  20. # tar xzf /usr/share/usb_modeswitch/configPack.tar.gz 05c6:1000:uMa=Option
  21.  
  22. Now the /etc/usb_modeswitch.d/05c6\:1000\:uMa=Option file will get used by
  23. usb_modeswitch_dispatcher when the "05c6:1000 Qualcomm" device gets plugged
  24. in.
  25.  
  26. When a correct database entry is found, please report it on the upstream
  27. forum:
  28.  
  29.     http://www.draisberghof.de/usb_modeswitch/bb/
  30.  
  31. [1] One can find exactly which database entry is matching a given device gets
  32.     matched with by activating logs (/etc/usb_modeswitch.conf) and reading
  33.     them from /var/log/usb_modeswitch*.
  34.