* [gentoo-embedded] ZTE MF100
@ 2010-02-18 10:45 Mirage ha
2010-02-18 11:33 ` Peter Stuge
0 siblings, 1 reply; 6+ messages in thread
From: Mirage ha @ 2010-02-18 10:45 UTC (permalink / raw
To: gentoo-embedded
[-- Attachment #1: Type: text/plain, Size: 1213 bytes --]
Hey All,
I want to switch mode of ZTE MF100 from cd-rom storage to modem,but when i
tried
usb_modeswitch i got the following error :
usb_set_debug: Setting debugging level to 15 (on)
USB error: couldn't opendir(): No such file or directory
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
No default device found. Is it connected? Bye.
the command is :
usb_modeswitch -W -p 0x19d2 -v 0x2000 -P 0x19d2 -V 0x0031
and this is the output od dmesg:
usb-storage: device scan complete
scsi 1:0:0:0: CD-ROM ZTE USB SCSI CD-ROM 2.31 PQ: 0 ANSI: 2
usb 1-3: USB disconnect, address 2
usb 1-3: new full speed USB device using ep93xx-ohci and address 3
usb 1-3: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 2:0:0:0: CD-ROM ZTE USB SCSI CD-ROM 2.31 PQ: 0 ANSI: 2
Am i missing some thing?.
Regards,
Mirage.
--
Never Think Hard About Past,It brings"Tears" Don't think more about future,
It brings"Fears" Live this moment with a Smile, It brings"Cheers".
[-- Attachment #2: Type: text/html, Size: 1410 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-embedded] ZTE MF100
2010-02-18 10:45 [gentoo-embedded] ZTE MF100 Mirage ha
@ 2010-02-18 11:33 ` Peter Stuge
2010-02-18 16:25 ` Ed W
2010-02-23 15:26 ` Mirage ha
0 siblings, 2 replies; 6+ messages in thread
From: Peter Stuge @ 2010-02-18 11:33 UTC (permalink / raw
To: gentoo-embedded
Mirage ha wrote:
> I want to switch mode of ZTE MF100 from cd-rom storage to modem,but
> when i tried usb_modeswitch i got the following error :
>
> usb_set_debug: Setting debugging level to 15 (on)
> USB error: couldn't opendir(): No such file or directory
Hmm. Maybe the program requires usbfs to be mounted? That is usually
not done on newer Linux systems, and it is not strictly neccessary.
At least for Huawei modems the modeswitch command should be added
into the Linux kernel, so that there is no need to maintain the
separate utility.
> Am i missing some thing?.
I would suggest contributing a modeswitch patch to the Linux kernel.
Second best option would be to update the usb_modeswitch utility so
that it no longer requires usbfs to be mounted.
//Peter
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-embedded] ZTE MF100
2010-02-18 11:33 ` Peter Stuge
@ 2010-02-18 16:25 ` Ed W
2010-02-18 21:08 ` Peter Stuge
2010-02-23 15:26 ` Mirage ha
1 sibling, 1 reply; 6+ messages in thread
From: Ed W @ 2010-02-18 16:25 UTC (permalink / raw
To: gentoo-embedded
> At least for Huawei modems the modeswitch command should be added
> into the Linux kernel, so that there is no need to maintain the
> separate utility.
>
>
I'm not sure that's a universally preferred option? What if you actually
wanted to access the memory card part of the device?
You would at least need some way to get the kernel to toggle the
hardware around? I would have thought that starts to look like a
userspace utility again...?
It would be nice for these devices to work more easily though..
Ed
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-embedded] ZTE MF100
2010-02-18 16:25 ` Ed W
@ 2010-02-18 21:08 ` Peter Stuge
0 siblings, 0 replies; 6+ messages in thread
From: Peter Stuge @ 2010-02-18 21:08 UTC (permalink / raw
To: gentoo-embedded
Ed W wrote:
>> At least for Huawei modems the modeswitch command should be added
>> into the Linux kernel, so that there is no need to maintain the
>> separate utility.
>
> I'm not sure that's a universally preferred option? What if you
> actually wanted to access the memory card part of the device?
I believe the memory card reader is always separately available. The
issue is that at first, the device exposes only a CD-ROM with branded
software - stored internally in the modem separately from any memory
card.
> It would be nice for these devices to work more easily though..
Having the modeswitch in the kernel makes it work consistently and
reliably like a modem. I like that a lot.
//Peter
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-embedded] ZTE MF100
2010-02-18 11:33 ` Peter Stuge
2010-02-18 16:25 ` Ed W
@ 2010-02-23 15:26 ` Mirage ha
2010-02-25 7:43 ` Mirage ha
1 sibling, 1 reply; 6+ messages in thread
From: Mirage ha @ 2010-02-23 15:26 UTC (permalink / raw
To: gentoo-embedded
[-- Attachment #1: Type: text/plain, Size: 766 bytes --]
On 2/18/10, Peter Stuge <peter@stuge.se> wrote:
>
>
> I would suggest contributing a modeswitch patch to the Linux kernel.
>
> Second best option would be to update the usb_modeswitch utility so
> that it no longer requires usbfs to be mounted.
>
>
> //Peter
>
> thaks for your reply ,i tried the second suggestion but i am facing a
problem when cross merging usb_modeswith 1.1.0
it fails when merging tcl ( in linking step ) the error is:
multiple definition of 'fixstrtod'.
i do not know why usb_modeswitch requires to merge tcl,is there any option
to disable it?
or is there any patch to fix this error?
Thanks.
--
Never Think Hard About Past,It brings"Tears" Don't think more about future,
It brings"Fears" Live this moment with a Smile, It brings"Cheers".
[-- Attachment #2: Type: text/html, Size: 1202 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-embedded] ZTE MF100
2010-02-23 15:26 ` Mirage ha
@ 2010-02-25 7:43 ` Mirage ha
0 siblings, 0 replies; 6+ messages in thread
From: Mirage ha @ 2010-02-25 7:43 UTC (permalink / raw
To: gentoo-embedded
[-- Attachment #1: Type: text/plain, Size: 991 bytes --]
On Tue, Feb 23, 2010 at 5:26 PM, Mirage ha <superlight2008@gmail.com> wrote:
>
>
> On 2/18/10, Peter Stuge <peter@stuge.se> wrote:
>>
>>
>> I would suggest contributing a modeswitch patch to the Linux kernel.
>>
>> Second best option would be to update the usb_modeswitch utility so
>> that it no longer requires usbfs to be mounted.
>>
>>
>> //Peter
>>
>> thaks for your reply ,i tried the second suggestion but i am facing a
> problem when cross merging usb_modeswith 1.1.0
> it fails when merging tcl ( in linking step ) the error is:
> multiple definition of 'fixstrtod'.
>
> i do not know why usb_modeswitch requires to merge tcl,is there any option
> to disable it?
> or is there any patch to fix this error?
>
> Thanks.
>
I tried again with the old version and it is now working after i mounted
usbfs.
Thanks Peter for your time.
--
Never Think Hard About Past,It brings"Tears" Don't think more about future,
It brings"Fears" Live this moment with a Smile, It brings"Cheers".
[-- Attachment #2: Type: text/html, Size: 1758 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-02-25 8:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-18 10:45 [gentoo-embedded] ZTE MF100 Mirage ha
2010-02-18 11:33 ` Peter Stuge
2010-02-18 16:25 ` Ed W
2010-02-18 21:08 ` Peter Stuge
2010-02-23 15:26 ` Mirage ha
2010-02-25 7:43 ` Mirage ha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox