usb_modeswitch fails with "Essential attributes are missing"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usb-modeswitch (Ubuntu) |
Fix Released
|
Undecided
|
Mathieu Trudel-Lapierre |
Bug Description
After switching succeded usb_modeswitch try reading attributes until timeout (20 secs), then exit with error "Target config not matching".
Log attached.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: usb-modeswitch 1.2.3+repack0-
ProcVersionSign
Uname: Linux 3.2.0-16-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Sat Feb 18 14:55:23 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120217)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: usb-modeswitch
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
Related branches
Changed in usb-modeswitch (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Dah! There's indeed a bug here, I must have got confused while porting those last changes:
if (usb[idProduct] ->value != NULL || usb[idVendor] ->value != NULL) {
modeswitch_ log(" Essential attributes are missing, continue wait ...\n");
continue;
}
^^ is obviously wrong. I'll fix this ASAP.