Uli Luckas | 3 Jun 2012 02:31
Picon

em8300 Kbuild fix for compat_ioctl

Hi all,
Starting with kernel 3.1 I have a problem with em8300_ioctl32 not being 
compiled into my em8300 kernel module.
The system is 32-bit debian with an amd64 kernel.
The kernel headers come from the debian package. The em8300 module is 
compiled from source.

Looking into the problem I found ARCH to be "x86"! I have no idea why 
this is so but I suspect that depending on CONFIG_COMPAT is the better 
approch any way.

So feel free to apply attached patch to the em8300 repository.

Regards,
Uli

Attachment (em8300_Kbuild.patch): text/x-patch, 361 bytes
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dxr3-devel
(Continue reading)

Roman Müllenschläder | 12 Feb 2012 19:35
Picon
Favicon

Latest release?

Hi there ...

I've somehow lost the overview ;)

What is the best source for to build a working release for *buntu/debian? I do 
need an updated package, for to release MMS on current Ubuntu/Debian.

So, what to use as a base?

Regards 
Roman
--

-- 

Homepage:
www.mymediasystem.org
-
Forum:
forum.mymediasystem.org
-
Wiki:
wiki.mymediasystem.org
-
Bug-DB:
bugs.mymediasystem.org

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
(Continue reading)

Uli Luckas | 9 Nov 2011 21:54
Picon

em8300 working with recent kernels again. Pushed to github

Hi All,
em8300 with recent kernels has been broken for too long ;-)
I pushed fixes for em8300 to work with 3.0 kernels to my github repository:
git://github.com/uluckas/em8300.git

The fixes are missing some #ifdef KERNEL_VERSION an so most likely break 
older builds. Sorry, I don't have the time to find out which fix is 
needed by which kernel version.

Feel free to pull to where ever the current 'official' repository is.

And big thanks to every one who contributed to the code in the repository.

regards,
Uli

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Roman Müllenschläder | 24 Oct 2011 20:46
Picon
Favicon

Build error with Ubuntu 11.10

Hi there ...

trying to build em8300 0.18.0 for Ubuntu and getting this one:

Making all in overlay
make[2]: Entering directory `/build/buildd/em8300-0.18.0/overlay'
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include   -Wall -g 
-O2 -Wall -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gtk-2.0 -
I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -
I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -
I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-
gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -
I/usr/include/libpng12   -Wall -g -O2 -MT autocal.o -MD -MP -MF 
.deps/autocal.Tpo -c -o autocal.o autocal.c
mv -f .deps/autocal.Tpo .deps/autocal.Po
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include   -Wall -g 
-O2 -Wall -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gtk-2.0 -
I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -
I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -
I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-
gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -
I/usr/include/libpng12   -Wall -g -O2 -MT allblackbut.o -MD -MP -MF 
.deps/allblackbut.Tpo -c -o allblackbut.o allblackbut.c
mv -f .deps/allblackbut.Tpo .deps/allblackbut.Po
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include   -Wall -g 
-O2 -Wall -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gtk-2.0 -
I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -
I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -
I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-
gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -
(Continue reading)

Damien Bally | 11 Jun 2011 08:53
Picon
Favicon

patch for kernel >= 2.6.37

Hello

I submit the attached patch for compiling with kernel version 2.6.37

Damien
Attachment (init_MUTEX.patch): text/x-patch, 1337 bytes
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dxr3-devel
Peppe Colicchia | 22 Nov 2010 13:23
Picon

problem using em8300-cgmeiner on 2.6.35-22-generic

Hi there. First of all, THANKS for your great work.

Hope this is the right place to put questions about code on
em8300-cgmeiner repo.

$ uname -a
Linux cucina 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:36:48 UTC
2010 i686 GNU/Linux

$ ls -l /usr/src/
lrwxrwxrwx  1 root src    31 2010-11-17 19:26 linux -
linux-headers-2.6.35-22-generic
drwxr-xr-x 24 root root 4096 2010-11-17 19:03 linux-headers-2.6.35-22
drwxr-xr-x  7 root root 4096 2010-11-17 19:03 linux-headers-2.6.35-22-generic

peppe <at> cucina:~/Pacchetti$ hg clone http://hg.assembla.com/em8300-cgmeiner
[ ... ]

"configure, make etc" OK

peppe <at> cucina:~/Pacchetti/em8300-cgmeiner/modules$ make
[ ! -x ./update_em8300_version.sh ] || ./update_em8300_version.sh
em8300_version.h
make -C /lib/modules/2.6.35-22-generic/build
SUBDIRS=/home/peppe/Pacchetti/em8300-cgmeiner/modules modules
make[1]: ingresso nella directory «/usr/src/linux-headers-2.6.35-22-generic»
 CC [M]  /home/peppe/Pacchetti/em8300-cgmeiner/modules/adv717x.o
[ ... ]
 LD [M]  /home/peppe/Pacchetti/em8300-cgmeiner/modules/em8300.o
 Building modules, stage 2.
(Continue reading)

MonkeyGhost | 29 Oct 2010 21:02
Picon
Favicon

Problem kernel 2.6.36


Hi,

I get this compilation error when trying to compile with em8300-cgmeiner
repository under 2.6.36, 

  CC [M]  /usr/src/modules/em8300/em8300_ioctl32.o
/usr/src/modules/em8300/em8300_ioctl32.c: In function
‘em8300_do_ioctl32_init’:
/usr/src/modules/em8300/em8300_ioctl32.c:79: error: ‘const struct
file_operations’ has no member named ‘ioctl’
/usr/src/modules/em8300/em8300_ioctl32.c: In function ‘em8300_compat_ioctl’:
/usr/src/modules/em8300/em8300_ioctl32.c:97: error: ‘const struct
file_operations’ has no member named ‘ioctl’
make[5]: *** [/usr/src/modules/em8300/em8300_ioctl32.o] Error 1
make[4]: *** [_module_/usr/src/modules/em8300] Error 2

Thanks for the answers.

--

-- 
View this message in context: http://old.nabble.com/Problem-kernel-2.6.36-tp30088249p30088249.html
Sent from the dxr3-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
(Continue reading)

Arvid Johansson | 23 Oct 2010 15:08
Picon

Alsa support

Hello,


I'm trying to compile the em8300 module for 2.6.35 on ubuntu 10.10. Compilation works fine, but I can't load it because the ubuntu kernel don't have OSS support compiled in (specifically register_sound_dsp and unregister_sound_dsp in soundcore.ko). So my question is, can the module be compiled with alsa-support only?

It doesn't work to just load the module with audio_driver=alsa.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dxr3-devel
Ross Hamilton | 18 Jul 2010 04:20
Picon

0.18 source deb: em8300.h not found on lenny?

Hi,

I'm trying to build the current driver with module-assistant using
em8300-source_0.18.0-0prodeia2~lucid1_all.deb and friends from Roman's archive. System is stock
Debian lenny, with a minimum of extra packages pulled in from backports and testing to satisfy dependencies.

Here's the build output:

pixi:/usr/src# m-a -t a-b em8300
Extracting the package tarball, /usr/src/em8300.tar.bz2, please wait...
/usr/bin/make  -f debian/rules MODDIR=/lib/modules/2.6.26-2-686/build/.. clean-modules
make[1]: Entering directory `/usr/src/modules/em8300'
/usr/bin/make -w KERNEL_LOCATION=/lib/modules/2.6.26-2-686/build clean
make[2]: Entering directory `/usr/src/modules/em8300'
/usr/bin/make -C /lib/modules/2.6.26-2-686/build SUBDIRS=/usr/src/modules/em8300 clean
make[3]: Entering directory `/usr/src/linux-headers-2.6.26-2-686'
  CLEAN   /usr/src/modules/em8300/.tmp_versions
make[3]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
make[2]: Leaving directory `/usr/src/modules/em8300'
perl debian/scripts/dh_modulecontrol --module --clean
rm -rf /usr/src/modules/em8300/debian/em8300-modules-2.6.26-2-686
if [ -f stamp-debian ]; then rm -f `cat stamp-debian`; fi
rm -f stamp-debian
make[1]: Leaving directory `/usr/src/modules/em8300'
/usr/bin/make  -f debian/rules MODDIR=/lib/modules/2.6.26-2-686/build/.. binary-modules
make[1]: Entering directory `/usr/src/modules/em8300'
/usr/bin/make -w KERNEL_LOCATION=/lib/modules/2.6.26-2-686/build clean
make[2]: Entering directory `/usr/src/modules/em8300'
/usr/bin/make -C /lib/modules/2.6.26-2-686/build SUBDIRS=/usr/src/modules/em8300 clean
make[3]: Entering directory `/usr/src/linux-headers-2.6.26-2-686'
make[3]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
make[2]: Leaving directory `/usr/src/modules/em8300'
perl debian/scripts/dh_modulecontrol --module --clean
rm -rf /usr/src/modules/em8300/debian/em8300-modules-2.6.26-2-686
if [ -f stamp-debian ]; then rm -f `cat stamp-debian`; fi
rm -f stamp-debian
/usr/bin/make -w KERNEL_LOCATION=/lib/modules/2.6.26-2-686/build
make[2]: Entering directory `/usr/src/modules/em8300'
[ ! -x ./update_em8300_version.sh ] || ./update_em8300_version.sh em8300_version.h
/usr/bin/make -C /lib/modules/2.6.26-2-686/build SUBDIRS=/usr/src/modules/em8300 modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.26-2-686'
  CC [M]  /usr/src/modules/em8300/adv717x.o
/usr/src/modules/em8300/adv717x.c:50:26: error: linux/em8300.h: No such file or directory
/usr/src/modules/em8300/adv717x.c:65: error: ‘EM8300_MAX’ undeclared here (not in a function)
/usr/src/modules/em8300/adv717x.c:65: error: array index in initializer not of integer type
/usr/src/modules/em8300/adv717x.c:65: error: (near initialization for ‘pixelport_16bit’)
/usr/src/modules/em8300/adv717x.c:69: warning: type defaults to ‘int’ in declaration of ‘type name’
/usr/src/modules/em8300/adv717x.c:69: warning: type defaults to ‘int’ in declaration of ‘type name’
/usr/src/modules/em8300/adv717x.c:69: error: size of array ‘type name’ is negative
/usr/src/modules/em8300/adv717x.c:73: error: array index in initializer not of integer type
/usr/src/modules/em8300/adv717x.c:73: error: (near initialization for ‘pixelport_other_pal’)
/usr/src/modules/em8300/adv717x.c:77: warning: type defaults to ‘int’ in declaration of ‘type name’
/usr/src/modules/em8300/adv717x.c:77: warning: type defaults to ‘int’ in declaration of ‘type name’
/usr/src/modules/em8300/adv717x.c:77: error: size of array ‘type name’ is negative
/usr/src/modules/em8300/adv717x.c:81: error: array index in initializer not of integer type
/usr/src/modules/em8300/adv717x.c:81: error: (near initialization for ‘pixeldata_adjust_ntsc’)
/usr/src/modules/em8300/adv717x.c:85: warning: type defaults to ‘int’ in declaration of ‘type name’
/usr/src/modules/em8300/adv717x.c:85: warning: type defaults to ‘int’ in declaration of ‘type name’
/usr/src/modules/em8300/adv717x.c:85: error: size of array ‘type name’ is negative
/usr/src/modules/em8300/adv717x.c:89: error: array index in initializer not of integer type
/usr/src/modules/em8300/adv717x.c:89: error: (near initialization for ‘pixeldata_adjust_pal’)
/usr/src/modules/em8300/adv717x.c:93: warning: type defaults to ‘int’ in declaration of ‘type name’
/usr/src/modules/em8300/adv717x.c:93: warning: type defaults to ‘int’ in declaration of ‘type name’
/usr/src/modules/em8300/adv717x.c:93: error: size of array ‘type name’ is negative
/usr/src/modules/em8300/adv717x.c:97: error: array index in initializer not of integer type
/usr/src/modules/em8300/adv717x.c:97: error: (near initialization for ‘color_bars’)
/usr/src/modules/em8300/adv717x.c:101: warning: type defaults to ‘int’ in declaration of
‘type name’
/usr/src/modules/em8300/adv717x.c:101: warning: type defaults to ‘int’ in declaration of
‘type name’
/usr/src/modules/em8300/adv717x.c:101: error: size of array ‘type name’ is negative
/usr/src/modules/em8300/adv717x.c:132: error: array index in initializer not of integer type
/usr/src/modules/em8300/adv717x.c:132: error: (near initialization for ‘output_mode_nr’)
/usr/src/modules/em8300/adv717x.c:137: warning: type defaults to ‘int’ in declaration of
‘type name’
/usr/src/modules/em8300/adv717x.c:137: warning: type defaults to ‘int’ in declaration of
‘type name’
/usr/src/modules/em8300/adv717x.c:137: error: size of array ‘type name’ is negative
/usr/src/modules/em8300/adv717x.c: In function ‘adv7170_setup’:
/usr/src/modules/em8300/adv717x.c:686: error: dereferencing pointer to incomplete type
/usr/src/modules/em8300/adv717x.c: In function ‘adv7175a_setup’:
/usr/src/modules/em8300/adv717x.c:748: error: dereferencing pointer to incomplete type
make[4]: *** [/usr/src/modules/em8300/adv717x.o] Error 1
make[3]: *** [_module_/usr/src/modules/em8300] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/usr/src/modules/em8300'
make[1]: *** [build-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/em8300'
make: *** [kdist_image] Error 2
BUILD FAILED!
See /var/cache/modass/em8300-source.buildlog.2.6.26-2-686.1279246071 for details.
Build failed. Press Return to continue...

Note: /usr/include/linux/em8300.h exists and is the same version as /usr/src/modules/em8300/em8300.h

I'm clueless. Can anyone offer any guidance?
Thanks.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dxr3-devel
Thomas Orgis | 11 Jul 2010 17:57
Favicon

Trouble with OSS audio interface under ubuntu 10.04, especially dxr3player

Hi folks,

because of hardware breakage, I replaced my home-grown Linux system that used to play DVDs on the dxr3 card
using dxr3player quite nicely with an install of 32bit ubuntu 10.04 ... this at first meant that I need to
get around without dxr3player, which is not quite available for that system.
I think I came across a .deb I managed to install, but that binary only crashed.

Back to the sources, I've realized that the dxr3player 0.11 code is problematic with a current toolchain
(C++ code/compilers have that tendency:-/) ... well, I finally managed to build the CVS version and get it
working. In the meantime, I also switched to self-built em8300 driver modules from the 0.18 release, but
still using the stock ubuntu kernel (2.6.32-something).

Now, I'm having issues with the sound from the dxr3. I'm actually trying to use it as only sound output for the
machine (thinking about a/v sync when playing via dxr3) and already resorted to killing off pulseaudio as
that really interferes with happiness, a lot (with MPlayer, at least, which I use for other material than
DVDs). The basic trouble of dxr3player is now that when I start it after a normal system boot, it produces
wild static noise on the audio output. This app is using the OSS interface... so I tried to investigate what
other programs do with that, and also found funky effects in mpg123 -o oss (stuttering, but not static noise).

A workaround seems to be to reload the em8300 driver before starting dxr3player, or any other OSS app, for
that matter. I have the impression that client programs manage to mess up the OSS part of the em8300 driver
somehow, the reload fixing the state so that the next app can work. Well, one obvious way forward would have
been to simply tell users to switch to the ALSA interface all-around, which hopefully works better (I only
rememeber some stuttering in the startup desktop tune, but good operation overall, as long as you kick out
pulseaudio). But development of dxr3player is not that rapid (that one could suddenly expect a flawless
ALSA output option), and seeing how development of any sensible alternative for proper DVD playback
(namely mplayer's dvdnav://) is not getting in shape for many years now, it would be really nice if we could
fix up the current em8300 OSS part... dxr3player is the killer app for my dxr3, for sure.

Can people confirm my observation about OSS being troublesome, especially with dxr3player? How far is it
tested / on what kernels?

Alrighty then,

Thomas.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dxr3-devel
Jan Willies | 14 Jun 2010 22:08

em8300 fails to compile with 2.6.35-rc3

Hi,

I get this compilation error when trying to compile under 2.6.35-rc3:

make[1]: Entering directory `/usr/local/src/linux-2.6'
  CC [M]  /usr/local/src/em8300/modules/adv717x.o
  CC [M]  /usr/local/src/em8300/modules/bt865.o
  CC [M]  /usr/local/src/em8300/modules/em8300_main.o
  CC [M]  /usr/local/src/em8300/modules/em8300_i2c.o
In file included from /usr/local/src/em8300/modules/em8300_models.h:26,
                 from /usr/local/src/em8300/modules/em8300_i2c.c:45:
/usr/local/src/em8300/modules/em8300_driver.h:198: error: field 'audio_driver_style_lock' has incomplete type
make[2]: *** [/usr/local/src/em8300/modules/em8300_i2c.o] Error 1
make[1]: *** [_module_/usr/local/src/em8300/modules] Error 2
make[1]: Leaving directory `/usr/local/src/linux-2.6'
make: *** [build] Error 2



regards,

 - jan

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Dxr3-devel mailing list
Dxr3-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dxr3-devel

Gmane