OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: dansawyer on September 21, 2004, 01:00:53 am

Title: usb connection failed to work on 3.5.1 ??
Post by: dansawyer 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
Title: usb connection failed to work on 3.5.1 ??
Post by: Hrw 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)
Title: usb connection failed to work on 3.5.1 ??
Post by: r0bin 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
Title: usb connection failed to work on 3.5.1 ??
Post by: Hrw 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.
Title: usb connection failed to work on 3.5.1 ??
Post by: lardman 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
Title: usb connection failed to work on 3.5.1 ??
Post by: technojunkie 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?
Title: usb connection failed to work on 3.5.1 ??
Post by: dansawyer 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
Title: usb connection failed to work on 3.5.1 ??
Post by: tunemx 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.
Title: usb connection failed to work on 3.5.1 ??
Post by: lardman on September 24, 2004, 04:18:17 pm
@tunemx: Which device are you using?

Si
Title: usb connection failed to work on 3.5.1 ??
Post by: tunemx 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.
Title: usb connection failed to work on 3.5.1 ??
Post by: lardman 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
Title: usb connection failed to work on 3.5.1 ??
Post by: bluey 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.
Title: usb connection failed to work on 3.5.1 ??
Post by: tunemx 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