OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: paxl on January 07, 2006, 12:06:14 pm

Title: Gpe Usb Problem
Post by: paxl on January 07, 2006, 12:06:14 pm
Hi all,

I was using opie since a long time when I tough that I could
try GPE because I want to code for it...

Long story short,
With GPE, the usb connection is instable and reset randomly

this error is in the PC log
hub 1-0:1.0: port 2 disabled by hub (EMI?), re-enabling...
usb 1-2: USB disconnect, address 5
usb0: unregister usbnet usb-0000:00:1d.0-2, Sharp Zaurus SL-5x00
usb 1-2: new full speed USB device using uhci_hcd and address 6
usb0: register usbnet at usb-0000:00:1d.0-2, Sharp Zaurus SL-5x00

On the Zaurus Side I've this
NETDEV WATCHDOG: usbd0: transmit timed out
usbd0: no IPv6 routers present

This happen with 3.5.3 and 3.5.4RC.

Do this is normal and what is the solution ? I find this bezare because I
get prefect STABLE connection with opie.. But I want to use GPE

Thank for your help
paxl
Title: Gpe Usb Problem
Post by: lardman on January 08, 2006, 12:01:52 pm
This is odd as the underlying systems should be identical.

Might be worth a bug in the bugtracker.

Si
Title: Gpe Usb Problem
Post by: paxl on January 08, 2006, 09:51:25 pm
Update :

I updated my kernel to 2.6.15 and now using the Zaurus kernel modul to communicate with my zaurus
and

usb0: unregister 'zaurus' usb-0000:00:1d.0-2, Sharp Zaurus SL-5x00
usb 1-2: new full speed USB device using uhci_hcd and address 5
usb0: register 'zaurus' at usb-0000:00:1d.0-2, Sharp Zaurus SL-5x00, 76:f6:b0:80                                                                                                                    :34:6e
hub 1-0:1.0: port 2 disabled by hub (EMI?), re-enabling...
usb 1-2: USB disconnect, address 5
usb0: unregister 'zaurus' usb-0000:00:1d.0-2, Sharp Zaurus SL-5x00
usb 1-2: new full speed USB device using uhci_hcd and address 6
usb0: register 'zaurus' at usb-0000:00:1d.0-2, Sharp Zaurus SL-5x00, 76:f6:b0:80                                                                                                                    :34:6e

This happend only when I ssh the zaurus... I can ping it withotu any problem :S

That realy weird
paxl
Title: Gpe Usb Problem
Post by: paxl on January 09, 2006, 10:59:09 am
Finaly, I found the problem,

MY USB PORT/BUS

Using another computter I don't have ANY bug at all..
So I assume that directly due to this

Thank for your support.. and Long life to GPE

paxl
Title: Gpe Usb Problem
Post by: silencer51 on January 13, 2006, 12:04:55 pm
I have to say GPE is great.

However, I can't get Windows XP to recognize the Z correctly (I am using OZ 3.5.4).

I keep getting a "USB Device Not Recognized" error.

Also, on Ubuntu 5.10 when I "lsusb" with the Z connected I don't see it in the list of USB devices.

What's wrong?
Title: Gpe Usb Problem
Post by: silencer51 on January 13, 2006, 11:12:23 pm
UPDATE: It seems the problem was the APM hack in the Xserver file in /etc/X11. After I removed the two relevant lines, I have no problems whatsoever.
Title: Gpe Usb Problem
Post by: speculatrix on May 22, 2006, 05:19:55 pm
are you using a sync-charge cable? I find that the charging power taken by a zaurus can cause the usb port to shut down.. when the z is fully charged it's ok, but you have to plug/unplug it.
Title: Gpe Usb Problem
Post by: speculatrix on May 23, 2006, 09:49:50 am
hmm, I have been having problems too. The first time after a reboot I connect usb cable, I get usb net up... if I suspend the Z (with or without disconnecting the cable), and then wake it up, the Zaurus won't bring up usbnet again and I get a sequence of error message on the linux desktop machine:
usb 1-2: new full speed USB device using uhci_hcd and address 36
usb 1-2: device not accepting address 36, error -71

to recover from this problem, I have to reboot the Z. sigh.
Title: Gpe Usb Problem
Post by: speculatrix on May 25, 2006, 11:14:15 am
I have discovered that the suspend/resume scripts for OZ on Tosa don't work properly. I rewrote the scripts for usbnet suspend/resume so that:

    on suspend, it "ifconfig usbd0 down" followed by rmmod of the various
    modules

    on resume, it does a modprobe and this pulls in all the "lost" modules and
    allows usbd0 to come back up.

When I've finished playing I'll post new scripts. Now it will come up perfectly every time.

Note that these are really OZ core functions, not related to GPE.
Title: Gpe Usb Problem
Post by: Hrw on May 25, 2006, 11:19:52 am
Can you post them into OE bugtracker?