Hi Stanislaw, First, I've just seen your mails to Gregkh... Waoh, support for eagleIV in_kernel, that is really great ! Thanks a lot for the work done...
On Mon, 20 Aug 2007 22:19:27 +0200 Stanislaw Gruszka <[EMAIL PROTECTED]> wrote: > On Monday 20 August 2007 17:51, Paul Rolland wrote: > Ueagle-atm is written to support more the one device, but there may be > problem with module parameters - when you need different setting for each > device. It's problem because order of connecting device is unknown and we > can not assure each device will be assigned to proper option. But if no > separate module options will be needed, there should be everything ok. Yes, I've already experienced that with eagle-usb before... The only one valid way to identify an ADSL modem connected via USB is to use the MAC address.... > ENOSPC mean there is no space in bandwidth on usb bus. Seems two modems > working in bulk mode (altsetting=0) are too fast to your usb (or maybe > you have other devices connected ?). The best solution will be use usb > ports managed by diffrent host bus adapters. For example: No other devices, so probably too fast. Switching to bulk goes better. > [EMAIL PROTECTED]:~$ lsusb > Bus 002 Device 007: ID 1110:9041 Analog Devices Canada, Ltd (Allied > Telesyn) Bus 002 Device 001: ID 0000:0000 > Bus 001 Device 003: ID 174f:a311 > Bus 001 Device 001: ID 0000:0000 Well, I have : Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 013: ID 1110:9041 Analog Devices Canada, Ltd (Allied Telesyn) Bus 002 Device 005: ID 1110:9041 Analog Devices Canada, Ltd (Allied Telesyn) Bus 002 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 But I need to find the physical connectors :( > I have 4 ports. If you have similar configuration, connect modems: one > for "Bus 001" and second for "Bus 002". But if you have only one bus, > there could be problem. Maybe try then use altsetting different for each > device (NB_MODEM must be 2). Yes, I've changed that... BTW, which value for NB_MODEM for the in_kernel driver sent to gregkh ? Shouldn't it be a configuration (Kconfig) value ? Or does changing it to 4 or 8 would result in a waste of kernel memory ? > modprobe ueagle-atm altsetting=1,5 Is there an easy way to relate the altsetting value to bandwidth in KBps or MBps ? > So my questions again: > Do you have one usb bus such need use separate altsetting option for each > modem? Will you use two modems on same machine in the same time in > practice (not test)? I need to reopen the machine, but it seems I have only two USB connectors, and they are on the same bus, so I'll have to share bdw... and Yes, I'll use both of them at the same time, but only one PPP connection at the same time... > If so we (ueagle-atm developers) need to think what to do make module > parameters works proper in multimodem case (maybe use (MAC, val) pair or > use sysfs to pass options to driver instead module parameters) Well, at least being able to activate / deactivate a modem this way would be great, as this could solve my bdw problem, by just having one modem enable at a time, but still keeping all of them connected, thus just needing some soft reconfig to go from modem A to modem B. Regards, Paul _______________________________________________ Ueagleatm-dev mailing list Ueagleatm-dev@gna.org https://mail.gna.org/listinfo/ueagleatm-dev