Re: [Bug 10868] Oops on loading ipaq module since 2.6.26, prevents use of device

From: Oliver Neukum
Date: Mon Jul 07 2008 - 15:18:55 EST


Am Montag 07 Juli 2008 20:16:02 schrieb Matthias Geissert:
> Am Donnerstag, 3. Juli 2008 16:08:44 schrieb Oliver Neukum:
>
>
> > > .num_interrupt_in = NUM_DONT_CARE,
> > > - .num_bulk_in = 1,
> > > - .num_bulk_out = 1,
> > > - .num_ports = 1,
> > > + .num_bulk_in = NUM_DONT_CARE,
> > > + .num_bulk_out = NUM_DONT_CARE,
> >
> > This is good.
> >
> > > + .num_ports = 2,
> >
> > This is fatal.
>
> I checked what you said with kernel 2.6.26 rc9. I set num_ports to 5. It
> worked quite well until I tried to connect to a non-existing endpoint.
>
> However, the problem is that the Yakumo Delta needs to connect to the 2nd
> endpoint. You can connect to the first one but you don't get any data.
>
> Is there any good way to tell the ipaq driver to use the 2nd endpoint? Maybe
> one could provide a different struct usb_serial_driver ipaq_device depending
> on the usb id or an option which tells the driver to use 2 endpoints.

If only these devices have a second input endpoint, we can detect that
in attach().

Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/