Re: MBIM Patch (Round 3)

2016-06-15 Thread Gerhard Roth
On 13.06.2016 12:52, Martin Pieuchot wrote: On 10/06/16(Fri) 21:09, Mark Kettenis wrote: Date: Fri, 10 Jun 2016 17:20:18 +0100 From: Stuart Henderson On 2016/06/10 16:05, Mark Kettenis wrote: In any case this is something we can figure out once the code hits the tree.

Re: MBIM Patch (Round 3)

2016-06-14 Thread Bryan Vyhmeister
On Tue, Jun 14, 2016 at 11:56:14PM +0100, Stuart Henderson wrote: > As far as I can make out, the FCC auth is to enable the radio rather > than anything else, the command has to be sent over (qmi-over-)MBIM. > I haven't had time to get a linux install to see how it behaves there > but I would

Re: MBIM Patch (Round 3)

2016-06-14 Thread Bryan Vyhmeister
On Tue, Jun 14, 2016 at 11:17:56PM +0200, Gerhard Roth wrote: > Well, the device still refuses to turn on the radio and without it, > there's no chance to register with the provider. > > That you see more information now is just due to the fact, that the > state machine now continues beyond the

Re: MBIM Patch (Round 3)

2016-06-14 Thread Gerhard Roth
On 10.06.2016 14:41, Bryan Vyhmeister wrote: On Fri, Jun 10, 2016 at 09:43:36AM +0200, Gerhard Roth wrote: Hmm, I don't see the missing break. It is still stuck in the same state trying to turn on the radio and always getting non-confirmative resonses. If the break before "case UMB_S_RADIO:"

Re: MBIM Patch (Round 3)

2016-06-13 Thread Martin Pieuchot
On 10/06/16(Fri) 21:09, Mark Kettenis wrote: > > Date: Fri, 10 Jun 2016 17:20:18 +0100 > > From: Stuart Henderson > > > > On 2016/06/10 16:05, Mark Kettenis wrote: > > > In any case this is something we can figure out once the code hits the > > > tree. Unless mpi@ is still

Re: MBIM Patch (Round 3)

2016-06-10 Thread Mark Kettenis
> Date: Fri, 10 Jun 2016 17:20:18 +0100 > From: Stuart Henderson > > On 2016/06/10 16:05, Mark Kettenis wrote: > > In any case this is something we can figure out once the code hits the > > tree. Unless mpi@ is still unhappy with the way the driver performs > > ioctls, I

Re: MBIM Patch (Round 3)

2016-06-10 Thread Stuart Henderson
On 2016/06/10 16:05, Mark Kettenis wrote: > In any case this is something we can figure out once the code hits the > tree. Unless mpi@ is still unhappy with the way the driver performs > ioctls, I think we should get the driver bits into the tree such that > we can work on fixing the remaining

Re: MBIM Patch (Round 3)

2016-06-10 Thread Stuart Henderson
I found https://lists.freedesktop.org/archives/libmbim-devel/2016-April/000704.html which suggests that the Lenovo firmware build of the 7455 is definitely one that needs the fccauth command. I don't think fccauth or device support are things that should stop the driver going in though. It

Re: MBIM Patch (Round 3)

2016-06-10 Thread Mark Kettenis
> From: Gerhard Roth > Date: Fri, 10 Jun 2016 00:31:44 +0200 > > On 10.06.2016 00:22, Stuart Henderson wrote: > > On 2016/06/10 00:10, Mark Kettenis wrote: > >>> From: Gerhard Roth > >>> Date: Thu, 9 Jun 2016 23:48:23 +0200 > >>> > >>> On 09.06.2016

Re: MBIM Patch (Round 3)

2016-06-10 Thread Bryan Vyhmeister
On Fri, Jun 10, 2016 at 09:43:36AM +0200, Gerhard Roth wrote: > Hmm, I don't see the missing break. It is still stuck in the same > state trying to turn on the radio and always getting non-confirmative > resonses. > > If the break before "case UMB_S_RADIO:" is missing, I would expect > to see a

Re: MBIM Patch (Round 3)

2016-06-10 Thread Gerhard Roth
On 10.06.2016 05:09, Bryan Vyhmeister wrote: On Thu, Jun 09, 2016 at 10:31:58PM +0200, Gerhard Roth wrote: If that doesn't help, please set UMB_DEBUG and set umb_debug to 5. I left that break commented out which perhaps I shouldn't have but below is the output when I set an apn and bring umb0

Re: MBIM Patch (Round 3)

2016-06-09 Thread Bryan Vyhmeister
On Thu, Jun 09, 2016 at 10:31:58PM +0200, Gerhard Roth wrote: > If that doesn't help, please set UMB_DEBUG and set umb_debug to 5. I left that break commented out which perhaps I shouldn't have but below is the output when I set an apn and bring umb0 up. OpenBSD 6.0-beta (GENERIC.MP) #0: Thu

Re: MBIM Patch (Round 3)

2016-06-09 Thread Bryan Vyhmeister
On Thu, Jun 09, 2016 at 10:31:58PM +0200, Gerhard Roth wrote: > If you're using the latest version of the driver, the 'ifconfig ubm0 inet > ...' isn't required anymore. > > But you probably have to set the default route after the interface is > up. Good to know. Thanks! > Hmm, around here apart

Re: MBIM Patch (Round 3)

2016-06-09 Thread Bryan Vyhmeister
On Thu, Jun 09, 2016 at 09:58:10PM +0100, Stuart Henderson wrote: > You're getting further than me. > > Though, looking at list posts, it does seem that Lenovo is another > vendor which requires the command being referred to as "fcc auth" > in order to connect, at least in some of their cards.

Re: MBIM Patch (Round 3)

2016-06-09 Thread Gerhard Roth
On 10.06.2016 00:22, Stuart Henderson wrote: On 2016/06/10 00:10, Mark Kettenis wrote: From: Gerhard Roth Date: Thu, 9 Jun 2016 23:48:23 +0200 On 09.06.2016 23:42, Mark Kettenis wrote: Date: Thu, 9 Jun 2016 22:59:28 +0200 (CEST) From: Mark Kettenis

Re: MBIM Patch (Round 3)

2016-06-09 Thread Stuart Henderson
On 2016/06/10 00:10, Mark Kettenis wrote: > > From: Gerhard Roth > > Date: Thu, 9 Jun 2016 23:48:23 +0200 > > > > On 09.06.2016 23:42, Mark Kettenis wrote: > > >> Date: Thu, 9 Jun 2016 22:59:28 +0200 (CEST) > > >> From: Mark Kettenis > > >> > >

Re: MBIM Patch (Round 3)

2016-06-09 Thread Mark Kettenis
> From: Gerhard Roth > Date: Thu, 9 Jun 2016 23:48:23 +0200 > > On 09.06.2016 23:42, Mark Kettenis wrote: > >> Date: Thu, 9 Jun 2016 22:59:28 +0200 (CEST) > >> From: Mark Kettenis > >> > >>> Date: Wed, 8 Jun 2016 15:08:52 +0200 > >>> From: Gerhard

Re: MBIM Patch (Round 3)

2016-06-09 Thread Gerhard Roth
On 09.06.2016 23:42, Mark Kettenis wrote: Date: Thu, 9 Jun 2016 22:59:28 +0200 (CEST) From: Mark Kettenis Date: Wed, 8 Jun 2016 15:08:52 +0200 From: Gerhard Roth I would be glad to hear from some people trying this with a real MBIM device.

Re: MBIM Patch (Round 3)

2016-06-09 Thread Mark Kettenis
> Date: Thu, 9 Jun 2016 22:59:28 +0200 (CEST) > From: Mark Kettenis > > > Date: Wed, 8 Jun 2016 15:08:52 +0200 > > From: Gerhard Roth > > > > I would be glad to hear from some people trying this with a real MBIM > > device. > > Sierra Wireless

Re: MBIM Patch (Round 3)

2016-06-09 Thread Stuart Henderson
On 2016/06/09 22:59, Mark Kettenis wrote: > It seems this device needs some additional poking to select alternate > interface settings. Currently playing around with that. But in case > you're curious, the lsusb -v output for this device is: Oh lsusb -v, that is a good idea, and interesting.

Re: MBIM Patch (Round 3)

2016-06-09 Thread Stuart Henderson
On 2016/06/09 12:35, Bryan Vyhmeister wrote: > On Wed, Jun 08, 2016 at 03:08:52PM +0200, Gerhard Roth wrote: > > I would be glad to hear from some people trying this with a real MBIM > > device. > > I have a Sierra Wireless EM7455 MBIM device that I purchased with my > ThinkPad X260. I am very

Re: MBIM Patch (Round 3)

2016-06-09 Thread Mark Kettenis
> Date: Wed, 8 Jun 2016 15:08:52 +0200 > From: Gerhard Roth > > Here comes the next version of the MBIM driver. > > Changes since last version: > > - incorporated suggestions from mpi@ > > - renamed to "umb" > Only file "mbim.h" which contains MBIM protocol

Re: MBIM Patch (Round 3)

2016-06-09 Thread Gerhard Roth
On 09.06.2016 21:35, Bryan Vyhmeister wrote: On Wed, Jun 08, 2016 at 03:08:52PM +0200, Gerhard Roth wrote: I would be glad to hear from some people trying this with a real MBIM device. I have a Sierra Wireless EM7455 MBIM device that I purchased with my ThinkPad X260. I am very excited for

Re: MBIM Patch (Round 3)

2016-06-09 Thread Bryan Vyhmeister
On Wed, Jun 08, 2016 at 03:08:52PM +0200, Gerhard Roth wrote: > I would be glad to hear from some people trying this with a real MBIM > device. I have a Sierra Wireless EM7455 MBIM device that I purchased with my ThinkPad X260. I am very excited for this driver to make it into OpenBSD. I am a

Re: MBIM Patch (Round 3)

2016-06-09 Thread Ingo Schwarze
Hi Joshua, joshua stein wrote on Thu, Jun 09, 2016 at 12:21:26PM -0500: > On Thu, 09 Jun 2016 at 19:04:27 +0200, Ingo Schwarze wrote: >> Gerhard Roth wrote on Wed, Jun 08, 2016 at 03:08:52PM +0200: >>> +.\" Copyright (c) 2016 genua mbH >>> + * Copyright (c) 2016 genua mbH >> These kinds of

Re: MBIM Patch (Round 3)

2016-06-09 Thread Gerhard Roth
On 09.06.2016 19:04, Ingo Schwarze wrote: Hi Gerhard, Gerhard Roth wrote on Wed, Jun 08, 2016 at 03:08:52PM +0200: +.\" Copyright (c) 2016 genua mbH + * Copyright (c) 2016 genua mbH These kinds of Copyright notices without the name of the actual author are misleading. The purpose of a

Re: MBIM Patch (Round 3)

2016-06-09 Thread Gerhard Roth
On 09.06.2016 17:52, Gerhard Roth wrote: But: this payload is only 13 bytes but the length field says 14 bytes (0x0d). Studid me. Can't even read single digit hex values anymore :(

Re: MBIM Patch (Round 3)

2016-06-09 Thread Marcus Glocker
On Thu, Jun 09, 2016 at 12:21:26PM -0500, joshua stein wrote: > On Thu, 09 Jun 2016 at 19:04:27 +0200, Ingo Schwarze wrote: > > Hi Gerhard, > > > > Gerhard Roth wrote on Wed, Jun 08, 2016 at 03:08:52PM +0200: > > > > > +.\" Copyright (c) 2016 genua mbH > > > + * Copyright (c) 2016 genua mbH > >

Re: MBIM Patch (Round 3)

2016-06-09 Thread joshua stein
On Thu, 09 Jun 2016 at 19:04:27 +0200, Ingo Schwarze wrote: > Hi Gerhard, > > Gerhard Roth wrote on Wed, Jun 08, 2016 at 03:08:52PM +0200: > > > +.\" Copyright (c) 2016 genua mbH > > + * Copyright (c) 2016 genua mbH > > These kinds of Copyright notices without the name of the actual author >

Re: MBIM Patch (Round 3)

2016-06-09 Thread Ingo Schwarze
Hi Gerhard, Gerhard Roth wrote on Wed, Jun 08, 2016 at 03:08:52PM +0200: > +.\" Copyright (c) 2016 genua mbH > + * Copyright (c) 2016 genua mbH These kinds of Copyright notices without the name of the actual author are misleading. The purpose of a Copyright notice is to inform the reader who

Re: MBIM Patch (Round 3)

2016-06-09 Thread Gerhard Roth
On Thu, 9 Jun 2016 17:37:54 +0200 Gerhard Roth wrote: > On Thu, 9 Jun 2016 16:19:14 +0100 Stuart Henderson > wrote: > > On 2016/06/09 15:29, Stuart Henderson wrote: > > > On 2016/06/08 15:08, Gerhard Roth wrote: > > > > I would be glad to hear from

Re: MBIM Patch (Round 3)

2016-06-09 Thread Stuart Henderson
On 2016/06/09 16:19, Stuart Henderson wrote: > On 2016/06/09 15:29, Stuart Henderson wrote: > > On 2016/06/08 15:08, Gerhard Roth wrote: > > > I would be glad to hear from some people trying this with a real MBIM > > > device. > > > > So I have a Dell-branded Sierra MC8805, but I don't seem able

Re: MBIM Patch (Round 3)

2016-06-09 Thread Gerhard Roth
On Thu, 9 Jun 2016 16:19:14 +0100 Stuart Henderson wrote: > On 2016/06/09 15:29, Stuart Henderson wrote: > > On 2016/06/08 15:08, Gerhard Roth wrote: > > > I would be glad to hear from some people trying this with a real MBIM > > > device. > > > > So I have a Dell-branded

Re: MBIM Patch (Round 3)

2016-06-09 Thread Stuart Henderson
On 2016/06/09 15:29, Stuart Henderson wrote: > On 2016/06/08 15:08, Gerhard Roth wrote: > > I would be glad to hear from some people trying this with a real MBIM > > device. > > So I have a Dell-branded Sierra MC8805, but I don't seem able to > get it to recognise my SIM card (which I can see

Re: MBIM Patch (Round 3)

2016-06-09 Thread Gerhard Roth
On Thu, 9 Jun 2016 15:29:34 +0100 Stuart Henderson wrote: > On 2016/06/08 15:08, Gerhard Roth wrote: > > I would be glad to hear from some people trying this with a real MBIM > > device. > > So I have a Dell-branded Sierra MC8805, but I don't seem able to > get it to

Re: MBIM Patch (Round 3)

2016-06-09 Thread Stuart Henderson
On 2016/06/08 15:08, Gerhard Roth wrote: > I would be glad to hear from some people trying this with a real MBIM > device. So I have a Dell-branded Sierra MC8805, but I don't seem able to get it to recognise my SIM card (which I can see from my Huawei umsm). # ifconfig umb0 pin apn x #