Author Topic: usb0 - No Such Device  (Read 6468 times)

gregkedro

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://www.greg-and-sue.com
usb0 - No Such Device
« on: October 22, 2003, 07:27:12 pm »
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

gregkedro

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://www.greg-and-sue.com
usb0 - No Such Device
« Reply #1 on: October 22, 2003, 08:26:15 pm »
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

gregkedro

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://www.greg-and-sue.com
usb0 - No Such Device
« Reply #2 on: October 23, 2003, 12:06:17 am »

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
usb0 - No Such Device
« Reply #3 on: October 23, 2003, 03:19:45 am »
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

gregkedro

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://www.greg-and-sue.com
usb0 - No Such Device
« Reply #4 on: October 23, 2003, 08:50:18 am »
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

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
usb0 - No Such Device
« Reply #5 on: October 23, 2003, 11:55:25 am »
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.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

gregkedro

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://www.greg-and-sue.com
usb0 - No Such Device
« Reply #6 on: October 23, 2003, 06:17:28 pm »
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

Anonymous

  • Guest
usb0 - No Such Device
« Reply #7 on: December 24, 2003, 03:23:20 am »
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

Anonymous

  • Guest
usb0 - No Such Device
« Reply #8 on: March 08, 2004, 08:46:17 am »
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.

tsm

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • http://
usb0 - No Such Device
« Reply #9 on: March 08, 2004, 09:55:26 am »
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
SL-5500, OpenZaurus 3.5.3
256 MB SanDisk SD / 128 MB Dane-Elec CF
Symbol Wi-Fi CF / Tungstein-T Stylus
Fedora Core 2 / OpenBSD 3.6
Nokia 6600 - MMC 32MB

Anonymous

  • Guest
usb0 - No Such Device
« Reply #10 on: March 08, 2004, 11:50:40 am »
ho yes please :roll: !!!!

tsm

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • http://
usb0 - No Such Device
« Reply #11 on: March 08, 2004, 08:19:08 pm »
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.
SL-5500, OpenZaurus 3.5.3
256 MB SanDisk SD / 128 MB Dane-Elec CF
Symbol Wi-Fi CF / Tungstein-T Stylus
Fedora Core 2 / OpenBSD 3.6
Nokia 6600 - MMC 32MB

Anonymous

  • Guest
usb0 - No Such Device
« Reply #12 on: March 09, 2004, 12:37:00 am »
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
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

Anonymous

  • Guest
usb0 - No Such Device
« Reply #13 on: March 10, 2004, 09:22:48 am »
sorry, it doesn\'t work...
thanks anyway.
Tsm: What is the patch you are talking about ?

tsm

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • http://
usb0 - No Such Device
« Reply #14 on: March 10, 2004, 01:47:33 pm »
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.
SL-5500, OpenZaurus 3.5.3
256 MB SanDisk SD / 128 MB Dane-Elec CF
Symbol Wi-Fi CF / Tungstein-T Stylus
Fedora Core 2 / OpenBSD 3.6
Nokia 6600 - MMC 32MB