hi people,
i'm new to the list, i hope someone could help me: i'm using a pxa270 cpu
over mainstone II like platform with linux kernel 2.6.18; i've read a lot
of messagges about this issue but i cannot find the solution: my target is
to use the ethernet gadget client interface (pxa270 side), but i found some
troubles; i discovered that to insert the module g_ether.ko (also in client
mode) i must previously install the modules usbcore.ko and dummy_hcd.ko is
this correct ?
here is the output when inserting all that modules:
[EMAIL PROTECTED] /]#insmod usbcore
Using /lib/modules/2.6.18/kernel/drivers/usb/core/usbcore.ko
usbcore: registered new driver usbfs
usbcore: registered new driver hub
[EMAIL PROTECTED] /]#insmod dummy_hcd
Using /lib/modules/2.6.18/kernel/drivers/usb/gadget/dummy_hcd.ko
dummy_hcd dummy_hcd: USB Host+Gadget Emulator, driver 02 May 2005
dummy_hcd dummy_hcd: Dummy host controller
dummy_hcd dummy_hcd: new USB bus registered, assigned bus number 1
usb usb1: Product: Dummy host controller
usb usb1: Manufacturer: Linux 2.6.18 dummy_hcd
usb usb1: SerialNumber: dummy_hcd
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
[EMAIL PROTECTED] /]#insmod g_ether
Using /lib/modules/2.6.18/kernel/drivers/usb/gadget/g_ether.ko
ether gadget: using random self ethernet address
ether gadget: using random host ethernet address
usb0: Ethernet Gadget, version: May Day 2005
usb0: using dummy_udc, OUT ep-b IN ep-a STATUS ep-c
usb0: MAC a2:bf:83:07:5e:46
usb0: HOST MAC 06:9d:c2:2b:4c:a4
usb0: RNDIS ready
[EMAIL PROTECTED] /]#usb 1-1: new high speed USB device using dummy_hcd and
address 2
usb 1-1: Product: RNDIS/Ethernet Gadget
usb 1-1: Manufacturer: Linux 2.6.18/dummy_udc
usb 1-1: rejected 2 configurations due to insufficient available bus power
usb 1-1: no configuration chosen from 2 choices
usb 1-1: 100mA is over 8mA budget for port 1!
hub 1-0:1.0: 92mA over power budget!
[EMAIL PROTECTED] /]#
, after that, i can see the interface usb0 if run 'ifconfig -a':
[EMAIL PROTECTED] /]#ifconfig -a
...
usb0 Link encap:Ethernet HWaddr A2:BF:83:07:5E:46
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
, but the host pc (x86 with 2.6.15-1-486) doesn't seem to see the target:
if i run dmesg into the host pc i can see:
usb 2-2: new full speed USB device using uhci_hcd and address 2
usb 2-2: device descriptor read/64, error -110
usb 2-2: device descriptor read/64, error -110
usb 2-2: new full speed USB device using uhci_hcd and address 3
usb 2-2: device descriptor read/64, error -110
usb 2-2: device descriptor read/64, error -110
usb 2-2: new full speed USB device using uhci_hcd and address 4
usb 2-2: device descriptor read/8, error -110
usb 2-2: device descriptor read/8, error -110
......
, and so on;
is this a known issue ? where can i find solution ?
thanks in advance dylan
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel