Ready64 Forum

Commodore 64 => CBM Hardware => Topic aperto da: jacks - 06 Settembre 2005, 15:14:55

Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 06 Settembre 2005, 15:14:55
 salve

vorrei installare il catweasel mk4 su linux, in quanto i driver per windows sono ancora pessimi.
la mia distro è debian sarge 3.1.
vorrei sapere :
1)devo installare il codice sorgente del kernel? (ho il 2.6)
2)quali librerie aggiuntive devo installare (es. libsidplay)

altre info aggiuntive sono ben accette :)

ciao e grazie
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 06 Settembre 2005, 22:51:02
 Non serve compilare il kernel, ma solo un modulo da caricare a runtime. Guarda l'articolo sull'ultimo SIDin per i passi necessai.In sintesi, vanno scaricati i driver hardsid (che contengono anche quelli per l'MK4; occhio a scaricare il branch corretto per avere il supporto hardware della scheda) da SF.net e compilato libsidplay con il supporto hardsi.
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 10 Settembre 2005, 08:58:00
 ho scaricato questo (http://voxel.dl.sourceforge.net/sourceforge/sidplay2/sidplay-libs-2.1.1.tar.gz) e questo (http://surfnet.dl.sourceforge.net/sourceforge/hardsid/hardsid-0.16.tar.gz).
vanno bene?

 :ciauz:  
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 10 Settembre 2005, 14:29:59
 devi scaricarle da cvs, quelle pachetizzate sono troppo vecchie (forse libsidplay è abbastanza recente, ma conviene scaricare l'ultima disponibile):

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/hardsid co -P hardsid -r experimental_cmk4

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/sidplay2 co -P xxx

dove xxx sono i vari moduli di libsidplay (le directory che vedi dal file che hai scaricato)
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 19 Settembre 2005, 19:44:26
 Forse il comando precendente non scarica il ramo experimantal_cmk4, non mi ricordo più la sintassi corretta, in ogni caso solo il file hardsid.c è differente e al limite si può scaricare con "Browse CVS" dal sito a mano.
Ho notato che i driver del ramo MAIN sono stati ulteriormente affinati da quando li ho provati (con notevoli migliorie), pertanto li ho scaricati e provati. Al momento non sembra che rilevi correttamente il chip a bordo.
Sto sentendo Simon w. al proposito.
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 28 Settembre 2005, 14:39:39
 mi potresti dare i link precisi da dove scaricare i vari driver per favore che mi da "not found". scusa ma sono duro :D

grazie e saluti
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 28 Settembre 2005, 19:25:21
 http://cvs.sourceforge.net/viewcvs.py/hard...perimental_cmk4 (http://cvs.sourceforge.net/viewcvs.py/hardsid/hardsid/?only_with_tag=experimental_cmk4)

qui scarichi il file hardsid.c nella versione giusta. basa che lo sostituisci a quello presente nel pacchetto 0.17 che avevi scaricato dal sito e lo ricompi.

Riguardo alla versione MAIN, Simon dice che sta facendo il restailing e merging con quello sperimentale, per cui non aveva notato il problema che ho segnalato.
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 29 Settembre 2005, 13:33:53
 quando li do make, mi viene il seguente messaggio d'errore :  make: *** /lib/modules/2.6.8-2-k7/build: No such file or directory.  Stop.
make: *** [kmod_build] Error 2
da cosa può dipendere?

saluti
p.s. il codice sorgente del kernel l'ho installato

 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 29 Settembre 2005, 19:46:04
 A me dava un errore simile sulla Fedora Core 4, anche se i sorgenti nella Core 3 erano installati. Credo che se è come per la Core 4, i files per compilare i moduli stanno sotto Kernel-Develop, mentre (se non ricordo male) i sorgenti erano con qualcosa tipo Source

Che distribuzione usi?
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 29 Settembre 2005, 19:58:49
 uso debian sarge 3.1.
quindi come potrei fare per indirizzarlo verso la dir kernel-develop?

 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 30 Settembre 2005, 10:49:25
 su debian è su kernel-build
perciò: apt-get install kernel-build
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 30 Settembre 2005, 20:08:36
 purtroppo ancora errori :(

debian:/home/giacomo# apt-get install kernel-build
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package kernel-build
 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 30 Settembre 2005, 22:19:24
 meno male che ero in SSH su un macchina debian con Sarge quando ho postato l'istruzione!
vedo che kernel-build è per i moduli con kernel 2.4 per i86, immagino che hai il 2.6 e mi sembra che effettivamente non esista per architettura i386 questo pacchetto. strano.
provo a indagare...
 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 01 Ottobre 2005, 12:41:21
 si esatto ho il kernel 2.6
quindi mi consigli di installare il 2.4 per i driver?
cmq sono riuscito a trovare questo : http://packages.debian.org/unstable/devel/...l-build-2.6.8-2 (http://packages.debian.org/unstable/devel/kernel-build-2.6.8-2).
pensi che vada bene?

grazie e ciao
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 01 Ottobre 2005, 14:19:28
 No, usa il 2.6 che utilizza UDEV per i dispositivi che è migliore.
Il file (che non è nel ramo stabile) andrebbe bene se è per la tua architettura i686.

Prova inceve:
apt-get install kernel-headers
o
apt-get install kernel-headers-2.6.8-2-k7

forse quello che ti serve si trova qui (ma non sono sicuro)
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 02 Ottobre 2005, 12:54:03
 se gli do apt get-install kernel-headers mi viene :
debian:/home/giacomo# apt-get install kernel-headers
Reading Package Lists... Done
Building Dependency Tree... Done
Package kernel-headers is a virtual package provided by:
  kernel-headers-2.6.8-2 2.6.8-16
  kernel-headers-2.6.8-2-386 2.6.8-16
  kernel-headers-2.4.27-2-k7-smp 2.4.27-10
  kernel-headers-2.4.27-2-k7 2.4.27-10
  kernel-headers-2.4.27-2-k6 2.4.27-10
  kernel-headers-2.4.27-2-686-smp 2.4.27-10
  kernel-headers-2.4.27-2-686 2.4.27-10
  kernel-headers-2.4.27-2-586tsc 2.4.27-10
  kernel-headers-2.4.27-2 2.4.27-10
  kernel-headers-2.4.27-2-386 2.4.27-10
You should explicitly select one to install.
E: Package kernel-headers has no installation candidate

e se provo ad aggiungerci la versione, mi da error "Couldn't find package kernel-headers (versione messa)"
 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: eregil - 02 Ottobre 2005, 16:26:53
 Se copincolli correttamente il nome del pacchetto questo non deve accadere. Che kernel hai installato (devi installare il kernel-headers appropriato ovviamente) e qual è il comando esatto che dài per cercare di installare kernel-headers-quellocheè?

(mi metto lo scrupolo di chiedere) hai fatto apt-get update?

caso mai prova con synaptic :D
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 02 Ottobre 2005, 18:23:17
 Da quello che avevo capito dall'errore dovresti avere un K7 come processore, per cui:

http://packages.debian.org/stable/devel/ke...ders-2.6.8-2-k7 (http://packages.debian.org/stable/devel/kernel-headers-2.6.8-2-k7)

questo dovrebbe essere il pacchetto associato.
Però apt-get dovrebbe scaricartelo
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 02 Ottobre 2005, 20:13:18
Citazione da: eregil
e qual è il comando esatto che dài per cercare di installare kernel-headers-quellocheè?

li davo "apt-get install kernel-headers" con il nome della versione esattamente copiato (facevo il copia e incolla) e mi dava l'errore che il pacchetto non esisteva, e in fatti era una cosa molto strana.
l'apt-get update l'avevo fatto.
Citazione da: ice00
a quello che avevo capito dall'errore dovresti avere un K7 come processore

si ho un processore k-7 (amd athlon xp).

ora la directory di build me la trova, ma ci sono moltissimi errori di compilazione.



Codice: [Seleziona]
debian:/home/giacomo/Desktop/hardsid# make
make -C /lib/modules/2.6.8-2-k7/build SUBDIRS=/home/giacomo/Desktop/hardsid modules
make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-2-k7'
  CC [M]  /home/giacomo/Desktop/hardsid/hardsid.o
/home/giacomo/Desktop/hardsid/hardsid.c:473: error: syntax error before "sid_type"
/home/giacomo/Desktop/hardsid/hardsid.c:473: warning: no semicolon at end of struct or union
/home/giacomo/Desktop/hardsid/hardsid.c:474: warning: type defaults to `int' in declaration of `card'
/home/giacomo/Desktop/hardsid/hardsid.c:474: warning: data definition has no type or storage class
/home/giacomo/Desktop/hardsid/hardsid.c:509: error: syntax error before '}' token
/home/giacomo/Desktop/hardsid/hardsid.c:509: warning: type defaults to `int' in declaration of `sid_d'
/home/giacomo/Desktop/hardsid/hardsid.c:509: warning: data definition has no type or storage class
/home/giacomo/Desktop/hardsid/hardsid.c:519: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:519: warning: function declaration isn't a prototype
/home/giacomo/Desktop/hardsid/hardsid.c:529: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:529: warning: type defaults to `int' in declaration of `sid_data'
/home/giacomo/Desktop/hardsid/hardsid.c:529: warning: data definition has no type or storage class
/home/giacomo/Desktop/hardsid/hardsid.c:536: error: syntax error before "sid_setup"
/home/giacomo/Desktop/hardsid/hardsid.c:536: warning: type defaults to `int' in declaration of `sid_setup'
/home/giacomo/Desktop/hardsid/hardsid.c:536: warning: data definition has no type or storage class
/home/giacomo/Desktop/hardsid/hardsid.c: In function `m_fifo_in':
/home/giacomo/Desktop/hardsid/hardsid.c:545: error: dereferencing pointer to incomplete type
/home/giacomo/Desktop/hardsid/hardsid.c:546: error: dereferencing pointer to incomplete type
/home/giacomo/Desktop/hardsid/hardsid.c:546: error: dereferencing pointer to incomplete type
/home/giacomo/Desktop/hardsid/hardsid.c:547: error: dereferencing pointer to incomplete type
/home/giacomo/Desktop/hardsid/hardsid.c:548: error: dereferencing pointer to incomplete type
/home/giacomo/Desktop/hardsid/hardsid.c:549: error: dereferencing pointer to incomplete type
/home/giacomo/Desktop/hardsid/hardsid.c: In function `m_fifo_out':
/home/giacomo/Desktop/hardsid/hardsid.c:555: error: dereferencing pointer to incomplete type
/home/giacomo/Desktop/hardsid/hardsid.c:558: error: dereferencing pointer to incomplete type
/home/giacomo/Desktop/hardsid/hardsid.c:559: error: dereferencing pointer to incomplete type
/home/giacomo/Desktop/hardsid/hardsid.c:559: error: dereferencing pointer to incomplete type
/home/giacomo/Desktop/hardsid/hardsid.c:560: error: dereferencing pointer to incomplete type
/home/giacomo/Desktop/hardsid/hardsid.c:561: error: dereferencing pointer to incomplete type
/home/giacomo/Desktop/hardsid/hardsid.c:562: error: dereferencing pointer to incomplete type
/home/giacomo/Desktop/hardsid/hardsid.c: At top level:
/home/giacomo/Desktop/hardsid/hardsid.c:568: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:570: warning: function declaration isn't a prototype
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_poke_isa_slowaccess':
/home/giacomo/Desktop/hardsid/hardsid.c:571: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:571: error: (Each undeclared identifier is reported only once
/home/giacomo/Desktop/hardsid/hardsid.c:571: error: for each function it appears in.)
/home/giacomo/Desktop/hardsid/hardsid.c:572: error: `value' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:573: error: `reg' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: At top level:
/home/giacomo/Desktop/hardsid/hardsid.c:576: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:578: warning: function declaration isn't a prototype
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_poke_isa':
/home/giacomo/Desktop/hardsid/hardsid.c:579: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:579: error: `reg' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:579: error: `value' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: At top level:
/home/giacomo/Desktop/hardsid/hardsid.c:582: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:584: warning: function declaration isn't a prototype
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_poke_cwmk3':
/home/giacomo/Desktop/hardsid/hardsid.c:585: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:586: error: `value' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:587: error: `reg' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: At top level:
/home/giacomo/Desktop/hardsid/hardsid.c:590: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:592: warning: function declaration isn't a prototype
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_poke_pci':
/home/giacomo/Desktop/hardsid/hardsid.c:593: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:593: error: `reg' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:593: error: `value' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: At top level:
/home/giacomo/Desktop/hardsid/hardsid.c:597: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:598: warning: function declaration isn't a prototype
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_peek_isa':
/home/giacomo/Desktop/hardsid/hardsid.c:599: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:600: error: `reg' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: At top level:
/home/giacomo/Desktop/hardsid/hardsid.c:605: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:606: warning: function declaration isn't a prototype
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_peek_cwmk3':
/home/giacomo/Desktop/hardsid/hardsid.c:607: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:608: error: `reg' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: At top level:
/home/giacomo/Desktop/hardsid/hardsid.c:614: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:615: warning: function declaration isn't a prototype
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_peek_pci':
/home/giacomo/Desktop/hardsid/hardsid.c:616: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:618: error: `reg' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: At top level:
/home/giacomo/Desktop/hardsid/hardsid.c:628: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:629: warning: function declaration isn't a prototype
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_delay_pr':
/home/giacomo/Desktop/hardsid/hardsid.c:630: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:630: error: `SID_CARD_CWMK4' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:632: error: `delay' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: At top level:
/home/giacomo/Desktop/hardsid/hardsid.c:665: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:666: warning: function declaration isn't a prototype
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_delay':
/home/giacomo/Desktop/hardsid/hardsid.c:667: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:667: error: `SID_CARD_CWMK4' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:672: error: `delay' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: At top level:
/home/giacomo/Desktop/hardsid/hardsid.c:726: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:727: warning: function declaration isn't a prototype
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_reset':
/home/giacomo/Desktop/hardsid/hardsid.c:732: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:736: error: `vol' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_thread':
/home/giacomo/Desktop/hardsid/hardsid.c:743: error: `sids' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:743: error: syntax error before ')' token
/home/giacomo/Desktop/hardsid/hardsid.c:744: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:746: warning: unused variable `clocks'
/home/giacomo/Desktop/hardsid/hardsid.c:747: warning: unused variable `tv'
/home/giacomo/Desktop/hardsid/hardsid.c:748: warning: unused variable `delayed'
/home/giacomo/Desktop/hardsid/hardsid.c:749: warning: unused variable `next'
/home/giacomo/Desktop/hardsid/hardsid.c:749: warning: unused variable `nextTime'
/home/giacomo/Desktop/hardsid/hardsid.c:749: warning: unused variable `wait'
/home/giacomo/Desktop/hardsid/hardsid.c:749: warning: unused variable `i'
/home/giacomo/Desktop/hardsid/hardsid.c:751: warning: unused variable `counter'
/home/giacomo/Desktop/hardsid/hardsid.c:752: warning: unused variable `fstate'
/home/giacomo/Desktop/hardsid/hardsid.c:753: warning: unused variable `ffeedback'
/home/giacomo/Desktop/hardsid/hardsid.c:754: warning: unused variable `fmdelay'
/home/giacomo/Desktop/hardsid/hardsid.c:755: warning: unused variable `id'
/home/giacomo/Desktop/hardsid/hardsid.c: At top level:
/home/giacomo/Desktop/hardsid/hardsid.c:1074: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:1075: warning: function declaration isn't a prototype
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_write_pr':
/home/giacomo/Desktop/hardsid/hardsid.c:1076: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1076: error: `SID_CARD_CWMK4' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1078: error: `cmd' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_write':
/home/giacomo/Desktop/hardsid/hardsid.c:1116: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: At top level:
/home/giacomo/Desktop/hardsid/hardsid.c:1165: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:1166: warning: function declaration isn't a prototype
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_read_pr':
/home/giacomo/Desktop/hardsid/hardsid.c:1169: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1175: error: `cmd' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1193: error: `SID_CARD_CWMK4' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_read':
/home/giacomo/Desktop/hardsid/hardsid.c:1207: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_ioctl':
/home/giacomo/Desktop/hardsid/hardsid.c:1233: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1287: error: `HSID_IOCTL_CARDTYPE_DEPRECIATED' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1324: error: `HSID_IOCTL_DEVICES' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1327: error: `HSID_IOCTL_RELEASE' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1330: error: `HSID_IOCTL_ALLOCATED' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_open':
/home/giacomo/Desktop/hardsid/hardsid.c:1351: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1359: error: request for member `status' in something not a structure or union
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_release_pr':
/home/giacomo/Desktop/hardsid/hardsid.c:1430: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1451: error: `SID_CARD_QUATTRO' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1452: error: `SID_CARD_PCI_QUATTRO' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: At top level:
/home/giacomo/Desktop/hardsid/hardsid.c:1531: error: syntax error before "hsid_detect"
/home/giacomo/Desktop/hardsid/hardsid.c:1531: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:1532: warning: return type defaults to `int'
/home/giacomo/Desktop/hardsid/hardsid.c:1532: warning: function declaration isn't a prototype
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_detect':
/home/giacomo/Desktop/hardsid/hardsid.c:1536: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1560: error: `SID_NONE' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1582: error: `SID_6581' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1584: error: `SID_8580' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: At top level:
/home/giacomo/Desktop/hardsid/hardsid.c:1587: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:1588: warning: function declaration isn't a prototype
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_detect_chips':
/home/giacomo/Desktop/hardsid/hardsid.c:1590: error: `newsid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1591: error: `chips' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1593: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1595: error: `SID_NONE' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1598: error: `SID_6581' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: At top level:
/home/giacomo/Desktop/hardsid/hardsid.c:1620: error: syntax error before '*' token
/home/giacomo/Desktop/hardsid/hardsid.c:1621: warning: function declaration isn't a prototype
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_probe_isa':
/home/giacomo/Desktop/hardsid/hardsid.c:1626: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1658: error: `SID_CARD_NONE' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1675: error: `SID_CARD_QUATTRO' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1676: error: `SID_CARD_HARDSID' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_probe_pci':
/home/giacomo/Desktop/hardsid/hardsid.c:1683: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1686: error: `sid_card_type' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1686: error: syntax error before "card"
/home/giacomo/Desktop/hardsid/hardsid.c:1693: error: `SID_CARD_PCI_HARDSID' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1696: error: `SID_CARD_PCI_QUATTRO' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_probe_cmk3':
/home/giacomo/Desktop/hardsid/hardsid.c:1754: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1759: error: `SID_CARD_CWMK3' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_interrupt':
/home/giacomo/Desktop/hardsid/hardsid.c:1802: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1802: error: syntax error before ')' token
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_probe_cmk4':
/home/giacomo/Desktop/hardsid/hardsid.c:1840: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:1850: error: `SID_CARD_CWMK4' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_notify':
/home/giacomo/Desktop/hardsid/hardsid.c:2048: error: request for member `pcidev' in something not a structure or union
/home/giacomo/Desktop/hardsid/hardsid.c:2050: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:2051: error: `SID_CARD_CWMK4' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_init':
/home/giacomo/Desktop/hardsid/hardsid.c:2080: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:2138: error: `SID_CARD_HARDSID' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:2142: error: `SID_CARD_QUATTRO' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_exit':
/home/giacomo/Desktop/hardsid/hardsid.c:2189: error: request for member `pcidev' in something not a structure or union
/home/giacomo/Desktop/hardsid/hardsid.c:2191: error: request for member `card' in something not a structure or union
/home/giacomo/Desktop/hardsid/hardsid.c:2193: error: `SID_CARD_CWMK4' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:2194: error: request for member `pcidev' in something not a structure or union
/home/giacomo/Desktop/hardsid/hardsid.c:2196: error: request for member `port' in something not a structure or union
/home/giacomo/Desktop/hardsid/hardsid.c:2197: error: `SID_CARD_CWMK3' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:2198: error: request for member `port' in something not a structure or union
/home/giacomo/Desktop/hardsid/hardsid.c:2200: error: `SID_CARD_PCI_HARDSID' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:2201: error: `SID_CARD_PCI_QUATTRO' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:2202: error: request for member `pcidev' in something not a structure or union
/home/giacomo/Desktop/hardsid/hardsid.c:2207: error: request for member `pcidev' in something not a structure or union
/home/giacomo/Desktop/hardsid/hardsid.c: In function `hsid_proc_output':
/home/giacomo/Desktop/hardsid/hardsid.c:2229: error: `sid' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c:2264: error: `SID_6581' undeclared (first use in this function)
/home/giacomo/Desktop/hardsid/hardsid.c: At top level:
/home/giacomo/Desktop/hardsid/hardsid.c:626: warning: `fcounter' defined but not used
make[2]: *** [/home/giacomo/Desktop/hardsid/hardsid.o] Error 1
make[1]: *** [_module_/home/giacomo/Desktop/hardsid] Error 2
make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-k7'
make: *** [kmod_build] Error 2

se è venuto un post troppo lungo che da noia, diitemelo pure che tanto ho fatto un file con gli errori, e se potete e volete, ve lo spedisco, che c capite più di me  :D .
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 03 Ottobre 2005, 20:18:06
 Così ad occhio potrei pensare che hardsid.h che stai usando (penso quello della versione 0.16) sia variato rispetto a quellache necessita.

Se mi mandi l'indirizzo email ti mando quello che compilo io, ma lo potro fare solo domani sera
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 03 Ottobre 2005, 20:34:21
 ti ho spedito in mp il mio indirizzo e-mail.

 :ciauz:  
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 05 Ottobre 2005, 14:13:24
 ancora niente.
col make mi vengono i seguenti erori :

Codice: [Seleziona]
make -C /lib/modules/2.6.8-2-k7/build SUBDIRS=/home/giacomo/Desktop/exp1 modules
  CC [M]  /home/giacomo/Desktop/exp1/hardsid.o
/home/giacomo/Desktop/exp1/hardsid.c: In function `hsid_thread':
/home/giacomo/Desktop/exp1/hardsid.c:746: warning: unused variable `clocks'
/home/giacomo/Desktop/exp1/hardsid.c:747: warning: unused variable `tv'
/home/giacomo/Desktop/exp1/hardsid.c:748: warning: unused variable `delayed'
/home/giacomo/Desktop/exp1/hardsid.c:749: warning: unused variable `next'
/home/giacomo/Desktop/exp1/hardsid.c:749: warning: unused variable `nextTime'
/home/giacomo/Desktop/exp1/hardsid.c:749: warning: unused variable `wait'
/home/giacomo/Desktop/exp1/hardsid.c:749: warning: unused variable `i'
/home/giacomo/Desktop/exp1/hardsid.c:751: warning: unused variable `counter'
/home/giacomo/Desktop/exp1/hardsid.c:752: warning: unused variable `fstate'
/home/giacomo/Desktop/exp1/hardsid.c:753: warning: unused variable `ffeedback'
/home/giacomo/Desktop/exp1/hardsid.c:754: warning: unused variable `fmdelay'
/home/giacomo/Desktop/exp1/hardsid.c:755: warning: unused variable `id'
/home/giacomo/Desktop/exp1/hardsid.c: At top level:
/home/giacomo/Desktop/exp1/hardsid.c:626: warning: `fcounter' defined but not used
  Building modules, stage 2.
  MODPOST
  CC      /home/giacomo/Desktop/exp1/hardsid.mod.o
  LD [M]  /home/giacomo/Desktop/exp1/hardsid.ko
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 05 Ottobre 2005, 20:06:44
 no, sono warning, dovresti avere tutto compilato.
Fai make install da root per installare il tutto (penso basti questo, il servizio dovrebbe partire poi in automatico al reboot da solo, almeno sulla fedora è così)
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 05 Ottobre 2005, 21:34:35
 ancora niente, il computer non ne vuole proprio sapere di installare i driver

Codice: [Seleziona]
debian:/home/giacomo/Desktop/exp1# make install
make -C /lib/modules/2.6.8-2-k7/build SUBDIRS=/home/giacomo/Desktop/exp1 modules
  Building modules, stage 2.
  MODPOST
cp: cannot stat `/etc/rc.d/rc.sysinit': No such file or directory
/etc/init.d/hardsid: line 99: /etc/rc.d/rc.sysinit: No such file or directory
/etc/init.d/hardsid: line 74: /etc/rc.d/rc.sysinit: No such file or directory
/etc/init.d/hardsid: line 79: /etc/udev/permissions.d/01-hardsid.permissions: No such file or directory

a questo punto pensi è la distro "balorda" per il catweasel ?
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 07 Ottobre 2005, 20:06:56
 No, ma Simon che sviluppa la cosa dovrebbe usare una Mandrake, per cui su Fedora è quasi uguale, su Debian e derivate è leggermente diverso.
Lo script di installazione non trova il file /etc/rc.d/rc.sysinit (in effetti ho visto oggi che su Sarge non c'è la directoy /etc/rc.d/).
Prova:
locate rc.sysinit
che dovrebbe darti la posizione (se c'è) di quel file.
Se c'è, vediamo di modificare lo script di installazione e fissare la cosa in modo che si possa utilizzare per tutti.
Intanto Simon ha modificato la versione MAIN come da mio report e adesso corro a scaricarla
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 09 Ottobre 2005, 12:33:12
 niente non lo trova
debian:/home/giacomo# locate rc.sysinit
locate: /var/cache/locate/locatedb: No such file or directory
 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 09 Ottobre 2005, 19:03:51
 Qui in realtà locate non è configurato, per cui non funziona.
Potresti cercarlo tramite Trova file da KDE o Gnome, comunque domani guardo sulla debian del firewall dove si trova
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 10 Ottobre 2005, 12:52:39
 ho trovato su internet il file : http://peterhost.dl.sourceforge.net/source.../rc.sysinit.txt (http://peterhost.dl.sourceforge.net/sourceforge/souptonuts/rc.sysinit.txt).
se magari lo scarico può essere utile?

saluti
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 10 Ottobre 2005, 19:56:51
 Ho controllato che tale file non c'è in debian, che quindi utilizza un meccanismo diverso di inizializzazione. Usare quel file da solo, rischia di mettere ko gli altri servizi.
Proverò ad estrarre i comandi da lanciare dallo script, che sostanzialmente caricano i moduli e creano il duspositivo virtuale per la scheda.

 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 12 Ottobre 2005, 21:54:15
 be io non avrei problemi a mettere mandrake (che ora è mandriva se non sbaglio) solo che ora mi ero abituato a debian.
speriamo bene che si riesca a installare sto ***** di catweasel :D

 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: Evincaro - 13 Ottobre 2005, 18:51:38
 Prova con Fedora (ex Red Hat desktop).
Magari ti va meglio.
 ;)  
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 13 Ottobre 2005, 19:51:30
 Nello spirito linux, meglio fixare l'installer e farla andare anche in debian: in fin dei conti l''operazione è solo di cariare il modulo e creare il dispositivo hardware e far si che parta in automatico...
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 13 Ottobre 2005, 21:16:31
 se fossi capace l'avrei già fatto.
solo che ho iniziato da poco ad usare linux, quindi prima che riesca a impararlo per bene, "campa cavallo" (come si dice noi in maremma) :D.
mi potresti spiegare in parole povere quale file dovrei modificare di preciso?

grazie e saluti
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 14 Ottobre 2005, 21:24:15
 Ci avevo già pensato a mandarti le istruzioni, solo che devo approffitare del weekend, perchè il tempo è sempre tiranno.
Allora nello script 'hardsid' che si trova nella directory di installazione ci sono le righe:

    file="/etc/rc.d/rc.sysinit"
    echo "$dir/$script start" >> $file

che in pratica aggiungono al file rc.sysinit il comando che chiama 'hardsid start' in modo che all'avvio sia richiamato in automatico, quindi la cosa non è importante e sucessivamente lo aggiungiamo dove in debian lo si fa partire.

Le righe sucessive sono quelle che invece creano i permessi e modificano il dispositivo virtuale in udev, quindi sono quelle importanti (una sembra fallisca silla debian), comunque prova a dare il comando:
  ./hardsid start
dalla directory dove c'è tale file e mostrami l'output, che mi baso pure su lui per vedere quello che non parte.
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 18 Ottobre 2005, 11:32:25
 l'output del comando è nullo, cioè li do ./hardsid start e mi ritorna alla riga di comando.il bello è però che non vengono nemmeno scritti gli errori.
 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 18 Ottobre 2005, 12:07:25
 Se non escono errori a questo livello direi che va abbastanza bene. Dato che si tratta di un modulo del kernel, errori relativi al funzionamento del driver vengono scritti a livello kernel, perciò:
more /var/log/messages
e guarda le ultime righe in fondo al file (dopo aver lanciato il comando di prima).
Potrebbero esserci i messaggi del kernel relativi alla scheda.
Eventualmente guarda anche /var/log/kern.log (sempre alla fine).
Già che ci sei, esegui
more /proc/hardsid
(sempre da root) che vediamo se il processo è in esecuzione
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 21 Ottobre 2005, 20:12:38
 forse incominciano le buone notizie :D
allora : dando "more/proc/hardsid" mi viene il seguente output : Catweasel MK4 configured for port 0xd000
SID type 8580
quindi il chip me l'ha riconosciuto.
le ultime righe del file kern.log riguardanti l'audio sono :

Codice: [Seleziona]
Oct 21 20:06:28 localhost kernel: cx8800[0]: AUD_STATUS: 0x13f2 [mono/no pilot] ctl=BTSC_AUTO_STEREO
Oct 21 20:06:31 localhost kernel: cx8800[0]: AUD_STATUS: 0x1432 [mono/no pilot] ctl=BTSC_AUTO_STEREO
Oct 21 20:06:34 localhost kernel: cx8800[0]: AUD_STATUS: 0x12b2 [mono/no pilot] ctl=BTSC_AUTO_STEREO
Oct 21 20:06:37 localhost kernel: cx8800[0]: AUD_STATUS: 0x12f2 [mono/no pilot] ctl=BTSC_AUTO_STEREO

invece leggendo il file messages.log :

Codice: [Seleziona]
PROTO=TCP SPT=3437 DPT=445 WINDOW=64800 RES=0x00 SYN URGP=0
Oct 21 20:10:20 localhost kernel: IN=ppp0 OUT= MAC= SRC=82.55.168.73 DST=82.55.203.119 LEN=48 TOS=0x00 PREC=0x00 TTL=121 ID=37558 DF PROTO=TCP SPT=3437 DPT=445 WINDOW=64800 RES=0x00 SYN URGP=0
Oct 21 20:10:22 localhost kernel: IN=ppp0 OUT= MAC= SRC=62.150.170.213 DST=82.55.203.119 LEN=60 TOS=0x00 PREC=0x00 TTL=114 ID=8506 DF PROTO=TCP SPT=1439 DPT=6346 WINDOW=8192 RES=0x00 SYN URGP=0
Oct 21 20:10:29 localhost kernel: IN=ppp0 OUT= MAC= SRC=82.55.254.75 DST=82.55.203.119 LEN=48 TOS=0x00 PREC=0x00 TTL=123 ID=27825 DF PROTO=TCP SPT=3430 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0
Oct 21 20:10:32 localhost kernel: IN=ppp0 OUT= MAC= SRC=82.55.254.75 DST=82.55.203.119 LEN=48 TOS=0x00 PREC=0x00 TTL=123 ID=28190 DF PROTO=TCP SPT=3430 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0
Oct 21 20:10:47 localhost kernel: IN=ppp0 OUT= MAC= SRC=71.12.195.158 DST=82.55.203.119 LEN=48 TOS=0x00 PREC=0x00 TTL=108 ID=46229 PROTO=TCP SPT=56992 DPT=26313 WINDOW=65535 RES=0x00 SYN URGP=0
Oct 21 20:10:48 localhost kernel: IN=ppp0 OUT= MAC= SRC=82.55.201.148 DST=82.55.203.119 LEN=48 TOS=0x00 PREC=0x00 TTL=126 ID=61736 DF PROTO=TCP SPT=4930 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0
Oct 21 20:10:50 localhost kernel: IN=ppp0 OUT= MAC= SRC=71.12.195.158 DST=82.55.203.119 LEN=48 TOS=0x00 PREC=0x00 TTL=108 ID=46461 PROTO=TCP SPT=56992 DPT=26313 WINDOW=65535 RES=0x00 SYN URGP=0
Oct 21 20:10:51 localhost kernel: IN=ppp0 OUT= MAC= SRC=82.55.201.148 DST=82.55.203.119 LEN=48 TOS=0x00 PREC=0x00 TTL=126 ID=62723 DF PROTO=TCP SPT=4930 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0
Oct 21 20:10:56 localhost kernel: IN=ppp0 OUT= MAC= SRC=71.12.195.158 DST=82.55.203.119 LEN=48 TOS=0x00 PREC=0x00 TTL=108 ID=46910 PROTO=TCP SPT=56992 DPT=26313 WINDOW=65535 RES=0x00 SYN URGP=0
Oct 21 20:11:28 localhost kernel: IN=ppp0 OUT= MAC= SRC=82.55.155.237 DST=82.55.203.119 LEN=48 TOS=0x00 PREC=0x00 TTL=123 ID=2057 DF PROTO=TCP SPT=3960 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=0
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 22 Ottobre 2005, 13:26:41
 Se ti esce quello, sia il driver che il firmware è caricato correttamente. (i log che hai postato, mostrano il firewall in azione, ma le stesse righe che ti escono con more /proc/hardsid sono da qualche parte dentro i messaggi del kernel).
A questo punto, inizia a compilare libsidplay2 e sidplay2 (per il momento attiva il driver a mano con  ./harsid start all'avvio, poi penserevo a come farlo partire in automatico).

 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 31 Ottobre 2005, 14:29:13
 scusa il ritardo del post ma ultimamente ho avuto da fare.
il pacchetto che installato delle libsidplay2 è "libsidplay2-1c102.".
il problema è che è per architettura intel e io ho un processore amd. va bene lo stesso?
se va bene continuo con la complilazione del sidplay2
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 31 Ottobre 2005, 20:28:03
 Più che per il problema tra AMD e Intel (che magari se non usano istruzioni particolari, gira comunque) è il fatto che temo che la libreria già compilata non abbia il supporto hardsid-builder attivato, e quindi non vedresti la scheda.
Io partirei compilando direttamente i sorgenti scaricati da csv (adesso è molto più semplice, basta un ./bootstrap sulla directoy principale per sistemare tutte le dipendenze).

In ogni caso dovresti installare la versione devel (libsidplay2-devel) per compilare sidplay2, in quanto quella dovrebbe essere solo la libreria runtime.
 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 04 Novembre 2005, 20:23:31
 ho scaricato questa versione di libsidlay2 : libsidplay2-devel-2.1.0-7mdk.i586.rpm.
però non mela installa e mi dice : premature end of the archive.
qualle pacchetto mi consigli di installare quindi?

ciao
 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 05 Novembre 2005, 13:45:51
 Secondo me conviene scaricare direttamente da cvs:

Assicurati di avere cvs installato:

apt-get install cvs

creati una cartella cvsroot per i sorgenti e scarica da cvs:

mkdir cvsroot
cd cvsroot
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/sidplay2 co -P sidplay-libs
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/sidplay2 co -P libsidutils
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/sidplay2 co -P libsidplay
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/sidplay2 co -P builders

poi servono i sorgenti di resid (che sinceramente adesso non ricordo da dove gli ho scaricati, al limite te li mando se non ne hai sull'hardisk)

Adesso sposta tutte le cartelle scarice dentro sidplay-libs

da li dentro lancia
./bootstrap
./configure
./make

alla fine da root
make install

adesso la libreria è installata


 
 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 11 Novembre 2005, 20:45:31
 mi puoi dare i link precisi dei file da scaricare per favore che mi dice "file  not found" ?

ciao
 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 12 Novembre 2005, 13:42:24
 Ho appena riprovato e funziona. Devi usare il comando cvs altrimenti non riesci a scaricarl.
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 20 Novembre 2005, 13:52:13
 sono riuscito a scaricare i file che mi hai indicato.
però mentre li scaricavo mi dava un errore (le cartelle sono presenti comunque) :  
Codice: [Seleziona]
vs checkout: warning: failed to open /root/.cvspass for reading: No such file or directory

pensi me l'abbia scaricati correttamente?
se si continuo il lavoro
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 20 Novembre 2005, 17:02:26
 Se li scarica, vedi la lista dei file a video, e poi ti ritrovi dentro la directory cvsroot quello appena scaricato.
Secondo me è solo un avvertimento perchè magari accedi come anonimo.


Una cosa che ho trovato ieri è che i driver del kernel per la MK4, avevano il supporto parziale per il 2° chip sul ramo experimental, ed è per questo motivo che avevo problemi di sincronizzazione e muovere finestre provocava sfasamento suono.
Pertanto, se non si mette 2 righe di commento al codice, bisogna utilizzare il chip sul socket 0 e non 1 (come sul mio) per sentire il suono.
Quello che noto però è che su su tune che hanno l'hardrestart, la riproduzione è al 99% fedele, nelle altre, si va ad ottenere effetti di ADSR bug che killano il volume delle voci, o effetti di distorsione del suono paurosi penso dovuti a una non corretto timing nella scheda.
Comunque Simon sta lavorando sodo e conta di avere la nuova versione dei driver a brave.

 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 24 Novembre 2005, 15:05:19
 quando li do il comando ./bootstrap e mi vengono i seguenti errori :

Codice: [Seleziona]
debian:/home/giacomo/cvsroot/sidplay-libs# ./bootstrap
Bootstrapping libsidplay...
./bootstrap: line 2: aclocal: command not found
./bootstrap: line 3: libtoolize: command not found
./bootstrap: line 5: automake: command not found
configure.ac:11: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:24: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.ac:25: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:36: error: possibly undefined macro: AC_CREATE_STDINT_H

più che altro non capisco cosa c'entri AC_LIBTOOL_WIN32_DLL.

saluti
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 24 Novembre 2005, 15:07:36
 aggiornamento :
gli ho installato l'automake ed ora gli errori sono i seguenti :

Codice: [Seleziona]
debian:/home/giacomo/cvsroot/sidplay-libs# ./bootstrap
Bootstrapping libsidplay...
aclocal: unrecognized option -- `--force'
Try `aclocal --help' for more information.
./bootstrap: line 3: libtoolize: command not found
automake: unrecognized option -- `--force'
Try `automake --help' for more information.
configure.ac:11: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:24: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.ac:25: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:36: error: possibly undefined macro: AC_CREATE_STDINT_H
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 24 Novembre 2005, 19:51:51
 
Codice: [Seleziona]
#!/bin/sh
pwd=`pwd`
resid="resid-0.16"
dirs="libsidplay libsidutils builders/resid-builder builders/hardsid-builder"

test ! -r "resid" && ln -sf "$resid" "resid"
test ! -r "unix" && ln -sf libsidplay/unix unix

cat >builders/Makefile.am <<EOF
SUBDIRS = resid-builder

SUBDIRS += hardsid-builder
EOF

for d in $dirs; do
  cd $pwd/$d
  echo "Bootstrapping $d..."
  if ! ./bootstrap; then
    exit
  fi
done
cd $pwd

echo "Bootstrapping sidplay-libs..."
aclocal --force
automake --force --add-missing --copy
autoconf --force

usa la versione qui sopra per bootstrap: hardsid è abilitato (usando quello standard, mi sembra che bisogna dare la direttiva a mano nel config)

Gli ultimi sono i 3 comandi essenziali: aclocal, automake, autoconf.
Controlla che ci siano nel sistema, perchè gli errori che hai sembrerebbero per la mancanza di uno dei 3. Lanciali con --version, così da vedere la versione di entrambi

Se non ricordo male, una volta era necessaria una versione specifica di automake per compilare (mi sembra la 1.8). Adesso ho la 1.9 e funziona, quindi presumo che debba andare qualunque sia la tua versione di automake
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 04 Dicembre 2005, 10:11:47
 ancora niente maledetto computer.
ho sostituito il tuo bootstrap al mio e mi vengono questi errori (mi sembrano pure uguali a prima) :
 
Codice: [Seleziona]
debian:/home/giacomo/cvsroot/sidplay-libs# ./bootstrap
Bootstrapping libsidplay...
aclocal: unrecognized option -- `--force'
Try `aclocal --help' for more information.
./bootstrap: line 3: libtoolize: command not found
automake: unrecognized option -- `--force'
Try `automake --help' for more information.
configure.ac:11: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:24: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.ac:25: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:36: error: possibly undefined macro: AC_CREATE_STDINT_H

ma libtoolize è un pacchetto per caso ?
i 3 pacchetti dovrebbero essere tutti installati nel sistema dato che mi fa vedere la versione.

saluti
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 04 Dicembre 2005, 11:59:54
 Prova ad installare il pacchetto libtool:
apt-get install libtool

è un pacchetto acessorio ma che forse serve per la compilazione
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 04 Dicembre 2005, 12:03:43
 Prova ad installare il pacchetto libtool:
apt-get install libtool

è un pacchetto acessorio ma che forse serve per la compilazione
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 15 Dicembre 2005, 19:14:16
 ho installato il pacchetto libtool ed ora ho i seguenti errori :

Codice: [Seleziona]
debian:/home/giacomo/cvsroot/sidplay-libs# ./bootstrap
Bootstrapping libsidplay...
aclocal: unrecognized option -- `--force'
Try `aclocal --help' for more information.
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Putting files in AC_CONFIG_AUX_DIR, `unix'.
automake: unrecognized option -- `--force'
Try `automake --help' for more information.
configure.ac:11: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:24: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.ac:25: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:36: error: possibly undefined macro: AC_CREATE_STDINT_H
debian:/home/giacomo/cvsroot/sidplay-libs#  
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 15 Dicembre 2005, 19:33:40
 Prova a togliere dal file 'bootstrap' l'opzione --force (compare nelle ultime 3 righe) e prova a rilanciare lo script. Mi sembra strano che continui a dare che --force non lo riconosce come parametro valido
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 18 Dicembre 2005, 19:24:17
 mi sa che questo computer mi prende per i fondelli ( per non dire altro)  :D

ho levato l'opzione --force dovunque l'ho trovata ed ora il mio bootstrap è così :
Codice: [Seleziona]
#!/bin/sh
pwd=`pwd`
resid="resid-0.16"
dirs="libsidplay libsidutils builders/resid-builder builders/hardsid-builder"

test ! -r "resid" && ln -sf "$resid" "resid"
test ! -r "unix" && ln -sf libsidplay/unix unix

cat >builders/Makefile.am <<EOF
SUBDIRS = resid-builder

SUBDIRS += hardsid-builder
EOF

for d in $dirs; do
 cd $pwd/$d
 echo "Bootstrapping $d..."
 if ! ./bootstrap; then
   exit
 fi
done
cd $pwd

echo "Bootstrapping sidplay-libs..."
aclocal
automake --add-missing --copy
autoconf
però mi da questi errori ( tra cui ancora quello del parametro --force)
Codice: [Seleziona]
debian:/home/giacomo/cvsroot/sidplay-libs# ./bootstrap
Bootstrapping libsidplay...
aclocal: unrecognized option -- `--force'
Try `aclocal --help' for more information.
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Putting files in AC_CONFIG_AUX_DIR, `unix'.
automake: unrecognized option -- `--force'
Try `automake --help' for more information.
configure.ac:11: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:24: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.ac:25: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:36: error: possibly undefined macro: AC_CREATE_STDINT_H
debian:/home/giacomo/cvsroot/sidplay-libs#
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 18 Dicembre 2005, 20:37:23
 A questo punto devo provare a risuscitare la mia debian che ho sul pc (aggiornandola a sarge) e vedere come mai esce quel errore.
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 29 Dicembre 2005, 21:07:36
 pensi potrebbe essere che i driver non siano pienamente supportati dal debian ? magari se c'è qualche patch anche se l'errore mi sembra molto strano (per quanto ci capisca).

saluti
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 30 Dicembre 2005, 09:38:42
 No, l'errore sembra sul pacchetto automake, quindi o la versione è sbagliata, o manca qualcosa di lui.
Potresti provare a fare ./configure e poi make all'interno di ogni sottocartella e vedere se lo compila (però non mi ricordo se il configure è già creato dentro il sorgente o devi per forza crearlo)
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 30 Dicembre 2005, 19:35:19
 ho guardato ma il configure non c'è.
che ne dici se provo ad aggiornare il pacchetto automake (alla versione 1.9 che mi sembra sia l'ultima) ?
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 31 Dicembre 2005, 13:13:47
 Si, aggiorna al 1.9 (sul mio ho l'1.9). Forse Simon ha aggiornato all'uso del 1.9 togliendo l'1.8 che era il requisito che voleva.
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 02 Gennaio 2006, 12:35:06
 aggiornato alla versione 1.9 sembra vadi meglio :

Codice: [Seleziona]
debian:/home/giacomo# cd cvsroot
debian:/home/giacomo/cvsroot# ls
builders  libsidplay  libsidutils  sidplay-libs
debian:/home/giacomo/cvsroot# cd sidplay-libs
debian:/home/giacomo/cvsroot/sidplay-libs# ls
bootstrap  configure.ac  libsidplay   Makefile.am  unix
builders   CVS           libsidutils  resid
debian:/home/giacomo/cvsroot/sidplay-libs# ./bootstrap
Bootstrapping libsidplay...
Putting files in AC_CONFIG_AUX_DIR, `unix'.
configure.ac: installing `unix/install-sh'
configure.ac: installing `unix/missing'
src/Makefile.am: installing `unix/depcomp'
Bootstrapping libsidutils...
Putting files in AC_CONFIG_AUX_DIR, `unix'.
configure.ac: installing `unix/install-sh'
configure.ac: installing `unix/missing'
src/MD5/Makefile.am: installing `unix/depcomp'
Bootstrapping builders/resid-builder...
Putting files in AC_CONFIG_AUX_DIR, `unix'.
configure.ac: installing `unix/install-sh'
configure.ac: installing `unix/missing'
src/Makefile.am: installing `unix/depcomp'
Bootstrapping builders/hardsid-builder...
Putting files in AC_CONFIG_AUX_DIR, `unix'.
configure.ac: installing `unix/install-sh'
configure.ac: installing `unix/missing'
src/Makefile.am: installing `unix/depcomp'
Bootstrapping sidplay-libs...
Makefile.am:4: required directory ./resid does not exist
debian:/home/giacomo/cvsroot/sidplay-libs#                            

l'unica cosa è quell'errore finale.
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 02 Gennaio 2006, 19:26:29
 Direi che è perfetto, ti manca solo resid che conviene che ti spedisco la directory perchè trovare quella giusta è sempre un casino. Se riesco già stasera, senno domani ti arriva x mail
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 02 Gennaio 2006, 21:33:33
 intanto ti volevo ringraziare per l'e-mail.
per la prima volta non vedo errori nell'output :D :

Codice: [Seleziona]
debian:/home/giacomo# cd cvsroot
debian:/home/giacomo/cvsroot# cd sidplay-libs
debian:/home/giacomo/cvsroot/sidplay-libs# ls
aclocal.m4      bootstrap  configure     CVS         libsidutils  resid
autom4te.cache  builders   configure.ac  libsidplay  Makefile.am  unix
debian:/home/giacomo/cvsroot/sidplay-libs# ./bootstrap
Bootstrapping libsidplay...
Putting files in AC_CONFIG_AUX_DIR, `unix'.
Bootstrapping libsidutils...
Putting files in AC_CONFIG_AUX_DIR, `unix'.
Bootstrapping builders/resid-builder...
Putting files in AC_CONFIG_AUX_DIR, `unix'.
Bootstrapping builders/hardsid-builder...
Putting files in AC_CONFIG_AUX_DIR, `unix'.
Bootstrapping sidplay-libs...
debian:/home/giacomo/cvsroot/sidplay-libs#

una cosa : nella cartella resid li devo dare individualmente il configure e make oppure va bene come ho fatto cioè che l'ho messo nella dir sidplay-libs e poi ho dato il bootstrap?
saluti
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 03 Gennaio 2006, 09:29:11
 No, bastava copiarla dentro e dare il bootstrap. Adesso puoi compilare tutto con make e dopo installa la libreria con make install da root. A quel punto devi compilare sidplay2 (così puoi testare il suono), poi eventualmente ti mando la patch per far andare xsidplay
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 03 Gennaio 2006, 11:18:51
 ho installlato il sidplay2.
ora ho le seguenti opzioni :
Codice: [Seleziona]
debian:/home/giacomo/Desktop/sidplay-2.0.9(2)/sidplay-2.0.9# sidplay2
Syntax: sidplay2 [-<option>...] <datafile>
Options:
 --help|-h    display this screen
 --help-debug debug help menu
 -b<num>      set start time in [m:]s format (default 0)
 -f<num>      set frequency in Hz (default: 44100)
 -fd          force dual sid environment
 -fs          force samples to a channel (default: uses sid)
 -nf[filter]  no/new SID filter emulation
 -ns[0|1]     (no) MOS 8580 waveforms (default: from tune or cfg)
 -o<l|s>      looping and/or single track
 -o<num>      start track (default: preset)
 -O<num>      optimisation level, max is 1 (default: 1)
 -p<num>      set bit precision for samples. (default: 16)
 -s[l|r]      stereo sid support or [left/right] channel only
 -t<num>      set play length in [m:]s format (0 is endless)
 -<v|q>       verbose or quiet (no time display) output
 -v[p|n][f]   set VIC PAL/NTSC clock speed (default: defined by song)
              Use 'f' to force the clock by preventing speed fixing
 -w[name]     create wav file (default: <datafile>[n].wav)
 --hardsid    enable hardsid support

Home Page: http://sidplay2.sourceforge.net/
quindi per far partire una canzone scrivo : sidplay2 nomecanzone.sid ma mi viene l'errore : sidplay2: SIDTUNE ERROR: Could not open file for binary input
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 03 Gennaio 2006, 12:26:25
 prova a dargli il path completo o relativo del tune:
sidplay2 ./nome.sid
sidplay2 /home/xx/nome.sid
comunque per sentirlo con la mk4 abilita la scheda con:
sidplay2 --hardsid ./nome.sid
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 03 Gennaio 2006, 12:41:44
 purtroppo altri errori :

Codice: [Seleziona]
giacomo@debian:~$ sidplay2 --hardsid /home/giacomo/Cobra.sid
sidplay2: HARDSID ERROR: Cannot access "/dev/sid" or "/dev/sid0"
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 03 Gennaio 2006, 12:48:19
 niente ora è tutto a posto è partito !!!!
unico problema è che si sente basso il suono (devo tenere gli altoparlanti al massimo per riuscire a sentirlo) e poi sempre il fatto delle percussioni che sono basse per l'8580.
non mi resta che ringraziarti per avermi fatto funzionare il catweasel su linux e tutto il tempo che hai perso.
p.s. se hai bisogno di qualcosa che riguardi il catweasel non esitare a chiedere.
a risentirci e grazie ancora :)
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 03 Gennaio 2006, 14:19:59
 Interessante il fatto che tu senta il suono basso (io devo mettere al 100% sia il master volume, che quello del line-in), mentre per avere lo stesso livello, il normale audio lo dovo mettere a meno del 15%.
Se mi confermi che su windows invece il volume è alto, contatto subito Simon perchè allora dipende dai suoi driver per linux.
Comunque se vuoi sperimentare i nuovi driver (senza hardware buffer), ma con supporto 2 sid in contemporanea e utilizzo degli stream, basta scaricare il ramo rt_sync dell'hardsid.
Lo sto usando da giorni, è stabile e molto meglio della versione senza stream precedente (ancora non a livello dell'hardware buffer comunque).
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 03 Gennaio 2006, 15:14:54
 ho trovato il motivo del suono basso : avevo impostato il volume line in a livello piuttosto modesto.
ho notato che con il sid di green beret mi rimane "impallata" una voce anche su linux e quindi ho paura che sia qualche problema della scheda.
poi quando interrompo un sid suonato con il catweasel mi va in loop il suono.
ora provo a mettere i nuovi driver che mi hai consigliato e poi ti fo sapere.
una domanda : ma quale sarebbe la differenza se si usa o no l'hardware buffer?

 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 03 Gennaio 2006, 16:45:31
 Allora rimane un problema della mia scheda quello del suono.
Per Green Beret non ho provato con la mia perchè temo sia un brano che mi da problemi, però potrebbe anche essere un problema al file psid (dovuto ad un rip sbagliato).

Se vuoi che il suono si interrompa devi usare i nuovi driver in stream (anche se questi hanno l'effetto opposto con xsidplay: premendo stop la nota continua per 1 secondo, mente normalmente in xsidplay si stoppa il suono).


Nell'hardware buffer si mandano i comandi alla scheda che ci penserà lei al tempo giusto a mandare i comandi al sid (usa un buffer interno, da cui hardware), normalmente invece il programma dovrebbe mandare il comando al tempo preciso alla scheda.
Se hai il processore caricato vicino al 100%, cominci a perdere i suoni, ma se hai l'hardware buffer, il suono procede fluido perchè è la scheda a pilotare il chip sid.
La differenza si vede coi suoni con sample: su linux senza hardware buffer, il kernel consuma il 15% per star dietro ai comandi da passare alla scheda che arrivano dal player, mentre con l'hardware buffer ne consula solo l'1%.
Da quello che ho visto dai sorgenti, la nuova versione streaming crea uno stream (buffer software) in Linux e la soluzione è a metà strada tra hardware bufffer e approccio normale, ma ha il vantaggio di poter pilotare i due chip in contemporanea (comunque il supporto all'hardware buffer verrà messo pure in questa versione stream).
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 03 Gennaio 2006, 20:05:05
 mi dici perfavore il link per i nuovi driver? poi sento il mi cugino che ha un commodore 64 prima versione se mi da il suo sid cosi provo ad usare il supporto stereo.
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 04 Gennaio 2006, 08:01:31
 http://cvs.sourceforge.net/viewcvs.py/*che...c?rev=1.93.2.16 (http://cvs.sourceforge.net/viewcvs.py/*checkout*/hardsid/hardsid/driver/hardsid.c?rev=1.93.2.16)
questo è quello di ieri sera. comunque dato che le aggiunte avvengono giorno dopo giorno, segnati questo link:
http://cvs.sourceforge.net/viewcvs.py/hard...th_tag=rt_async (http://cvs.sourceforge.net/viewcvs.py/hardsid/hardsid/driver/?only_with_tag=rt_async)
e controlla periodicamente se ci sono aggiunte.
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 04 Gennaio 2006, 13:03:13
 quindi per aggiornare i driver dovrei sostituire il file hardsid.c a i driver che mi mandasti tempo fa e poi ridargli il make e make install ?
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 04 Gennaio 2006, 19:20:42
 Esatto.
In alcuni casi il make install dava errore se trovava il driver in uso.
Casomai bisogna prima disinstallarlo, ma solo se ti da errore.
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 06 Gennaio 2006, 13:16:20
 quando installo i nuovi driver ci sono degli errori :

Citazione
debian:/home/giacomo/Desktop/exp1# make
make -C /lib/modules/2.6.8-2-k7/build SUBDIRS=/home/giacomo/Desktop/exp1 modules
  CC [M]  /home/giacomo/Desktop/exp1/hardsid.o
/home/giacomo/Desktop/exp1/hardsid.c: In function `hsid_rt_timer_set':
/home/giacomo/Desktop/exp1/hardsid.c:2008: warning: unused variable `sid'
/home/giacomo/Desktop/exp1/hardsid.c: In function `hsid_rt_timer_expire':
/home/giacomo/Desktop/exp1/hardsid.c:2085: warning: unused variable `err'
/home/giacomo/Desktop/exp1/hardsid.c:2397:2: warning: #warning specific sid id (not stream id)
/home/giacomo/Desktop/exp1/hardsid.c:2404:2: warning: #warning specific sid id (not stream id)
/home/giacomo/Desktop/exp1/hardsid.c:2449:2: warning: #warning specific sid id (not stream id)
/home/giacomo/Desktop/exp1/hardsid.c:2455:2: warning: #warning realtime and to specific sid id (not stream id)
/home/giacomo/Desktop/exp1/hardsid.c:2460:2: warning: #warning realtime and to specific sid id (not stream id)
/home/giacomo/Desktop/exp1/hardsid.c:2474:2: warning: #warning depreciated. HSID_IOCTL_FLUSH
/home/giacomo/Desktop/exp1/hardsid.c:2485:2: warning: #warning depreciated. HSID_IOCTL_DELAY this is action will be performed solely in userspace
/home/giacomo/Desktop/exp1/hardsid.c:2494:2: warning: #warning depreciated. HSID_IOCTL_READ
/home/giacomo/Desktop/exp1/hardsid.c:2636:2: warning: #warning Muted related tomixer and should survive sid being (in)active
/home/giacomo/Desktop/exp1/hardsid.c: In function `hsid_proc_output':
/home/giacomo/Desktop/exp1/hardsid.c:2624: warning: unused variable `stream'
/home/giacomo/Desktop/exp1/hardsid.c:2763:2: warning: #warning change this? Mixer settings should not change
  Building modules, stage 2.
  MODPOST
  CC      /home/giacomo/Desktop/exp1/hardsid.mod.o
  LD [M]  /home/giacomo/Desktop/exp1/hardsid.ko
debian:/home/giacomo/Desktop/exp1# make install
make -C /lib/modules/2.6.8-2-k7/build SUBDIRS=/home/giacomo/Desktop/exp1 modules
  Building modules, stage 2.
  MODPOST
ERROR: Removing 'hardsid': Device or resource busy
cp: cannot stat `/etc/rc.d/rc.sysinit': No such file or directory
/etc/init.d/hardsid: line 99: /etc/rc.d/rc.sysinit: No such file or directory
/etc/init.d/hardsid: line 74: /etc/rc.d/rc.sysinit: No such file or directory
/etc/init.d/hardsid: line 79: /etc/udev/permissions.d/01-hardsid.permissions: No such file or directory
debian:/home/giacomo/Desktop/exp1#   

ho anche provato a disinstallare i vecchi driver con make clean (da SU) ma senza risultato :(.
più che altro mi preoccupa quel "removing 'hardsid' che dice che è occupata come periferica.

saluti
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 06 Gennaio 2006, 20:28:36
 Dispositvo occupato lo dava pure a me.
Disinstalla i driver usando lo script
hardsid uninstall
riavvia il sistema e poi install i driver come al solito
gli altri errori sono perchè hai la debian senza /etc/init.rd
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 07 Gennaio 2006, 20:43:21
 quando do il comando ./hardsid unistall mi vengono le seguenti opzioni :

Codice: [Seleziona]
debian:/home/giacomo/Desktop/exp1# ./hardsid unistall
Usage: ./hardsid {start|stop|reload|restart}
debian:/home/giacomo/Desktop/exp1#      
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 07 Gennaio 2006, 21:02:52
 se gli do ./hardsid stop mi da ERROR: Removing 'hardsid': Device or resource busy
 
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 08 Gennaio 2006, 10:45:19
 Hai scritto male uninstall (mancava la 'n'). E' una funzione non documentata dello script hardsid, per cui non appare nell'elenco
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 08 Gennaio 2006, 11:26:48
 purtroppo mi dice sempre periferica occupata :
Codice: [Seleziona]
debian:/home/giacomo/Desktop/exp1# ./hardsid uninstall
ERROR: Removing 'hardsid': Device or resource busy
cp: cannot stat `/etc/rc.d/rc.sysinit': No such file or directory
./hardsid: line 99: /etc/rc.d/rc.sysinit: No such file or directory
./hardsid: line 105: cd: /lib/modules/hardsid: No such file or directory
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 08 Gennaio 2006, 12:53:11
 L'errore lo dava anche a me, però dovrebbe aver tolto i driver dal kernel. Al successivo riavvio dovresti riuscire a installare quelli nuovi senza problemi
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 08 Gennaio 2006, 14:08:18
 esatto, ora me li ha installati perfetti :

Codice: [Seleziona]
debian:/home/giacomo/Desktop/exp1# make
make -C /lib/modules/2.6.8-2-k7/build SUBDIRS=/home/giacomo/Desktop/exp1 modules
  CC [M]  /home/giacomo/Desktop/exp1/hardsid.o
/home/giacomo/Desktop/exp1/hardsid.c: In function `hsid_rt_timer_set':
/home/giacomo/Desktop/exp1/hardsid.c:2008: warning: unused variable `sid'
/home/giacomo/Desktop/exp1/hardsid.c: In function `hsid_rt_timer_expire':
/home/giacomo/Desktop/exp1/hardsid.c:2085: warning: unused variable `err'
/home/giacomo/Desktop/exp1/hardsid.c:2397:2: warning: #warning specific sid id (not stream id)
/home/giacomo/Desktop/exp1/hardsid.c:2404:2: warning: #warning specific sid id (not stream id)
/home/giacomo/Desktop/exp1/hardsid.c:2449:2: warning: #warning specific sid id (not stream id)
/home/giacomo/Desktop/exp1/hardsid.c:2455:2: warning: #warning realtime and to specific sid id (not stream id)
/home/giacomo/Desktop/exp1/hardsid.c:2460:2: warning: #warning realtime and to specific sid id (not stream id)
/home/giacomo/Desktop/exp1/hardsid.c:2474:2: warning: #warning depreciated. HSID_IOCTL_FLUSH
/home/giacomo/Desktop/exp1/hardsid.c:2485:2: warning: #warning depreciated. HSID_IOCTL_DELAY this is action will be performed solely in userspace
/home/giacomo/Desktop/exp1/hardsid.c:2494:2: warning: #warning depreciated. HSID_IOCTL_READ
/home/giacomo/Desktop/exp1/hardsid.c:2636:2: warning: #warning Muted related tomixer and should survive sid being (in)active
/home/giacomo/Desktop/exp1/hardsid.c: In function `hsid_proc_output':
/home/giacomo/Desktop/exp1/hardsid.c:2624: warning: unused variable `stream'
/home/giacomo/Desktop/exp1/hardsid.c:2763:2: warning: #warning change this? Mixer settings should not change
  Building modules, stage 2.
  MODPOST
  CC      /home/giacomo/Desktop/exp1/hardsid.mod.o
  LD [M]  /home/giacomo/Desktop/exp1/hardsid.ko
debian:/home/giacomo/Desktop/exp1# make install
make -C /lib/modules/2.6.8-2-k7/build SUBDIRS=/home/giacomo/Desktop/exp1 modules
  Building modules, stage 2.
  MODPOST
cp: cannot stat `/etc/rc.d/rc.sysinit': No such file or directory
/etc/init.d/hardsid: line 99: /etc/rc.d/rc.sysinit: No such file or directory
/etc/init.d/hardsid: line 74: /etc/rc.d/rc.sysinit: No such file or directory
/etc/init.d/hardsid: line 79: /etc/udev/permissions.d/01-hardsid.permissions: No such file or directory

inoltre ti volevo fare 2 domande :
- è possibile alzare il volume di una voce e basta? (per vedere se riesco a sentire meglio le percussioni con l'8580)
- quando hai tempo e voglia mi potresti mandate la patch per l'xsidplay?

ciao e grazie ancora
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: ice00 - 08 Gennaio 2006, 16:30:09
 No, non è possibile intervenire sul volume se non riscrivendo il sid per far andare i sample anche per 8580 (usando alcune tecniche).

Per l'xsidplay adesso vedo di creare la patch
Titolo: Installare Il Catweasel Mk4 Su Linux
Inserito da: jacks - 11 Gennaio 2006, 21:52:41
 ho ricevuto l'e-mail con la patch grazie mille.
domani la metto.

ciao