w00t13

[Adding USB LAN adapter] and will be perfect :)

Recommended Posts

Hi all !

 

I'm new on the board, I've tried Xpenology on a tiny computer based on Intel Chipset 945GC + ICH7 And CPU Intel® Atom 230 with

2GB SO-DIMM DDR2 and x 3.5”SATA II 320 GB HDD (will add another disk soon) but the network chip is poor : 10/100 Mbps LAN on-board

 

So I managed to get a USB2.0 to Gigabit LAN adapter like this one : USB21000S2.D.jpg

USB21000S2.Main.jpg

 

I've tried it on Ubuntu (lastest version) and it was recognized fine, but nothing to do on Xpenology...

 

After some search I found this, but I dont know how to cross-compile drivers for Xpenology :cry:

 

http://www.microchip.com/wwwproducts/De ... ct=LAN7500

 

My question is pretty simple:

 

TL;DR : Can somebody help me to get this adapter work on Xpenology ?

Share this post


Link to post
Share on other sites

USB 2.0 was released in April 2000, adding a higher maximum signaling rate of 480 Mbit/s called High Speed whose effective throughput is limited to 35 MB/s or 280 Mbit/s.

 

If done you would go from 12MB/s to 35MB/s

 

https://hallard.me/how-to-install-kerne ... 0-dsm-4-1/

http://www.bydavy.com/2012/01/compiling ... y-devices/

http://forum.synology.com/enu/viewtopic ... 27&t=52065

Share this post


Link to post
Share on other sites

Test with Ubuntu server, get fully loaded 35MB/s via SMB share and it's blazing fast vs 100mbits/s

but the problem still here, how to get it work with DSM

Share this post


Link to post
Share on other sites
di@Prodigy:~$ lspci -v
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
       Subsystem: Elitegroup Computer Systems Device 2687
       Flags: bus master, fast devsel, latency 0
       Capabilities: 
       Kernel driver in use: agpgart-intel

00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
       Subsystem: Elitegroup Computer Systems Device 2687
       Flags: bus master, fast devsel, latency 0, IRQ 16
       Memory at fea80000 (32-bit, non-prefetchable) [size=512K]
       I/O ports at ec00 [size=1]
       Memory at d0000000 (32-bit, prefetchable) [size=256M]
       Memory at fea40000 (32-bit, non-prefetchable) [size=256K]
       Expansion ROM at  [disabled]
       Capabilities: 
       Kernel driver in use: i915

00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
       Subsystem: Elitegroup Computer Systems Device 2687
       Flags: bus master, fast devsel, latency 0, IRQ 40
       Memory at fea38000 (64-bit, non-prefetchable) [size=16K]
       Capabilities: 
       Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01) (prog-if 00 [Normal decode])
       Flags: bus master, fast devsel, latency 0
       Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
       I/O behind bridge: 00001000-00001fff
       Memory behind bridge: feb00000-febfffff
       Prefetchable memory behind bridge: 0000000080000000-00000000801fffff
       Capabilities: 
       Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01) (prog-if 00 [uHCI])
       Subsystem: Elitegroup Computer Systems Device 2687
       Flags: bus master, medium devsel, latency 0, IRQ 23
       I/O ports at e880 [size=2]
       Kernel driver in use: uhci_hcd

00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01) (prog-if 00 [uHCI])
       Subsystem: Elitegroup Computer Systems Device 2687
       Flags: bus master, medium devsel, latency 0, IRQ 19
       I/O ports at e800 [size=2]
       Kernel driver in use: uhci_hcd

00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01) (prog-if 00 [uHCI])
       Subsystem: Elitegroup Computer Systems Device 2687
       Flags: bus master, medium devsel, latency 0, IRQ 18
       I/O ports at e480 [size=2]
       Kernel driver in use: uhci_hcd

00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01) (prog-if 00 [uHCI])
       Subsystem: Elitegroup Computer Systems Device 2687
       Flags: bus master, medium devsel, latency 0, IRQ 16
       I/O ports at e400 [size=2]
       Kernel driver in use: uhci_hcd

00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
       Subsystem: Elitegroup Computer Systems Device 2687
       Flags: bus master, medium devsel, latency 0, IRQ 23
       Memory at fea37c00 (32-bit, non-prefetchable) [size=1K]
       Capabilities: 
       Kernel driver in use: ehci-pci

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) (prog-if 01 [subtractive decode])
       Flags: bus master, fast devsel, latency 0
       Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
       Capabilities: 

00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
       Subsystem: Elitegroup Computer Systems Device 2687
       Flags: bus master, medium devsel, latency 0
       Capabilities: 
       Kernel driver in use: lpc_ich

00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) (prog-if 8a [Master SecP PriP])
       Subsystem: Elitegroup Computer Systems Device 2687
       Flags: bus master, medium devsel, latency 0, IRQ 18
       I/O ports at 01f0 [size=1]
       I/O ports at 03f4
       I/O ports at 0170 [size=1]
       I/O ports at 0374
       I/O ports at ffa0 [size=1]
       Kernel driver in use: ata_piix

00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [iDE mode] (rev 01) (prog-if 8f [Master SecP SecO PriP PriO])
       Subsystem: Elitegroup Computer Systems Device 2687
       Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
       I/O ports at e080 [size=1]
       I/O ports at e000 [size=1]
       I/O ports at dc00 [size=1]
       I/O ports at d880 [size=1]
       I/O ports at d800 [size=1]
       Capabilities: 
       Kernel driver in use: ata_piix

00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
       Subsystem: Elitegroup Computer Systems Device 2687
       Flags: medium devsel, IRQ 11
       I/O ports at 0400 [size=2]

01:00.0 Ethernet controller: Qualcomm Atheros Attansic L2 Fast Ethernet (rev a0)
       Subsystem: Elitegroup Computer Systems Device 2048
       Flags: bus master, fast devsel, latency 0, IRQ 16
       Memory at febc0000 (64-bit, non-prefetchable) [size=256K]
       Expansion ROM at feba0000 [disabled] [size=128K]
       Capabilities: 
       Kernel driver in use: atl2

Share this post


Link to post
Share on other sites
Prodigy:~$ lsusb -v

Bus 001 Device 002: ID 0424:7500 Standard Microsystems Corp. LAN7500 Ethernet 10/100/1000 Adapter
Couldn't open device, some information will be missing
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               2.00
 bDeviceClass          255 Vendor Specific Class
 bDeviceSubClass         0
 bDeviceProtocol       255
 bMaxPacketSize0        64
 idVendor           0x0424 Standard Microsystems Corp.
 idProduct          0x7500 LAN7500 Ethernet 10/100/1000 Adapter
 bcdDevice            1.00
 iManufacturer           1
 iProduct                2
 iSerial                 3
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           39
   bNumInterfaces          1
   bConfigurationValue     1
   iConfiguration          4
   bmAttributes         0xc0
     Self Powered
   MaxPower              100mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           3
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass      0
     bInterfaceProtocol    255
     iInterface              5
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0200  1x 512 bytes
       bInterval               0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x02  EP 2 OUT
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0200  1x 512 bytes
       bInterval               0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0010  1x 16 bytes
       bInterval               1

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               2.00
 bDeviceClass            9 Hub
 bDeviceSubClass         0 Unused
 bDeviceProtocol         0 Full speed (or root) hub
 bMaxPacketSize0        64
 idVendor           0x1d6b Linux Foundation
 idProduct          0x0002 2.0 root hub
 bcdDevice            3.16
 iManufacturer           3
 iProduct                2
 iSerial                 1
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           25
   bNumInterfaces          1
   bConfigurationValue     1
   iConfiguration          0
   bmAttributes         0xe0
     Self Powered
     Remote Wakeup
   MaxPower                0mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass         9 Hub
     bInterfaceSubClass      0 Unused
     bInterfaceProtocol      0 Full speed (or root) hub
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0004  1x 4 bytes
       bInterval              12

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Couldn't open device, some information will be missing
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               1.10
 bDeviceClass            9 Hub
 bDeviceSubClass         0 Unused
 bDeviceProtocol         0 Full speed (or root) hub
 bMaxPacketSize0        64
 idVendor           0x1d6b Linux Foundation
 idProduct          0x0001 1.1 root hub
 bcdDevice            3.16
 iManufacturer           3
 iProduct                2
 iSerial                 1
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           25
   bNumInterfaces          1
   bConfigurationValue     1
   iConfiguration          0
   bmAttributes         0xe0
     Self Powered
     Remote Wakeup
   MaxPower                0mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass         9 Hub
     bInterfaceSubClass      0 Unused
     bInterfaceProtocol      0 Full speed (or root) hub
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0002  1x 2 bytes
       bInterval             255

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Couldn't open device, some information will be missing
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               1.10
 bDeviceClass            9 Hub
 bDeviceSubClass         0 Unused
 bDeviceProtocol         0 Full speed (or root) hub
 bMaxPacketSize0        64
 idVendor           0x1d6b Linux Foundation
 idProduct          0x0001 1.1 root hub
 bcdDevice            3.16
 iManufacturer           3
 iProduct                2
 iSerial                 1
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           25
   bNumInterfaces          1
   bConfigurationValue     1
   iConfiguration          0
   bmAttributes         0xe0
     Self Powered
     Remote Wakeup
   MaxPower                0mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass         9 Hub
     bInterfaceSubClass      0 Unused
     bInterfaceProtocol      0 Full speed (or root) hub
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0002  1x 2 bytes
       bInterval             255

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Couldn't open device, some information will be missing
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               1.10
 bDeviceClass            9 Hub
 bDeviceSubClass         0 Unused
 bDeviceProtocol         0 Full speed (or root) hub
 bMaxPacketSize0        64
 idVendor           0x1d6b Linux Foundation
 idProduct          0x0001 1.1 root hub
 bcdDevice            3.16
 iManufacturer           3
 iProduct                2
 iSerial                 1
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           25
   bNumInterfaces          1
   bConfigurationValue     1
   iConfiguration          0
   bmAttributes         0xe0
     Self Powered
     Remote Wakeup
   MaxPower                0mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass         9 Hub
     bInterfaceSubClass      0 Unused
     bInterfaceProtocol      0 Full speed (or root) hub
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0002  1x 2 bytes
       bInterval             255

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Couldn't open device, some information will be missing
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               1.10
 bDeviceClass            9 Hub
 bDeviceSubClass         0 Unused
 bDeviceProtocol         0 Full speed (or root) hub
 bMaxPacketSize0        64
 idVendor           0x1d6b Linux Foundation
 idProduct          0x0001 1.1 root hub
 bcdDevice            3.16
 iManufacturer           3
 iProduct                2
 iSerial                 1
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           25
   bNumInterfaces          1
   bConfigurationValue     1
   iConfiguration          0
   bmAttributes         0xe0
     Self Powered
     Remote Wakeup
   MaxPower                0mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass         9 Hub
     bInterfaceSubClass      0 Unused
     bInterfaceProtocol      0 Full speed (or root) hub
     iInterface              0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0002  1x 2 bytes
       bInterval             255
mehdi@Prodigy:~$

Share this post


Link to post
Share on other sites

Your adapter is handle by smsc7500 driver.

I don't think it's included this why it's not working.

If I find some time this week I will try to build it.

Share this post


Link to post
Share on other sites

Also under xpenology i've tried to load smsc7500.ko module compiled from synology sources, driver loaded successfully ans adpter get recognized but i think bug somewhere cause non working ethernet

Share this post


Link to post
Share on other sites
Your adapter is handle by smsc7500 driver.

I don't think it's included this why it's not working.

If I find some time this week I will try to build it.

Im aware smsc75xx driver isnt included ans should be cross compiled

Share this post


Link to post
Share on other sites