"Didier 'OdyX' Raboud" <did...@raboud.com> writes: > * /e/usb_modeswitch.setup is a "one-file" version of what > usb-modeswitch-data > provides in /etc/usb_modeswitch.d/ > * It's existence is mainly historical, back in the days when usb-modeswitch > was shipped with the switching commands.
Ok, I'm new so I did not know that. However, usb_modeswitch binary seems to look for it, that seems wrong, isn't it? > * The switching commands are now provided by usb-modeswitch-data, which can > happen to be more up2date than usb-modeswitch itself (that's the point of > the split), there is little meaning to provide usb-modeswitch's > setup. I understand. > * the usb-modeswitch + usb-modeswitch-data combination is supposedly working > "out-of-the-box", thanks to udev rules and wrappers. That's not my case currently, even if my device USB id are included in the files provided by -data. This is why I tried to investigate a little but and discovered that calling usb_modeswitch fails because of that missing file. And when I read: ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="2000", RUN+="usb_modeswitch '%b/%k'" (my device) I was wondering if it really runs "usb_modeswitch something/something", because I'm not sure it'd works. -- Julien Danjou // ᐰ <jul...@danjou.info> http://julien.danjou.info
pgpuNfoCVuqHc.pgp
Description: PGP signature