1. saya kurang paham, apakah pl2303.c + usbserial.c harus satu driver, karena dikwatirkan saat 'debugging' seperti error itu. kalo mau coba spekulasi, cek dibagian : /usr/src/linux-2.6.12.xx/drivers/usb/serial/usbserial.c apakah ada : driver untuk prolific pl2303
2. Pertanyaan nya di menu.lst nya harus seperti apa ya ? Apa seperti di bawah ini ? =============================== title Ubuntu, kernel bzImage-2.6.12-8hcl root (hd0,1) kernel /arch/i386/boot/bzImage-2.6.12-8hcl root=/dev/hda1 ro quiet splash boot # coba booting..setelah itu cek $dmesg |grep pl2303 ----- Original Message ----- From: "A. Andria" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, January 18, 2006 12:19 PM Subject: Re: [tanya-jawab] rebuild kernel untuk modul tertentu | Dave Muhammad wrote: | | >salah satunya bisa anda baca di (sampai step3) : | >http://asl-marine.com/hcl/?p=109 | > | > | > | >| Salam rekan semua, | >| | >| Saya punya kasus seperti ini : | >| | >| Saya punya device yang ingin ditambahkan idProduct dan idVendor nya di | >| modul pl2303 (file pl2303.h dan pl2303.c). | >| Saya sudah download kernel-source nya untuk kernel yang sedang berjalan | >| saat ini (Ubuntu 5.10 kernel 2.6.12-10-386). | >| | >| Bagaimana caranya agar saya tidak reconfigure ulang kernel dari awal | >| tetapi hanya untuk modul pl2303 saja? | >| Dan bagaimana agar konfigurasi kernel sebelumnya bisa kita gunakan pada | >| saat rebuild kernel yg sekarang? | >| | >| Saya sudah coba googling dan tanya milis Ubuntu (mereka memberi beberapa | >| rujukan tetapi saya masih bingung juga pada step-step nya). | >| | >| Mohon pencerahan rekan semua. | > | Hi Dave, | | Saya udah ambil makefile, usbserial.c usb-serial.h dari | http://www.asl-marine.com/hcl/arsip/pl2303/ | | sedangkan pl2303.c pl2303.h saya ambil dari | /usr/src/linux-source-2.6.12/drivers/usb/serial/ | | # isi makefile utk KINCLUDES : | KINCLUDES=/usr/src/linux-source-2.6.12/include | | namun ketika saya make all muncul error : | ....... potongan error ............ | pl2303.c:602: error: ‘struct usb_serial_port’ has no member named ‘dev’ | pl2303.c:602: error: ‘struct usb_serial_port’ has no member named ‘dev’ | pl2303.c:602: error: ‘struct usb_serial_port’ has no member named ‘dev’ | pl2303.c: In function ‘pl2303_close’: | pl2303.c:612: warning: initialization makes pointer from integer without | a cast | pl2303.c:624: error: ‘current’ undeclared (first use in this function) | pl2303.c: In function ‘pl2303_tiocmset’: | pl2303.c:678: warning: initialization makes pointer from integer without | a cast | pl2303.c: In function ‘pl2303_tiocmget’: | pl2303.c:702: warning: initialization makes pointer from integer without | a cast | pl2303.c: In function ‘wait_modem_info’: | pl2303.c:732: warning: initialization makes pointer from integer without | a cast | pl2303.c:745: error: ‘current’ undeclared (first use in this function) | pl2303.c: In function ‘pl2303_shutdown’: | pl2303.c:813: warning: assignment makes pointer from integer without a cast | pl2303.c: In function ‘pl2303_update_line_status’: | pl2303.c:827: warning: initialization makes pointer from integer without | a cast | pl2303.c: In function ‘pl2303_read_int_callback’: | pl2303.c:874: error: ‘struct usb_serial_port’ has no member named ‘dev’ | pl2303.c:874: warning: passing argument 1 of ‘usb_serial_debug_data’ | makes pointer from integer without a cast | pl2303.c:874: warning: passing argument 3 of ‘usb_serial_debug_data’ | makes integer from pointer without a cast | pl2303.c:874: warning: passing argument 4 of ‘usb_serial_debug_data’ | makes pointer from integer without a cast | pl2303.c:874: error: too many arguments to function ‘usb_serial_debug_data ’ | pl2303.c: In function ‘pl2303_read_bulk_callback’: | pl2303.c:888: warning: initialization makes pointer from integer without | a cast | pl2303.c:919: error: ‘struct usb_serial_port’ has no member named ‘dev’ | pl2303.c:919: warning: passing argument 1 of ‘usb_serial_debug_data’ | makes pointer from integer without a cast | pl2303.c:919: warning: passing argument 3 of ‘usb_serial_debug_data’ | makes integer from pointer without a cast | pl2303.c:919: warning: passing argument 4 of ‘usb_serial_debug_data’ | makes pointer from integer without a cast | pl2303.c:919: error: too many arguments to function ‘usb_serial_debug_data ’ | pl2303.c: In function ‘pl2303_write_bulk_callback’: | pl2303.c:971: warning: initialization makes pointer from integer without | a cast | make: *** [pl2303.o] Error 1 | | Apa yang salah ya ? | | -- | FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab | Unsubscribe: kirim email ke [EMAIL PROTECTED] | Arsip dan info milis selengkapnya di http://linux.or.id/milis | | | | __________ NOD32 1.1369 (20060117) Information __________ | | This message was checked by NOD32 antivirus system. | http://www.eset.com | | -- FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab Unsubscribe: kirim email ke [EMAIL PROTECTED] Arsip dan info milis selengkapnya di http://linux.or.id/milis
