login about faq

Hi,

First thank's for your work, I am testing Linaro XBMC and it is a real good job, I still have some drop while reading video but I think things will go better.
In my effort to build an Home Theater PC I was trying to get an USB HDMI CEC adapter to work, for that I nedd to have the module CDC-ACM loaded but it seems that it is not part of the distro. so I tried to compile it from the kernel source but I can not find the source for 3.1.1-8-linaro-lt-omap.

Can you provide me a link to the source tree for 3.1.1-8-linaro-lt-omap and maybe can you compile the module CDC-ACM for the next release ?

Thank's in advance.

Best regards

By the way I have some error message on start up of the board (Pandaboard ES) are interrested of it ? Can I do some testing to help you ?

asked 13 Feb, 04:21

Arnal's gravatar image

Arnal
113
accept rate: 0%

edited 13 Feb, 04:45


Hi Arnal,

Thank you for testing Linaro releases! Your tests and bug reports are most welcome (don't hesitate to report your boot time errors in a separate question).

Back to your question, it's true that finding kernel sources in not completely trivial. I eventually found a useful resource: https://launchpad.net/~linaro-maintainers/+archive/overlay/+sourcepub/2190875/+listing-archive-extra:

You can get links to our git tree and to a .tar.gz archive that you can download.

However, I'm not sure that these are the exact same sources as the ones used to build your kernel. I hope someone has a better answer than I do.

Cheers,

Michael.

link

answered 13 Feb, 05:41

Michael%20Opdenacker's gravatar image

Michael Opde... ♦♦
440139
accept rate: 5%

Michael,

Thank's for your quick answer, I used a previous answered question (sorry not to read the forum before asking ... )
I do a :

sudo apt-add-repository ppa:linaro-maintainers/overlay sudo apt-get update sudo apt-get source linux-linaro-lt-omap

It look like it is the good source tree, so I do a make menuconfig select the cdc-acm as a module and then do a make modules but when I do an insmod I get this :

root@linarotv-xbmc:~/linux-linaro-lt-omap-3.1.1/drivers/usb/class# insmod cdc-acm.ko insmod: error inserting 'cdc-acm.ko': -1 Invalid module format

root@linarotv-xbmc:~/linux-linaro-lt-omap-3.1.1/drivers/usb/class# modinfo cdc-acm.ko filename: cdc-acm.ko alias: char-major-166- license: GPL description: USB Abstract Control Model driver for USB modems and ISDN adapters author: Armin Fuerst, Pavel Machek, Johannes Erdfelt, Vojtech Pavlik, David Kubicek, Johan Hovold srcversion: 6678AA2C3B059C2B893680A alias: usb:vpddcdscdpic02isc02ip06 . . . . alias: usb:v079Bp000Fddcdscdpiciscip alias: usb:v0482p0203ddcdscdpiciscip alias: usb:v0E8Dp3329ddcdscdpiciscip alias: usb:v0E8Dp0003ddcdscdpiciscip alias: usb:v0870p0001ddcdscdpiciscip* depends: vermagic: 3.1.5 SMP preempt mod_unload modversions ARMv7

If I do the same for an already installed module I get : vermagic: 3.1.1-8-linaro-lt-omap SMP preempt mod_unload modversions ARMv7 parm: debug:Enable verbose debugging messages (bool)

Maybe I need to change the vermagic ?

I will continue to investigate ... Is it possible to compile this module for the next release ?

Regards

link

answered 13 Feb, 05:56

Arnal's gravatar image

Arnal
113
accept rate: 0%

Hi Arnal,

Yes, you're right... "apt-get source" is the best way to get the sources.

About your module loading issue, you could try "modprobe --force" as a quick and dirty workaround to ignore vermagic. See http://ask.linaro.org/questions/202/tunko-for-linaro-compilation for an issue similar to yours.

Could you file a bug asking for this module to be added in the next kernel builds. This is the best way to get people to do something about this, and for you to advertise for your suggestion.

Cheers,

Michael.

link

answered 13 Feb, 07:52

Michael%20Opdenacker's gravatar image

Michael Opde... ♦♦
440139
accept rate: 5%

Re,

The modprobe --force work I will test after work to see if the device show up in XBMC and let you know.

As you suggested I have opened a bug for the inclusion of the module.

Merci beaucoup de votre aide (thx a lot for your help)

Regards

link

answered 13 Feb, 10:22

Arnal's gravatar image

Arnal
113
accept rate: 0%

De rien! I'm French too ;-)

link

answered 13 Feb, 11:05

Michael%20Opdenacker's gravatar image

Michael Opde... ♦♦
440139
accept rate: 5%

For the non French excuse me, I switch to French.

C'est ce que j'avais vu sur votre fiche d'où le diversion.

link

answered 13 Feb, 11:41

Arnal's gravatar image

Arnal
113
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×130
×94
×11
×6

Asked: 13 Feb, 04:21

Seen: 250 times

Last updated: 13 Feb, 11:41