Author Topic: Gpe Usb Problem  (Read 4389 times)

paxl

  • Newbie
  • *
  • Posts: 3
    • View Profile
Gpe Usb Problem
« 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

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Gpe Usb Problem
« Reply #1 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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

paxl

  • Newbie
  • *
  • Posts: 3
    • View Profile
Gpe Usb Problem
« Reply #2 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

paxl

  • Newbie
  • *
  • Posts: 3
    • View Profile
Gpe Usb Problem
« Reply #3 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

silencer51

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://tchalikias.blogspot.com
Gpe Usb Problem
« Reply #4 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?
Zaurus SL-5500 with:
128MB CF Card                                    
128MB SD Card
Symbol WiFi CF Card (working, sorta... overheats and shuts down!)
OZ 3.5.4 & GPE

Zaurus SL-C3100 with:
pdaXrom 1.1.0beta3 & XFCE4, /dev/hda1 256MB swap, /dev/hda2 512MB ext3, /dev/hda3 3328MB FAT32 for stuff
D-Link DCF-660 WiFi CF Card
1GB SD Card
128MB SD Card
128MB CF Card (for flashing)
USB Host Cable

& a Sony VAIO PCG-C1XD Picturebook with accessories...

[img]http://img58.imageshack.us/img58/7319/usbar21mw.gif\" border=\"0\" class=\"linked-sig-image\" /]

silencer51

  • Full Member
  • ***
  • Posts: 172
    • View Profile
    • http://tchalikias.blogspot.com
Gpe Usb Problem
« Reply #5 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.
Zaurus SL-5500 with:
128MB CF Card                                    
128MB SD Card
Symbol WiFi CF Card (working, sorta... overheats and shuts down!)
OZ 3.5.4 & GPE

Zaurus SL-C3100 with:
pdaXrom 1.1.0beta3 & XFCE4, /dev/hda1 256MB swap, /dev/hda2 512MB ext3, /dev/hda3 3328MB FAT32 for stuff
D-Link DCF-660 WiFi CF Card
1GB SD Card
128MB SD Card
128MB CF Card (for flashing)
USB Host Cable

& a Sony VAIO PCG-C1XD Picturebook with accessories...

[img]http://img58.imageshack.us/img58/7319/usbar21mw.gif\" border=\"0\" class=\"linked-sig-image\" /]

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Gpe Usb Problem
« Reply #6 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.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Gpe Usb Problem
« Reply #7 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.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Gpe Usb Problem
« Reply #8 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.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Gpe Usb Problem
« Reply #9 on: May 25, 2006, 11:19:52 am »
Can you post them into OE bugtracker?
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.