LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-22-2011, 03:27 AM   #1
ravspratapsingh
Member
 
Registered: May 2010
Posts: 30

Rep: Reputation: 15
LPC in CDC mode is not detected by Linux


Hi,

I am using LPC1768 as CDC device connected to PXA168 which is running Linux. On LPC side, I have drivers. I have also enabled the PXA linux drivers for usb-serial and cdc-acm drive. When I bootup the board, I get following:-

[ 2.539060] usb 1-1.3: new full speed USB device using pxau2h-ehci and address 4
[ 2.581029] usb 1-1.3: New USB device found, idVendor=1fc9, idProduct=2002
[ 2.587908] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.595241] usb 1-1.3: Product: NXP LPC17xx VCOM
[ 2.599996] usb 1-1.3: Manufacturer: NXP SEMICOND
[ 2.604786] usb 1-1.3: SerialNumber: DEMO00000000




# cat /proc/bus/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 2.06
S: Manufacturer=Linux 2.6.34 ehci_hcd
S: Product=Marvell PXA SOC EHCI Host Controller
S: SerialNumber=pxau2h-ehci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=05e3 ProdID=0608 Rev=77.64
S: Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms

T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1908 ProdID=0221 Rev= 1.02
S: Manufacturer=Generic
S: Product=USB2.0 Device
S: SerialNumber=20090909180003
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

**T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=1fc9 ProdID=2002 Rev= 1.00
S: Manufacturer=NXP SEMICOND
S: Product=NXP LPC17xx VCOM
S: SerialNumber=DEMO00000000
C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=00 Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=2ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms**


Now My LPC does not detect any driver. This LPC works fine when used to connect with PC having Windows but there too If I connect to Linux PC, I dont get it running.

Can anyone help me understanding the driver for the linux and which interface will be used to
 
Old 08-28-2011, 04:05 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
This device possibly uses a custom driver, because the USB detection is absolutely fine. Are you sure you have the driver either in the kernel or compiled separately? You probably need to compile it and load manually via insmod or modprobe.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing SD card on LPC Linux platform suni550 Linux - Newbie 3 08-08-2011 03:40 PM
LXer: This week at LWN: LPC: Booting Linux in five seconds LXer Syndicated Linux News 0 10-06-2008 11:10 AM
LXer: This week at LWN: LPC: Linux audio: it's a mess LXer Syndicated Linux News 0 10-04-2008 09:11 AM
I need update BIOS through LPC in Linux,but I don't know how to manipulate LPC frisky Linux - Kernel 3 06-29-2006 10:36 AM
building cdc and foundation profile on linux 7.2 veenam Linux - General 1 03-10-2004 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration