Connecting Nokia (and other) phones to a pc
HI All I did a google search and found a little info, but nothing concise. Maybe I used the wrong parameters, I dunno... Anyway, my question. Have any of you had any success connecting a mobile phone to openbsd, using it as both a storage device and a gprs/3G modem? From what I could gather, I know that I am supposed to link the phone to ppp0 somehow and pass it AT commands, but I found no details. As for the storage question, some phones I tested showed up as umass0 devices and automatically became /dev/sd0 (my disks are all wd*). On mounting /dev/sd0c I was informed that the file system was unknown. Dead end there. Other phones (like my Nokia 6680) did not get that far. It showed up as ugen0 meaning that the system could not supply a specific driver for it. Have not progressed much beyond that. I am willing to accept that some phone models just do not offer umass capability, but I would really like to get the gprs modem thingy working. Anyone have any idea of where I could do some further reading on the subject? Thanks Marius Van Deventer [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
Re: Connecting Nokia (and other) phones to a pc
Just after I sent this mail, I did another search. Guess what I found? Anyways guys, disregard my question for now. Thanks. -Original Message- From: Marius Van Deventer - Umzimkulu Sent: 14 December 2005 01:54 PM To: misc@openbsd.org Subject: Connecting Nokia (and other) phones to a pc HI All I did a google search and found a little info, but nothing concise. Maybe I used the wrong parameters, I dunno... Anyway, my question. Have any of you had any success connecting a mobile phone to openbsd, using it as both a storage device and a gprs/3G modem? From what I could gather, I know that I am supposed to link the phone to ppp0 somehow and pass it AT commands, but I found no details. As for the storage question, some phones I tested showed up as umass0 devices and automatically became /dev/sd0 (my disks are all wd*). On mounting /dev/sd0c I was informed that the file system was unknown. Dead end there. Other phones (like my Nokia 6680) did not get that far. It showed up as ugen0 meaning that the system could not supply a specific driver for it. Have not progressed much beyond that. I am willing to accept that some phone models just do not offer umass capability, but I would really like to get the gprs modem thingy working. Anyone have any idea of where I could do some further reading on the subject? Thanks Marius Van Deventer [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s] [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
Re: Connecting Nokia (and other) phones to a pc
On Wed, Dec 14, 2005 at 01:54:19PM +0200, Marius Van Deventer - Umzimkulu wrote: HI All I did a google search and found a little info, but nothing concise. Maybe I used the wrong parameters, I dunno... Anyway, my question. Have any of you had any success connecting a mobile phone to openbsd, using it as both a storage device and a gprs/3G modem? From what I could gather, I know that I am supposed to link the phone to ppp0 somehow and pass it AT commands, but I found no details. As for the storage question, some phones I tested showed up as umass0 devices and automatically became /dev/sd0 (my disks are all wd*). On mounting /dev/sd0c I was informed that the file system was unknown. Dead end there. It is more likely /dev/sd0i what does disklabel sd0 say? Other phones (like my Nokia 6680) did not get that far. It showed up as ugen0 meaning that the system could not supply a specific driver for it. Have not progressed much beyond that. I am willing to accept that some phone models just do not offer umass capability, but I would really like to get the gprs modem thingy working. It is likely some kind of USB serial device, supply some more details like the output of usbdevs -v and we will see what we can do.
Re: Connecting Nokia (and other) phones to a pc
On Wed, Dec 14, 2005 at 02:07:13PM +0200, Marius Van Deventer - Umzimkulu wrote: Just after I sent this mail, I did another search. Guess what I found? Anyways guys, disregard my question for now. Thanks. Nah, my guess failed. Could you post your solution, or, if it is already in the archives/on the web, a link to the relevant place? It will help the next one with the same problem who searches the archive. Joachim
Re: Connecting Nokia (and other) phones to a pc
-Original Message- From: Jonathan Gray [mailto:[EMAIL PROTECTED] Sent: 14 December 2005 02:14 PM To: Marius Van Deventer - Umzimkulu Cc: misc@openbsd.org Subject: Re: Connecting Nokia (and other) phones to a pc On Wed, Dec 14, 2005 at 01:54:19PM +0200, Marius Van Deventer - Umzimkulu wrote: HI All I did a google search and found a little info, but nothing concise. Maybe I used the wrong parameters, I dunno... Anyway, my question. Have any of you had any success connecting a mobile phone to openbsd, using it as both a storage device and a gprs/3G modem? From what I could gather, I know that I am supposed to link the phone to ppp0 somehow and pass it AT commands, but I found no details. As for the storage question, some phones I tested showed up as umass0 devices and automatically became /dev/sd0 (my disks are all wd*). On mounting /dev/sd0c I was informed that the file system was unknown. Dead end there. It is more likely /dev/sd0i what does disklabel sd0 say? Unfortunately my friend wanted his phone back:-) Other phones (like my Nokia 6680) did not get that far. It showed up as ugen0 meaning that the system could not supply a specific driver for it. Have not progressed much beyond that. I am willing to accept that some phone models just do not offer umass capability, but I would really like to get the gprs modem thingy working. It is likely some kind of USB serial device, supply some more details like the output of usbdevs -v and we will see what we can do. As requested, with my nokia 6680: Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 addr 2: full speed, power 100 mA, config 1, Nokia 6680(0x041e), Nokia(0x0421), rev 0.00 port 2 powered I have figured out (more or less) how to name the mobile phone. I think it is /dev/ugen0.00 . I have gotten ppp to address it but the error reads - ugenpoll: no edesc. Once I figure out what that means I should have a better idea of what's going on. [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
Re: Connecting Nokia (and other) phones to a pc
-Original Message- From: Joachim Schipper [mailto:[EMAIL PROTECTED] Sent: 14 December 2005 02:30 PM To: misc@openbsd.org Subject: Re: Connecting Nokia (and other) phones to a pc On Wed, Dec 14, 2005 at 02:07:13PM +0200, Marius Van Deventer - Umzimkulu wrote: Just after I sent this mail, I did another search. Guess what I found? Anyways guys, disregard my question for now. Thanks. Nah, my guess failed. Could you post your solution, or, if it is already in the archives/on the web, a link to the relevant place? It will help the next one with the same problem who searches the archive. Joachim No solution. I simply found some pointers...:-) A lot of people have done this it seems, but with serial cables, not USB. Also I will have to contact my service provider for some of those parameters. I am currently stuck on this error: ugenpoll: no edesc Anyone have any idea what it means? I know it has something to do with USB itself. [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
Re: Connecting Nokia (and other) phones to a pc
On Wed, Dec 14, 2005 at 03:30:51PM +0200, Marius Van Deventer - Umzimkulu wrote: -Original Message- From: Joachim Schipper [mailto:[EMAIL PROTECTED] Sent: 14 December 2005 02:30 PM To: misc@openbsd.org Subject: Re: Connecting Nokia (and other) phones to a pc On Wed, Dec 14, 2005 at 02:07:13PM +0200, Marius Van Deventer - Umzimkulu wrote: Just after I sent this mail, I did another search. Guess what I found? Anyways guys, disregard my question for now. Thanks. Nah, my guess failed. Could you post your solution, or, if it is already in the archives/on the web, a link to the relevant place? It will help the next one with the same problem who searches the archive. Joachim No solution. I simply found some pointers...:-) A lot of people have done this it seems, but with serial cables, not USB. Also I will have to contact my service provider for some of those parameters. I am currently stuck on this error: ugenpoll: no edesc Anyone have any idea what it means? I know it has something to do with USB itself. ugen devices are devices not claimed by any usb drivers. USB serial devices need to be claimed by a driver and generally appear as /dev/ttyU* ie /dev/ttyU0
Re: Connecting Nokia (and other) phones to a pc
Thanks everyone for trying to help. I think that I will simply have to wait until the right driver becomes available one day. Either that or use a different phone and try again. Thanks again. -Original Message- From: Marius Van Deventer - Umzimkulu Sent: 14 December 2005 03:31 PM To: Joachim Schipper; misc@openbsd.org Subject: Re: Connecting Nokia (and other) phones to a pc -Original Message- From: Joachim Schipper [mailto:[EMAIL PROTECTED] Sent: 14 December 2005 02:30 PM To: misc@openbsd.org Subject: Re: Connecting Nokia (and other) phones to a pc On Wed, Dec 14, 2005 at 02:07:13PM +0200, Marius Van Deventer - Umzimkulu wrote: Just after I sent this mail, I did another search. Guess what I found? Anyways guys, disregard my question for now. Thanks. Nah, my guess failed. Could you post your solution, or, if it is already in the archives/on the web, a link to the relevant place? It will help the next one with the same problem who searches the archive. Joachim No solution. I simply found some pointers...:-) A lot of people have done this it seems, but with serial cables, not USB. Also I will have to contact my service provider for some of those parameters. I am currently stuck on this error: ugenpoll: no edesc Anyone have any idea what it means? I know it has something to do with USB itself. [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s] [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
Re: Connecting Nokia (and other) phones to a pc
-Original Message- From: Stuart Henderson [mailto:[EMAIL PROTECTED] Sent: 14 December 2005 04:16 PM To: Marius Van Deventer - Umzimkulu; misc@openbsd.org Subject: Re: Connecting Nokia (and other) phones to a pc --On 14 December 2005 15:30 +0200, Marius Van Deventer - Umzimkulu wrote: A lot of people have done this it seems, but with serial cables, not USB. A lot of USB cables for phones (especially third-party ones) include standard USB-serial adapters attaching to ucom(4), often using a Prolific chip supported by uplcom(4). Some cables which aren't supported are likely to use the same chips but with different device-id so they're not automatically recognised. In these cases, it can be easy to support them (especially if you know who makes the chip). N.B. some phones which come with a USB connecter cannot be used for GPRS, with these it's usually only possible to access the phone memory over USB. In those cases, sometimes a different 'data cable' is available, but often you need to use bluetooth or irda instead. There is also such a thing as a bluetooth-rs232 adapter (requiring no OS support), but you probably won't like the price, and I don't know how compatible they are with phones. I am currently stuck on this error: ugenpoll: no edesc Anyone have any idea what it means? I know it has something to do with USB itself. edesc = endpoint descriptor, but knowing this won't help you. Your device is attached by ugen, a generic driver that allows programs to talk to USB devices that don't have a real driver. But those programs need to know how to talk to the device, you can't just use it as a tty and run ppp over it. First, I think you should confirm the phone really can do GPRS over USB. No point wasting time trying to make it work, if it's impossible. The phone can do gprs over USB on windows using software supplied by Nokia. It creates a netword card in XP network connections. To connect you simply activate the network card. [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s] [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
Re: Connecting Nokia (and other) phones to a pc
-Original Message- From: Marius Van Deventer - Umzimkulu Sent: 14 December 2005 04:39 PM To: 'Stuart Henderson'; misc@openbsd.org Subject: RE: Connecting Nokia (and other) phones to a pc -Original Message- From: Stuart Henderson [mailto:[EMAIL PROTECTED] Sent: 14 December 2005 04:16 PM To: Marius Van Deventer - Umzimkulu; misc@openbsd.org Subject: Re: Connecting Nokia (and other) phones to a pc --On 14 December 2005 15:30 +0200, Marius Van Deventer - Umzimkulu wrote: A lot of people have done this it seems, but with serial cables, not USB. A lot of USB cables for phones (especially third-party ones) include standard USB-serial adapters attaching to ucom(4), often using a Prolific chip supported by uplcom(4). Some cables which aren't supported are likely to use the same chips but with different device-id so they're not automatically recognised. In these cases, it can be easy to support them (especially if you know who makes the chip). N.B. some phones which come with a USB connecter cannot be used for GPRS, with these it's usually only possible to access the phone memory over USB. In those cases, sometimes a different 'data cable' is available, but often you need to use bluetooth or irda instead. There is also such a thing as a bluetooth-rs232 adapter (requiring no OS support), but you probably won't like the price, and I don't know how compatible they are with phones. I am currently stuck on this error: ugenpoll: no edesc Anyone have any idea what it means? I know it has something to do with USB itself. edesc = endpoint descriptor, but knowing this won't help you. Your device is attached by ugen, a generic driver that allows programs to talk to USB devices that don't have a real driver. But those programs need to know how to talk to the device, you can't just use it as a tty and run ppp over it. First, I think you should confirm the phone really can do GPRS over USB. No point wasting time trying to make it work, if it's impossible. The phone can do gprs over USB on windows using software supplied by Nokia. It creates a netword card in XP network connections. To connect you simply activate the network card. Gaaah!! I meant modem! To activate, you simply use the dialup entry in XP network connections. Sorry, caffeine levels running low.. [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
Re: Connecting Nokia (and other) phones to a pc
Marius Van Deventer - Umzimkulu wrote: Thanks everyone for trying to help. I think that I will simply have to wait until the right driver becomes available one day. Either that or use a different phone and try again. Thanks again. -Original Message- From: Marius Van Deventer - Umzimkulu Sent: 14 December 2005 03:31 PM To: Joachim Schipper; misc@openbsd.org Subject: Re: Connecting Nokia (and other) phones to a pc -Original Message- From: Joachim Schipper [mailto:[EMAIL PROTECTED] Sent: 14 December 2005 02:30 PM To: misc@openbsd.org Subject: Re: Connecting Nokia (and other) phones to a pc On Wed, Dec 14, 2005 at 02:07:13PM +0200, Marius Van Deventer - Umzimkulu wrote: Just after I sent this mail, I did another search. Guess what I found? Anyways guys, disregard my question for now. Thanks. Nah, my guess failed. Could you post your solution, or, if it is already in the archives/on the web, a link to the relevant place? It will help the next one with the same problem who searches the archive. Joachim No solution. I simply found some pointers...:-) A lot of people have done this it seems, but with serial cables, not USB. Also I will have to contact my service provider for some of those parameters. I am currently stuck on this error: ugenpoll: no edesc Anyone have any idea what it means? I know it has something to do with USB itself. [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s] [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s] All you can have now is this unsupported patch, use it at your own risk: http://marc.theaimsgroup.com/?l=openbsd-techm=112686587328210w=2 This stuff appeared on tech@ on 2005-09-16 Regards, David !DSPAM:43a03e0e189811234514069!