OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Connection Issue Driving Me Nuts, no usb0 device
imrambi
post Apr 15 2005, 01:47 PM
Post #1





Group: Members
Posts: 30
Joined: 2-February 04
Member No.: 1,674



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?
Go to the top of the page
 
+Quote Post
berkenb
post Apr 15 2005, 02:26 PM
Post #2





Group: Members
Posts: 9
Joined: 5-May 04
Member No.: 3,154



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)...
Go to the top of the page
 
+Quote Post
imrambi
post Apr 15 2005, 08:00 PM
Post #3





Group: Members
Posts: 30
Joined: 2-February 04
Member No.: 1,674



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.
Go to the top of the page
 
+Quote Post
melee
post Apr 17 2005, 03:18 AM
Post #4





Group: Members
Posts: 69
Joined: 17-March 05
Member No.: 6,651



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
Go to the top of the page
 
+Quote Post
melee
post Apr 17 2005, 06:10 AM
Post #5





Group: Members
Posts: 69
Joined: 17-March 05
Member No.: 6,651



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
Go to the top of the page
 
+Quote Post
imrambi
post Apr 17 2005, 08:52 AM
Post #6





Group: Members
Posts: 30
Joined: 2-February 04
Member No.: 1,674



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.
Go to the top of the page
 
+Quote Post
lardman
post Apr 17 2005, 09:13 AM
Post #7





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



What does dmesg show when you plug it in?

Si
Go to the top of the page
 
+Quote Post
imrambi
post Apr 17 2005, 12:02 PM
Post #8





Group: Members
Posts: 30
Joined: 2-February 04
Member No.: 1,674



usb 1-1: new full speed USB device using uhci_hcd and address 8
Go to the top of the page
 
+Quote Post
Optogeek
post Apr 17 2005, 12:22 PM
Post #9





Group: Members
Posts: 48
Joined: 3-February 04
From: Edinburgh, Scotland
Member No.: 1,681



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.
Go to the top of the page
 
+Quote Post
imrambi
post Apr 17 2005, 07:11 PM
Post #10





Group: Members
Posts: 30
Joined: 2-February 04
Member No.: 1,674



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.
Go to the top of the page
 
+Quote Post
speculatrix
post Apr 20 2005, 04:06 AM
Post #11





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



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
Go to the top of the page
 
+Quote Post
lardman
post Apr 20 2005, 04:17 AM
Post #12





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



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
Go to the top of the page
 
+Quote Post
speculatrix
post Apr 20 2005, 04:34 AM
Post #13





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



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
Go to the top of the page
 
+Quote Post
Optogeek
post Apr 20 2005, 07:30 AM
Post #14





Group: Members
Posts: 48
Joined: 3-February 04
From: Edinburgh, Scotland
Member No.: 1,681



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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th October 2014 - 12:34 AM