Trying to install a new USB to LAN device on Ubuntu 10.04

Ashim Kapoor ashimkapoor at gmail.com
Wed Mar 20 14:32:56 UTC 2013


Dear Nils,

Thanks for your reply.

I guess this is the file that I need :-
http://lxr.linux.no/linux+v2.6.32.32/drivers/net/usb/dm9601.c

Then I need to pull out the idVendor and idProduct as mentioned on this page :-
http://tech.firdooze.com/2011/11/16/how-to-instal-davicom-9601-drivers-dm9601-on-linux/

ashimkapoor at ubuntu-laptop:~/lan_troubleshoot$ dmesg | grepidVendor
ashimkapoor at ubuntu-laptop:~/lan_troubleshoot$ dmesg | grep idProduct

When I try to extract the idVendor/idProduct from the dmesg,as above,
I get nothing.

What should I be doing now ?

Many thanks,
Ashim.


On 3/20/13, Nils Kassube <kassube at gmx.net> wrote:
> Ashim Kapoor wrote:
>> As mentioned on this page :-
>> http://tech.firdooze.com/2011/11/16/how-to-instal-davicom-9601-drivers
>> -dm9601-on-linux/
>>
>> I did :-
>> modprobe usbnet
>> modprobe dm9601
>>
>> Following the above webpage,here I am looking if the eth0/eth1 show up
>> something like on that page :-
>> ashimkapoor at ubuntu-laptop:~/lan_troubleshoot$ grep eth
>> dmesg_after_modprobe [    1.099837] sky2 eth0: addr 00:23:ae:32:c4:a9
>> [   27.730945] eth1: Broadcom BCM4315 802.11 Hybrid Wireless
>> Controller 5.60.48.36
>> [   27.812333] sky2 eth0: enabling interface
>> [   27.822468] ADDRCONF(NETDEV_UP): eth0: link is not ready
>> [   39.932217] eth1: no IPv6 routers present
>
> eth0 is your built-in ethernet interface and eth1 is your wireless
> interface. The USB interface should then be eth2.
>
>> The last line on this page says that there is a new usb interface
>> driver.Can I conclude that that is all that needed to be done ?  When
>> I do a grep for dm9601 on the dmesg which is generated WITH the usb (
>> I call this file dmesg_with) ,but before the modprobe,it does NOT show
>> me that line.
>> ashimkapoor at ubuntu-laptop:~/lan_troubleshoot$ tail
>> dmesg_after_modprobe [   58.508135]  CIFS VFS: cifs_mount failed
>> w/return code = -113 [   92.117517] Valid eCryptfs headers not found
>> in file header region or xattr region
>> [   92.117521] Either the lower file is not in a valid eCryptfs
>> format, or the key could not be retrieved. Plaintext passthrough mode
>> is not enabled; returning -EIO
>> [  101.358417] Valid eCryptfs headers not found in file header region
>> or xattr region
>> [  101.358421] Either the lower file is not in a valid eCryptfs
>> format, or the key could not be retrieved. Plaintext passthrough mode
>> is not enabled; returning -EIO
>> [  138.172058]  CIFS VFS: Error connecting to socket. Aborting
>> operation [  138.172070]  CIFS VFS: cifs_mount failed w/return code =
>> -110 [  209.728151]  CIFS VFS: Error connecting to socket. Aborting
>> operation [  209.728163]  CIFS VFS: cifs_mount failed w/return code =
>> -110 [  296.212956] usbcore: registered new interface driver dm9601
>> ashimkapoor at ubuntu-laptop:~/lan_troubleshoot$ uname -r
>> 2.6.32-32-generic
>
> I think the 2.6.32-32-generic doesn't support the device. Here the
> command "modinfo dm9601" for a 2.6.32 kernel on my Lucid machine shows
> these supported devices:
>
> alias:          usb:v0A46p9000d*dc*dsc*dp*ic*isc*ip*
> alias:          usb:v0FE6p8101d*dc*dsc*dp*ic*isc*ip*
> alias:          usb:v0A47p9601d*dc*dsc*dp*ic*isc*ip*
> alias:          usb:v0A46p8515d*dc*dsc*dp*ic*isc*ip*
> alias:          usb:v0A46p0268d*dc*dsc*dp*ic*isc*ip*
> alias:          usb:v0A46p6688d*dc*dsc*dp*ic*isc*ip*
> alias:          usb:v0A46p9601d*dc*dsc*dp*ic*isc*ip*
> alias:          usb:v07AAp9601d*dc*dsc*dp*ic*isc*ip*
>
> And if I use the same command for a 3.2.0 kernel on a Precise machine I
> see the additional line
>
> alias:          usb:v0FE6p9700d*dc*dsc*dp*ic*isc*ip*
>                      ^^^^ ^^^^
>
> which seems to be the one needed for your USB ID 0fe6:9700. So for the
> 2.6.32 kernel you would need to modify the source code to support your
> device like it was explained on that howto page.
>
> As an alternative you may consider upgrading your machine from Lucid to
> Precise to get the additional device withou extra effort.
>
>
> Nils
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>




More information about the ubuntu-users mailing list