Android Phones - help with usb_modeswitch

aaron d instantkamera-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Mon Apr 18 00:00:07 UTC 2011


I'm sure you have searched around a bit so I'm not sure how much help I can
be, but I did find this:
http://www.windmobile.ca/community/ideas/detail/30173/
seems this works flawlessly for windows users (surprise surprise) but you
aren't the only one dealing with this under nix. I also assume wind is your
carrier since you mentioned the "unlimited" data plan.

Hope you get it figured out.

Aaron
On Apr 17, 2011 6:45 PM, "Russell reiter" <rreiter91-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> You're right on both accounts. Sometimes especially I can't understand
> what I'm talking about. I think I'm trying to figure out how to
> resolve an issue between kernel-space and user-space on my computer.
>
> It's my understanding that it is the sim card on my phone which is
> being mounted as a virtual CD. My phone is not rooted so I think any
> MS programs which auto-runs would be on a very small file system on
> the internal storage medium. Using MS, that file system is then
> mounted as a virtual CD and auto-run takes over at mount time to do
> the mode switching. This gives me the choice between using the "sim
> card" file system for file transfer or accessing the internal modem
> stream. In both case the device is tethered. Five pins, I think.
>
> In one mode case the computer would be tethered to a block device and
> in the other, to a character device. I assume serial TTY. So why my
> modem device doesn't return udevadm ATTR{serial} info is confusing.
> However that lack of information hints at a simple solution.
>
> In this case however my default Nautilus system mounts the phone
> tether as a block device. I want to switch to a character device. Not
> even that. I want to un-mount the device and get out of the way of the
> character stream so I can refer to it as a TTY device. (Which seems
> kind of weird to me, but that's user-space for you.) The fact that
> Nautilus calls out to and then mounts the phones "exported" file
> system and then can't grep and name the system properly for the system
> GUI, hints at a either a simple XML TRanslation problem or something
> deeper which might not be solved with either udev or usb_modeswitch,
> which are both user space solutions. Maybe my kernel GSM modem
> firmware descriptions are incomplete or maybe I'm missing something
> simple in udev modem switching.
>
> Android is Linux so I know its got to be simple, KISS right?
>
> I always was a lousy speller.
>
>
>
> On Sun, Apr 17, 2011 at 5:21 PM, aaron d <instantkamera-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
>> I have a hard time understanding you. Sometimes because I have no clue
what
>> you are talking about (in the sense that the discussion is possibly over
my
>> head), and other times, because Im certain you are as confused as I am
>> 2G != 2 Gigahertz, it means 2nd Generation.
>> Im fairly certain you arent mounting your "sim card", when you connect
the
>> phone via USb, but rather, the internal storage and/or sd storage
available
>> to the phone.
>> Looking closer at what you want to accomplish, I _think_ you are talking
>> about USB tethering. On this I could be wrong, but this cannot be
>> accomplished by changing the way the PC sees the phone, it should be the
>> other way around. It sees the phone as addressable storage because that's
>> what the phone reports itself as via the usb controller.
>> I have a Nexus S, and, although I have never used it, it has an option
for
>> USB tethering, that must be enabled. I can also accomplish the same task
>> over wi-fi (phone acts as a portable hotspot).
>> Try looking for these options on your phone, the usb tethering option
>> specifically should be what you want (I cant say 100%, since I cant test
>> this myself at this time).
>>
>> -aaron
>>
>> On Sun, Apr 17, 2011 at 4:25 PM, Russell reiter <rreiter91-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
wrote:
>>>
>>> Right, 2G = 2 gigahertz. My phone does mode switching automatically
>>> under MS. I am able to use the modem on that platform. For $40.00 a
>>> month I get free Canada wide calls, texts and a few other features as
>>> well as so called unlimited band-with. In this case they mean they
>>> don't throttle the connection til you hit 5 gig of transfers.
>>>
>>> I used the term GSM  to refer to any modem that supports one or more
>>> of the protocols in the GSM evolutionary family, including the 2.5G
>>> technologies GPRS and EDGE, as well as the 3G technologies WCDMA,
>>> UMTS, HSDPA and HSUPA. (Most of that sentence comes from a reference
>>> website ;-)
>>>
>>> I thought I'd try to access the modem on my phone using Debian, just for
>>> fun.
>>>
>>> I confess to finding udev a little frustrating, but I don't
>>> necessarily find it a problem. My SYSFS problems and resolving parent
>>> child relationships are, in my mind translational problems. You'd
>>> think I'd be able to just get the OS to ignore the reported file
>>> system. Once the device is booted, the modem is always on right? I
>>> just have to figure out how to prod the mode to switch from storage to
>>> stream or block to character or whatever.
>>>
>>> Nautilus is ok as a file manager, it just tries to mount everything
>>> that gets connected to it and I can't figure out the proper sequence
>>> to send to correct that problem.
>>>
>>> I use linux because I always feel like I learn something, not just how
>>> to do something.
>>>
>>> On Sun, Apr 17, 2011 at 3:11 PM, James Knott <james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org>
>>> wrote:
>>> > Russell reiter wrote:
>>> >>
>>> >> I guess stuff gets related to being "legacy" pretty quickly these
>>> >> days, but still my phone can drop into GSM 2G.
>>> >>
>>> >>
>>> >
>>> > 2G doesn't necessarily mean modem emulation.  It's simply less
bandwidth
>>> > that can still be used for IP.  That modem service required the
carrier
>>> > to
>>> > convert the data to standard modem tones, before placing it on the
POTS
>>> > network.  My previous phone a Motorola V180 could be used as a modem,
>>> > provided I paid for the service.  I don't think that service is
>>> > currently
>>> > available.
>>> >
>>> >
>>> > --
>>> > The Toronto Linux Users Group.      Meetings: http://gtalug.org/
>>> > TLUG requests: Linux topics, No HTML, wrap text below 80 columns
>>> > How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
>>> >
>>> --
>>> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
>>> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
>>> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
>>
>>
> --
> The Toronto Linux Users Group. Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20110417/40198e20/attachment.html>


More information about the Legacy mailing list