Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

isp1362 usb hcd driver

Altera_Forum
Honored Contributor II
2,105 Views

this is the philips isp1362 usb hcd driver, ported from blackfin linux 2.6.16.1 . 

this is back ported patches for nios2 linux 2.6.11-uc0 . 

http://forum.niosforum.com/forum/index.php...ype=post&id=142 (http://forum.niosforum.com/forum/index.php?act=attach&type=post&id=142

 

The io ports fixup is for DE2 dev board, in arch/nios2nommu/kernel/usb.c . 

Fix it , if your board is not DE2. 

 

to select this driver in kernel config, 

drivers --> usb --> host --> isp1362 hcd 

 

I didn't have DE2 board to test this driver, only compile passed. 

 

Shindou had been testing the same patches for nios2 linux 2.6.16.1 . 

http://forum.niosforum.com/forum/index.php?showtopic=3552 (http://forum.niosforum.com/forum/index.php?showtopic=3552

But I don't know if he has progress.
0 Kudos
15 Replies
Altera_Forum
Honored Contributor II
832 Views

TO_BE_DONE

0 Kudos
Altera_Forum
Honored Contributor II
832 Views

You should not select isp116x driver in kernel config. 

You should not change nios2_system.h, too. 

jay_1025 is also testing the same isp1362 driver, on previous thread. 

http://forum.niosforum.com/forum/index.php?showtopic=3706 (http://forum.niosforum.com/forum/index.php?showtopic=3706)
0 Kudos
Altera_Forum
Honored Contributor II
832 Views

Hi,  

I complie the isp1362 after I update my kernel 2.6.16.1, and there is no error now, and then I changed the usb Makefile ISP1362X to ISP1362, but I couldn't found the isp1362.o in host folder. 

When I boot uClinux on DE II board, I couldn't got any message about ISP1362. 

 

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

uClinux/Nios II 

Altera Nios II support © 2004 Microtronix Datacom Ltd. 

 

setup_arch: No persistant network settings signature at 008F0000 

Built 1 zonelists 

Kernel command line: 

PID hash table entries: 64 (order: 6, 1024 bytes) 

Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) 

Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) 

Memory available: 6272k/8192k RAM, 0k/0k ROM (1332k kernel code, 471k data) 

Mount-cache hash table entries: 512 (order: 0, 4096 bytes) 

NET: Registered protocol family 16 

SCSI subsystem initialized 

usbcore: registered new driver usbfs 

usbcore: registered new driver hub 

Serial: JTAG UART driver $Revision: 1.4 $ 

ttyJ0 at MMIO 0x81004000 (irq = 1) is a jtag_uart 

io scheduler noop registered 

io scheduler deadline registered 

dmfe_probe:eth0, 50000 Khz Nios 

<DM9000> eth0 I/O: 80900090, VID: 90000a46 

    ADDR: 00:07:ed:00:00:00 

dmfe_probe:eth1, 50000 Khz Nios 

Initializing USB Mass Storage driver... 

usbcore: registered new driver usb-storage 

USB Mass Storage support registered. 

NET: Registered protocol family 2 

IP: routing cache hash table of 512 buckets, 4Kbytes 

TCP established hash table entries: 512 (order: 0, 4096 bytes) 

TCP bind hash table entries: 512 (order: -1, 2048 bytes) 

TCP: Hash tables configured (established 512 bind 512) 

NET: Registered protocol family 1 

NET: Registered protocol family 17 

Freeing unused kernel memory: 352k freed (0x15e000 - 0x1b5000) 

init started:  BusyBox v1.1.1-pre0 (2006.04.18-08:58+0000) multi-call binary 

 

 

BusyBox v1.1.1-pre0 (2006.04.18-08:58+0000) Built-in shell (msh) 

Enter &#39;help&#39; for a list of built-in commands. 

# [/b] 

--- Quote End ---  

 

 

I think ISP1362 wasn&#39;t work, how to solve it?
0 Kudos
Altera_Forum
Honored Contributor II
832 Views

 

--- Quote Start ---  

originally posted by goral@Apr 22 2006, 09:28 AM 

hi,  

i complie the isp1362 after i update my kernel 2.6.16.1,  and there is no error  now, and then i changed the usb makefile isp1362x to isp1362, but i couldn&#39;t  found the isp1362.o in host folder. 

when i boot uclinux on de ii board,  i couldn&#39;t got any message about isp1362. 

 

<div class='quotetop'>quote  

--- quote end ---  

 

--- quote start ---  

uclinux/nios ii 

altera nios ii support © 2004 microtronix datacom ltd. 

 

setup_arch: no persistant network settings signature at 008f0000 

built 1 zonelists 

kernel command line: 

pid hash table entries: 64 (order: 6, 1024 bytes) 

dentry cache hash table entries: 2048 (order: 1, 8192 bytes) 

inode-cache hash table entries: 1024 (order: 0, 4096 bytes) 

memory available: 6272k/8192k ram, 0k/0k rom (1332k kernel code, 471k data) 

mount-cache hash table entries: 512 (order: 0, 4096 bytes) 

net: registered protocol family 16 

scsi subsystem initialized 

usbcore: registered new driver usbfs 

usbcore: registered new driver hub 

serial: jtag uart driver $revision: 1.4 $ 

ttyj0 at mmio 0x81004000 (irq = 1) is a jtag_uart 

io scheduler noop registered 

io scheduler deadline registered 

dmfe_probe:eth0, 50000 khz nios 

<dm9000> eth0 i/o: 80900090, vid: 90000a46 

    addr: 00:07:ed:00:00:00 

dmfe_probe:eth1, 50000 khz nios 

initializing usb mass storage driver... 

usbcore: registered new driver usb-storage 

usb mass storage support registered. 

net: registered protocol family 2 

ip: routing cache hash table of 512 buckets, 4kbytes 

tcp established hash table entries: 512 (order: 0, 4096 bytes) 

tcp bind hash table entries: 512 (order: -1, 2048 bytes) 

tcp: hash tables configured (established 512 bind 512) 

net: registered protocol family 1 

net: registered protocol family 17 

freeing unused kernel memory: 352k freed (0x15e000 - 0x1b5000) 

init started:  busybox v1.1.1-pre0 (2006.04.18-08:58+0000) multi-call binary 

 

 

busybox v1.1.1-pre0 (2006.04.18-08:58+0000) built-in shell (msh) 

enter &#39;help&#39; for a list of built-in commands. 

#  

--- Quote End ---  

 

 

I think ISP1362 wasn&#39;t work, how to solve it? 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14559)</div> 

[/b] 

--- Quote End ---  

 

There is a bug in the patch. 

Please fix drivers/usb/Makefile to inlcude host dir for isp1362 just like the one for isp116x .
0 Kudos
Altera_Forum
Honored Contributor II
832 Views

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

There is a bug in the patch. 

Please fix drivers/usb/Makefile to inlcude host dir for isp1362 just like the one for isp116x .[/b] 

--- Quote End ---  

 

 

THX , I&#39;ve changed it after I read Shindou&#39;s topic, these boot message generate was I changed the Makefile.
0 Kudos
Altera_Forum
Honored Contributor II
832 Views

 

--- Quote Start ---  

originally posted by goral@Apr 22 2006, 11:36 PM 

<div class='quotetop'>quote  

--- quote end ---  

 

--- quote start ---  

there is a bug in the patch. 

please fix drivers/usb/makefile to inlcude host dir for isp1362 just like the one for isp116x . 

--- Quote End ---  

 

 

THX , I&#39;ve changed it after I read Shoidou&#39;s topic, these boot message generate was I changed the Makefile. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14566)</div> 

[/b] 

--- Quote End ---  

 

Do you have isp1362-hcd.o in drivers/usb/host/ dir ?
0 Kudos
Altera_Forum
Honored Contributor II
832 Views

iI couldn&#39;t find it !

0 Kudos
Altera_Forum
Honored Contributor II
832 Views

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

obj-$(CONFIG_USB)            += core/ 

 

obj-$(CONFIG_USB_EHCI_HCD)      += host/ 

obj-$(CONFIG_USB_OHCI_HCD)      += host/ 

obj-$(CONFIG_USB_UHCI_HCD)      += host/ 

obj-$(CONFIG_USB_SL811_HCD)  += host/ 

obj-$(CONFIG_USB_ISP116X_HCD) += host/ 

obj-$(CONFIG_USB_ISP1362_HCD)    += host/ 

obj-$(CONFIG_ETRAX_USB_HOST)    += host/ 

 

obj-$(CONFIG_USB_ACM)        += class/ 

obj-$(CONFIG_USB_AUDIO)      += class/ 

obj-$(CONFIG_USB_BLUETOOTH_TTY) += class/ 

obj-$(CONFIG_USB_MIDI)          += class/ 

obj-$(CONFIG_USB_PRINTER)    += class/ 

... 

[/b] 

--- Quote End ---  

 

 

This is my Makefile in /drivers/usb/
0 Kudos
Altera_Forum
Honored Contributor II
832 Views

hi guys, 

 

sorry - was a bit busy the last 2 wks so didn&#39;t get a chance to get further with it yet. 

 

as for the missing object file problem - as i recall, one of the Makefiles in the directory structure wasn&#39;t point to the right directory so the file&#39;s not compiled - i&#39;ll check up on that tmrw when i take a look at it.
0 Kudos
Altera_Forum
Honored Contributor II
832 Views

When clean all work before I do, I compile my kernel, I got so many errors, I using isp1362.diff to patch the usb driver. 

 

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

CC      drivers/usb/host/isp1362-hcd.o 

drivers/usb/host/isp1362-hcd.c:1293: error: syntax error before "gfp_t" 

drivers/usb/host/isp1362-hcd.c:1294: warning: function declaration isn&#39;t a prototype 

drivers/usb/host/isp1362-hcd.c: In function `isp1362_urb_enqueue&#39;: 

drivers/usb/host/isp1362-hcd.c:1295: error: `hcd&#39; undeclared (first use in this function) 

drivers/usb/host/isp1362-hcd.c:1295: error: (Each undeclared identifier is reported only once 

drivers/usb/host/isp1362-hcd.c:1295: error: for each function it appears in.) 

drivers/usb/host/isp1362-hcd.c:1296: error: `urb&#39; undeclared (first use in this function) 

drivers/usb/host/isp1362-hcd.c:1333: error: `hep&#39; undeclared (first use in this function) 

drivers/usb/host/isp1362-hcd.c:1334: error: `mem_flags&#39; undeclared (first use in this function) 

drivers/usb/host/isp1362-hcd.c:1341: warning: implicit declaration of function `HC_IS_RUNNING&#39; 

drivers/usb/host/isp1362-hcd.c: In function `isp1362_mem_config&#39;: 

drivers/usb/host/isp1362-hcd.c:2415: warning: int format, long unsigned int arg (arg 5) 

drivers/usb/host/isp1362-hcd.c:2418: warning: int format, long unsigned int arg (arg 5) 

drivers/usb/host/isp1362-hcd.c: In function `isp1362_hc_start&#39;: 

drivers/usb/host/isp1362-hcd.c:2776: error: `HC_STATE_RUNNING&#39; undeclared (first use in this function) 

drivers/usb/host/isp1362-hcd.c: At top level: 

drivers/usb/host/isp1362-hcd.c:2818: error: unknown field `bus_suspend&#39; specified in initializer 

drivers/usb/host/isp1362-hcd.c:2819: error: unknown field `bus_resume&#39; specified in initializer 

drivers/usb/host/isp1362-hcd.c: In function `isp1362_remove&#39;: 

drivers/usb/host/isp1362-hcd.c:2828: warning: implicit declaration of function `platform_get_drvdata&#39; 

drivers/usb/host/isp1362-hcd.c:2828: warning: initialization makes pointer from integer without a cast 

drivers/usb/host/isp1362-hcd.c:2834: warning: implicit declaration of function `usb_remove_hcd&#39; 

drivers/usb/host/isp1362-hcd.c: In function `isp1362_probe&#39;: 

drivers/usb/host/isp1362-hcd.c:2927: error: too many arguments to function `usb_create_hcd&#39; 

drivers/usb/host/isp1362-hcd.c:2932: error: structure has no member named `rsrc_start&#39; 

drivers/usb/host/isp1362-hcd.c:2958: warning: implicit declaration of function `usb_add_hcd&#39; 

drivers/usb/host/isp1362-hcd.c: At top level: 

drivers/usb/host/isp1362-hcd.c:3043: error: variable `isp1362_driver&#39; has initializer but incomplete type 

drivers/usb/host/isp1362-hcd.c:3044: error: unknown field `probe&#39; specified in initializer 

drivers/usb/host/isp1362-hcd.c:3044: warning: excess elements in struct initializer 

drivers/usb/host/isp1362-hcd.c:3044: warning: (near initialization for `isp1362_driver&#39;) 

drivers/usb/host/isp1362-hcd.c:3045: error: unknown field `remove&#39; specified in initializer 

drivers/usb/host/isp1362-hcd.c:3045: warning: excess elements in struct initializer 

drivers/usb/host/isp1362-hcd.c:3045: warning: (near initialization for `isp1362_driver&#39;) 

drivers/usb/host/isp1362-hcd.c:3047: error: unknown field `suspend&#39; specified in initializer 

drivers/usb/host/isp1362-hcd.c:3047: warning: excess elements in struct initializer 

drivers/usb/host/isp1362-hcd.c:3047: warning: (near initialization for `isp1362_driver&#39;) 

drivers/usb/host/isp1362-hcd.c:3048: error: unknown field `resume&#39; specified in initializer 

drivers/usb/host/isp1362-hcd.c:3048: warning: excess elements in struct initializer 

drivers/usb/host/isp1362-hcd.c:3048: warning: (near initialization for `isp1362_driver&#39;) 

drivers/usb/host/isp1362-hcd.c:3049: error: unknown field `driver&#39; specified in initializer 

drivers/usb/host/isp1362-hcd.c:3049: error: extra brace group at end of initializer 

drivers/usb/host/isp1362-hcd.c:3049: error: (near initialization for `isp1362_driver&#39;) 

drivers/usb/host/isp1362-hcd.c:3052: warning: excess elements in struct initializer 

drivers/usb/host/isp1362-hcd.c:3052: warning: (near initialization for `isp1362_driver&#39;) 

drivers/usb/host/isp1362-hcd.c: In function `isp1362_init&#39;: 

drivers/usb/host/isp1362-hcd.c:3063: warning: implicit declaration of function `platform_driver_register&#39; 

drivers/usb/host/isp1362-hcd.c: In function `isp1362_cleanup&#39;: 

drivers/usb/host/isp1362-hcd.c:3070: warning: implicit declaration of function `platform_driver_unregister&#39; 

drivers/usb/host/isp1362-hcd.c: At top level: 

drivers/usb/host/isp1362-hcd.c:3043: error: storage size of `isp1362_driver&#39; isn&#39;t known 

drivers/usb/host/isp1362-hcd.c:1581: warning: &#39;isp1362_bus_suspend&#39; declared `static&#39; but never defined 

make[3]: *** [drivers/usb/host/isp1362-hcd.o] Error 1 

make[2]: *** [drivers/usb/host] Error2 

make[1]: *** [drivers/usb] Error 2 

make: *** [drivers] Error 2[/b] 

--- Quote End ---  

 

 

I clean my work like as hippo mentioned in this topic: 

http://forum.niosforum.com/forum/index.php?showtopic=3706 (http://forum.niosforum.com/forum/index.php?showtopic=3706

 

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

# remove old linux source 

rm -rf ~/linux-2.6.x ~/mysvn/2.6.11-uc0# kernel 2.6.11-uc0 source ported by microtronix 

cp -a ~/download/mx140/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x ~ 

cd ~/linux-2.6.x 

patch -p0 <~/download/kernel.diff 

cp ~/download/kernel.config ~/linux-2.6.x/.config 

patch -p0 <~/download/isp1362.diff[/b] 

--- Quote End ---  

 

 

Need I update my kernel or how to solve ?
0 Kudos
Altera_Forum
Honored Contributor II
832 Views

 

--- Quote Start ---  

originally posted by goral@Apr 23 2006, 01:08 PM 

when clean all work before i do, i compile my kernel, i got so many errors, i using isp1362.diff to patch the usb driver. 

 

<div class='quotetop'>quote  

--- quote end ---  

 

--- quote start ---  

cc      drivers/usb/host/isp1362-hcd.o 

drivers/usb/host/isp1362-hcd.c:1293: error: syntax error before "gfp_t" 

drivers/usb/host/isp1362-hcd.c:1294: warning: function declaration isn&#39;t a prototype 

drivers/usb/host/isp1362-hcd.c: in function `isp1362_urb_enqueue&#39;: 

drivers/usb/host/isp1362-hcd.c:1295: error: `hcd&#39; undeclared (first use in this function) 

drivers/usb/host/isp1362-hcd.c:1295: error: (each undeclared identifier is reported only once 

drivers/usb/host/isp1362-hcd.c:1295: error: for each function it appears in.) 

drivers/usb/host/isp1362-hcd.c:1296: error: `urb&#39; undeclared (first use in this function) 

drivers/usb/host/isp1362-hcd.c:1333: error: `hep&#39; undeclared (first use in this function) 

drivers/usb/host/isp1362-hcd.c:1334: error: `mem_flags&#39; undeclared (first use in this function) 

drivers/usb/host/isp1362-hcd.c:1341: warning: implicit declaration of function `hc_is_running&#39; 

drivers/usb/host/isp1362-hcd.c: in function `isp1362_mem_config&#39;: 

drivers/usb/host/isp1362-hcd.c:2415: warning: int format, long unsigned int arg (arg 5) 

drivers/usb/host/isp1362-hcd.c:2418: warning: int format, long unsigned int arg (arg 5) 

drivers/usb/host/isp1362-hcd.c: in function `isp1362_hc_start&#39;: 

drivers/usb/host/isp1362-hcd.c:2776: error: `hc_state_running&#39; undeclared (first use in this function) 

drivers/usb/host/isp1362-hcd.c: at top level: 

drivers/usb/host/isp1362-hcd.c:2818: error: unknown field `bus_suspend&#39; specified in initializer 

drivers/usb/host/isp1362-hcd.c:2819: error: unknown field `bus_resume&#39; specified in initializer 

drivers/usb/host/isp1362-hcd.c: in function `isp1362_remove&#39;: 

drivers/usb/host/isp1362-hcd.c:2828: warning: implicit declaration of function `platform_get_drvdata&#39; 

drivers/usb/host/isp1362-hcd.c:2828: warning: initialization makes pointer from integer without a cast 

drivers/usb/host/isp1362-hcd.c:2834: warning: implicit declaration of function `usb_remove_hcd&#39; 

drivers/usb/host/isp1362-hcd.c: in function `isp1362_probe&#39;: 

drivers/usb/host/isp1362-hcd.c:2927: error: too many arguments to function `usb_create_hcd&#39; 

drivers/usb/host/isp1362-hcd.c:2932: error: structure has no member named `rsrc_start&#39; 

drivers/usb/host/isp1362-hcd.c:2958: warning: implicit declaration of function `usb_add_hcd&#39; 

drivers/usb/host/isp1362-hcd.c: at top level: 

drivers/usb/host/isp1362-hcd.c:3043: error: variable `isp1362_driver&#39; has initializer but incomplete type 

drivers/usb/host/isp1362-hcd.c:3044: error: unknown field `probe&#39; specified in initializer 

drivers/usb/host/isp1362-hcd.c:3044: warning: excess elements in struct initializer 

drivers/usb/host/isp1362-hcd.c:3044: warning: (near initialization for `isp1362_driver&#39;) 

drivers/usb/host/isp1362-hcd.c:3045: error: unknown field `remove&#39; specified in initializer 

drivers/usb/host/isp1362-hcd.c:3045: warning: excess elements in struct initializer 

drivers/usb/host/isp1362-hcd.c:3045: warning: (near initialization for `isp1362_driver&#39;) 

drivers/usb/host/isp1362-hcd.c:3047: error: unknown field `suspend&#39; specified in initializer 

drivers/usb/host/isp1362-hcd.c:3047: warning: excess elements in struct initializer 

drivers/usb/host/isp1362-hcd.c:3047: warning: (near initialization for `isp1362_driver&#39;) 

drivers/usb/host/isp1362-hcd.c:3048: error: unknown field `resume&#39; specified in initializer 

drivers/usb/host/isp1362-hcd.c:3048: warning: excess elements in struct initializer 

drivers/usb/host/isp1362-hcd.c:3048: warning: (near initialization for `isp1362_driver&#39;) 

drivers/usb/host/isp1362-hcd.c:3049: error: unknown field `driver&#39; specified in initializer 

drivers/usb/host/isp1362-hcd.c:3049: error: extra brace group at end of initializer 

drivers/usb/host/isp1362-hcd.c:3049: error: (near initialization for `isp1362_driver&#39;) 

drivers/usb/host/isp1362-hcd.c:3052: warning: excess elements in struct initializer 

drivers/usb/host/isp1362-hcd.c:3052: warning: (near initialization for `isp1362_driver&#39;) 

drivers/usb/host/isp1362-hcd.c: in function `isp1362_init&#39;: 

drivers/usb/host/isp1362-hcd.c:3063: warning: implicit declaration of function `platform_driver_register&#39; 

drivers/usb/host/isp1362-hcd.c: in function `isp1362_cleanup&#39;: 

drivers/usb/host/isp1362-hcd.c:3070: warning: implicit declaration of function `platform_driver_unregister&#39; 

drivers/usb/host/isp1362-hcd.c: at top level: 

drivers/usb/host/isp1362-hcd.c:3043: error: storage size of `isp1362_driver&#39; isn&#39;t known 

drivers/usb/host/isp1362-hcd.c:1581: warning: &#39;isp1362_bus_suspend&#39; declared `static&#39; but never defined 

make[3]: *** [drivers/usb/host/isp1362-hcd.o] error 1 

make[2]: *** [drivers/usb/host] error2 

make[1]: *** [drivers/usb] error 2 

make: *** [drivers] error 2 

--- Quote End ---  

 

 

I clean my work like as hippo mentioned in this topic: 

http://forum.niosforum.com/forum/index.php?showtopic=3706 (http://forum.niosforum.com/forum/index.php?showtopic=3706

 

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

# remove old linux source 

rm -rf ~/linux-2.6.x ~/mysvn/2.6.11-uc0# kernel 2.6.11-uc0 source ported by microtronix 

cp -a ~/download/mx140/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x ~ 

cd ~/linux-2.6.x 

patch -p0 <~/download/kernel.diff 

cp ~/download/kernel.config ~/linux-2.6.x/.config 

patch -p0 <~/download/isp1362.diff[/b] 

--- Quote End ---  

 

 

Need I update my kernel or how to solve ? 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14572)</div> 

[/b] 

--- Quote End ---  

 

These error come from the difference of data structures and APIs between 2.6.11-uc0 and 2.6.16.1 . 

 

Please switch back to your previous thread, and switch back to 2.6.16.1 kernel. 

http://forum.niosforum.com/forum/index.php?showtopic=3706 (http://forum.niosforum.com/forum/index.php?showtopic=3706

jay_1025 is also working on this driver, maybe you can help each other.
0 Kudos
Altera_Forum
Honored Contributor II
832 Views

I had the same errors when compiling after applying the patch isp1362 to the Microtronix 2.6.11 kernel. I think the patch is still for 2.6.16 but I did not patch the kernel, instead I backported the sources to 2.6.11. 

Get the isp1362-hcd.c and isp1362.h file with a description how to go on after applying hippos patch. 

my webpage (http://www.8ung.at/nacide_manfred/linuxtutorial.html)
0 Kudos
Altera_Forum
Honored Contributor II
832 Views

TO_BE_DONE

0 Kudos
Altera_Forum
Honored Contributor II
832 Views

Hi,hippo,i did everything you told about isp1362,but in menuconfig Device  

Drivers ===>  

USB support ===>  

the HID input layer support can&#39;t be chose. 

and when i build the project ther are errors in usb.c. 

can you tell me why ? 

Thank you very much.
0 Kudos
Altera_Forum
Honored Contributor II
832 Views

 

--- Quote Start ---  

originally posted by hua124@Oct 14 2006, 09:22 PM 

hi,hippo,i did everything you told about isp1362,but in menuconfig device  

drivers ===>  

usb support ===>  

the hid input layer support can&#39;t be chose. 

and when i build the  project ther are  errors in usb.c. 

can you  tell me why ? 

thank you very much. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18684) 

--- quote end ---  

 

--- Quote End ---  

 

You should have post this as a new topic. 

 

I tried the compilation, but didn&#39;t see the error. What is your error message? 

 

--- USB Input Devices 

[*] USB Human Interface Device (full HID) support  

 

 

with or without, 

--- Input core support is needed for USB HID input layer or HIDBP 

[*] /dev/hiddev raw HID device support
0 Kudos
Reply