Re: USB Lan Adapter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 16 Jul 2013 17:15:40 +0200 poma <pomidorabelisima@xxxxxxxxx>
wrote:

> On 16.07.2013 16:02, Ranjan Maitra wrote:
> >>
> >> BuildRequires: kernel-devel
> >>
> >> $ ls
> >> dm9620.c  Makefile
> >> $ make
> >> $ su
> >> # make install
> >>
> >>
> >> poma
> >>
> >>
> >> Ref.
> >> http://marc.info/?l=linux-netdev&m=137173085617601
> >>
> > 
> > Trying this out, it appears that I fail right away:
> > 
> > $ make
> > make -C /lib/modules/3.9.9-302.fc19.x86_64/build M=/home/maitra/9620  
> > make[1]: Entering directory `/usr/src/kernels/3.9.9-302.fc19.x86_64'
> >   CC [M]  /home/maitra/9620/dm9620.o
> > /home/maitra/9620/dm9620.c: In function ‘dm9620_status’:
> > /home/maitra/9620/dm9620.c:725:3: error: implicit declaration of
> > function ‘usbnet_link_change’ [-Werror=implicit-function-declaration]
> > usbnet_link_change(dev, link, 1); ^
> > cc1: some warnings being treated as errors
> > make[2]: *** [/home/maitra/9620/dm9620.o] Error 1
> > make[1]: *** [_module_/home/maitra/9620] Error 2
> > make[1]: Leaving directory `/usr/src/kernels/3.9.9-302.fc19.x86_64'
> > make: *** [default] Error 2
> > 
> > Some searching gets me here:
> > 
> > http://www.spinics.net/lists/netdev/msg232521.html
> > 
> > OK, so perhaps I need this:
> > 
> > /include/linux/usb/usbnet.h    
> > 
> > So I look at the repos and come up with the following:
> > 
> > kcbench-data-3.9-0.1-12.fc19.noarch : Kernel sources from 3.9 to be
> > used by : kcbench
> > Repo        : fedora
> > 
> > Also, the file is in kernel-devel but the usbnet_link_change is not
> > list.
> > 
> > What are my options here?
> > 
> > Thanks,
> > Ranjan
> 
> $ modinfo dm9620
> filename:
> /lib/modules/3.10.0-707.fc19.x86_64/kernel/drivers/net/usb/dm9620.ko
> license:        GPL
> description:    Davicom DM9620 USB 2.0 ethernet devices
> author:         Peter Korsgaard <jacmet@xxxxxxxxxx>
> alias:          usb:v0A46p1269d*dc*dsc*dp*ic*isc*ip*in*
> alias:          usb:v0A46p0269d*dc*dsc*dp*ic*isc*ip*in*
> alias:          usb:v0A46p9622d*dc*dsc*dp*ic*isc*ip*in*
> alias:          usb:v0A46p9621d*dc*dsc*dp*ic*isc*ip*in*
> alias:          usb:v0A46p9620d*dc*dsc*dp*ic*isc*ip*in*
> depends:        usbnet,mii
> vermagic:       3.10.0-707.fc19.x86_64 SMP mod_unload
> 
> kernel >= 3.10 ;)
> 
> http://kojipkgs.fedoraproject.org/packages/kernel/3.10.0/1.fc20/x86_64/
> - kernel-3.10.0-1.fc20.x86_64.rpm
> - kernel-devel-3.10.0-1.fc20.x86_64.rpm
> - kernel-headers-3.10.0-1.fc20.x86_64.rpm
> 
> 
> poma

Does that mean that this will work in the 3.10+ kernel from the box? Or
do I still have to compile?

When is this coming to F19? I noticed that 3.10.1 is out at kernel.org
but no kernel is up in updates-testing.

Thanks again!
Ranjan

____________________________________________________________
GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys
Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google Talk™ and most webmails


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux