Bug#783941: WARNING: at /linux-3.16.7-ckt9/drivers/media/v4l2-core/videobuf2-core.c:2123 __vb2_queue_cancel

2015-05-01 Thread Ludovic Rousseau
Package: src:linux
Version: 3.16.7-ckt9-3~deb8u1
Severity: important

Hello,

When I use my webcam I get a kernel backtrace when the program exits.

My webcam is a USB Philips:
Bus 001 Device 002: ID 0471:0311 Philips (or NXP) PCVC740K ToUcam Pro [pwc]

I can reproduce the problem using different v4l programs. I tested with:
- vgrabbj (I am the DD of this package)
- vlc
- fswebcam


I get the problem each time. So it is easy for me to reproduce it.

I did not have the problem with the kernel 3.2 from wheezy.

Thanks

-- Package-specific info:
** Version:
Linux version 3.16.0-4-686-pae (debian-kernel@lists.debian.org) (gcc version 
4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24)

** Command line:
BOOT_IMAGE=/vmlinuz-3.16.0-4-686-pae root=/dev/mapper/linutop-root ro quiet

** Tainted: W (512)
 * Taint on warning.

** Kernel log:
[  372.512191]  f4d1ded4 c1056c32 0009  f4d1deec f8245515 eabf5930 
f2dc02e0
[  372.512223] Call Trace:
[  372.512251]  [c1476d98] ? dump_stack+0x3e/0x4e
[  372.512266]  [c1056b74] ? warn_slowpath_common+0x84/0xa0
[  372.512288]  [f8245515] ? __vb2_queue_cancel+0xf5/0x150 [videobuf2_core]
[  372.512315]  [f8245515] ? __vb2_queue_cancel+0xf5/0x150 [videobuf2_core]
[  372.512329]  [c1056c32] ? warn_slowpath_null+0x22/0x30
[  372.512348]  [f8245515] ? __vb2_queue_cancel+0xf5/0x150 [videobuf2_core]
[  372.512372]  [f8246add] ? vb2_internal_streamoff+0x3d/0xd0 [videobuf2_core]
[  372.512385]  [c1140b57] ? unmap_region+0x97/0xc0
[  372.512404]  [f8248843] ? __vb2_cleanup_fileio+0x23/0x80 [videobuf2_core]
[  372.512427]  [f82488b0] ? vb2_queue_release+0x10/0x30 [videobuf2_core]
[  372.512446]  [f824891e] ? _vb2_fop_release+0x4e/0x90 [videobuf2_core]
[  372.512472]  [f82da440] ? v4l2_release+0x30/0x70 [videodev]
[  372.512485]  [c116d7d4] ? __fput+0xc4/0x1b0
[  372.512504]  [c1070a29] ? task_work_run+0x79/0xb0
[  372.512517]  [c100f5ab] ? do_notify_resume+0x5b/0x90
[  372.512536]  [c147bea5] ? work_notifysig+0x30/0x37
[  372.512545] ---[ end trace e7fa5fa3376b46ad ]---
[  669.903990] [ cut here ]
[  669.904022] WARNING: CPU: 0 PID: 6977 at 
/build/linux-lXEQ5h/linux-3.16.7-ckt9/drivers/media/v4l2-core/videobuf2-core.c:2123
 __vb2_queue_cancel+0xf5/0x150 [videobuf2_core]()
[  669.904112] Modules linked in: ipt_REJECT ipt_MASQUERADE iptable_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_multiport 
iptable_filter ip_tables x_tables cpufreq_stats cpufreq_powersave 
cpufreq_userspace cpufreq_conservative cfg80211 rfkill binfmt_misc tun nfsd 
auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc ftdi_sio usbserial 
snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device pwc hid_generic 
videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev iTCO_wdt 
media usbhid hid iTCO_vendor_support evdev i915 coretemp snd_hda_codec_realtek 
snd_hda_codec_generic lpc_ich video mfd_core snd_hda_intel snd_hda_controller 
pcspkr psmouse serio_raw snd_hda_codec snd_hwdep snd_pcm_oss drm_kms_helper 
snd_mixer_oss i2c_i801 snd_pcm snd_timer snd soundcore
[  669.904243]  drm rng_core shpchp button i2c_algo_bit i2c_core acpi_cpufreq 
processor thermal_sys loop it87 hwmon_vid fuse parport_pc ppdev lp parport 
autofs4 ext4 crc16 mbcache jbd2 dm_mod sg sd_mod crc_t10dif crct10dif_generic 
crct10dif_common ata_generic ata_piix libata scsi_mod ehci_pci r8169 uhci_hcd 
mii ehci_hcd usbcore usb_common
[  669.904328] CPU: 0 PID: 6977 Comm: vgrabbj Tainted: GW 
3.16.0-4-686-pae #1 Debian 3.16.7-ckt9-3~deb8u1
[  669.904335] Hardware name: First International Computer, Inc. 
PNI945WI/PNI945WI, BIOS 080014  03/04/2011
[  669.904341]  f824a498 f4fbbec4 c1476d98  c1056b74 c154fedc  
1b41
[  669.904357]  f824a498 084b f8245515 f8245515 0009 f2dc02e0 eaa17c00 
f2dc02e0
[  669.904372]  f4fbbed4 c1056c32 0009  f4fbbeec f8245515 f3788e70 
f2dc02e0
[  669.904388] Call Trace:
[  669.904415]  [c1476d98] ? dump_stack+0x3e/0x4e
[  669.904429]  [c1056b74] ? warn_slowpath_common+0x84/0xa0
[  669.904448]  [f8245515] ? __vb2_queue_cancel+0xf5/0x150 [videobuf2_core]
[  669.904463]  [f8245515] ? __vb2_queue_cancel+0xf5/0x150 [videobuf2_core]
[  669.904474]  [c1056c32] ? warn_slowpath_null+0x22/0x30
[  669.904489]  [f8245515] ? __vb2_queue_cancel+0xf5/0x150 [videobuf2_core]
[  669.904504]  [f8246add] ? vb2_internal_streamoff+0x3d/0xd0 [videobuf2_core]
[  669.904515]  [c1140b57] ? unmap_region+0x97/0xc0
[  669.904531]  [f8248843] ? __vb2_cleanup_fileio+0x23/0x80 [videobuf2_core]
[  669.904547]  [f82488b0] ? vb2_queue_release+0x10/0x30 [videobuf2_core]
[  669.904564]  [f824891e] ? _vb2_fop_release+0x4e/0x90 [videobuf2_core]
[  669.904590]  [f82da440] ? v4l2_release+0x30/0x70 [videodev]
[  669.904637]  [c116d7d4] ? __fput+0xc4/0x1b0
[  669.904649]  [c1070a29] ? task_work_run+0x79/0xb0
[  669.904661]  [c100f5ab] ? do_notify_resume+0x5b/0x90
[  669.904672]  [c147bea5] ? work_notifysig+0x30/0x37

Bug#628947: W: Possible missing firmware /lib/firmware/usbfs_snoop:true for module, usbcore

2011-06-02 Thread Ludovic Rousseau
 10770  0
cdrom  26487  1 sr_mod
ata_generic 2067  0
ata_piix   17704  0
ohci_hcd   16883  0
ahci   27378  2
ehci_hcd   28453  0
thermal 9206  0
virtio_net  8554  0
libata115513  3 ata_generic,ata_piix,ahci
thermal_sys 9378  1 thermal
usbcore98541  4 usbhid,ohci_hcd,ehci_hcd
nls_base4541  7 hfsplus,hfs,ntfs,vfat,fat,jfs,usbcore
virtio_pci  4319  0
scsi_mod  104613  4 sg,sd_mod,sr_mod,libata

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
busybox
dmsetup
keymap
klibc
thermal
udev


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio  2.11-7 GNU cpio -- a program to 
manage ar
ii  findutils 4.4.2-1+b1 utilities for finding 
files--find,
ii  klibc-utils   1.5.22-1   small utilities built with 
klibc f
ii  module-init-tools 3.13-1 tools for managing Linux 
kernel mo
ii  udev  170-1  /dev/ and hotplug 
management daemo


Versions of packages initramfs-tools recommends:
ii  busybox   1:1.18.4-2 Tiny utilities for small 
and embed


Versions of packages initramfs-tools suggests:
ii  bash-completion   1:1.3-1programmable completion for 
the ba


-- no debconf information

--
 Dr. Ludovic Rousseau



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4de7940f.7060...@free.fr



Bug#628947: Acknowledgement (W: Possible missing firmware /lib/firmware/usbfs_snoop:true for module, usbcore)

2011-06-02 Thread Ludovic Rousseau

During an upgrade I also get a strange Debconf question.
Sorry, it is in French.


Outil de configuration des paquets 




 ┌───┤ Configuration de linux-image-2.6.39-1-486 
├───┐
 │ 
  │
 │ Microprogrammes (« firmwares ») probablement manquants 

 │ 

 │ Ce système utilise actuellement Linux 2.6.32-5-686, et Linux 

 │ 2.6.39-1-486 va être installé. Dans la nouvelle version, certains 

 │ pilotes utilisés par ce système peuvent avoir besoin des 
microprogrammes
 │ additionnels : 

 │ 

 │ fuse: max_user_bgreq:Global limit for the maximum number of 
backgrounded
 │ requests an unprivileged user can set (uint), 
max_user_congthresh:Global
 │ limit for the maximum congestion threshold an unprivileged user can 
set
 │ (uint) 

 │ jfs: nTxBlock:Number of transaction blocks (max:65536) (int), 

 │ nTxLock:Number of transaction locks (max:65536) (int), 

 │ commit_threads:Number of commit threads (int) 

 │ nfs: callback_tcpport: (portnr), cache_getent:Path to the client 
cache
 │ upcall program (string), cache_getent_timeout:Timeout (in seconds) 
after
 │ which the cache upcall is assumed to have failed (ulong), 
enable_ino64:
 │ (bool), nfs4_disable_idmapping:Turn off NFSv4 idmapping when using 

 │ 'sec=sys' (bool) 

 │ lockd: nsm_use_hostnames: (bool), nlm_max_connections: (uint) 

 │ fscache: defer_lookup: (uint), fscache_defer_lookup:Defer cookie 
lookup
 │ to background thread, defer_create: (uint), 
fscache_defer_create:Defer
 │ cookie creation to background thread, debug: (uint), 

 │ fscache_debug:FS-Cache debugging mask 

 │ auth_rpcgss: expired_cred_retry_delay:Timeout (in seconds) until the 
RPC
 │ engine retries an expired credential (uint) 

 │ sunrpc: auth_hashtable_size:RPC credential cache hashtable size 

 │ (hashtbl_sz), min_resvport: (portnr), max_resvport: (portnr), 

 │ tcp_slot_table_entries: (slot_table_size), udp_slot_table_entries: 

 │ (slot_table_size) 

 │ loop: max_loop:Maximum number of loop devices (int), 
max_part:Maximum
 │ number of partitions per loop device (int) 

 │ snd_intel8x0: index:Index value for Intel i8x0 soundcard. (int), 
id:ID
 │ string for Intel i8x0 soundcard. (charp), ac97_clock:AC'97 codec 
clock
 │ (0 = whitelist + auto-detect, 1 = force autodetect). (int), 

 │ ac97_quirk:AC'97 workaround for strange hardware. (charp), 

 │ buggy_semaphore:Enable workaround for hardwares with problematic 
codec
 │ semaphores. (bool), buggy_irq:Enable workaround for buggy interrupts 
on
 │ some motherboards. (bool), xbox:Set to 1 for Xbox, if you have 
problems
 │ with the AC'97 codec detection. (bool), spdif_aclink:S/PDIF over 

 │ AC-link. (int), enable: (bool), joystick: (int) 

 │ snd_ac97_codec: enable_loopback:Enable AC97 ADC/DAC Loopback Control 

 │ (bool), power_save:Automatic power-saving timeout (in second, 0 = 

 │ disable). (int) 

 │ snd_pcm: preallocate_dma:Preallocate DMA memory when the PCM devices 
are
 │ initialized. (int), maximum_substreams:Maximum substreams with 

 │ preallocated DMA memory. (int) 

 │ snd_timer: timer_limit:Maximum global timers in system. (int), 

 │ timer_tstamp_monotonic:Use posix monotonic clock source for 
timestamps
 │ (default). (int) 

 │ snd: slots:Module names assigned to the slots. (array of charp), 

 │ major:Major # for sound driver. (int), cards_limit:Count of 

 │ auto-loadable soundcards. (int) 

 │ i2c_piix4: force:Forcibly enable the PIIX4. DANGEROUS! (int), 

 │ force_addr:Forcibly enable the PIIX4 at the given address. EXTREMELY 

 │ DANGEROUS! (int) 

 │ soundcore: preclaim_oss: (int) 

 │ parport_pc: io:Base I/O address (SPP regs) (array of int), 
io_hi:Base
 │ I/O address (ECR) (array of int), irq:IRQ line (array of charp), 
dma:DMA
 │ channel (array of charp), init_mode:Initialise mode for VIA VT8231 
port
 │ (spp, ps2, epp, ecp or ecpepp) (charp) 

 │ psmouse: tpdebug:enable debugging, dumping packets to KERN_DEBUG. 

 │ (bool), recalib_delta:packets containing a delta this large will be 

 │ discarded, and a recalibration may be scheduled. (int), 

 │ jumpy_delay:delay (ms) before recal after jumpiness detected (int), 

 │ spew_delay:delay (ms) before recal after packet spew detected (int), 

 │ recal_guard_time:interval (ms) during which recal will be restarted 
if
 │ packet received (int), post_interrupt_delay:delay (ms) before recal 

 │ after recal interrupt detected (int), autorecal:enable recalibration 
in
 │ the driver (bool), hgpk_mode:default hgpk mode: mouse, glidesensor 
or
 │ 

 │  Ok 

 │ 
  │


└───┘ 






--
 Dr. Ludovic Rousseau



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4de795b1.3020...@free.fr



Bug#404415: linux-source-2.6.18: Add support of applesmc module for Apple MacBook computers

2006-12-24 Thread Ludovic Rousseau
Package: linux-source-2.6.18
Severity: wishlist
Tags: patch

Hello,

I have an Apple MacBook Pro and the applesmc kernel module is needed for
mbpeventd to be able to set keyboard backlight (see bug #404324).

A patch for applesmc is maintained in the mactel SVN repository at
http://svn.sourceforge.net/viewvc/mactel-linux/trunk/kernel/mactel-patches-2.6.18/applesmc.patch?view=log

I also include the patch here.

The patch should be included in vanilla Linux at some time but maybe not
before 2.6.20. It would be nice if the Debian kernel for Etch has
support for Apple MacBook Pro computers.

Thanks

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
diff -pruN linux/drivers/hwmon.vanilla/Kconfig linux/drivers/hwmon/Kconfig
--- linux/drivers/hwmon.vanilla/Kconfig 2006-10-14 13:07:48.0 +0800
+++ linux/drivers/hwmon/Kconfig 2006-10-14 13:08:22.0 +0800
@@ -507,6 +507,26 @@ config SENSORS_HDAPS
  Say Y here if you have an applicable laptop and want to experience
  the awesome power of hdaps.
 
+config SENSORS_APPLESMC
+   tristate Apple SMC (Motion sensor, light sensor, keyboard backlight)
+   depends on HWMON  INPUT  X86
+   default n
+   help
+ This driver provides support for the Apple System Management
+ Controller, which provides an accelerometer (Apple Sudden Motion
+ Sensor), light sensors, and keyboard backlight control.
+
+ Only Intel-based Apple's laptops are supported (MacBook Pro, MacBook).
+
+ The accelerometer and light sensors data is readable via sysfs, and
+ the keyboard backlight is writable.
+
+ This driver also provides an absolute input class device, allowing
+ the laptop to act as a pinball machine-esque joystick.
+
+ Say Y here if you have an applicable laptop and want to experience
+ the awesome power of applesmc.
+
 config HWMON_DEBUG_CHIP
bool Hardware Monitoring Chip debugging messages
depends on HWMON
diff -pruN linux/drivers/hwmon.vanilla/Makefile linux/drivers/hwmon/Makefile
--- linux/drivers/hwmon.vanilla/Makefile2006-10-14 13:07:48.0 
+0800
+++ linux/drivers/hwmon/Makefile2006-10-14 13:08:22.0 +0800
@@ -18,6 +18,7 @@ obj-$(CONFIG_SENSORS_ADM1025) += adm1025
 obj-$(CONFIG_SENSORS_ADM1026)  += adm1026.o
 obj-$(CONFIG_SENSORS_ADM1031)  += adm1031.o
 obj-$(CONFIG_SENSORS_ADM9240)  += adm9240.o
+obj-$(CONFIG_SENSORS_APPLESMC) += applesmc.o
 obj-$(CONFIG_SENSORS_ATXP1)+= atxp1.o
 obj-$(CONFIG_SENSORS_DS1621)   += ds1621.o
 obj-$(CONFIG_SENSORS_F71805F)  += f71805f.o
diff -pruN linux/drivers/hwmon.vanilla/applesmc.c linux/drivers/hwmon/applesmc.c
--- linux/drivers/hwmon.vanilla/applesmc.c  1970-01-01 07:30:00.0 
+0730
+++ linux/drivers/hwmon/applesmc.c  2006-11-04 22:36:08.0 +0800
@@ -0,0 +1,913 @@
+/*
+ * drivers/hwmon/applesmc.c - driver for Apple's SMC (various sensors,
+ * fan control)
+ *
+ * Copyright (C) 2006 Nicolas Boichat [EMAIL PROTECTED]
+ *
+ * Based on hdaps.c driver:
+ * Copyright (C) 2005 Robert Love [EMAIL PROTECTED]
+ * Copyright (C) 2005 Jesper Juhl [EMAIL PROTECTED]
+ *
+ * Fan control based on smcFanControl:
+ * Copyright (C) 2006 Hendrik Holtmann [EMAIL PROTECTED]
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License v2 as published by the
+ * Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
+ */
+
+#include linux/delay.h
+#include linux/platform_device.h
+#include linux/input.h
+#include linux/kernel.h
+#include linux/module.h
+#include linux/timer.h
+#include linux/dmi.h
+#include asm/io.h
+#include linux/leds.h
+
+/* data port used by apple SMC */
+#define APPLESMC_DATA_PORT 0x300
+/* command/status port used by apple SMC */
+#define APPLESMC_CMD_PORT  0x304
+
+#define APPLESMC_NR_PORTS  5 /* 0x300-0x304 */
+
+#define APPLESMC_STATUS_MASK   0x0f
+#define APPLESMC_READ_CMD  0x10
+#define APPLESMC_WRITE_CMD 0x11
+
+#define LIGHT_SENSOR_LEFT_KEY  ALV0 //r-o length 6
+#define LIGHT_SENSOR_RIGHT_KEY ALV1 //r-o length 6
+#define BACKLIGHT_KEY  LKSB //w-o
+
+#define CLAMSHELL_KEY  MSLD //r-o length 1 (unused)
+
+#define MOTION_SENSOR_X_KEYMO_X //r-o length 2
+#define 

Bug#404417: linux-source-2.6.18: Add support of appleir module for Apple MacBook computers

2006-12-24 Thread Ludovic Rousseau
Package: linux-source-2.6.18
Severity: wishlist
Tags: patch

Hello,

I have an Apple MacBook Pro and the appleir kernel module is needed for
controling rhythmbox with the IR remote (for example).

A patch for appleir is maintained in the mactel SVN repository at
http://svn.sourceforge.net/viewvc/mactel-linux/trunk/kernel/mactel-patches-2.6.18/ir.patch?view=log

I also include the patch here.

The patch should be included in vanilla Linux at some time but maybe not
before 2.6.20. It would be nice if the Debian kernel for Etch has
support for Apple MacBook Pro and non Pro computers.

Thanks


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
--- linux-2.6.16.1/drivers/usb/input/Makefile   2006-03-28 07:49:02.0 
+0100
+++ linux-2.6.16.1-imac-sky2-rtc/drivers/usb/input/Makefile 2006-05-22 
13:14:40.0 +0100
@@ -32,6 +32,7 @@
 obj-$(CONFIG_USB_HID)  += usbhid.o
 obj-$(CONFIG_USB_KBD)  += usbkbd.o
 obj-$(CONFIG_USB_KBTAB)+= kbtab.o
+obj-$(CONFIG_USB_APPLEIR)  += appleir.o
 obj-$(CONFIG_USB_KEYSPAN_REMOTE)   += keyspan_remote.o
 obj-$(CONFIG_USB_MOUSE)+= usbmouse.o
 obj-$(CONFIG_USB_MTOUCH)   += mtouchusb.o
--- linux-2.6.16.1/drivers/usb/input/Kconfig2006-03-28 07:49:02.0 
+0100
+++ linux-2.6.16.1-imac-sky2-rtc/drivers/usb/input/Kconfig  2006-05-22 
13:15:16.0 +0100
@@ -173,6 +173,10 @@
  To compile this driver as a module, choose M here: the
  module will be called acecad.
 
+config USB_APPLEIR
+   tristate Apple Mac Mini USB IR receiver (built in)
+   depends on USB  INPUT
+   
 config USB_KBTAB
tristate KB Gear JamStudio tablet support
depends on USB  INPUT
--- linux-2.6.16.1/drivers/usb/input/appleir.c  1970-01-01 01:00:00.0 
+0100
+++ linux-2.6.16.1-imac-sky2-rtc/drivers/usb/input/appleir.c2006-05-29 
09:47:40.0 +0100
@@ -0,0 +1,390 @@
+#include linux/kernel.h
+#include linux/slab.h
+#include linux/input.h
+#include linux/module.h
+#include linux/init.h
+#include linux/usb.h
+#include linux/usb/input.h
+#include asm/unaligned.h
+#include asm/byteorder.h
+
+/*
+ * Version Information
+ *
+ */
+
+#if 0
+#define DUMP_PACKETS
+#else
+#undef DUMP_PACKETS
+#endif
+
+#define DRIVER_VERSION v1.1
+#define DRIVER_AUTHOR James McKenzie
+#define DRIVER_DESC USB Apple MacMini IR Receiver driver
+#define DRIVER_LICENSE GPL
+
+MODULE_AUTHOR (DRIVER_AUTHOR);
+MODULE_DESCRIPTION (DRIVER_DESC);
+MODULE_LICENSE (DRIVER_LICENSE);
+
+#ifndef USB_VENDOR_ID_APPLE
+#define USB_VENDOR_ID_APPLE0x05ac
+#endif
+#ifndef USB_DEVICE_ID_APPLE_IR
+#define USB_DEVICE_ID_APPLE_IR  0x8240
+#endif
+
+#define URB_SIZE 32
+
+#define MAX_KEYS 8
+#define MAX_KEYS_MASK (MAX_KEYS - 1 )
+
+struct appleir
+{
+  struct input_dev *dev;
+  uint8_t *data;
+  dma_addr_t dma_buf;
+  struct usb_device *usbdev;
+  struct urb *urb;
+  int timer_initted;
+  struct timer_list key_up_timer;
+  int current_key;
+  char phys[32];
+};
+
+
+static struct usb_device_id appleir_ids[] = {
+  {USB_DEVICE (USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_IR),.driver_info = 0},
+  {}
+};
+
+MODULE_DEVICE_TABLE (usb, appleir_ids);
+
+
+/* I have two devices both of which report the following */
+/* 25 87 ee 83 0a  +  */
+/* 25 87 ee 83 0c  -  */
+/* 25 87 ee 83 09   */
+/* 25 87 ee 83 06   */
+/* 25 87 ee 83 05   */
+/* 25 87 ee 83 03  menu */
+/* 26 00 00 00 00  for key repeat*/
+
+/* Thomas Glanzmann reports the following responses */
+/* 25 87 ee ca 0b  +  */
+/* 25 87 ee ca 0d  -  */
+/* 25 87 ee ca 08   */
+/* 25 87 ee ca 07   */
+/* 25 87 ee ca 04   */
+/* 25 87 ee ca 02  menu */
+/* 26 00 00 00 00   for key repeat*/
+/* He also observes the following event sometimes */
+/* sent after a key is release, which I interpret */
+/* as a flat battery message */
+/* 25 87 e0 ca 06  flat battery */
+
+
+static int keymap[MAX_KEYS] = {
+  KEY_RESERVED, KEY_MENU,
+  KEY_PLAYPAUSE, KEY_NEXTSONG,
+  KEY_PREVIOUSSONG, KEY_VOLUMEUP,
+  KEY_VOLUMEDOWN, KEY_RESERVED
+};
+
+static void
+dump_packet (struct appleir *appleir, char *msg, uint8_t * data, int len)
+{
+  int i;
+
+  printk (KERN_ERR appleir: %s (%d bytes), msg, len);
+
+  for (i = 0; i  len; ++i)
+{
+  printk ( %02x, data[i]);
+}
+
+  printk (\n);
+}
+
+
+static void
+key_up (struct appleir *appleir, int key)
+{
+  //printk (KERN_ERR key %d up\n, key);
+  input_report_key (appleir-dev, key, 0);
+  input_sync (appleir-dev);
+}
+
+static void
+key_down (struct appleir *appleir, int key)
+{
+  //printk (KERN_ERR key %d down\n, key);
+  input_report_key (appleir-dev, key, 1);
+  input_sync (appleir-dev);
+}
+
+static void
+battery_flat (struct appleir 

Bug#404415: system supported by applesmc

2006-12-24 Thread Ludovic Rousseau
according to http://www.mactel-linux.org/wiki/Kernel_Patches

 applesmc.patch

* for which system: MacBook, MacBook Pro
* what does it: This patch provides support for the Apple System
  Management Controller, which provides the Sudden Motion Sensor,
  the light sensors and the keyboard backlight control via sysfs. 

-- 
 Dr. Ludovic Rousseau[EMAIL PROTECTED]
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#404417: linux-source-2.6.18: Add support of appleir module for Apple MacBook computers

2006-12-24 Thread Ludovic Rousseau
Le 24.12.2006, à 17:35:25, Ludovic Rousseau a écrit:
 I have an Apple MacBook Pro and the appleir kernel module is needed for
 controling rhythmbox with the IR remote (for example).

From http://www.mactel-linux.org/wiki/Kernel_Patches

 ir.patch

* for which system: Mini (iMac 17, iMac 20, MacBook, MacBook Pro)
* what does it: This patch adds support for the built in USB IR
  receiver (is this really only for the Mini?) 

So the support of IR is not only for MacBook (laptops) but for _all_ the
Apple Intel computers.

-- 
 Dr. Ludovic Rousseau[EMAIL PROTECTED]
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --



Bug#358814: linux-image-2.6.16-1-686: yaird error: bad value in /boot/config-2.6.16-1-686: CONFIG_PAGE_OFFSET=0xB0000000 (fatal)

2006-03-24 Thread Ludovic Rousseau
Package: linux-image-2.6.16-1-686
Version: 2.6.16-2
Severity: important
Tags: patch

$ sudo apt-get install linux-image-2.6.16-1-686
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Paquets suggérés :
  linux-doc-2.6.16 linux-source-2.6.16
Les NOUVEAUX paquets suivants seront installés :
  linux-image-2.6.16-1-686
0 mis à jour, 1 nouvellement installés, 0 à enlever et 18 non mis à jour.
Il est nécessaire de prendre 15,7Mo dans les archives.
Après dépaquetage, 46,8Mo d'espace disque supplémentaires seront utilisés.
Réception de : 1 http://ftp.fr.debian.org unstable/main 
linux-image-2.6.16-1-686 2.6.16-2 [15,7MB]
15,7Mo réceptionnés en 26s (585ko/s)   
Préconfiguration des paquets...
Sélection du paquet linux-image-2.6.16-1-686 précédemment désélectionné.
(Lecture de la base de données... 144190 fichiers et répertoires déjà 
installés.)
Dépaquetage de linux-image-2.6.16-1-686 (à partir de 
.../linux-image-2.6.16-1-686_2.6.16-2_i386.deb) ...
Done.
Paramétrage de linux-image-2.6.16-1-686 (2.6.16-2) ...

 Hmm. The package shipped with a symbolic link /lib/modules/2.6.16-1-686/source
 However, I can not read it: Aucun fichier ou répertoire de ce type
 Therefore, I am deleting /lib/modules/2.6.16-1-686/source

Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
yaird error: bad value in /boot/config-2.6.16-1-686: 
CONFIG_PAGE_OFFSET=0xB000 (fatal)
mkinitrd.yaird failed to create initrd image.
Failed to create initrd image.
dpkg : erreur de traitement de linux-image-2.6.16-1-686 (--configure) :
 le sous-processus post-installation script a retourné une erreur de sortie 
d'état 9
Des erreurs ont été rencontrées pendant l'exécution :
 linux-image-2.6.16-1-686
E: Sub-process /usr/bin/dpkg returned an error code (1)



I upgraded yaird from 0.0.12-3 to 0.0.12-8 and the problem was solved.

Proposed patch:
I suggest you explicitly use the yaird version
Depends: yaird (= 0.0.12-8) in the debian/control file

0.0.12-8 may not be the minimum version of yaird. But that version
worked for me.

Thanks,

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

Versions of packages linux-image-2.6.16-1-686 depends on:
ii  module-init-tools 3.2.2-2tools for managing Linux kernel mo
ii  yaird [linux-initramfs-tool]  0.0.12-8   Yet Another mkInitRD

Versions of packages linux-image-2.6.16-1-686 recommends:
ii  libc6-i6862.3.6-3GNU C Library: Shared libraries [i

-- debconf information:
  linux-image-2.6.16-1-686/preinst/initrd-2.6.16-1-686:
  linux-image-2.6.16-1-686/postinst/old-system-map-link-2.6.16-1-686: true
  linux-image-2.6.16-1-686/preinst/already-running-this-2.6.16-1-686:
  linux-image-2.6.16-1-686/preinst/overwriting-modules-2.6.16-1-686: true
  linux-image-2.6.16-1-686/postinst/old-initrd-link-2.6.16-1-686: true
  linux-image-2.6.16-1-686/preinst/abort-overwrite-2.6.16-1-686:
  linux-image-2.6.16-1-686/preinst/elilo-initrd-2.6.16-1-686: true
  linux-image-2.6.16-1-686/prerm/would-invalidate-boot-loader-2.6.16-1-686: true
  linux-image-2.6.16-1-686/postinst/bootloader-error-2.6.16-1-686:
  linux-image-2.6.16-1-686/postinst/create-kimage-link-2.6.16-1-686: true
  linux-image-2.6.16-1-686/preinst/lilo-has-ramdisk:
  linux-image-2.6.16-1-686/prerm/removing-running-kernel-2.6.16-1-686: true
  linux-image-2.6.16-1-686/postinst/old-dir-initrd-link-2.6.16-1-686: true
  linux-image-2.6.16-1-686/postinst/depmod-error-initrd-2.6.16-1-686: false
  linux-image-2.6.16-1-686/preinst/lilo-initrd-2.6.16-1-686: true
  linux-image-2.6.16-1-686/postinst/kimage-is-a-directory:
  linux-image-2.6.16-1-686/preinst/bootloader-initrd-2.6.16-1-686: true
  linux-image-2.6.16-1-686/postinst/depmod-error-2.6.16-1-686: false
  linux-image-2.6.16-1-686/preinst/failed-to-move-modules-2.6.16-1-686:
  linux-image-2.6.16-1-686/preinst/abort-install-2.6.16-1-686:
  linux-image-2.6.16-1-686/postinst/bootloader-test-error-2.6.16-1-686:



Bug#356946: linux-image-2.6.15-1-686: the power off button does not work anymore

2006-03-14 Thread Ludovic Rousseau
Package: linux-image-2.6.15-1-686
Version: 2.6.15-8
Severity: normal

Hello,

I can't use the power off button of my laptop to start the power off
sequence. I recompiled a vanilla kernel linux-2.6.15.6 (from kernel.org)
and the button works (without changing anything in user space) so the
bug seems to be Debian specific.

The button kernel module is loaded and the files are created in
/proc/acpi
$ find /proc/acpi/button/
/proc/acpi/button/
/proc/acpi/button/lid
/proc/acpi/button/lid/LID
/proc/acpi/button/lid/LID/state
/proc/acpi/button/lid/LID/info
/proc/acpi/button/sleep
/proc/acpi/button/power
/proc/acpi/button/power/PWBN
/proc/acpi/button/power/PWBN/info
/proc/acpi/button/power/PWRF
/proc/acpi/button/power/PWRF/info

but pressing the button has no effect.

$ cat /proc/acpi/button/power/PWBN/info
type:Power Button (CM)
$  cat /proc/acpi/button/power/PWRF/info
type:Power Button (FF)

I just tried with linux-image-2.6.14-2-686 (2.6.14-6bpo1 from
backports.org) and the power off button works. The button also worked
with previous official Debian kernels. I don't know exactly when it
stopped working.

I am using etch.

What can I do to help the debug?

Thanks

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

Versions of packages linux-image-2.6.15-1-686 depends on:
ii  module-init-tools 3.2.2-2tools for managing Linux kernel mo
ii  yaird [linux-initramfs-tool]  0.0.12-3   Yet Another mkInitRD

Versions of packages linux-image-2.6.15-1-686 recommends:
ii  libc6-i6862.3.5-13   GNU C Library: Shared libraries [i

-- debconf information:
  linux-image-2.6.15-1-686/postinst/kimage-is-a-directory:
* linux-image-2.6.15-1-686/preinst/overwriting-modules-2.6.15-1-686: false
  linux-image-2.6.15-1-686/postinst/depmod-error-initrd-2.6.15-1-686: false
  linux-image-2.6.15-1-686/postinst/bootloader-error-2.6.15-1-686:
  linux-image-2.6.15-1-686/postinst/bootloader-test-error-2.6.15-1-686:
  linux-image-2.6.15-1-686/preinst/lilo-has-ramdisk:
  linux-image-2.6.15-1-686/preinst/failed-to-move-modules-2.6.15-1-686:
  linux-image-2.6.15-1-686/postinst/old-system-map-link-2.6.15-1-686: true
  linux-image-2.6.15-1-686/preinst/abort-install-2.6.15-1-686:
  linux-image-2.6.15-1-686/preinst/abort-overwrite-2.6.15-1-686:
  linux-image-2.6.15-1-686/preinst/bootloader-initrd-2.6.15-1-686: true
  linux-image-2.6.15-1-686/prerm/would-invalidate-boot-loader-2.6.15-1-686: true
  linux-image-2.6.15-1-686/preinst/lilo-initrd-2.6.15-1-686: true
  linux-image-2.6.15-1-686/postinst/old-initrd-link-2.6.15-1-686: true
  linux-image-2.6.15-1-686/postinst/old-dir-initrd-link-2.6.15-1-686: true
* linux-image-2.6.15-1-686/preinst/already-running-this-2.6.15-1-686:
  linux-image-2.6.15-1-686/preinst/initrd-2.6.15-1-686:
  linux-image-2.6.15-1-686/postinst/depmod-error-2.6.15-1-686: false
  linux-image-2.6.15-1-686/postinst/create-kimage-link-2.6.15-1-686: true
  linux-image-2.6.15-1-686/prerm/removing-running-kernel-2.6.15-1-686: true
  linux-image-2.6.15-1-686/preinst/elilo-initrd-2.6.15-1-686: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#346281: linux-image-2.6.15-1-686: debconf question about /lib/modules/2.6.15-1-686 even if no kernel is installed

2006-01-06 Thread Ludovic Rousseau
Package: linux-image-2.6.15-1-686
Version: 2.6.15-1
Severity: normal

I installed linux-headers-2.6.15-1-686 and then linux-image-2.6.15-1-686
and I get the debconf question about You are attempting to install a
kernel image (version 2.6.15-1-686). However, the directory
/lib/modules/2.6.15-1-686 still exists.

The directory /lib/modules/2.6.15-1-686 exists but only contains
(because linux-headers-2.6.15-1-686 is already installed):
$ ls -al /lib/modules/2.6.15-1-686
total 8
drwxr-xr-x   2 root root 4096 2006-01-06 19:04 .
drwxr-xr-x  14 root root 4096 2006-01-06 19:04 ..
lrwxrwxrwx   1 root root   35 2006-01-06 19:04 build - 
/usr/src/linux-headers-2.6.15-1-686

Maybe the test could be improved to display the debconf question only if
/lib/modules/2.6.15-1-686/kernel/ exists or, alternatively, if
/lib/modules/2.6.15-1-686/build is _not_ the only file in
/lib/modules/2.6.15-1-686/

Thanks,

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

-- debconf information:
  linux-image-2.6.15-1-686/postinst/kimage-is-a-directory:
  linux-image-2.6.15-1-686/preinst/overwriting-modules-2.6.15-1-686: true
  linux-image-2.6.15-1-686/postinst/depmod-error-initrd-2.6.15-1-686: false
  linux-image-2.6.15-1-686/postinst/bootloader-error-2.6.15-1-686:
  linux-image-2.6.15-1-686/postinst/bootloader-test-error-2.6.15-1-686:
  linux-image-2.6.15-1-686/preinst/lilo-has-ramdisk:
  linux-image-2.6.15-1-686/preinst/failed-to-move-modules-2.6.15-1-686:
  linux-image-2.6.15-1-686/postinst/old-system-map-link-2.6.15-1-686: true
  linux-image-2.6.15-1-686/preinst/abort-install-2.6.15-1-686:
  linux-image-2.6.15-1-686/preinst/abort-overwrite-2.6.15-1-686:
  linux-image-2.6.15-1-686/preinst/bootloader-initrd-2.6.15-1-686: true
  linux-image-2.6.15-1-686/prerm/would-invalidate-boot-loader-2.6.15-1-686: true
  linux-image-2.6.15-1-686/preinst/lilo-initrd-2.6.15-1-686: true
  linux-image-2.6.15-1-686/postinst/old-initrd-link-2.6.15-1-686: true
  linux-image-2.6.15-1-686/postinst/old-dir-initrd-link-2.6.15-1-686: true
  linux-image-2.6.15-1-686/preinst/already-running-this-2.6.15-1-686:
  linux-image-2.6.15-1-686/preinst/initrd-2.6.15-1-686:
  linux-image-2.6.15-1-686/postinst/depmod-error-2.6.15-1-686: false
  linux-image-2.6.15-1-686/postinst/create-kimage-link-2.6.15-1-686: true
  linux-image-2.6.15-1-686/prerm/removing-running-kernel-2.6.15-1-686: true
  linux-image-2.6.15-1-686/preinst/elilo-initrd-2.6.15-1-686: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#338316: linux-image-2.6.14-1-powerpc64: access to the sound card freezes the Apple iMac G5

2005-11-09 Thread Ludovic Rousseau
: CAPTURE
id: PMac AWACS
name: PowerMac AWACS
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
./card0/pcm0p/oss
./card0/pcm0p/sub0/prealloc
64
./card0/pcm0p/sub0/status
closed
./card0/pcm0p/sub0/sw_params
closed
./card0/pcm0p/sub0/hw_params
closed
./card0/pcm0p/sub0/info
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: PMac AWACS
name: PowerMac AWACS
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
./card0/pcm0p/info
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: PMac AWACS
name: PowerMac AWACS
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
./pcm
00-00: PMac AWACS : PowerMac AWACS : playback 1 : capture 1
./timers
G0: system timer : 1000.000us (1000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
./modules
0 snd_powermac
./cards
0 [AWACS  ]: PMac AWACS - PowerMac AWACS
 PowerMac AWACS Rev 0
./devices
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:   : timer
./version
Advanced Linux Sound Architecture Driver Version 1.0.10rc1 (Mon Sep 12
08:13:09 2005 UTC).
./oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.10rc1 emulation code)
Kernel: Linux iMacG5 2.6.14-1-powerpc64 #1 SMP Tue Nov 1 16:46:09 JST 2005 ppc64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
PowerMac AWACS Rev 0

Audio devices:
0: PowerMac AWACS (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: PowerMac AWACS
./oss/devices
  3: [0- 3]: digital audio
  0: [0- 0]: mixer

-- System Information:
Debian Release: testing/unstable
  APT prefers dapper-updates
  APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500,
'dapper'), (500, 'breezy-updates'), (500, 'breezy-security'), (490,
'unstable'), (1, 'experimental')
Architecture: powerpc (ppc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-powerpc64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages linux-image-2.6.14-1-powerpc64 depends on:
ii  initramfs-tools0.36ubuntu1   tools for generating an initramfs
ii  module-init-tools  3.2-pre9-4ubuntu1 tools for managing Linux kernel mo

linux-image-2.6.14-1-powerpc64 recommends no packages.

-- no debconf information
--
 Dr. Ludovic Rousseau
 For private mail use [EMAIL PROTECTED] and not big brother Google



Bug#337152: linux-image-2.6.14-1-powerpc64: [powerpc64] can't load smu_queue_i2c module: Unknown symbol smu_queue_i2c

2005-11-09 Thread Ludovic Rousseau
I upgraded my kernel to linux-image-2.6.14-1 version 2.6.14-2
(unstable) and udev to version 0.074-2 (unstable) and still have the
same error.

I also downgraded udev to version 0.056-3 (stable) and could not boot
the machine.

 Mmm. I enabled fancontrol, as suggested by benh, so it should be ok, can you
 followup on your bug report or create a new one ?

The fancontrol is supposed to be active by default even without
loading i2c-pmac-smu?

 Also, we will probably enable out-of-git uploads to experimental soon.

Cool. Tell me when it is ready so I can test.

--
 Dr. Ludovic Rousseau
 For private mail use [EMAIL PROTECTED] and not big brother Google



Bug#337152: linux-image-2.6.14-1-powerpc64: [powerpc64] can't load smu_queue_i2c module: Unknown symbol smu_queue_i2c

2005-11-03 Thread Ludovic Rousseau
Le Wednesday 02 November 2005 à 23:33:23, Sven Luther a écrit:
 On Wed, Nov 02, 2005 at 10:45:21PM +0100, Ludovic Rousseau wrote:
  Package: linux-image-2.6.14-1-powerpc64
  Version: 2.6.14-1
  Severity: normal
  
  $ sudo modprobe i2c-pmac-smu
  FATAL: Error inserting i2c_pmac_smu
  (/lib/modules/2.6.14-1-powerpc64/kernel/drivers/i2c/busses/i2c-pmac-smu.ko):
  Unknown symbol in module, or unknown parameter (see dmesg)
  
  $ dmesg | tail -1
  i2c_pmac_smu: Unknown symbol smu_queue_i2c
  
  $ grep smu_queue_i2c /boot/System.map-2.6.14-1-powerpc64
  c02084b0 T .smu_queue_i2c
  c042ff80 D smu_queue_i2c
  
  
  I also tried to recompile a vanilla kernel but got the same problem.
  I guess the bug is in the upstream kernel.
 
 The bug is probably in udev or modprobe, not sure though, probably the same as
 #333522 and #333052.

OK. I will look at my udev version and try to play with it.

  I am using an Ubuntu Breezy system but the kernel comes from Debian
  unstable.
 
 I am curious about why you are doing that ? 

Doing what? Using a Debian kernel on an Ubuntu system?
Because, as a DD, I am used to find new versions of Debian packages.

I used Ubuntu because I could not install Debian sarge on my iMac. In
fact the problem also occurs with Ubuntu (see [1]) but I then found a
temporay work around.

The problem I have with my iMac is that the fans are always running full
speed and they make a lot of noise. I wanted to use a 2.6.14 kernel
because I have read that the problem would be solved but it is not :-(

Bye,

[1] http://bugzilla.ubuntu.com/show_bug.cgi?id=17272

-- 
 Dr. Ludovic Rousseau[EMAIL PROTECTED]
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --



Bug#337152: linux-image-2.6.14-1-powerpc64: [powerpc64] can't load smu_queue_i2c module: Unknown symbol smu_queue_i2c

2005-11-02 Thread Ludovic Rousseau
Package: linux-image-2.6.14-1-powerpc64
Version: 2.6.14-1
Severity: normal

$ sudo modprobe i2c-pmac-smu
FATAL: Error inserting i2c_pmac_smu
(/lib/modules/2.6.14-1-powerpc64/kernel/drivers/i2c/busses/i2c-pmac-smu.ko):
Unknown symbol in module, or unknown parameter (see dmesg)

$ dmesg | tail -1
i2c_pmac_smu: Unknown symbol smu_queue_i2c

$ grep smu_queue_i2c /boot/System.map-2.6.14-1-powerpc64
c02084b0 T .smu_queue_i2c
c042ff80 D smu_queue_i2c


I also tried to recompile a vanilla kernel but got the same problem.
I guess the bug is in the upstream kernel.

I am using an Ubuntu Breezy system but the kernel comes from Debian
unstable.

-- System Information:
Debian Release: testing/unstable
  APT prefers breezy-updates
  APT policy: (500, 'breezy-updates'), (500, 'breezy-security'), (500, 
'breezy'), (490, 'unstable')
Architecture: powerpc (ppc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-powerpc64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages linux-image-2.6.14-1-powerpc64 depends on:
ii  initramfs-tools   0.32   tools for generating an initramfs
ii  module-init-tools 3.2-pre9-2 tools for managing Linux kernel mo

linux-image-2.6.14-1-powerpc64 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]