[ltp] DRI and USB problems with 2.6.4-mm2

Steve Krulewitz linux-thinkpad@linux-thinkpad.org
Sat, 20 Mar 2004 23:08:52 -0500


Hey folks --

I finally took the 2.6 plunge today and installed 2.6.4-mm2.  Was pretty 
painless, except for having to tweak the thinkpad modules source and add 
#include <linux/version.h> to all the source files.  It even seems to 
suspend and resume with no problems!

However, I am having a few issues.  I have a t40p running Debian 
unstable.  Here they are:

- DRI is not working.  I'm using the xserver-xfree86-dri-trunk package 
from http://www.freedesktop.org/~dri/snapshots/README.Debian.  I've 
tried using both the radeon module that came with the kernel as well as 
the module compiled from the drm-trunk-module-src package.  When I start 
X, the only bad thing I see this in my XFree86 log:

(WW) RADEON(0): [agp] AGP not available

There are no errors.  In my kernel log, I get:

Mar 20 22:28:44 doolittle kernel: [drm:radeon_cp_init] *ERROR* 
radeon_cp_init called without lock held
Mar 20 22:28:44 doolittle kernel: [drm:radeon_unlock] *ERROR* Process 
3858 using kernel context 0
Mar 20 22:28:44 doolittle kernel: atkbd.c: Unknown key released 
(translated set 2, code 0x7a on isa0060/serio0).
Mar 20 22:28:44 doolittle kernel: atkbd.c: This is an XFree86 bug. It 
shouldn't access hardware directly.
Mar 20 22:28:44 doolittle kernel: atkbd.c: Unknown key released 
(translated set 2, code 0x7a on isa0060/serio0).
Mar 20 22:28:44 doolittle kernel: atkbd.c: This is an XFree86 bug. It 
shouldn't access hardware directly.

- When I try to use gphoto2 to download pictures from my digital camera, 
it hangs.  Not only does it hang, but I can't kill the gphoto2 process 
no matter what I try.  I also can't modprobe -r the usb modules.  Here 
is some debug output from gphoto2:

0.003584 gphoto2-camera(2): Initializing camera...
0.003715 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, 
product 0x3070)... found.
0.003926 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, 
altsetting 0, inep 81, outep 02, intep 83, class ff, subclass ff
0.004108 gphoto2-camera(2): Loading 
'/usr/lib/gphoto2/2.1.4/libgphoto2_canon.so'...
0.004380 gphoto2-port(2): Opening USB port...
0.004543 canon/library.c(2): canon camera_init()
0.004690 canon/library.c(2): GPhoto tells us that we should use a USB link.
0.004842 canon/usb.c(2): Initializing the (USB) camera.
0.004993 gphoto2-port(2): Setting settings...

... and then it hangs.  Removing and plugging the camera does not 
solicit any response from the kernel.

That's it for now, i would appreciate any help with these problems!!

cheers,
-steve