Re: Issue of HUAWEI E220 On Linux

Phil Dibowitz <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
linlei 60022748 wrote:
> BUS="usb", SYSFS{idVendor}="12d1", SYSFS{idProduct}="1003",
> SYSFS{bNumInterfaces}=" 1", RUN+="/usr/local/bin/huaweiAktBbo-i386.out "

On second though, I know at least part of what's wrong here. Try:

BUS=="usb", SYSFS{idVendor}=="12d1", SYSFS{idProduct}=="1003",
SYSFS{bNumInterfaces}=="1", RUN+="/usr/local/bin/huaweiAktBbo-i386.out"

udev changed the 'match' statements to use the more intuitive == instead of =.

-- 
Phil Dibowitz                             [email protected]
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Never write it in C if you can do it in 'awk';
 Never do it in 'awk' if 'sed' can handle it;
 Never use 'sed' when 'tr' can do the job;
 Never invoke 'tr' when 'cat' is sufficient;
 Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGHzQpN5XoxaHnMrsRAjAFAJwLlZA22bfr5yn9q/F7WYPRqP9lDQCfaw2h
+d8OrGjV9Ke34wrShLH4kR8=
=Uidl
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.