Koozali.org: home of the SME Server

Modificare Pid & Vid

Offline pepz

  • *****
  • 419
  • +0/-0
Modificare Pid & Vid
« on: October 05, 2009, 02:00:20 PM »
Mi sono imbattuto in una scheda di rete usb che dovrebbe funzionare , ma non funziona a causa del pid e vid non in lista.... le istruzioni della scheda citano:
Code: [Select]
    ADM8511 Linux driver has been embedded in Linux since kernel 2.4.2,
    ADM8513 Linux driver has been embedded in Linux since kernel 2.4.20,
    ADM8515 Linux driver has been embedded in Linux since kernel 2.6.4,
   and uses same pegasus module, users can add PID 8515 manually.
 
    users can get more information from below:
   
    http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pegasus2/pegasus/   

Q: How to add ADM8515 to the support list?
A:

1. Add the device ID 0x8515 into .../drivers/usb/pegasus.h just like is done
there for the other vendors, as below:

PEGASUS_DEV( "ADMtek ADM8515 \"Pegasus II\" USB 2.0 Ethernet",
VENDOR_ADMTEK, 0x8515,
DEFAULT_GPIO_RESET | PEGASUS_II )

After, In /usr/src/linux-2.4/, you could make modules. Then cd drivers/usb/ and insmod ./pegasus.o.


2. If the driver don't complain about impossibility to
reset the MAC then you can be pretty sure you have pegasus based device.


Q: How to add new device to the support list?
A: Add the vendor and the device IDs into .../drivers/usb/pegasus.h just like is done
there for the other controllers. If the driver don't complain about impossibility to
reset the MAC then you can be pretty sure you have pegasus based device. Make sure you
send me (petkan@users.sourceforge.net) a patch with the new device added.

la scheda monta un ADM8515 ...  avete idea del file da editare x far digerire questo adattatore lan?

Se puo' servire, windows la vede cosi:  USB\VID_07A6&PID_8515\0001

Grazie
« Last Edit: October 05, 2009, 02:15:57 PM by pepz »

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Modificare Pid & Vid
« Reply #1 on: October 05, 2009, 02:25:55 PM »
indipendentemente da dove vada scritto, il modulo deve essere ricompilato ogni volta che cambi kernel...
lascerei perdere

my 2c

Offline pepz

  • *****
  • 419
  • +0/-0
Re: Modificare Pid & Vid
« Reply #2 on: October 05, 2009, 03:01:02 PM »
sono sempre fortunato ....    :cool:
speravo che questa volta non occorreva compilazione, visto che il modulo pegasus.ko e' presente...
una scheda con lo stesso chip, ma di un altra marca funzionava...
faccio prima a vedere se riesco a reperirla ancora....

grazie ancora

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Modificare Pid & Vid
« Reply #3 on: October 05, 2009, 03:29:46 PM »
se rileggi quanto รจ scritto, capirai che devi ricompilare quel modulo
sorry

Offline pepz

  • *****
  • 419
  • +0/-0
Re: Modificare Pid & Vid
« Reply #4 on: October 05, 2009, 03:44:33 PM »
avevo interpretato che valeva solo x kernel vecchi (2.4)

Quote
After, In /usr/src/linux-2.4/, you could make modules