Author Topic: Usb To Lan Don't Work!  (Read 3178 times)

LukeLuke

  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • http://
Usb To Lan Don't Work!
« on: September 22, 2006, 08:52:34 am »
The gadget is this :
http://cgi.ebay.it/ws/eBayISAPI.dll?ViewIt...AMEWN%3AIT&rd=1
is an ST268 USB NIC, when i use it on pdaXrom it's not work!

What can i do ?

Code: [Select]
root@zaurus ~# lsusb -v

Bus 001 Device 014: ID 0a46:0268 Davicom Semiconductor, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0a46 Davicom Semiconductor, Inc.
  idProduct          0x0268
  bcdDevice            1.01
  iManufacturer           1 ShanTou
  iProduct                2 ST268 USB NIC
  iSerial                 3 0268
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      Remote Wakeup
    MaxPower              144mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         0 (Defined at Interface level)
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
          Usage Type               Data
        wMaxPacketSize     0x0040  bytes 64 once
        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     0x0040  bytes 64 once
        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     0x0008  bytes 8 once
        bInterval               1
  Language IDs: (length=4)
     0409 English(US)

THANKS              

Bye

clementchan

  • Newbie
  • *
  • Posts: 1
    • View Profile
Usb To Lan Don't Work!
« Reply #1 on: September 22, 2006, 10:44:47 am »
I also get this NIC and try to compile the driver in NIC's CD.

But I has no luck on it. The driver I compiled always hold on "Initializing" status.  

anunakin

  • Sr. Member
  • ****
  • Posts: 340
    • View Profile
    • http://vivaphp.net
Usb To Lan Don't Work!
« Reply #2 on: September 22, 2006, 04:11:39 pm »
Quote
The gadget is this :
http://cgi.ebay.it/ws/eBayISAPI.dll?ViewIt...AMEWN%3AIT&rd=1
is an ST268 USB NIC, when i use it on pdaXrom it's not work!

What can i do ?

Code: [Select]
root@zaurus ~# lsusb -v

Bus 001 Device 014: ID 0a46:0268 Davicom Semiconductor, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0a46 Davicom Semiconductor, Inc.
  idProduct          0x0268
  bcdDevice            1.01
  iManufacturer           1 ShanTou
  iProduct                2 ST268 USB NIC
  iSerial                 3 0268
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      Remote Wakeup
    MaxPower              144mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         0 (Defined at Interface level)
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
          Usage Type               Data
        wMaxPacketSize     0x0040  bytes 64 once
        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     0x0040  bytes 64 once
        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     0x0008  bytes 8 once
        bInterval               1
  Language IDs: (length=4)
     0409 English(US)

THANKS              

Bye
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142069\"][{POST_SNAPBACK}][/a][/div]

Plz post u last lines of dmesg, just after put USB-Ether at ZHost... I have one with same chipset and this works for me at beta3, beta4 and r121.... but u need up ether with ifconfig or dhcpcd  
[img]http://www.vivaphp.net/imagens/rev2.jpg\" border=\"0\" class=\"linked-sig-image\" /]
Anunakin (Marcus Fazzi)

Nokia N900 32GB + microSD 2GB
Nokia N810 w/ microSD 8GB
Nokia 5310 XpressMusic w/ microSD 1GB
HP48GX->Psion Sienna->Palm m130->Tungsten T->Zaurus SL-5500->C3000->C3100 ALL SOLD

My FEED(On Line AGAIN!!!)

moe

  • Newbie
  • *
  • Posts: 16
    • View Profile
Usb To Lan Don't Work!
« Reply #3 on: September 23, 2006, 06:02:09 pm »
I have the same usb ethernet adapter too, and am also trying to figure out how to make it work.

The last lines of dsmg:
Code: [Select]
hub.c: new USB device -2, assigned address 2
usb.c: kmalloc IF c3b05440, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
usb.c: USB device number 2 default language ID 0x409
Manufacturer: ShanTou        
Product: ST268 USB NIC          
SerialNumber: 0268
usb.c: unhandled interfaces on device
usb.c: USB device 2 (vend/prod 0xa46/0x268) is not claimed by any active driver.
  Length              = 18
  DescriptorType      = 01
  USB version         = 1.10
  Vendor:Product      = 0a46:0268
  MaxPacketSize0      = 8
  NumConfigurations   = 1
  Device version      = 1.01
  Device Class:SubClass:Protocol = 00:00:00
    Per-interface classes
Configuration:
  bLength             =    9
  bDescriptorType     =   02
  wTotalLength        = 0027
  bNumInterfaces      =   01
  bConfigurationValue =   01
  iConfiguration      =   00
  bmAttributes        =   a0
  MaxPower            =  144mA

  Interface: 0
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   00
    bNumEndpoints       =   03
    bInterface Class:SubClass:Protocol =   00:00:00
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   81 (in)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   02 (out)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   83 (in)
      bmAttributes        =   03 (Interrupt)
      wMaxPacketSize      = 0008
      bInterval           =   01
usb.c: kusbd: /sbin/hotplug add 2
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 256 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 256 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 256 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 256 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 256 ret -110
usb_control/bulk_msg: timeout
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 256 ret -110

If possible please shed us some light.. Really want to make it work.
« Last Edit: September 23, 2006, 08:48:07 pm by moe »
C1000 w/ pdaXrom beta3, buffolo wifi, unknown brand bluetooth card.

LukeLuke

  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • http://
Usb To Lan Don't Work!
« Reply #4 on: September 25, 2006, 03:34:51 am »
Quote
Plz post u last lines of dmesg, just after put USB-Ether at ZHost... I have one with same chipset and this works for me at beta3, beta4 and r121.... but u need up ether with ifconfig or dhcpcd 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142080\"][{POST_SNAPBACK}][/a][/div]

this is my dmesg :

Code: [Select]
usb 1-2.2: new full speed USB device using pxa27x-ohci and address 20
usb 1-2.2: configuration #1 chosen from 1 choice

THANKS

Bye

Srono

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • http://
Usb To Lan Don't Work!
« Reply #5 on: October 14, 2006, 08:08:01 am »
Do you have the source of the driver ? I got ST268.c and ST268.h but when i compile, there are a lot of errors.
Here is the source of the driver i have http://atoz.org.cn/download/drivers/ST268.zip
Thanks!
« Last Edit: October 14, 2006, 08:17:31 am by Srono »
[span style=\'font-size:7pt;line-height:100%\']C3100 /w Meanie's pdaxii13 5.2alpha
SL5500 collecting dust.

[/span]

anunakin

  • Sr. Member
  • ****
  • Posts: 340
    • View Profile
    • http://vivaphp.net
Usb To Lan Don't Work!
« Reply #6 on: October 14, 2006, 09:24:48 am »
Quote
Do you have the source of the driver ? I got ST268.c and ST268.h but when i compile, there are a lot of errors.
Here is the source of the driver i have http://atoz.org.cn/download/drivers/ST268.zip
Thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=143970\"][{POST_SNAPBACK}][/a][/div]

Sorry, I have revised and my USB Ether is not same chipset ....

I think u need ask Sash, if module for it has been added to r121 kernel... because there are davicom supports at kernel 2.6 ....
[img]http://www.vivaphp.net/imagens/rev2.jpg\" border=\"0\" class=\"linked-sig-image\" /]
Anunakin (Marcus Fazzi)

Nokia N900 32GB + microSD 2GB
Nokia N810 w/ microSD 8GB
Nokia 5310 XpressMusic w/ microSD 1GB
HP48GX->Psion Sienna->Palm m130->Tungsten T->Zaurus SL-5500->C3000->C3100 ALL SOLD

My FEED(On Line AGAIN!!!)

Srono

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • http://
Usb To Lan Don't Work!
« Reply #7 on: October 15, 2006, 02:50:19 am »
Quote
Sorry, I have revised and my USB Ether is not same chipset ....

I think u need ask Sash, if module for it has been added to r121 kernel... because there are davicom supports at kernel 2.6 ....
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Hi, i managed to compile the driver so i have ST268.o. However, when i type:
insmod ST268.o, there is error:

ST268: couldn't find the kernel version the module was compiled for.

I got linux source from [a href=\"http://mail.pdaxrom.org/download/1.1.0beta3/src/linux-c3100-20050602-rom1_01.tar.bz2]http://mail.pdaxrom.org/download/1.1.0beta...rom1_01.tar.bz2[/url]
because im using beta3 version. Is it correct? Because i cannot find linux-2.4.20 in the website.
« Last Edit: October 15, 2006, 03:27:54 am by Srono »
[span style=\'font-size:7pt;line-height:100%\']C3100 /w Meanie's pdaxii13 5.2alpha
SL5500 collecting dust.

[/span]

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Usb To Lan Don't Work!
« Reply #8 on: October 15, 2006, 06:25:01 am »
I don't have a lan adapter myself, but maybe this thread will help? https://www.oesf.org/forums/index.php?showtopic=16259&hl=usb