Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140817 - Patch to make moto4lin work with a few phones
Summary: Patch to make moto4lin work with a few phones
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Carlos Silva (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-17 12:49 UTC by Phillip Berndt
Modified: 2006-09-09 09:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for moto4lin-0.3 (moto4lin-c450-compability.patch,557 bytes, patch)
2006-07-17 12:50 UTC, Phillip Berndt
Details | Diff
Updated patch (moto4lin-c450-compability.patch,597 bytes, patch)
2006-09-07 14:17 UTC, Phillip Berndt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Phillip Berndt 2006-07-17 12:49:27 UTC
I use a Motorola C450 and wanted to connect it using moto4lin, which didn't work. After debugging a bit I found that the program claimed that it couldn't "set configuration" although that wasn't necessary.

I'll attach a patch which removes that info. 

@users: All users having problems with their cellphones should give it a try. If it works for you, please give a short feedback.

@maintainer: ...and if it works for most users, please add the patch to the official ebuild.
Comment 1 Phillip Berndt 2006-07-17 12:50:52 UTC
Created attachment 92019 [details, diff]
Patch for moto4lin-0.3

(Of course I checked whether the bug still occurs in the cvs-ebuild. Yes, it does. Same deal.)
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2006-09-06 13:39:14 UTC
Hmm... your patch doesn't seem to help others.

Please try this variation of your patch:
-	if (usb_set_configuration(phoneHandle,1)) RAISE("Unable to set configuration");
+	usb_set_configuration(phoneHandle,1);
Comment 3 Phillip Berndt 2006-09-07 14:17:42 UTC
Created attachment 96324 [details, diff]
Updated patch

Working as well.
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2006-09-09 09:18:22 UTC
moto4lin-0.3_p20051125 is already in cvs and it doesn't call usb_set_configuration()!

Bug closed as invalid.