Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22013 - [kernel26] lirc_imon doesn't recognize display_type module parameter in 2.6.36

Attached to Project: Arch Linux
Opened by ben123 (ben123) - Tuesday, 07 December 2010, 19:50 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 13 December 2010, 09:43 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

dmesg shows 2.6.36.1-3 to be using a staged version of lirc_imon, which seemed to have removed the "display_type" parameter. Following is the relevant log from dmesg:

lirc_imon: module is from the staging directory, the quality is unknown, you have been warned.
lirc_imon: Unknown parameter `display_type'

Here's lsusb entry of my lcd device.

Bus 004 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller

Is there a reason we're using stage?

Additional info:
* package version(s) 2.6.36.1-3
* config and/or log files etc.


Steps to reproduce:
install 2.6.36.1-3. 2.6.35 was not affected.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Monday, 13 December 2010, 09:43 GMT
Reason for closing:  Not a bug
Additional comments about closing:  see comments
Comment by ben123 (ben123) - Tuesday, 07 December 2010, 19:59 GMT
By the way, removing the display_type parameter removes the error, and produces the following dmesg output:

lirc_imon: module is from the staging directory, the quality is unknown, you have been warned.
lirc_imon: Driver for SoundGraph iMON MultiMedia IR/Display, v0.8
usbcore: registered new interface driver lirc_imon

However, dmesg still shows the following error.

lirc_imon: lcd_write: invalid payload size: 32 (expecting 8)

This seems to suggest that the stage code is not detecting my lcd type correctly.
Comment by Frank Phillips (fphillips) - Friday, 10 December 2010, 20:15 GMT
You should be using the "imon" module instead.

"Nb: this is a very trimmed-down lirc_imon, which only supports the
oldest generation of imon devices that don't do onboard signal decoding
like the most recent generation imon devices -- those are now supported
by the ir-core imon driver."

linux-media@vger.kernel.org/msg20704.html"> http://www.mail-archive.com/linux-media@vger.kernel.org/msg20704.html
Comment by Frank Phillips (fphillips) - Friday, 10 December 2010, 21:14 GMT
I'm curious why lirc_imon would load on your hardware, since it's only supposed to load according to the modalias.

imon has your vendor/product, lirc_imon does not:

[fp@viron ~]$ modinfo imon |grep v15C2pFFDC
alias: usb:v15C2pFFDCd*dc*dsc*dp*ic*isc*ip*

[fp@viron ~]$ modinfo lirc_imon |grep v15C2pFFDC
Comment by ben123 (ben123) - Saturday, 11 December 2010, 23:06 GMT
Thanks. Switching to imon works. I had the following in /etc/modprobe.d/

options lirc_imon display_type=1

which resulted in the error. When I switched to imon, it now works fine. For some reason, lirc_imon was loading before I made the change, and that caused the payload size error with LCDd.

Loading...