OESF Portables Forum

Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Linux Issues => Topic started by: evowan on March 18, 2004, 09:37:10 am

Title: USB device 4 is not claimed by any active driver
Post by: evowan on March 18, 2004, 09:37:10 am
Hi,

I\'m using Mandrake 9.2 and trying to connect my Z to it using the USB. Now it works under WinXP, so I doubt if there are any hardware faults as such.

When I plug in the Z via USB, I can see this from my /var/log/messages

Mar 18 14:27:36 mylinux kernel: hub.c: new USB device 00:07.2-2, assigned address 4
Mar 18 14:27:36 mylinux kernel: usb.c: USB device 4 (vend/prod 0x4dd/0x9031) is not claimed by any active driver.
Mar 18 14:27:40 mylinux /etc/hotplug/usb.agent: Setup acm for USB product 4dd/9031/0

Can anyone tell me what I\'ve missed doing?
Title: USB device 4 is not claimed by any active driver
Post by: evowan on March 18, 2004, 01:24:51 pm
Ah, got it working now, best link to help me with this was -

http://twiki.org/cgi-bin/view/Wikilearn/Za...ork_through_USB (http://twiki.org/cgi-bin/view/Wikilearn/ZaurusC760TrivialSetup#Network_through_USB)
Title: USB device 4 is not claimed by any active driver
Post by: alan on March 19, 2004, 01:26:46 pm
evowan,  lucky you are, i still don\'t understand anything of this.

I insmod the usbnet.o module but still unable to connect  :x  .

I\'m a newbie so i did\'nt understand what i had to do with the diff part but i think it was just some info, was it?
Title: USB device 4 is not claimed by any active driver
Post by: evowan on March 20, 2004, 05:46:14 pm
Quote
evowan,  lucky you are, i still don\'t understand anything of this.

I insmod the usbnet.o module but still unable to connect  :x  .

I\'m a newbie so i did\'nt understand what i had to do with the diff part but i think it was just some info, was it?
I\'m not sure if it\'s required, but I changed my /lib/modules/`uname -r`/modules.usbmap as shown by the instructions at http://www.ruault.com/Zaurus/ethernet-over...-usb-howto.html (http://www.ruault.com/Zaurus/ethernet-over-usb-howto.html) but instead of where is says 0x8004 (which is the product ID for SL5500), I used 0x9031 which is the product ID for SL-C860.

What Z model are you using?

As root, use \"tail -f /var/log/messages\" and post what you see when you plug your Z in.

As for the diff, it\'s a command programmers can used to see what the difference between files are and helps in applying new code to old code, so to speak.
Title: USB device 4 is not claimed by any active driver
Post by: alan on March 21, 2004, 11:08:25 am
evowan, here is my tail -f /var/log/messages:


Mar 22 20:54:59 localhost kernel: hub.c: new USB device 00:07.2-2, assigned address 6
Mar 22 20:54:59 localhost kernel: usb.c: USB device 6 (vend/prod 0x4dd/0x9031) is not claimed by any active driver.
Mar 22 20:55:02 localhost /etc/hotplug/usb.agent: Setup acm for USB product 4dd/9031/0

Still no usb0 interface in ifconfig  

My Zaurus model is a c750, so i didn\'t change the modules.usbmap file as i didn\'t know the product ID.

Thanks for the info about the diff
 :wink:

Do you think it might come from my kernel version (2.4.22-28)???
What is yours?
Title: USB device 4 is not claimed by any active driver
Post by: alan on March 21, 2004, 11:09:45 am
sorry, it\'s a 2.4.22-28 kernel version :roll:
Title: USB device 4 is not claimed by any active driver
Post by: padishah_emperor on March 23, 2004, 05:55:36 pm
Quote
Mar 22 20:55:02 localhost /etc/hotplug/usb.agent: Setup acm for USB product 4dd/9031/0

I know on SuSE 9 I have to disable \'acm\' in the hotplug blacklist file.

Dunno about yours I\'m afraid.
Title: USB device 4 is not claimed by any active driver
Post by: lardman on March 24, 2004, 05:24:19 am
Quote
My Zaurus model is a c750, so i didn\'t change the modules.usbmap file as i didn\'t know the product ID.

You will have to though I\'d guess.

Quote
Mar 18 14:27:36 mylinux kernel: usb.c: USB device 4 (vend/prod 0x4dd/0x9031) is not claimed by any active driver.

0x4dd/0x9031 is the code which the Z is reporting. I\'m not sure which way round they should go, but I\'d try plugging these in as documented in the instructions for the other machines.


Si

P.S. If you look at my sig and wonder why I\'m not actually sure - I\'ve not got round to doing this yet.
Title: USB device 4 is not claimed by any active driver
Post by: evowan on March 31, 2004, 10:21:54 am
Quote
sorry, it\'s a 2.4.22-28 kernel version :roll:

I \'think\' my kernel source is the same... thing is, my machine has bombed out on me, and I haven\'t been able to boot linux (desktop) for a while now. I assume you\'ve typed \'ifconfig\', and seen no usb0... though have you actually tried to bring the device up... \"ifconfig usb0 up\".

And also as someone else mentioned, I blacklisted the acm module from being loaded too.
Title: USB device 4 is not claimed by any active driver
Post by: ClintReese on March 31, 2004, 11:37:53 am
Quote
sorry, it\'s a 2.4.22-28 kernel version :roll:

Alan,

This may be a terribly uninformative post, but if you are desperate, you may read on if you wish.

I don\'t know if you are desperate enough to try another OS, but someone from this group showed me one fast way to get connectivity working on the Z-SL-5600.  I installed RH9, and then installed an appropriate kernel uprgrade package from:

http://ccrma-www.stanford.edu/planetccrma/...tem.html#kernel (http://ccrma-www.stanford.edu/planetccrma/software/system.html#kernel)

The resulting system pings the Z-SL-5600. Kernel versions ]= 2.4.21 are supposed to be able to do that anyway, though, if they are compiled to do so, so your kernel sounds as if it may already have that capability.  Also, I don\'t know about the c750, since mine is a 5600.

I also got telnet and ftp working, with help.  I\'m still working on getting the QT compiler set up right again, though.

Anyway, that\'s the end of my rambilngs about my similar struggle to get my PC talking to my Z in meaningful ways.  I hope you succeed.

Clint Reese
Title: USB device 4 is not claimed by any active driver
Post by: w14 on March 31, 2004, 02:16:33 pm
I couldn\'t get this to work either.

Today, I downloaded the source to 2.4.25 and it worked no probs. Now if I can only get X to start (graphics card driver), I\'ll be happy as a pig in ...

Mike.
Title: USB device 4 is not claimed by any active driver
Post by: alan on April 04, 2004, 03:39:47 pm
got it work!

i HAVE a usb0 interface!!! That is the great point.

Now the BAAAAAAAAAAAAAAAAAAD point is: I JUST CAN\'T PING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Heeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeelp
pleaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaase...
Title: USB device 4 is not claimed by any active driver
Post by: sashz on April 04, 2004, 03:49:36 pm
type on host
 ifconfig

that must give you like with IP 192.168.129.1

usb0      Link encap:Ethernet  HWaddr E6:D7:A1:00:B8:9D
          inet addr:192.168.129.1  Bcast:192.168.129.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0   TX bytes:0 (0.0

on Z  with IP 192.168.129.201:
usbd0     Link encap:Ethernet  HWaddr 40:00:01:00:00:01
          inet addr:192.168.129.201  Bcast:192.168.129.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0   TX bytes:0 (0.0
Title: USB device 4 is not claimed by any active driver
Post by: alan on April 07, 2004, 03:47:30 am
hi!

both ifconfig on the mdk and on the z match with what Sashz indicates.

Yet, a ping to 192.168.129.201 gives

[root@localhost alan]# ping 192.168.129.201
PING 192.168.129.201 (192.168.129.201) 56(84) bytes of data.
From 192.168.129.1 icmp_seq=1 Destination Host Unreachable
From 192.168.129.1 icmp_seq=1 Destination Host Unreachable
From 192.168.129.1 icmp_seq=1 Destination Host Unreachable
From 192.168.129.1 icmp_seq=1 Destination Host Unreachable
From 192.168.129.1 icmp_seq=1 Destination Host Unreachable
From 192.168.129.1 icmp_seq=1 Destination Host Unreachable
ping: sendmsg: Operation not permitted
From 192.168.129.1 icmp_seq=2 Destination Host Unreachable
ping: sendmsg: Operation not permitted
From 192.168.129.1 icmp_seq=3 Destination Host Unreachable
ping: sendmsg: Operation not permitted
From 192.168.129.1 icmp_seq=4 Destination Host Unreachable
ping: sendmsg: Operation not permitted
From 192.168.129.1 icmp_seq=5 Destination Host Unreachable
ping: sendmsg: Operation not permitted
From 192.168.129.1 icmp_seq=6 Destination Host Unreachable
ping: sendmsg: Operation not permitted
From 192.168.129.1 icmp_seq=7 Destination Host Unreachable
ping: sendmsg: Operation not permitted
From 192.168.129.1 icmp_seq=8 Destination Host Unreachable
ping: sendmsg: Operation not permitted
From 192.168.129.1 icmp_seq=9 Destination Host Unreachable
ping: sendmsg: Operation not permitted


and it keeps going on and on and on...

i\'m beginnig to be really FED UP with all of this...

i wanted to hav a linux experience since a long time ago but i thought i just wouldn\'t be able to learn a very different OS.

And then i discovered the Zaurus : a powerfull pda with an integrated keyboard. It seemed perfect to me as i wanted something to take notes during my lessons at University (i\'m a very slow left handed writer...). This was the occasion for trying Linux, and i installed Mandrake 9.2. I think i did a good choice.

But i\'m very disapointed that a linux based pda works with less pb under windows than under linux... I don\'t understand this point but i am aware that being a pathetic newbie is part of my troubles, and that is why i really want to thank all of the ZUG members who have tried to help me until now.

Thanks again.
Title: USB device 4 is not claimed by any active driver
Post by: lardman on April 07, 2004, 07:13:25 am
Have you checked that your firewalls allow pings?
Title: USB device 4 is not claimed by any active driver
Post by: alan on April 07, 2004, 08:05:27 am
that is a point i was thinking about.

But once again: the pb is thaht i just don\'t know what to do.

the only fire wall i use is drakfirewall and i just can allow
- Everything
- Web serveur
- Domain name server
- ssh
- ftp
- mail server
- pop & imap serveur
- samba
-cups

i don\'t think it is the right way to activate pings because the question i am asked is:
            \"What services do you want to leave accessible from the _internet_ ?\"

is there a command line for checking the ping permission?

If this is the pb, why can\'t the pc ping the Z? I don\'t think thre is a firewall on my z....
Title: USB device 4 is not claimed by any active driver
Post by: lardman on April 07, 2004, 09:35:19 am
Quote
If this is the pb, why can\'t the pc ping the Z? I don\'t think thre is a firewall on my z....

No that\'s true, I didn\'t know this.

I\'m afraid I don\'t know how to check from the command line in any case.

Si
Title: USB device 4 is not claimed by any active driver
Post by: lardman on April 07, 2004, 09:36:44 am
What does dmesg show just after you plug in?
Title: USB device 4 is not claimed by any active driver
Post by: tecknobabble on April 07, 2004, 02:16:02 pm
Follow the how-to\'s from this place.

Mandrake specific bit:

http://www.zaurususergroup.com/modules.php...ake%20%28USB%29 (http://www.zaurususergroup.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Mandrake%20%28USB%29)

and then the generic bit for doing hotplug configuration:

http://www.zaurususergroup.com/modules.php...ric%20%28USB%29 (http://www.zaurususergroup.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Generic%20%28USB%29)

Though you don\'t need to do the module downloading and building as you should have the module already.   In fact just jump to the bottom for the code you need to put in /etc/hotplug/usbnet to do hotplug configuration of the network.

As someone else mentioned you normally have to blacklist the acm and CDCEther modules (put them in /etc/hotplug/blacklist)

At least on Mandrake 10 the matching flags used in the usb.distmap seem to be too restrictive - so I copy the usbnet entry matching my device (vendor 0x4dd, product 0x8004 for the 5500) to the /etc/hotplug/usb.handmap file and change the matching flags from 0x0383 to 0x0003 (i.e. match vendor and product id only)  Adding this stuff to the usb.handmap also means you don\'t have to do a depmod - but this is in the Mandrake note - just means the usbnet code which has the right bits for a number of zaurus\' doesn\'t spot the devices correctly.....sigh.

I\'ve just run through this on my new Mandrake 10 install and it all works fine - I\'ve done the same on Mandrake 9.2, RedHat 9, AS 3 and the same basic recipe (with the odd difference) has always worked for me.

Good Luck,
Steve
Title: USB device 4 is not claimed by any active driver
Post by: PsionX on April 11, 2004, 03:51:21 am
See solution that works here
http://externe.net/zaurus/forum/viewtopic.php?t=730 (http://externe.net/zaurus/forum/viewtopic.php?t=730)
and here
http://externe.net/zaurus/forum/viewtopic.php?t=846 (http://externe.net/zaurus/forum/viewtopic.php?t=846)
I join usbnet.c

Enjoy