* Add support to huawei e173
@ 2011-05-30 21:11 Leonardo Luiz Padovani da Mata
2011-05-31 16:47 ` Denis Kenzior
0 siblings, 1 reply; 6+ messages in thread
From: Leonardo Luiz Padovani da Mata @ 2011-05-30 21:11 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 469 bytes --]
hello dudes, what i need to do to check if the implemented drivers are
enough to support a modem? Do i just need to add the rules for udev? how do
i do that?
The id of the modem is 12d1:1c0b huawei e173
thanks
--
Leonardo Luiz Padovani da Mata
International Syst S/A
Metasys Tecnologia
Software Engineer Metasys MeeGo Team
leonardol(a)metasys.com.br
+55-31-3503-9040
"May the force be with you, always"
"Nerd Pride... eu tenho. Voce tem?"
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 601 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Add support to huawei e173
2011-05-30 21:11 Add support to huawei e173 Leonardo Luiz Padovani da Mata
@ 2011-05-31 16:47 ` Denis Kenzior
2011-05-31 17:45 ` Leonardo Luiz Padovani da Mata
0 siblings, 1 reply; 6+ messages in thread
From: Denis Kenzior @ 2011-05-31 16:47 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 647 bytes --]
Hi Leonardo,
On 05/30/2011 04:11 PM, Leonardo Luiz Padovani da Mata wrote:
> hello dudes, what i need to do to check if the implemented drivers are
> enough to support a modem? Do i just need to add the rules for udev? how
> do i do that?
>
> The id of the modem is 12d1:1c0b huawei e173
>
Check plugins/ofono.rules in git. It looks like a rule is not present
for this particular device id.
You will have to do some minor poking around to figure out what tty
corresponds to what function (e.g. Pcui, Modem, see other Huawei rules
for examples), add a new entry to ofono.rules and try to see if it works.
Regards,
-Denis
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Add support to huawei e173
2011-05-31 16:47 ` Denis Kenzior
@ 2011-05-31 17:45 ` Leonardo Luiz Padovani da Mata
2011-05-31 17:52 ` Denis Kenzior
0 siblings, 1 reply; 6+ messages in thread
From: Leonardo Luiz Padovani da Mata @ 2011-05-31 17:45 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1278 bytes --]
Hello Denis, how are you?
On Tue, May 31, 2011 at 1:47 PM, Denis Kenzior <denkenz@gmail.com> wrote:
> Hi Leonardo,
>
> On 05/30/2011 04:11 PM, Leonardo Luiz Padovani da Mata wrote:
> > hello dudes, what i need to do to check if the implemented drivers are
> > enough to support a modem? Do i just need to add the rules for udev? how
> > do i do that?
> >
> > The id of the modem is 12d1:1c0b huawei e173
> >
>
> Check plugins/ofono.rules in git. It looks like a rule is not present
> for this particular device id.
>
> You will have to do some minor poking around to figure out what tty
> corresponds to what function (e.g. Pcui, Modem, see other Huawei rules
> for examples), add a new entry to ofono.rules and try to see if it works.
>
>
Ok, i've found another possible soluttion using usb_modeswitch, but it
didn't work yet:
http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=552
Do you think that the usb_modeswitch approach is better/worse?
> Regards,
> -Denis
>
Thanks
--
Leonardo Luiz Padovani da Mata
International Syst S/A
Metasys Tecnologia
Software Engineer Metasys MeeGo Team
leonardol(a)metasys.com.br
+55-31-3503-9040
"May the force be with you, always"
"Nerd Pride... eu tenho. Voce tem?"
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1965 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Add support to huawei e173
2011-05-31 17:45 ` Leonardo Luiz Padovani da Mata
@ 2011-05-31 17:52 ` Denis Kenzior
2011-05-31 18:05 ` Leonardo Luiz Padovani da Mata
0 siblings, 1 reply; 6+ messages in thread
From: Denis Kenzior @ 2011-05-31 17:52 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1533 bytes --]
Hi Leonardo,
On 05/31/2011 12:45 PM, Leonardo Luiz Padovani da Mata wrote:
> Hello Denis, how are you?
>
> On Tue, May 31, 2011 at 1:47 PM, Denis Kenzior <denkenz@gmail.com
> <mailto:denkenz@gmail.com>> wrote:
>
> Hi Leonardo,
>
> On 05/30/2011 04:11 PM, Leonardo Luiz Padovani da Mata wrote:
> > hello dudes, what i need to do to check if the implemented drivers are
> > enough to support a modem? Do i just need to add the rules for
> udev? how
> > do i do that?
> >
> > The id of the modem is 12d1:1c0b huawei e173
> >
>
> Check plugins/ofono.rules in git. It looks like a rule is not present
> for this particular device id.
>
> You will have to do some minor poking around to figure out what tty
> corresponds to what function (e.g. Pcui, Modem, see other Huawei rules
> for examples), add a new entry to ofono.rules and try to see if it
> works.
>
>
> Ok, i've found another possible soluttion using usb_modeswitch, but it
> didn't work yet:
> http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=552
>
> Do you think that the usb_modeswitch approach is better/worse?
This depends a little bit on how your modem is being recognized. If it
is recognized as a storage device, then yes, usb_modeswitch will
probably be required.
If it is already recognized as a modem and the rules are not present in
ofono.rules, then you will need to perform the steps I mentioned in my
previous mail.
Regards,
-Denis
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Add support to huawei e173
2011-05-31 17:52 ` Denis Kenzior
@ 2011-05-31 18:05 ` Leonardo Luiz Padovani da Mata
2011-05-31 19:11 ` Leonardo Luiz Padovani da Mata
0 siblings, 1 reply; 6+ messages in thread
From: Leonardo Luiz Padovani da Mata @ 2011-05-31 18:05 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 2896 bytes --]
On Tue, May 31, 2011 at 2:52 PM, Denis Kenzior <denkenz@gmail.com> wrote:
> Hi Leonardo,
>
> On 05/31/2011 12:45 PM, Leonardo Luiz Padovani da Mata wrote:
> > Hello Denis, how are you?
> >
> > On Tue, May 31, 2011 at 1:47 PM, Denis Kenzior <denkenz@gmail.com
> > <mailto:denkenz@gmail.com>> wrote:
> >
> > Hi Leonardo,
> >
> > On 05/30/2011 04:11 PM, Leonardo Luiz Padovani da Mata wrote:
> > > hello dudes, what i need to do to check if the implemented drivers
> are
> > > enough to support a modem? Do i just need to add the rules for
> > udev? how
> > > do i do that?
> > >
> > > The id of the modem is 12d1:1c0b huawei e173
> > >
> >
> > Check plugins/ofono.rules in git. It looks like a rule is not
> present
> > for this particular device id.
> >
> > You will have to do some minor poking around to figure out what tty
> > corresponds to what function (e.g. Pcui, Modem, see other Huawei
> rules
> > for examples), add a new entry to ofono.rules and try to see if it
> > works.
> >
> >
> > Ok, i've found another possible soluttion using usb_modeswitch, but it
> > didn't work yet:
> > http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=552
> >
> > Do you think that the usb_modeswitch approach is better/worse?
>
> This depends a little bit on how your modem is being recognized. If it
> is recognized as a storage device, then yes, usb_modeswitch will
> probably be required.
>
> If it is already recognized as a modem and the rules are not present in
> ofono.rules, then you will need to perform the steps I mentioned in my
> previous mail.
>
I think it's beeing reconize as a storage device:
[69834.725138] usb 1-1: new high speed USB device using ehci_hcd and address
8
[69835.059643] usb 1-1: New USB device found, idVendor=12d1, idProduct=1c0b
[69835.059659] usb 1-1: New USB device strings: Mfr=2, Product=1,
SerialNumber=0
[69835.059672] usb 1-1: Product: HUAWEI Mobile
[69835.059681] usb 1-1: Manufacturer: HUAWEI
[69835.065356] scsi10 : usb-storage 1-1:1.0
[69835.069655] scsi11 : usb-storage 1-1:1.1
[69837.899663] scsi 10:0:0:0: CD-ROM HUAWEI Mass Storage
2.31 PQ: 0 ANSI: 2
[69837.899734] scsi 11:0:0:0: Direct-Access HUAWEI SD Storage
2.31 PQ: 0 ANSI: 2
[69837.911391] sr0: scsi-1 drive
[69837.913325] sr 10:0:0:0: Attached scsi CD-ROM sr0
[69837.914408] sr 10:0:0:0: Attached scsi generic sg1 type 5
[69837.923960] sd 11:0:0:0: Attached scsi generic sg2 type 0
[69837.933196] sd 11:0:0:0: [sdb] Attached SCSI removable disk
>
> Regards,
> -Denis
>
--
Leonardo Luiz Padovani da Mata
International Syst S/A
Metasys Tecnologia
Software Engineer Metasys MeeGo Team
leonardol(a)metasys.com.br
+55-31-3503-9040
"May the force be with you, always"
"Nerd Pride... eu tenho. Voce tem?"
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 3853 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Add support to huawei e173
2011-05-31 18:05 ` Leonardo Luiz Padovani da Mata
@ 2011-05-31 19:11 ` Leonardo Luiz Padovani da Mata
0 siblings, 0 replies; 6+ messages in thread
From: Leonardo Luiz Padovani da Mata @ 2011-05-31 19:11 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 5810 bytes --]
Hello,
after installing the usb-modeswitch packages, and adding information about
this modem, i'm getting this output on dmesg:
[ 211.821126] usb 1-1: new high speed USB device using ehci_hcd and address
5
[ 212.159596] usb 1-1: New USB device found, idVendor=12d1, idProduct=1c0b
[ 212.159613] usb 1-1: New USB device strings: Mfr=2, Product=1,
SerialNumber=0
[ 212.159626] usb 1-1: Product: HUAWEI Mobile
[ 212.159636] usb 1-1: Manufacturer: HUAWEI
[ 212.164491] scsi4 : usb-storage 1-1:1.0
[ 212.168298] scsi5 : usb-storage 1-1:1.1
[ 214.196257] usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usb_modeswitch
rqt 128 rq 6 len 255 ret -110
[ 215.196274] usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usb_modeswitch
rqt 128 rq 6 len 255 ret -110
[ 223.169124] scsi 4:0:0:0: CD-ROM HUAWEI Mass Storage
2.31 PQ: 0 ANSI: 2
[ 223.169196] scsi 5:0:0:0: Direct-Access HUAWEI SD Storage
2.31 PQ: 0 ANSI: 2
[ 223.179683] sr0: scsi-1 drive
[ 223.179702] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 223.181383] sr 4:0:0:0: Attached scsi CD-ROM sr0
[ 223.182586] sr 4:0:0:0: Attached scsi generic sg1 type 5
[ 223.190693] sd 5:0:0:0: Attached scsi generic sg1 type 0
[ 223.195132] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[ 223.239512] usb 1-1: USB disconnect, address 5
[ 225.452183] usb 1-1: new high speed USB device using ehci_hcd and address
6
[ 225.568519] usb 1-1: New USB device found, idVendor=12d1, idProduct=1c05
[ 225.568536] usb 1-1: New USB device strings: Mfr=2, Product=1,
SerialNumber=0
[ 225.568548] usb 1-1: Product: HUAWEI Mobile
I think that usb_modeswitch cannot be done in this device. Maybe you are
more familiar with this type of debugging and you can help me.
rule added on 40-usb_modeswitch.rules:
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1c0b", RUN+="usb_modeswitch
'%b/%k'"
file with modem information on /etc/usb_modeswitch.d :
########################################################
# Huawei E173s
DefaultVendor= 0x12d1
DefaultProduct= 0x1c0b
TargetVendor= 0x12d1
TargetProduct= 0x1c05
CheckSuccess=20
MessageContent="55534243123456780000000000000011060000000000000000000000000000"
On interesting information is that this modem has a driver inside the
"cd-rom" that must be compiled to worl, at least this is the information on
readme file. I'm not sure it this is really needed or not.
On Tue, May 31, 2011 at 3:05 PM, Leonardo Luiz Padovani da Mata <
leonardol@syst.com.br> wrote:
>
>
> On Tue, May 31, 2011 at 2:52 PM, Denis Kenzior <denkenz@gmail.com> wrote:
>
>> Hi Leonardo,
>>
>> On 05/31/2011 12:45 PM, Leonardo Luiz Padovani da Mata wrote:
>> > Hello Denis, how are you?
>> >
>> > On Tue, May 31, 2011 at 1:47 PM, Denis Kenzior <denkenz@gmail.com
>> > <mailto:denkenz@gmail.com>> wrote:
>> >
>> > Hi Leonardo,
>> >
>> > On 05/30/2011 04:11 PM, Leonardo Luiz Padovani da Mata wrote:
>> > > hello dudes, what i need to do to check if the implemented drivers
>> are
>> > > enough to support a modem? Do i just need to add the rules for
>> > udev? how
>> > > do i do that?
>> > >
>> > > The id of the modem is 12d1:1c0b huawei e173
>> > >
>> >
>> > Check plugins/ofono.rules in git. It looks like a rule is not
>> present
>> > for this particular device id.
>> >
>> > You will have to do some minor poking around to figure out what tty
>> > corresponds to what function (e.g. Pcui, Modem, see other Huawei
>> rules
>> > for examples), add a new entry to ofono.rules and try to see if it
>> > works.
>> >
>> >
>> > Ok, i've found another possible soluttion using usb_modeswitch, but it
>> > didn't work yet:
>> > http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=552
>> >
>> > Do you think that the usb_modeswitch approach is better/worse?
>>
>> This depends a little bit on how your modem is being recognized. If it
>> is recognized as a storage device, then yes, usb_modeswitch will
>> probably be required.
>>
>> If it is already recognized as a modem and the rules are not present in
>> ofono.rules, then you will need to perform the steps I mentioned in my
>> previous mail.
>>
>
> I think it's beeing reconize as a storage device:
>
> [69834.725138] usb 1-1: new high speed USB device using ehci_hcd and
> address 8
> [69835.059643] usb 1-1: New USB device found, idVendor=12d1, idProduct=1c0b
> [69835.059659] usb 1-1: New USB device strings: Mfr=2, Product=1,
> SerialNumber=0
> [69835.059672] usb 1-1: Product: HUAWEI Mobile
> [69835.059681] usb 1-1: Manufacturer: HUAWEI
> [69835.065356] scsi10 : usb-storage 1-1:1.0
> [69835.069655] scsi11 : usb-storage 1-1:1.1
> [69837.899663] scsi 10:0:0:0: CD-ROM HUAWEI Mass Storage
> 2.31 PQ: 0 ANSI: 2
> [69837.899734] scsi 11:0:0:0: Direct-Access HUAWEI SD Storage
> 2.31 PQ: 0 ANSI: 2
> [69837.911391] sr0: scsi-1 drive
> [69837.913325] sr 10:0:0:0: Attached scsi CD-ROM sr0
> [69837.914408] sr 10:0:0:0: Attached scsi generic sg1 type 5
> [69837.923960] sd 11:0:0:0: Attached scsi generic sg2 type 0
> [69837.933196] sd 11:0:0:0: [sdb] Attached SCSI removable disk
>
>
>
>
>>
>> Regards,
>> -Denis
>>
>
>
>
> --
> Leonardo Luiz Padovani da Mata
>
> International Syst S/A
> Metasys Tecnologia
> Software Engineer Metasys MeeGo Team
>
> leonardol(a)metasys.com.br
> +55-31-3503-9040
>
> "May the force be with you, always"
> "Nerd Pride... eu tenho. Voce tem?"
>
--
Leonardo Luiz Padovani da Mata
International Syst S/A
Metasys Tecnologia
Software Engineer Metasys MeeGo Team
leonardol(a)metasys.com.br
+55-31-3503-9040
"May the force be with you, always"
"Nerd Pride... eu tenho. Voce tem?"
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 7293 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-05-31 19:11 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-30 21:11 Add support to huawei e173 Leonardo Luiz Padovani da Mata
2011-05-31 16:47 ` Denis Kenzior
2011-05-31 17:45 ` Leonardo Luiz Padovani da Mata
2011-05-31 17:52 ` Denis Kenzior
2011-05-31 18:05 ` Leonardo Luiz Padovani da Mata
2011-05-31 19:11 ` Leonardo Luiz Padovani da Mata
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.