Power Developer
https://powerdeveloper.org/forums/

PowerPC Efika + debian + 2.6.19-rc6
https://powerdeveloper.org/forums/viewtopic.php?f=7&t=1781
Page 1 of 1

Author:  patryk [ Sun Mar 14, 2010 4:19 am ]
Post subject:  PowerPC Efika + debian + 2.6.19-rc6

hello

I am new here but I have Efika and I have some problems...

I'm using stuff from here : http://www.efika.de/index_en.html

I patch kernel with sound_patch...modules are loaded and lsmod show that everything is fine,but alsaconf detect no sound-card ? why?

second thing: I use or try tu use tp-link tl-wn321G wifi card

efika doesn't rekognize it and when I try install some drivers it stop becouse error occured

little help please :roll:

Author:  Neko [ Sun Mar 14, 2010 3:32 pm ]
Post subject:  Re: efika + debian + 2.6.19-rc6

Quote:
hello

I am new here but I have Efika and I have some problems...

I'm using stuff from here : http://www.efika.de/index_en.html

I patch kernel with sound_patch...modules are loaded and lsmod show that everything is fine,but alsaconf detect no sound-card ? why?

second thing: I use or try tu use tp-link tl-wn321G wifi card

efika doesn't rekognize it and when I try install some drivers it stop becouse error occured

little help please :roll:
We need to know what error it stopped at before we can help.

I don't know what wireless chipset that Wifi card would be using. Is it USB or PCI?

As for audio, audio has always been a problem with multiple breakages. If you compile the audio into the kernel (built-in not a module) then it usually works a little bit better than as a module. Try that.

All in all we all need a little more information, maybe the output of a dmesg, before anyone can help.

Author:  patryk [ Mon Mar 15, 2010 5:55 am ]
Post subject: 

sorry my mistake

1) sound
Code:
efika:~# modprobe -l *snd*
/lib/modules/2.6.19-rc6/kernel/sound/ppc/snd-mpc52xx-ac97.ko
/lib/modules/2.6.19-rc6/kernel/sound/drivers/snd-virmidi.ko
/lib/modules/2.6.19-rc6/kernel/sound/drivers/snd-dummy.ko
/lib/modules/2.6.19-rc6/kernel/sound/drivers/snd-mtpav.ko
/lib/modules/2.6.19-rc6/kernel/sound/drivers/snd-serial-u16550.ko
/lib/modules/2.6.19-rc6/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko
/lib/modules/2.6.19-rc6/kernel/sound/drivers/mpu401/snd-mpu401.ko
/lib/modules/2.6.19-rc6/kernel/sound/core/snd-page-alloc.ko
/lib/modules/2.6.19-rc6/kernel/sound/core/snd.ko
/lib/modules/2.6.19-rc6/kernel/sound/core/snd-rawmidi.ko
/lib/modules/2.6.19-rc6/kernel/sound/core/oss/snd-pcm-oss.ko
/lib/modules/2.6.19-rc6/kernel/sound/core/oss/snd-mixer-oss.ko
/lib/modules/2.6.19-rc6/kernel/sound/core/snd-timer.ko
/lib/modules/2.6.19-rc6/kernel/sound/core/seq/snd-seq-virmidi.ko
/lib/modules/2.6.19-rc6/kernel/sound/core/seq/snd-seq-device.ko
/lib/modules/2.6.19-rc6/kernel/sound/core/seq/snd-seq.ko
/lib/modules/2.6.19-rc6/kernel/sound/core/seq/snd-seq-midi-event.ko
/lib/modules/2.6.19-rc6/kernel/sound/core/seq/snd-seq-midi.ko
/lib/modules/2.6.19-rc6/kernel/sound/core/seq/oss/snd-seq-oss.ko
/lib/modules/2.6.19-rc6/kernel/sound/core/snd-pcm.ko
/lib/modules/2.6.19-rc6/kernel/sound/pci/snd-intel8x0.ko
/lib/modules/2.6.19-rc6/kernel/sound/pci/ca0106/snd-ca0106.ko
/lib/modules/2.6.19-rc6/kernel/sound/pci/ac97/snd-ac97-bus.ko
/lib/modules/2.6.19-rc6/kernel/sound/pci/ac97/snd-ac97-codec.ko
/lib/modules/2.6.19-rc6/kernel/sound/pci/snd-atiixp.ko
/lib/modules/2.6.19-rc6/kernel/sound/pci/snd-via82xx-modem.ko
/lib/modules/2.6.19-rc6/kernel/sound/pci/snd-via82xx.ko
/lib/modules/2.6.19-rc6/kernel/sound/pci/snd-intel8x0m.ko
Code:
efika:~# lsmod
Module Size Used by
radeon 136840 0
drm 81112 1 radeon
agpgart 30428 1 drm
snd_mpc52xx_ac97 9856 0
snd_ac97_codec 112528 1 snd_mpc52xx_ac97
snd_pcm_oss 57024 0
snd_mixer_oss 18688 1 snd_pcm_oss
snd_pcm 90980 3 snd_mpc52xx_ac97,snd_ac97_codec,snd_pcm_oss
snd_timer 24900 1 snd_pcm
snd 65428 6 snd_mpc52xx_ac97,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc 9032 1 snd_pcm
snd_ac97_bus 2080 1 snd_ac97_codec
evdev 10432 2
#alsaconf - doesn't detect any soundcard

still I didn't hear anything...

2) USB wifi card

I downloaded "Driver for TL-WN321G in Linux"

I read manual and :

a)
Code:
efika:/home/Driver for TL-WN321G in Linux/Module# cp Makefile.6 ./Makefile
b)
Code:
efika:/home/Driver for TL-WN321G in Linux/Module# ./Configure

-------------------- Ralink RT73 Station Configuration --------------------

Linux kernel source directory : /usr/src/linux-2.6.19-rc6

Module install directory : /lib/modules/2.6.19-rc6/kernel/drivers/net
it looks ok so I continue

c)
Code:
efika:/home/Driver for TL-WN321G in Linux/Module# make all
make -C /lib/modules/2.6.19-rc6/build SUBDIRS=/home/Driver for TL-WN321G in Linux/Module modules
make[1]: Wejście do katalogu `/usr/src/linux-2.6.19-rc6'
make[1]: *** Brak reguł do wykonania obiektu `for'. Stop.
make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.19-rc6'
make: *** [all] Error 2
any ideas what I did wrong ?

Author:  Neko [ Mon Mar 15, 2010 11:23 am ]
Post subject: 

Quote:

#alsaconf - doesn't detect any soundcard

still I didn't hear anything...
Does "aplay" do anything or list any cards?

What's the dmesg when the module loads?
Quote:
make[1]: Wejście do katalogu `/usr/src/linux-2.6.19-rc6'
make[1]: *** Brak reguł do wykonania obiektu `for'. Stop.
make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.19-rc6'
make: *** [all] Error 2
What's the error in English?

You may want to get the RT73 driver right from the Realtek website in any case and not use the "manufacturer" driver.

Author:  patryk [ Mon Mar 15, 2010 4:02 pm ]
Post subject: 

#modprobe snd-mpc52xx-ac97
Code:
EFIKA HACK: port_config 01051104
EFIKA HACK: port_config 01051124
Sound: MPC52xx PSC AC97 driver
#aplay
Code:
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: no such device
dzenia
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: no such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: no such device
ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: no such device
dzenia
ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:550: audio open error: no such device

Author:  Neko [ Mon Mar 15, 2010 7:24 pm ]
Post subject: 

Quote:
#modprobe snd-mpc52xx-ac97
Code:
EFIKA HACK: port_config 01051104
EFIKA HACK: port_config 01051124
Sound: MPC52xx PSC AC97 driver
#aplay
Code:
ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: no such device
dzenia
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: no such device
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: no such device
ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: no such device
dzenia
ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:550: audio open error: no such device
Are you running the latest Efika firmware?

Author:  patryk [ Tue Mar 16, 2010 2:29 am ]
Post subject: 

what do you mean?

any example please...? or where to find it?

Author:  patryk [ Tue Mar 16, 2010 3:30 am ]
Post subject: 

about usb-wifi:

I base on
http://ubuntuforums.org/showthread.php? ... gon&page=2

everything goes fine
Code:
efika:/home/# modprobe rt73
effect
Code:
rtusb init ====>
usbcore: registered new interface driver rt73
but
Code:
eth0 Link encap:Ethernet HWaddr 00:0B:2F:FA:F3:D8
inet addr:192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:904 errors:138 dropped:0 overruns:0 frame:0
TX packets:338 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:96056 (93.8 KiB) TX bytes:46970 (45.8 KiB)
Interrupt:133 Base address:0x3000

gre0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-10-0D-00-00-00-00-00-00-00-00
NOARP MTU:1476 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:136 errors:0 dropped:0 overruns:0 frame:0
TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6800 (6.6 KiB) TX bytes:6800 (6.6 KiB)

tunl0 Link encap:IPIP Tunnel HWaddr
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
I don't have any wlanX or rtusb

when I connect wifi card:
Code:
usb 1-2: USB disconnect, address 2
ppc-of-ohci usb@f0001000: wakeup
usb 1-2: new full speed USB device using ppc-of-ohci and address 3
usb 1-2: configuration #1 chosen from 1 choice
Device Descriptor not matching
rt73: probe of 1-2:1.0 failed with error -12
usb 1-2: device_add(1-2:1.0) --> -12

Author:  patryk [ Tue Mar 16, 2010 5:20 pm ]
Post subject: 

in fact I have "20061107" firmware so I tried to update it...and again surprise :-/
Code:
ok boot scsi:0 update_e_20070122
for a while I see rotating "stick", screen blink, efika restarts...and nothing happen, I still have "2006" fw

I change scsi:0 for hd0:0(if I do ls hd0:0 or ls scsi:0 I see downloaded boot file), I used two different usb-stick and still nothing


I read about Efika Device Tree Supplement
http://www.powerdeveloper.org/platforms ... devicetree

but I didn't find more information about efficiency of that "move"

Author:  Neko [ Tue Mar 16, 2010 9:14 pm ]
Post subject: 

Quote:
in fact I have "20061107" firmware so I tried to update it...and again surprise :-/
Code:
ok boot scsi:0 update_e_20070122
for a while I see rotating "stick", screen blink, efika restarts...and nothing happen, I still have "2006" fw

I change scsi:0 for hd0:0(if I do ls hd0:0 or ls scsi:0 I see downloaded boot file), I used two different usb-stick and still nothing


I read about Efika Device Tree Supplement
http://www.powerdeveloper.org/platforms ... devicetree

but I didn't find more information about efficiency of that "move"
Well, you still should be using the latest firmware, but for certain Linux kernels (new ones, not the 2.6.19 provided) you will need the device tree supplement as somewhat less is patched/hacked by the kernel to supplement the device tree for missing entries and it may not detect things like USB without it.

Author:  patryk [ Wed Mar 17, 2010 2:04 am ]
Post subject: 

so what do you suggest as a next step?

maybe I should change kernel for some new one?
but I can't find any with suitable patches

Page 1 of 1 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/