Help - Search - Members - Calendar
Full Version: Connection Issue Driving Me Nuts
OESF Forums > General Forums > Desktop Operating Systems Issues > Linux Issues
imrambi
I have a 5600 and I'm running gentoo. On both my laptop (PII 233) and my desktop (AMD 1.2Ghz) running kernel 2.6.11.5. running lsusb showss that the device is connected but I don't have usb0 appearing. I am not getting any errors in /var/log/messages. What could be wrong?
berkenb
QUOTE(imrambi @ Apr 15 2005, 01:47 PM)
I have a 5600 and I'm running gentoo. On both my laptop (PII 233) and my desktop (AMD 1.2Ghz) running kernel 2.6.11.5. running lsusb showss that the device is connected but I don't have usb0 appearing. I am not getting any errors in /var/log/messages. What could be wrong?
*


If you don't have hotplug set up, you might have to do a "modprobe usbnet". Also, you might have to bring the appropriate network interface up ("usb0", I think)...
imrambi
QUOTE(berkenb @ Apr 15 2005, 02:26 PM)
QUOTE(imrambi @ Apr 15 2005, 01:47 PM)
I have a 5600 and I'm running gentoo. On both my laptop (PII 233) and my desktop (AMD 1.2Ghz) running kernel 2.6.11.5. running lsusb showss that the device is connected but I don't have usb0 appearing. I am not getting any errors in /var/log/messages. What could be wrong?
*


If you don't have hotplug set up, you might have to do a "modprobe usbnet". Also, you might have to bring the appropriate network interface up ("usb0", I think)...
*




I have usbnet modprobed and when I do ifconfig usb0 up (given ip and all) I get device not found.
melee
QUOTE(imrambi @ Apr 16 2005, 05:00 AM)
QUOTE(berkenb @ Apr 15 2005, 02:26 PM)
QUOTE(imrambi @ Apr 15 2005, 01:47 PM)
I have a 5600 and I'm running gentoo. On both my laptop (PII 233) and my desktop (AMD 1.2Ghz) running kernel 2.6.11.5. running lsusb showss that the device is connected but I don't have usb0 appearing. I am not getting any errors in /var/log/messages. What could be wrong?
*


If you don't have hotplug set up, you might have to do a "modprobe usbnet". Also, you might have to bring the appropriate network interface up ("usb0", I think)...
*




I have usbnet modprobed and when I do ifconfig usb0 up (given ip and all) I get device not found.
*



Hi

You need a script in /etc/sysconfig(or equivilent)/network-scripts called ifcfg-usb0

This should contain
BOOTPROTO=static
BROADCAST=192.168.129.255
IPADDR=192.168.129.1
NETMASK=255.255.255.0
NETWORK=192.168.129.0
DEVICE=usb0

What I do is:-
modprobe usbnet
Then switch on Z with interface cable connected and wait for hourglass on Z to go
then
ifconfig usb0 192.168.129.201 netmask 255.255.255.0 up
then
ifconfig -a
this shows all network devices and you should have usb0
then
ping -c 4 192.168.129.201
to check connection

I have this in a script, my hotplug setup didnt seem to work so I stick with this and have no problems.
I have another script which just unloads the usbnet module and does an ifconfig -a to show that usb0 has gone.

I am using MDK10, but apart from slightly different locations of files and the name of the module (usbdnet on some) this should work on all systems

regards

Melee
melee
PS

Dont plug the USB cable into a hub.

Put it directly into one of the primary USB slots off the motherboard
(the ones below the PS2 keyboard and mouse connections on a modern m/board - not ones which come off fly leads from jumpers on the motherboard and may be lower down at the rear or at front)

I was completely unable to use my hub in Linux or WinXP and the connection got flaky when using one of the "extension USB slots" under WinXP

Don't have any answers - just what worked for me

Good Luck
imrambi
My device is plugged directly into the root hub (the built in usb drives) and usb0 is added in the correct place.

I've had it working, just can't get it to see a usb0 device now. I do get logs saying that it has set an address using uhci-hcd.
lardman
What does dmesg show when you plug it in?

Si
imrambi
usb 1-1: new full speed USB device using uhci_hcd and address 8
Optogeek
I don't know if this will help but I had this working with FC3, until I upgraded to the 2.6.11 kernel from 2.6.10. I noticed imrambi is running 2.6.11. I now get the same result.
imrambi
Thanks for the confirmation. I think its something with the 2.6.11.x kernel. I submitted a bug report. I also tried out 2.6.12-rc2, and I had the same issue. I'm sticking with 2.6.9 for right now.
speculatrix
I had a similar problem, I've not fully diagnosed it, but I was seeing this in the /var/log/messages file:

Apr 20 12:54:33 ip30 kernel: usb 2-1: new full speed USB device using address 2
Apr 20 12:54:34 ip30 kernel: usb 2-1: device not accepting address 2, error -71

This was on a self-built kernel (2.6.11) for SuSE9.2. If I booted the original SuSE kernel, it worked, and usb0 became available.

After a bit of googling, I wondered if it were the particular USB port on my motherboard, and switched it to a USB1 port from the USB2 (where it was plugged in more for convenience/accessibility than any other reason). And guess what!

Apr 20 12:57:43 ip30 kernel: usb 1-1: new full speed USB device using address 4
Apr 20 12:57:48 ip30 kernel: usb 1-1: control timeout on ep0in
Apr 20 12:57:48 ip30 kernel: usb 1-1: Product: Zaurus SL-C7x0/C860
Apr 20 12:57:48 ip30 kernel: usb 1-1: Manufacturer: Sharp
Apr 20 12:57:54 ip30 kernel: usb0: register usbnet at usb-0000:00:1d.0-1, Sharp Zaurus, PXA-2xx based

Paul
lardman
I don't have a Linux box with USB2 posts, but my Z works fine on my Windows box which does have - perhaps this is an issue with the way your usb modules on your Linux box handle the step down if a device doesn't support USB2 (though I'd have thought this would be a pretty obviously glaring sort of error and would be fixed very quickly).

Anyone with more info?

Si
speculatrix
QUOTE(lardman @ Apr 20 2005, 12:17 PM)
perhaps this is an issue with the way your usb modules on your Linux box handle the step down if a device doesn't support USB2 (though I'd have thought this would be a pretty obviously glaring sort of error and would be fixed very quickly).

Anyone with more info?

Si
*


I suspect I broke my kernel's USB2 drivers somehow, and this made it stop unless I plugged into usb1 port. Or, SuSE patched the usb drivers in their kernel and thus the Z works in usb1 and usb2 ports when running stock SuSE9.2 kernel.

interestingly, my palm pilot works quite happily in USB2 port, but that's using the ttyUSBx stuff.

anyway, I'm just glad it worked.

all I really want to do is copy over all my data from the Palm to the Z.. but of course things are never that simple!

Paul
Optogeek
In the changelog for 2.6.12.rc2 there is a fix to the usbnet support for the Zaurus to a bug that slipped in 2.6.11. All the usb connectivity problems in the last week have been people upgrading to 2.6.11 on there PC.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.