Oleg V
|
Re: 6.5.0 SP1: io-pkt-v4-hc and multiple instances of the same USB Ethernet dongle
|
Oleg V
04/29/2013 5:25 PM
post100981
|
Re: 6.5.0 SP1: io-pkt-v4-hc and multiple instances of the same USB Ethernet dongle
Sorry, a small typo in that last command line:
io-pkt-v4-hc -vvvv -ptcpip -dsmsc9500 vid=0x0424,did=0xec00,busno=1,devno=2,mac=001122334455
The above results into "unknown error" even though vid/did/busno/devno are all correct...
|
|
|
Hugh Brown
|
Re: 6.5.0 SP1: io-pkt-v4-hc and multiple instances of the same USB Ethernet dongle
|
Hugh Brown
04/30/2013 8:26 AM
post100994
|
Re: 6.5.0 SP1: io-pkt-v4-hc and multiple instances of the same USB Ethernet dongle
Does it work if you run io-pkt as follows:
io-pkt-v4-hc -dsmsc9500 busno=x,devno=y,mac=001122334455 -dsmsc9500
busno=a,devno=b,mac=001122334456
On 2013-04-29 5:16 PM, "Oleg V" <community-noreply@qnx.com> wrote:
>
>The problem I'm facing is with two smsc9500 USB Ethernet devices. In
>fact, multiple instances config seems to be supported just fine. The real
>problem is with assigning MAC address to individual instances.
>
>The following would recognize and crate two interfaces en0 and en1 just
>as expected, but MAC addresses will be 00-00-00-00-00-00 for both:
>
>io-pkt-v4-hc -vvvv -ptcpip -dsmsc9500
>
>The following would recognize and assign the same MAC for both interfaces
>en0 and en1:
>
>io-pkt-v4-hc -vvvv -ptcpip -dsmsc9500 mac=001122334455
>
>Any combination with using vid/did/busno/devno would simply result into
>"devn-smsc9500.so: unknown error" error. Either I'm missing something or
>there is a bug in the deriver. For example the following:
>
>io-pkt-v4-hc -vvvv -ptcpip
>-dsmsc9500,vid=0x0424,did=0xec00,busno=1,devno=2,mac=001122334455
>
>would generate the same "unknown error". Obviously busno/devno parameters
>are correct as they are copy/pasted from "usb -v" output.
>
>So my idea with using busno/devno to assign per device MAC address for
>two smsc9500 chips appears to be useless.
>
>Does anyone have an idea on why it doesn't like vid/did/busno/devno
>setup? Alternatively, any other ways to assign different MACs so I can
>use both interfaces?
>
>Thanks for any pointers.
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post100980
>To cancel your subscription to this discussion, please e-mail
>general-networking-unsubscribe@community.qnx.com
|
|
|