You are not logged in.
Pages: 1
hello,
First and foremost, I want to congratulate the Slitaz team for their work. Thanx to Slitaz I was able to resuscitate old PCs which were otherwise gathering dust. And I am amazed how fast these old things can go.
Now for my problem:
I managed to install everything I think was needed to make my usb webcam work with Slitaz. I installed, usbutils, linux-video, libv4l.
[c]$lsusb
$Bus 001 Device 001: ID 046d:08a9 Logitech, Inc. Notebook Deluxe[/c]
tazhw detects correctly the right module to install which is gspca-zc3xx
the module gspca-zc3xx loads fine as well as gspca-main. I also add snd-audio-usb so I can use the build in microphone.
but if I plug the webcam here is what I get:
[c]usb 1-1: new full speed USB device using ohci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
gspca: probing 046d:08a9
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<df8901c0>] reg_w_i+0x9/0x36 [gspca_zc3xx]
*pde = 00000000
Oops: 0000 [#1] SMP
last sysfs file: /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT1/type
Modules linked in: snd_usb_audio snd_usb_lib snd_rawmidi snd_seq_device snd_hwdep gspca_zc3xx gspca_main videodev v4l1_compat ali_agp agpgart yenta_socket rsrc_nonstatic pcmcia_core snd_ali5451 snd_ac97_codec ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc
Pid: 202, comm: khubd Not tainted (2.6.30.6-slitaz #1) S1800-911
EIP: 0060:[<df8901c0>] EFLAGS: 00010206 CPU: 0
EIP is at reg_w_i+0x9/0x36 [gspca_zc3xx]
EAX: 00000000 EBX: 00000001 ECX: 00000000 EDX: 00000001
ESI: 00000001 EDI: 00000000 EBP: de88dcd0 ESP: de88dccc
DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
Process khubd (pid: 202, ti=de88c000 task=de85b1d0 task.ti=de88c000)
Stack:
00000000 de88dce4 df890226 00000000 00000000 df891dac de88dcf4 df890508
ddd73000 00000000 de88dd0c df890918 de8024a0 ddd73000 deac03a8 df891dac
de88dd20 df8911bc ddd73000 deac03a8 df891dac de88dd40 df85d6be df897f38
Call Trace:
[<df890226>] ? reg_w+0x39/0x41 [gspca_zc3xx]
[<df890508>] ? start_2wr_probe+0x15/0x5d [gspca_zc3xx]
[<df890918>] ? zcxx_probeSensor+0xc9/0x94e [gspca_zc3xx]
[<df8911bc>] ? sd_config+0x1f/0x5b5 [gspca_zc3xx]
[<df85d6be>] ? gspca_dev_probe+0xfb/0x231 [gspca_main]
[<df890138>] ? sd_probe+0x17/0x19 [gspca_zc3xx]
[<c034bdb4>] ? usb_probe_interface+0xd0/0x116
[<c02b3765>] ? driver_probe_device+0x79/0xed
[<c02b3862>] ? __device_attach+0x2a/0x2e
[<c02b2fb4>] ? bus_for_each_drv+0x3d/0x67
[<c02b38cc>] ? device_attach+0x47/0x5b
[<c02b3838>] ? __device_attach+0x0/0x2e
[<c02b2e4e>] ? bus_attach_device+0x1e/0x48
[<c02b1f92>] ? device_add+0x2f2/0x426
[<c02b15e3>] ? dev_set_name+0x14/0x16
[<c034acdb>] ? usb_set_configuration+0x3cd/0x473
[<c034ad27>] ? usb_set_configuration+0x419/0x473
[<c0350c9d>] ? generic_probe+0x44/0x7f
[<c034af32>] ? usb_probe_device+0x2e/0x30
[<c02b3765>] ? driver_probe_device+0x79/0xed
[<c02b3862>] ? __device_attach+0x2a/0x2e
[<c02b2fb4>] ? bus_for_each_drv+0x3d/0x67
[<c02b38cc>] ? device_attach+0x47/0x5b
[<c02b3838>] ? __device_attach+0x0/0x2e
[<c02b2e4e>] ? bus_attach_device+0x1e/0x48
[<c02b1f92>] ? device_add+0x2f2/0x426
[<c0345ef7>] ? usb_configure_device+0xba/0xcc
[<c0346091>] ? usb_new_device+0x52/0xa2
[<c0346fdc>] ? hub_thread+0x73d/0xb45
[<c01314d1>] ? autoremove_wake_function+0x0/0x2f
[<c034689f>] ? hub_thread+0x0/0xb45
[<c0131232>] ? kthread+0x46/0x6a
[<c01311ec>] ? kthread+0x0/0x6a
[<c0103927>] ? kernel_thread_helper+0x7/0x10
Code: 85 df 40 89 c6 74 12 0f b6 c0 50 53 68 95 77 89 df e8 d7 8e b8 e0 83 c4 0c 8d 65 f8 89 f0 5b 5e 5d c3 55 0f b7 c9 89 e5 53 89 d3 <8b> 10 68 f4 01 00 00 0f b6 db 6a 00 6a 00 51 b9 a0 00 00 00 53
EIP: [<df8901c0>] reg_w_i+0x9/0x36 [gspca_zc3xx] SS:ESP 0068:de88dccc
CR2: 0000000000000000
---[ end trace 7ddbb36ed40537b2 ]---[/c]
and of course the webcam doesn't work, not detected by skype, no video with mplayer etc.
what am I doing wrong?
I can only attach dmesg file since this computer is not mine, it might be difficult to access it. I really don't know what to do since the same webcam was working fine on my Slitaz virtualbox guest at home.
Thanks a lot for any tips you could give me.
This may be an issue with SliTaz 3. It's been noted that some features just aren't compiled into the kernel correctly with the stable flavour. For example, you can't do port binding using bluetooth either, it's just not enabled in the kernel by default. So my guess would be that support just wasn't compiled into the kernel for your webcam.
Luckily SliTaz Cooking does 10 times better in regard to kernel enabled drivers, because many of the needed functionality is compiled in by default now. So maybe give cooking a try and see if you get the same error.
Offline
thanks for your reply.
I guess I will try an upgrade and see if it works.
Although I don't quite understand why this module doesn't kernel fault on my VirtualBox guest.
VirtualBox guest on the same machine? That's weird then. My next guess would be a bad iso download, but why would the same disc work in one way and not the other?
By the looks of the log, it seems to be caused by the gspca_zc3xx and gspca_main freaking out when it detects the webcam being connected by USB, so your guess is pretty spot on.
Googling it a bit, it seems other distros like Gentoo also have a bit of a problem with those drivers and some even mention going to the developer's site and getting the test module driver and compiling it @ http://moinejf.free.fr/
Maybe one of the dev here can hack up a quick package of that for you.
Offline
No, I am using Ubuntu on my computer on which I run various virtualbox guests to test software configurations. Slitaz 3 is one of them.
I installed Slitaz on my friend's laptop with the same iso though.
Both are HDD installed.
I might try to update to cooking, although I don't like much the idea. Everything else works fine and I am afraid I might get more trouble with an unstable version.
And there still trying the test module driver from the developper's site.
thank you for your help anyway.
Pages: 1
[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]