[<prev] [next>] [day] [month] [year] [list]
Message-ID: <OF4699D03E.F85F3AC7-ON6525749D.001B5CE4-6525749D.001B853B@lntinfotech.com>
Date: Wed, 6 Aug 2008 10:30:37 +0530
From: Pramod Kumble <Pramod.Kumble@...infotech.com>
To: linux-kernel@...r.kernel.org
Subject: g_ether issues with linux host
hello,
I am trying to set up USB networking between the linux host and
developement board.I am using g_ether gadget along with the controller
driver.Currently the code is tested with the windows host (xp service pack
2). RNDIS option in g_ether is enabled and it works fine with windows
host.ftp,telnet and ping are working. With the linux host i am disabling
RNDIS and using the CDC option. Currently i am facing following problems.
1)With RedHat host (2.4.20) on connecting the cable i get the new network
interface "eth1". The dmesg output is given below.
hub.c: new USB device 00:1f.2-1, assigned address 4
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb-uhci.c: interrupt, status 2, frame# 97
usb.c: USB device not responding, giving up (error=-84)
hub.c: new USB device 00:1f.2-1, assigned address 5
CDCEther.c: Found Header descriptor, CDC version 110.
CDCEther.c: Imperfect filtering support - need sw hashing
CDCEther.c: Can't use SetEthernetMulticastFilters request
CDCEther.c: detected BULK OUT packets of size 64
CDCEther.c: interrupt address: 3
CDCEther.c: interrupt interval: 32
divert: allocating divert_blk for eth1
CDCEther.c: eth1: Linux 2.6.10_mobilinux410-cl-jade-1.3.32/cl_udc Ethernet
Gadget
CDCEther.c: eth1: 9E:3F:31:0E:40:24
But if i try to activate the network interface through "ifconfig eth1 up"
i get following error.
CDCEther.c: usb_set_interface() failed
CDCEther.c: Attempted to set interfac 1
CDCEther.c: To alternate setting 1
CDCEther.c: CDCEther_open can't enable_net_traffic() - -1
2) With fedora linux host (2.6.21 kernel) i am getting following messages
in dmesg output.
usb 1-2: new high speed USB device using ehci_hcd and address 4
usb 1-2: configuration #1 chosen from 1 choice
cdc_ether: probe of 1-2:1.0 failed with error -32
usbcore: registered new interface driver cdc_ether
The required modules usbnet and cdc_ether are loaded on host side, but on
output of "ifconfig -a" i am not getting "usb0" interface.
Am i missing any configuratoin on host side.?? any help is greatly
appreciated.
Thanks and Regards
Pramod
______________________________________________________________________
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists