Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mapping an unknown USB device to a given driver
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Hardware
View previous topic :: View next topic  
Author Message
einonm



Joined: Fri Apr 20, 2012 11:19 am
Posts: 29
Location: Cardiff, UK

PostPosted: Thu Apr 26, 2012 3:42 pm    Post subject: Reply with quote

In my experience, USB ID's are defined in the kernel driver itself (in a struct usb_device_id), and on inserting a usb device, the usb system probes the driver if it thinks it supports it (which I think assigning a udev rule for the IDs helps with).

However, if no driver is found that supports the given vendor and product IDs, then a driver for the device will not be loaded, and hence never found in ifconfig.

Searching a fairly recent kernel source I have lying around (3.3.0), there doesn't seem to be any USB ids listed for this vendor, and definitely not in the plusb driver (drivers/net/usb/plusb.c) - only VIDs 0x067b (prolific) and 0x050d (Belkin) are listed. So there's no chance that this device will work with this kernel (and probably not with the one you're using too).

I suggest that you either have a go at getting the source for your kernel and adding your device IDs to the plusb driver ID table, if you're happy doing that, or searching/posting on the USB/netdev kernel mailing lists to see if the device is known and getting a developer to add the device to the correct driver...I realise this may be out of your comfort zone though!
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast