Atmel website | ARM Community | AVR freaks | Technical Support
Banner
Welcome to AT91SAM Community Forum
http://www.at91.com/samphpbb/

FreeRTOS USB-CDC, with Linux
http://www.at91.com/samphpbb/viewtopic.php?f=25&t=4371
Page 1 of 1

Author:  ollebull [ Tue Apr 15, 2008 11:00 am ]
Post subject:  FreeRTOS USB-CDC, with Linux

Hi

I'm trying to get the FreeRTOS demo with USB CDC for AT91SAM7X256 to work under Linux, using a SAM7-EX256 board.
The driver seems to work fine with Windows XP, using the (from FreeRTOS) supplied .inf-file. A com-port shows up in the Device manager, and seems to be able to get some chars from it.
Plugging it in when running Linux (kernel 2.6.24) I get these messages:
Code:
usb 3-2: new full speed USB device using uhci_hcd and address 21
usb 3-2: configuration #1 chosen from 1 choice

but nothing shows up in /dev-fs. I'm not very familiar with how USB works, and I don't know if the problem is at the host side, or the client. I would be very glad if someone could point me the right direction of what I'm doing wrong.

Thanks in advance!

/Olle

Author:  RaceMouse [ Tue Nov 04, 2008 8:05 am ]
Post subject:  Re: FreeRTOS USB-CDC, with Linux

Greetings,

You have probably solved this issue by I too searched a lot to find the solution.

I found that the usbserial module with vendor/product numbers as parameters was not the way to go. I found this cdc-acm patch, which worked perfectly for me...

/RaceMouse

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/