OESF Portables Forum
Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Linux Issues => Topic started by: imrambi on April 15, 2005, 05:47:57 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?
-
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75435\"][{POST_SNAPBACK}][/a][/div]
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 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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75435\"][{POST_SNAPBACK}][/a][/div]
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)...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75441\"][{POST_SNAPBACK}][/a][/div]
I have usbnet modprobed and when I do ifconfig usb0 up (given ip and all) I get device not found.
-
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75435\"][{POST_SNAPBACK}][/a][/div]
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)...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75441\"][{POST_SNAPBACK}][/a][/div]
I have usbnet modprobed and when I do ifconfig usb0 up (given ip and all) I get device not found.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75477\"][{POST_SNAPBACK}][/a][/div]
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
-
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
-
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.
-
What does dmesg show when you plug it in?
Si
-
usb 1-1: new full speed USB device using uhci_hcd and address 8
-
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.
-
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.
-
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
-
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
-
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76099\"][{POST_SNAPBACK}][/a][/div]
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
-
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.