Author Topic: usb connection failed to work on 3.5.1 ??  (Read 4706 times)

dansawyer

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
    • http://
usb connection failed to work on 3.5.1 ??
« on: September 21, 2004, 01:00:53 am »
All,

I was unable to get the USB connection to work on 3.5.1. The connection is a usb connector and not the cradle. This connector worked on previous ROMs; however that is no garuntee.

The wlan0 connection came up so it is not a core network issue.

Thanks,
Dan

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
usb connection failed to work on 3.5.1 ??
« Reply #1 on: September 21, 2004, 04:20:54 am »
configure usbd0 in networksettings - it is by default set to DHCP - then it will work always (atleast it should)
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

r0bin

  • Newbie
  • *
  • Posts: 21
    • View Profile
usb connection failed to work on 3.5.1 ??
« Reply #2 on: September 21, 2004, 05:12:09 am »
USB completely stopped working for me with the new Oz rom, Windows says "Unrecognised USB Device", and now it doesnt work on any rom

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
usb connection failed to work on 3.5.1 ??
« Reply #3 on: September 21, 2004, 05:30:53 am »
a.. MS Windows.. I cannot help then.. Use only Linux and my 'collie' always worked - nevermind which kernel I had on desktop.
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
usb connection failed to work on 3.5.1 ??
« Reply #4 on: September 21, 2004, 06:23:05 am »
It would appear that hotplug is playing up again.

I can use one of my mass-storage scripts (the one which re-starts the net_fd service) to get usb tcp-ip working - this basically just reloads the net_fd.o module & the other usb odds and sods.

The script is:
Code: [Select]
#!/bin/sh
/sbin/rmmod pxa_bi
/sbin/rmmod net_fd
/sbin/rmmod usbdcore
/sbin/insmod /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/usb/device/usbdcore.o
/sbin/insmod /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/usb/device/net_fd/net_fd.o
/sbin/insmod /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/usb/device/bi/pxa_bi.o


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

technojunkie

  • Full Member
  • ***
  • Posts: 172
    • View Profile
usb connection failed to work on 3.5.1 ??
« Reply #5 on: September 22, 2004, 01:26:58 pm »
I have had this problem too, at least there is something I can do short of rebooting. Thanks for the info. Is there a relatively easy way to fix the hotplugging problem?
SL 5500 Cacko 3.10 ROM 64-0, Symbol Wifi
storage on 256MB Lexar High Speed SD card
64MB/32MB CF cards for removable storage.
---------------------------------------------------------
Doing my part to keep the 5500 platform alive

dansawyer

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
    • http://
usb connection failed to work on 3.5.1 ??
« Reply #6 on: September 24, 2004, 12:40:56 pm »
pxa_bi does not seem to be loaded.

What causes this module to be loaded?

My plan is to test this script; I will report the result.

Dan

tunemx

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
usb connection failed to work on 3.5.1 ??
« Reply #7 on: September 24, 2004, 03:48:53 pm »
I tried GPE, now I cannot connect to the Z via the cradle. I tried network settings and set Address to 192.168.129.201.
OS is Mandrake 10. What I get is:
Code: [Select]
Sep 24 21:40:05 localhost kernel: usb 1-2.1: new full speed USB device using address 16
Sep 24 21:40:05 localhost kernel: usb0: register usbnet at usb-0000:00:1d.0-2.1, Sharp Zaurus SL-5x00
Sep 24 21:40:06 localhost usb.agent[4349]: ... no modules for USB product 4dd/8004/0
Sep 24 21:40:06 localhost usb.agent[4398]: ... no modules for USB product 4dd/8004/0
Sep 24 21:42:01 localhost kernel: usb 1-2.1: USB disconnect, address 16
Sep 24 21:42:01 localhost kernel: usb0: unregister usbnet usb-0000:00:1d.0-2.1, Sharp Zaurus SL-5x00
Sep 24 21:42:07 localhost kernel: usb 1-2.1: new full speed USB device using address 17
Sep 24 21:42:07 localhost kernel: usb 1-2.1: device not accepting address 17, error -110
Sep 24 21:42:07 localhost kernel: usb 1-2.1: new full speed USB device using address 18
Sep 24 21:42:08 localhost kernel: usb 1-2.1: device not accepting address 18, error -110

Tried lardman's script, pxa_bi was not loaded, net_fd said the usb device is busy. Please someone give me directions, I don't want to be a guinea pig anymore, I want to go back to a bad-looking but stable firmware, but this way I cant copy the necessary files to the CF card.

Thanks a lot.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
usb connection failed to work on 3.5.1 ??
« Reply #8 on: September 24, 2004, 04:18:17 pm »
@tunemx: Which device are you using?

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

tunemx

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
usb connection failed to work on 3.5.1 ??
« Reply #9 on: September 26, 2004, 11:43:33 am »
Quote
@tunemx: Which device are you using?

Si
Oh, sorry, what do you mean?

I use OZ 3.5.1 GPE, cradle USB, Linux is Mandrake 10.0.
Tried to get up usbd in Network Settings, checked dhcp (default option), but nothing happened. Still no connection to the Z.
I also checked static, and set up 192.168.129.201 as Address, and 255.255.255.0 as mask... Nothing too.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
usb connection failed to work on 3.5.1 ??
« Reply #10 on: September 26, 2004, 11:49:02 am »
I meant are you using a 5500 or a 5000D? If so the above script won't work for you. You'd need to alter all occurances of pxa_bi to sa1100_bi (or is it sa1110_bi?).

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

bluey

  • Full Member
  • ***
  • Posts: 125
    • View Profile
    • http://
usb connection failed to work on 3.5.1 ??
« Reply #11 on: September 27, 2004, 01:16:19 pm »
I told some time ago a simple solution for the problem.

Something is wrong with the bi module. I have two scripts in the suspend e resume of apm to rmmod and insmod the module.

Maybe 2.6 modules don't have such problems.

File /etc/apm/resume.d/R01sa1100_bi

#! /bin/sh
modprobe sa1100_bi

and file /etc/apm/suspend.d/S99sa1100_bi

#! /bin/sh
rmmod sa1100_bi


This can be done with pxa_bi too, I guess.
SL-5500 - OZ 3.5.3
256Mb Kingston SD Card
64Mb PQI CF Card
Netgear MA701 WiFi CF Card
Mandriva GNU/Linux LE2005
Dreaming of a C model...

tunemx

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
usb connection failed to work on 3.5.1 ??
« Reply #12 on: September 29, 2004, 07:47:28 am »
Quote
I meant are you using a 5500 or a 5000D? If so the above script won't work for you. You'd need to alter all occurances of pxa_bi to sa1100_bi (or is it sa1110_bi?).

Si
Ah it is a 5500