Info: Driver for Multi-Median Edition Media Kit

Linux support for Soundgraph iMON USB IR/VFD modules used in Ahanix, Silverstone, Uneed, Accent and other cases.

Moderator: Venky

Info: Driver for Multi-Median Edition Media Kit

Postby Venky » Thu Jul 01, 2004 10:03 pm

This media kit includes the IMON MM USB Board and the IMON Remote.

I am finalizing the driver for this board and plan on releasing it by the end of the week. The driver is being developed for LIRC and will include VFD support using the /dev/usb/lcd device file. An LCDproc driver for the VFD will come next.

If you would like a standalone driver (not LIRC-based) please let me know. I can provide that later next week, and also a test program that you can use to verify operation of the IR and VFD.

regards,
Venky
Venky
 
Posts: 145
Joined: Tue Jun 29, 2004 7:55 pm

Postby Guest » Mon Jul 05, 2004 9:46 am

Venky...

I'd be very interested in trying both drivers. What's the current status?

Thanks! :-)

-marc
Guest
 

Postby Venky » Mon Jul 05, 2004 10:44 am

The driver is ready for testing. I just need to create a patch file and instructions and will post it here in a couple of hours.

Venky
Venky
 
Posts: 145
Joined: Tue Jun 29, 2004 7:55 pm

Postby tim » Tue Jul 06, 2004 8:19 am

Well done Venky.

I had suggested to you a few weeks ago that I was planning to purchase the D.vine 5. It turns out that I couldn't get my hands on it, so I bought an Accent HT-400 instead. This case has an iMon IR receiver and remote with a parallel (HD44780) VFD. I have the VFD working with LCDProc, and I'm hoping that your driver will work for the iMon.

Now all I have to do is to get it to compile under FC2.

I'll let you know whether I have any success.
tim
 
Posts: 8
Joined: Tue Jul 06, 2004 8:15 am
Location: Melbourne, Australia

Postby tim » Tue Jul 06, 2004 8:16 pm

Now all I have to do is to get it to compile under FC2.

I'll let you know whether I have any success.


Um... no luck.

Here is the makefile log:

<snip>

make all-recursive
make[1]: Entering directory `/tmp/lirc-0.7.0pre6'
Making all in drivers
make[2]: Entering directory `/tmp/lirc-0.7.0pre6/drivers'
Making all in lirc_dev
make[3]: Entering directory `/tmp/lirc-0.7.0pre6/drivers/lirc_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /usr/src/linux/ SUBDIRS=/tmp/lirc-0.7.0pre6/drivers/lirc_dev modules \
KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/linux-2.6.5-1.358'
mkdir -p /tmp/lirc-0.7.0pre6/drivers/lirc_dev/.tmp_versions
make -f scripts/Makefile.build obj=/tmp/lirc-0.7.0pre6/drivers/lirc_dev
gcc -Wp,-MD,/tmp/lirc-0.7.0pre6/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -iwithprefix include
-D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-commo
n -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stack
-boundary=2 -march=i686 -mregparm=3 -Iinclude/asm-i386/mach-default -Os -fomit-frame-pointer -g
-Wdeclaration-after-statement -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I..
/.. -I /tmp/lirc-0.7.0pre6/drivers/lirc_dev/../.. -I /usr/src/linux//include/ -DMODULE -DKBUILD
_BASENAME=lirc_dev -DKBUILD_MODNAME=lirc_dev -c -o /tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev
.o /tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c:33:2: warning: #warning "**********************************************************"
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c:34:2: warning: #warning "************ disabling devfs for 2.6 kernels *************"
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c:35:2: warning: #warning "**********************************************************"
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c: In function `lirc_thread':
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c:187: warning: `interruptible_sleep_on' is deprecated (declared at include/linux/wait.h:231)
include/asm/semaphore.h: In function `lirc_register_plugin':
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c:279: warning: ignoring return value of `down_interruptible', declared with attribute warn_unused_result
include/asm/semaphore.h: In function `lirc_unregister_plugin':
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c:379: warning: ignoring return value of `down_interruptible', declared with attribute warn_unused_result
include/asm/semaphore.h: In function `irctl_open':
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c:458: warning: ignoring return value of `down_interruptible', declared with attribute warn_unused_result
include/asm/semaphore.h: In function `irctl_close':
/tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.c:510: warning: ignoring return value of `down_interruptible', declared with attribute warn_unused_result
Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.5-1.358/scripts/Makefile.modpost
scripts/modpost -i /usr/src/linux-2.6.5-1.358/Module.symvers /tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.o
gcc -Wp,-MD,/tmp/lirc-0.7.0pre6/drivers/lirc_dev/.lirc_dev.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mregparm=3 -Iinclude/asm-i386/mach-default -Os -fomit-frame-pointer -g -Wdeclaration-after-statement -DKBUILD_BASENAME=lirc_dev -DKBUILD_MODNAME=lirc_dev -DMODULE -c -o /tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.mod.o tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.mod.c
ld -m elf_i386 -r -o /tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.ko /tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.o /tmp/lirc-0.7.0pre6/drivers/lirc_dev/lirc_dev.mod.o
make[4]: Leaving directory `/usr/src/linux-2.6.5-1.358'
mv Makefile.automake Makefile
make[3]: Leaving directory `/tmp/lirc-0.7.0pre6/drivers/lirc_dev'
Making all in lirc_imon
make[3]: Entering directory `/tmp/lirc-0.7.0pre6/drivers/lirc_imon'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /usr/src/linux/ SUBDIRS=/tmp/lirc-0.7.0pre6/drivers/lirc_imon modules \
KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/linux-2.6.5-1.358'
mkdir -p /tmp/lirc-0.7.0pre6/drivers/lirc_imon/.tmp_versions
make -f scripts/Makefile.build obj=/tmp/lirc-0.7.0pre6/drivers/lirc_imon
gcc -Wp,-MD,/tmp/lirc-0.7.0pre6/drivers/lirc_imon/.lirc_imon.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mregparm=3 -Iinclude/asm-i386/mach-default -Os -fomit-frame-pointer
-g -Wdeclaration-after-statement -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I ../.. -I /tmp/lirc-0.7.0pre6/drivers/lirc_imon/../.. -I /usr/src/linux//include/ -DMODULE -DKBUILD_BASENAME=lirc_imon -DKBUILD_MODNAME=lirc_imon -c -o /tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.o /tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:102: warning: initialization from incompatible pointer type
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:103: warning: initialization from incompatible pointer type
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:104: error: unknown field `fops' specified in initializer
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:104: warning: initialization from incompatible pointer type
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:105: error: unknown field `minor' specified in initializer
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:105: warning: initialization makes pointer from integer without a cast
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `vfd_open':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:127: warning: `MOD_INC_USE_COUNT' is deprecate
d (declared at include/linux/module.h:501)
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `vfd_close':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:145: warning: `MOD_DEC_USE_COUNT' is deprecate
d (declared at include/linux/module.h:513)
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `vfd_write':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:177: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:182: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `send_packet':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:224: warning: passing arg 6 of `usb_fill_int_urb' from incompatible pointer type
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:229: error: too few arguments to function `usb_submit_urb'
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `ir_open':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:269: warning: passing arg 6 of `usb_fill_int_urb' from incompatible pointer type
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:271: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:272: error: too few arguments to function `usb_submit_urb'
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:278: warning: `MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:501)
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `ir_close':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:295: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:513)
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `incoming_packet':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:341: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:347: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `submit_data':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:384: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `imon_probe':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:417: warning: assignment from incompatible pointer type
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:418: error: structure has no member named `act_altsetting'
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:421: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:427: error: structure has no member named `endpoint'
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:428: error: structure has no member named `endpoint'
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:432: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:456: warning: ISO C90 forbids mixed declarations and code
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:474: error: too few arguments to function `usb_alloc_urb'
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:478: error: too few arguments to function `usb_alloc_urb'
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: In function `imon_disconnect':
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:562: warning: `sleep_on' is deprecated (declared at include/linux/wait.h:228)
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c: At top level:
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:608: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.c:608: warning: data definition has no type or storage class
make[5]: *** [/tmp/lirc-0.7.0pre6/drivers/lirc_imon/lirc_imon.o] Error 1
make[4]: *** [/tmp/lirc-0.7.0pre6/drivers/lirc_imon] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.5-1.358'
make[3]: *** [lirc_imon.o] Error 2
make[3]: Leaving directory `/tmp/lirc-0.7.0pre6/drivers/lirc_imon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/lirc-0.7.0pre6/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/lirc-0.7.0pre6'
make: *** [all] Error 2
Last edited by tim on Wed Jul 14, 2004 12:55 am, edited 1 time in total.
tim
 
Posts: 8
Joined: Tue Jul 06, 2004 8:15 am
Location: Melbourne, Australia

Support for 2.6 kernel

Postby Venky » Tue Jul 06, 2004 9:44 pm

Tim,

I'm not surprised that it didn't build on your 2.6 system. Changes were made to the USB core api and other areas. I hope to get a 2.6 system by the end of the week and I'll add in support for 2.6 in the alpha 2 release.

Venky
Venky
 
Posts: 145
Joined: Tue Jun 29, 2004 7:55 pm

Postby Guest » Wed Jul 07, 2004 3:00 am

Yep - I've been reading up. Looks like it shouldn't be too much effort to port it. I was going to have a shot if I can find some spare time. At any rate, it would probably make sense to support both iMon devices with the same driver. I'd be more than happy to work with you to get this happening.
Guest
 

Postby tim » Wed Jul 14, 2004 12:59 am

Well I've been hacking away to get the driver working under 2.6. This is my first attempt at driver programming, so its taking some time, but I'm making progress.

I have reached the point that the driver can be loaded and unloaded without problems. The driver is getting data from the receiver, but irrecord complains of invalid data. I guess I'm doing something wrong.

Work progresses.
tim
 
Posts: 8
Joined: Tue Jul 06, 2004 8:15 am
Location: Melbourne, Australia

Postby AlanM » Sun Aug 22, 2004 4:45 pm

Hi,

Has there been any progress on this? I have just got an Accent HT400 set up with FC2 and 2.6.7 kernel (and its lovely) all I need is to get the iMon working.... :)

Is there a new alpha release out soon?

Please let me know

cheers

Alan
AlanM
 

Postby Guest » Sun Aug 22, 2004 9:20 pm

I have had other things happening for several weeks, but I've started working on it again. I'll do my best to keep you informed.
Guest
 

Postby tim » Sun Aug 22, 2004 9:22 pm

Anonymous wrote:I have had other things happening for several weeks, but I've started working on it again. I'll do my best to keep you informed.


Oops. Forgot to log in. :?
tim
 
Posts: 8
Joined: Tue Jul 06, 2004 8:15 am
Location: Melbourne, Australia

Accent ht-400s

Postby pat » Thu Sep 23, 2004 5:58 am

(Sorry for my language... if somebody hesitates, it should be English...)

Hi,

As Tim, I recently bought an Accent HT-400s. I use a 2.4 kernel, so the compilation of Venky's driver works! But... lirc_imon does not find any IMON device!

On my HT-400, the imon remote version is :
IMON RSC (USB Internal Type) with the little joystick
http://imon.soundgraph.com/wwwroot_iMON ... e_202.html

Perhaps the driver does not support this version of the remote?

My internal usb port works, I've tried it with another device and there is no problem.

Any help will be greatly appreciate!

Pat.
pat
 
Posts: 8
Joined: Tue Sep 14, 2004 7:59 am
Location: belgium

Re: Accent ht-400s

Postby Venky » Thu Sep 23, 2004 8:18 am

pat wrote:
As Tim, I recently bought an Accent HT-400s. I use a 2.4 kernel, so the compilation of Venky's driver works! But... lirc_imon does not find any IMON device!

On my HT-400, the imon remote version is :
IMON RSC (USB Internal Type) with the little joystick
http://imon.soundgraph.com/wwwroot_iMON ... e_202.html
Perhaps the driver does not support this version of the remote?


The basic functions of this remote should work. The joystick will not work. Use a tool such as usbview and determine the vendor and device IDs of your IMON. Then put those values in lirc_imon.h and recompile the driver. The vendor and device ID of the multimedian (MM) controller are 0x0aa8 and 0xffda respectively.

If this works, please post the IDs.

Venky
Venky
 
Posts: 145
Joined: Tue Jun 29, 2004 7:55 pm

Vendor and product code for IMON RSC

Postby Venky » Thu Sep 23, 2004 8:30 am

Pat,
I believe the vendor and product codes for the RSC are 0x04e8 and 0xff30. If you can confirm these with usbview put these values in lirc_imon.h and recompile the driver. Now this may cause the driver to recognize the controller but the keys may not all work. You will need a new lircd.conf file that can be generated using irrecord.

HTH
Venky
Venky
 
Posts: 145
Joined: Tue Jun 29, 2004 7:55 pm

Postby pat » Thu Sep 23, 2004 8:50 am

Hi Venky,

Thx a lot!!! :D I try your suggestion this evening when I'm back at home!
Hope for the best.

Pat.
Last edited by pat on Fri Sep 24, 2004 9:07 am, edited 1 time in total.
pat
 
Posts: 8
Joined: Tue Sep 14, 2004 7:59 am
Location: belgium

Next

Return to Soundgraph iMON IR/VFD Modules

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron