Go to advanced search

by elagil
Tue May 28, 2013 12:58 pm
Forum: Troubleshooting
Topic: Raspberry Pi as Wireless USB host
Replies: 3
Views: 675

Re: Raspberry Pi as Wireless USB host

It is a MiniDSP which I would like to be able to access as it is built in to a media center thing box.
I tried "virtual here" but it gives me connection errors.
by elagil
Mon May 27, 2013 8:19 pm
Forum: Troubleshooting
Topic: Raspberry Pi as Wireless USB host
Replies: 3
Views: 675

Raspberry Pi as Wireless USB host

Hello,

I have some USB hardware that I do not want to actually use on my RPi but need to access via my PC. Now there is wireless USB and I wonder if there is a way to connect my computer to that USB device which is connected to the RPi via Ethernet/Wifi.

Thanks in advance!
by elagil
Sun May 12, 2013 11:16 am
Forum: Troubleshooting
Topic: CUPS slow printing and high cpu load
Replies: 0
Views: 959

CUPS slow printing and high cpu load

Hello, I am using a HP Laserjet P1006 with cups on my rpi and the foo2xqx drivers. Printing works but it does so very slowly.. It takes around 10 minutes for docments with some text. Now when printing I see a process "gs" with very high cpu load (around 100%) for quite a long time. what is the issue...
by elagil
Wed May 08, 2013 4:08 pm
Forum: Media centres
Topic: Plug and play
Replies: 6
Views: 2210

Re: Plug and play

Hi i,m a beginner so could you give me more direction please. I am too, but I try hard ;) Having a quick look I found mplayer which is a command line video player: http://www.mplayerhq.hu/DOCS/HTML/en/MPlayer.html#commandline Note the "loop" command: mplayer /path/to/your/file.suffix -loop Now you ...
by elagil
Wed May 08, 2013 3:29 pm
Forum: Media centres
Topic: Plug and play
Replies: 6
Views: 2210

Re: Plug and play

what about some python (or so) startup script launching a video player, sending some console commands to start playing and set the repeating mode?
by elagil
Mon May 06, 2013 6:40 pm
Forum: Media centres
Topic: Python Script: Switches your amplifier based on audio output
Replies: 0
Views: 1009

Python Script: Switches your amplifier based on audio output

Hello, I wrote a little Python script which I thought someone might want to use as well. I have a media center running based on the raspberry pi and had two major "problems": -Having to stand up to power the amplifier -Leaving the amplifier on even though no music played That is why I wanted the Pi ...
by elagil
Mon May 06, 2013 6:16 pm
Forum: Python
Topic: Run in background -> check for system file changes
Replies: 4
Views: 917

Re: Run in background -> check for system file changes

Fixed it!

Instead of using the scheduler I used the threading library and the "timer" class. Works perfectly!
by elagil
Mon May 06, 2013 5:59 pm
Forum: Python
Topic: Run in background -> check for system file changes
Replies: 4
Views: 917

Re: Run in background -> check for system file changes

Thank you! inotify helped a lot. Now I am facing one last problem. My python script checks, whether something is playing or not. if the audio output is accessed, the "open" function is executed. if access stops "file_closed_action()" is executed. now when changing titles in mpd there is a quick succ...
by elagil
Sun May 05, 2013 3:07 pm
Forum: Python
Topic: Run in background -> check for system file changes
Replies: 4
Views: 917

Run in background -> check for system file changes

Hello, I would like to do the following in Python: I want to check, whether sudo lsof /dev/snd/* returns something like COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME mpd 2585 mpd 13u CHR 116,16 0t0 1534 /dev/snd/pcmC0D0p (so something is played on the audio device) or nothing (when output is si...
by elagil
Fri May 03, 2013 11:41 pm
Forum: Media centres
Topic: detect audio output
Replies: 1
Views: 1880

Re: detect audio output

I found a way which seems perfect! sudo lsof /dev/snd/* shows open files (sound device = file) and the process which opened it. Now when I use mpd and shairport it looks like this: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME mpd 2489 mpd 13u CHR 116,16 0t0 1555 /dev/snd/pcmC0D0p hairtunes 380...
by elagil
Fri May 03, 2013 8:20 pm
Forum: Media centres
Topic: detect audio output
Replies: 1
Views: 1880

detect audio output

Hello, I have a little media center running with shairport and mpd and now want my rpi to automatically toggle a gpio pin whenever there is audio output on the external usb sound card which is a hifimediy dac. How can I check whether there is something outputting a signal on my sound card? I have qu...
by elagil
Fri May 03, 2013 10:14 am
Forum: C/C++
Topic: Gpio -> Control switch based in mpd/shairport status
Replies: 0
Views: 751

Gpio -> Control switch based in mpd/shairport status

Hello, I set up my raspberry pi for use with mpd and shairport. Now I want it to switch the Mains suppy on my amplifier. It shall detect whether mpd or shairport are running/playing and Switch accordingly. Are there interfaces that allow me to check the status of both applications? I am quite experi...
by elagil
Wed May 01, 2013 1:07 pm
Forum: Graphics, sound and multimedia
Topic: Rpi -> shairport and I2s
Replies: 2
Views: 1402

Rpi -> shairport and I2s

Hello! I have a raspberry pi working with shairport for use with itunes for transmitting audio over wifi. Now the analog output is of low quality and I think about connecting a DAC to it to feed my MiniDSP. The MiniDSP supports an I2s input signal. My question now is whether I can directly generate ...
by elagil
Sat Apr 13, 2013 4:24 pm
Forum: Troubleshooting
Topic: Problems with CUPS and HP Printer
Replies: 4
Views: 4758

Re: Problems with CUPS and HP Printer

So (grasping a straw :) ) did you assign user Pi to the lpadmin group? (just in case that's the/an issue?) Yes I did that: id pi uid=1000(pi) gid=1000(pi) Gruppen=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),105(netdev),999(input),107(lpadmin),...
by elagil
Sat Apr 13, 2013 4:06 pm
Forum: Troubleshooting
Topic: Problems with CUPS and HP Printer
Replies: 4
Views: 4758

Re: Problems with CUPS and HP Printer

I tried the hplip driver and removed(?) the other one I used before (foo2zjs..). The old drivers are still used as the default drivers, though it tells me that they are not installed when actually trying to print with the old drivers.. I then just chose the HPLIP drivers manually (which is version 3...
by elagil
Sat Apr 13, 2013 10:46 am
Forum: Troubleshooting
Topic: Problems with CUPS and HP Printer
Replies: 4
Views: 4758

Problems with CUPS and HP Printer

Hello, I am trying to build up a small printing server. My Rpi is connected to an HP P1006 via USB. Up to now I did the following: I followed a CUPS installation tutorial which went fine. I then needed HP drivers which I got from http://foo2zjs.rkkda.com. I proceeded with the download of the specifi...

Go to advanced search