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

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> usb0 - No Such Device
gregkedro
post Oct 22 2003, 03:27 PM
Post #1





Group: Members
Posts: 29
Joined: 19-October 03
From: San Jose, Costa Rica
Member No.: 674



I made the change in my kernel module to reflect the ipProduct number 8006 for my SL-5600. Did a make modules and make modules_install. lsmod shows usbcore, usb-uhci and usbdnet running fine.

/var/log/messages shows the following lines (which the how-to said to look for:
hub.c: USB new device connect on bus1/1, assigned device number 38
usb.c: USB device 38 (vend/prod 0x4dd/0x8006) is not claimed by any active driver.
v0.4b sl@lineo.com, tbr@lineo.com
usbdnet.c: v0.4b sl@lineo.com, tbr@lineo.com
usbdnet.c: USB Host to Device Network - for Linux USB Devices using MDLM/CDC
usb.c: registered new driver usbdnet

But, I still get nothing for my usb0. If I do ifconfig -a it does not show up (only my eth0 and lo). If I ifup usb0, I get this message:

[root@gregkedro log]# ifup usb0
Error for wireless request "Set Encode" (8B2A) :
SET failed on device usb0 ; No such device.
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device usb0 ; No such device.
SIOCGIFFLAGS: No such device
Failed to bring up usb0.

Does anyone have any ideas on where to go now to look for a problem?

Since these kernel patches were applied as modules, there should be no reason to recomile a bzImage, etc., right?

Could this be a hotplug issue? I've seen several how-tos that say I need to tweek my /etc/sysconfig/hotplug file. The problem is, I don't have one (RH8). Where is the RH config for hotplug? Or, should I just create a file /etc/sysconfig/hotplug?

Thanks.
-Greg
Go to the top of the page
 
+Quote Post
gregkedro
post Oct 22 2003, 04:26 PM
Post #2





Group: Members
Posts: 29
Joined: 19-October 03
From: San Jose, Costa Rica
Member No.: 674



More info: tail -f /var/log/messages gives the following lines when the SL5600 is turned on in the cradle:

Oct 22 18:39:21 gregkedro kernel: hub.c: USB new device connect on bus2/1, assigned device number 6
Oct 22 18:39:21 gregkedro kernel: usb.c: USB device 6 (vend/prod 0x4dd/0x8006) is not claimed by any active driver.
Oct 22 18:39:24 gregkedro /etc/hotplug/usb.agent: Setup usbdnet acm for USB product 4dd/8006/0

And it stops there.

-Greg
Go to the top of the page
 
+Quote Post
gregkedro
post Oct 22 2003, 08:06 PM
Post #3





Group: Members
Posts: 29
Joined: 19-October 03
From: San Jose, Costa Rica
Member No.: 674



Any comments on this...?

http://www.redhat.com/archives/redhat-list...y/msg00009.html
Go to the top of the page
 
+Quote Post
tumnus
post Oct 22 2003, 11:19 PM
Post #4





Group: Members
Posts: 1,176
Joined: 3-October 03
From: UK
Member No.: 547



See section 2,3, and 4 in this howto:

http://www.zaurususergroup.com/modules.php...ric%20%28USB%29
Go to the top of the page
 
+Quote Post
gregkedro
post Oct 23 2003, 04:50 AM
Post #5





Group: Members
Posts: 29
Joined: 19-October 03
From: San Jose, Costa Rica
Member No.: 674



Yeah. That's the how-to I've been following. Here is what I get:

[root@gregkedro root]# ifconfig usb0 192.168.129.1 netmask 255.255.255.0 up
SIOCSIFADDR: No such device
usb0: unknown interface: No such device
SIOCSIFNETMASK: No such device
usb0: unknown interface: No such device

It's the same problem as before.

If I understand the set-up right, when I have usbdnet running (patched into my kernel) - which I do - then when I cradle my Z and turn it on, it should automagically be recognized as usb0 and show up with a ifconfig -a. It does not. So, I can't even get to sections 2, 3 and 4 of the how-to. It seems to be a problem with the driver/module not functioning correctly.

Thanks for the response.

-Greg
Go to the top of the page
 
+Quote Post
tumnus
post Oct 23 2003, 07:55 AM
Post #6





Group: Members
Posts: 1,176
Joined: 3-October 03
From: UK
Member No.: 547



Looks like the usbdnet module is not compatible with the SL-5600. Try the usbnet (notice the lack of a 'd') module by following the instructions here: http://www.zaurususergroup.com/modules.php...%2B%20%28USB%29

You will have to remove the usbdnet module too.
Go to the top of the page
 
+Quote Post
gregkedro
post Oct 23 2003, 02:17 PM
Post #7





Group: Members
Posts: 29
Joined: 19-October 03
From: San Jose, Costa Rica
Member No.: 674



QUOTE
Looks like the usbdnet module is not compatible with the SL-5600. Try the usbnet


It gave me errors (Error 1) in the make && make install (even though I have the specified filed installed). ???

QUOTE
You will have to remove the usbdnet module too.


That's more than just rmmod, right? I have to go into make menuconfig and de-select the USB Host-to-Host driver??

I'm currently looking into upgrading my kernel... but it all seems like brain surgery to me (someone even suggested I change distros, go to Slack).

Thanks.

-Greg
Go to the top of the page
 
+Quote Post
post Dec 24 2003, 12:23 AM
Post #8





Group:
Posts: 0
Joined: --
Member No.: 0



if you use slack, and get a vanilla kernel package for 2.4.22, you can just build it as is ( slackware does a nice job of just telling almost everything to build as a module ) and just remember to put CDCEther in /etc/hotplug/blacklist. i just got done with a fresh install and i didnt have a problem. ( i have a SL-5500, and im using usbnet )

-Josh
peacelovelinux [aSPAMt] comcast [dot] net
Go to the top of the page
 
+Quote Post
post Mar 8 2004, 05:46 AM
Post #9





Group:
Posts: 0
Joined: --
Member No.: 0



i've got the exactly same pb with my mdk 9.2 and my c750.

My mdk is updated to kernel 2.4.22-28 and i use the brand new cacko qt rom.

i'll try the blacklist trick but i'd like to know what it is about.

Thanks.
Go to the top of the page
 
+Quote Post
tsm
post Mar 8 2004, 06:55 AM
Post #10





Group: Members
Posts: 12
Joined: 2-March 04
From: Brasília/DF - Brazil
Member No.: 2,124



The /etc/hotplug/blacklist works just fine.
I have a RedHat 9.0 box, using kernel 2.4.25 with lck1 patches.
Create a /etc/sysconfig/network-scripts/ifup-usb0 to make it able to startup when you put your zarurs on the cradle.
Make sure all usb modules are starting up. I own a USB 2.0 VIA PCI card, and without modprobe usb-ehci (?) and modprobe usb-storage (?) the usb card doesn't work.
The messages you are getting appeared on my box too, modprobe "modules" and blacklist solved the problem.

- I don't know the modules now, becouse I am very far from my box, but if you want, I can send you my kernel configuration, /etc/rc.d/rc.local with all modules and my blacklist file too.

[]'s
Go to the top of the page
 
+Quote Post
post Mar 8 2004, 08:50 AM
Post #11





Group:
Posts: 0
Joined: --
Member No.: 0



ho yes please :roll: !!!!
Go to the top of the page
 
+Quote Post
tsm
post Mar 8 2004, 05:19 PM
Post #12





Group: Members
Posts: 12
Joined: 2-March 04
From: Brasília/DF - Brazil
Member No.: 2,124



Ok, here it goes my configuration:
- USB modules loaded by hand:
modprobe ehci-hcd
modprobe usb-storage
modprobe uhci

- /etc/hotplug/blacklist
# uhci ... usb-uhci handles the same pci class
usb-uhci

# tulip ... de4x5, xircom_tulip_cb, dmfe (...) handle same devices
de4x5
# At least 2.4.3 and later xircom_tulip doesn't have that conflict
# xircom_tulip_cb
dmfe
# Zaurus Problem
CDCEther

- My ifcfg-usb0 (/etc/sysconfig/network-scripts) for autoconfiguration:
DEVICE=usb0
ONBOOT=no
IPADDR=192.168.129.1
NETMASK=255.255.255.0
NETWORK=192.168.129.0
BROADCAST=192.168.200.255
NAME=ZAURUS

- My kernel is 2.4.25 with lck1 pathces applied. Change the settings specific to your arch. My .config for it is atached to this message.

I hope this can help you.
Go to the top of the page
 
+Quote Post
post Mar 8 2004, 09:37 PM
Post #13





Group:
Posts: 0
Joined: --
Member No.: 0



I am a bit of a noob to linux and just got my z last wesk so maybe this post will mean nothing but I thought I would throw it out there just in case biggrin.gif
I have had a heck of a time finding useful info in a timely manner but this link is one I found after a couple hours of searching and a little verbal flogging via the always freindly IRC channels:

http://www.linux-migration.org/ch05s08.html

I too have an sl-5600 and am using gentoo as my OS. I followed the very simple step by step instructions on the link and all seems well. In case it helps here is my output from /var/log/messages:

Mar 8 22:30:00 NEWBIE CRON[11486]: (root) CMD (test -x /usr/sbin/run-crons && / usr/sbin/run-crons )
Mar 8 22:30:03 NEWBIE hub.c: new USB device 00:10.2-1, assigned address 4
Mar 8 22:30:03 NEWBIE usb.c: USB device 4 (vend/prod 0x4dd/0x8006) is not claim ed by any active driver.
Mar 8 22:30:04 NEWBIE usb.c: registered new driver usbnet
Mar 8 22:30:04 NEWBIE usb0: register usbnet usb-00:10.2-1, Sharp Zaurus SL-B500

I don't know why it says my Z is a B500 but what the heck if it ain't broke......

maybe it helps maybe not but at least I tried tongue.gif
Go to the top of the page
 
+Quote Post
post Mar 10 2004, 06:22 AM
Post #14





Group:
Posts: 0
Joined: --
Member No.: 0



sorry, it doesn't work... sad.gif
thanks anyway.
Tsm: What is the patch you are talking about ?
Go to the top of the page
 
+Quote Post
tsm
post Mar 10 2004, 10:47 AM
Post #15





Group: Members
Posts: 12
Joined: 2-March 04
From: Brasília/DF - Brazil
Member No.: 2,124



It is the patch that insert GRSecurity and Preemption into the 2.4 kernel. Also it backports a list of performance patches and features from 2.6.
Have a look here: http://www.plumlocosoft.com/kernel/
It's a very good patchset and I'm using it since Kernel 2.4.22.
Go to the top of the page
 
+Quote Post

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

 



RSS Lo-Fi Version Time is now: 28th December 2014 - 10:45 PM