Autor |
Nachricht |
|
Titel: Playing Audio problem
Verfasst am: 27.09.2006, 14:11 Uhr
|
|
Anmeldung: 13. Jun 2005
Beiträge: 44
|
|
Apologies if this seems a daft question and it is probably me not understanding the directory structure within Kanotix but.
I have mega MBs of music files on an external usb hard drive so that I can play music at several pcs around the house.
However, when I try to load a music file / directory into any player, I get an error message which tells me I cannot open the file unless it is in a local (home?) directory. How can I get over this problem as I don't want to copy the files onto an internal drive of any of the pcs?
Thanks
Andy |
|
|
|
|
 |
|
Titel: RE: Playing Audio problem
Verfasst am: 27.09.2006, 14:37 Uhr
|
|

Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
Which version of Kanotix do you use? Please post the output of the following commands:
Code:
infobash -v3
cat /etc/fstab
mount -l
|
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
|
|
|
|
 |
|
Titel:
Verfasst am: 27.09.2006, 19:28 Uhr
|
|
Anmeldung: 13. Jun 2005
Beiträge: 44
|
|
That sounds promising - thanks.
I do not have a Kanotix partition at the moment - long story including a dead hard drive & got XP installed first for the rest of the family.
When I've got Kanotix running again I'll check those settings but does that mean that what I was experiencing should not happen?
Andy |
|
|
|
|
 |
|
Titel:
Verfasst am: 27.09.2006, 20:00 Uhr
|
|

Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
Kanotix wouldn't be my favorite distro if it couldn't mount an external drive correctly. Test the drive with the Kanotix LiveCD; if it fails, post the output of the commands, so I can analyze the problem. |
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
|
|
|
|
 |
|
Titel:
Verfasst am: 27.09.2006, 20:43 Uhr
|
|
Anmeldung: 13. Jun 2005
Beiträge: 44
|
|
I must apologise cos it must be my mistake. No idea what I've done differently but....
I copied a couple of tracks onto a usb flash drive which Kanotix recognised instantly.
I'm now listening to the Automatics coming over the hill in xine (and XMMS works too) from the LiveCD. - browsing and posting this too from within the LiveCD
Thanks
Andy |
|
|
|
|
 |
|
Titel:
Verfasst am: 28.09.2006, 11:02 Uhr
|
|
Anmeldung: 13. Jun 2005
Beiträge: 44
|
|
As a postscript to my message last night, I have a related question about opening files from within XMMS.
When I click on a file name on the usb drive, a player (XMMS) opens and plays the file. I have not looked at changing the default player yet but presumably this is possible.
However if I start XMMS first and hit the find / open file button, the new window presents me with the Linux file structure (home: etc: ) but does not show 'Storage Media' and therefore I can't get to my music files using this method....or can I?
Being used to Winamp in XP, XMMS was my first choice of player, hence finding this problem. It does not have to be the player I use but I'm curious about this access issue because.......
Doing the same routine in Amorak opens a similar interface but does give the option of looking in Storage media - usb drive recognised and available.
Thanks
Andy |
|
|
|
|
 |
|
Titel:
Verfasst am: 28.09.2006, 11:10 Uhr
|
|

Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
We have to find the mountpoint first. Please post output of
Code:
ls -l /media
|
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
|
|
|
|
 |
|
Titel:
Verfasst am: 02.10.2006, 20:04 Uhr
|
|
Anmeldung: 13. Jun 2005
Beiträge: 44
|
|
Sorry for the time lag in replying. This is the output from the script you suggest. Sdb1 isnt listed
knoppix@1[knoppix]$ ls -l /media
total 6
drwxr-xr-x 2 root root 1024 Oct 2 19:59 cdrom0
drwxr-xr-x 2 root root 1024 Oct 2 19:59 hdb
drwxr-xr-x 2 root root 1024 Oct 2 19:59 sda1
drwxr-xr-x 2 root root 1024 Oct 2 19:59 sda3
drwxr-xr-x 2 root root 1024 Oct 2 19:59 sda5
drwxr-xr-x 2 root root 1024 Oct 2 19:59 sda6
knoppix@1[knoppix]$
Thanks
Andy |
|
|
|
|
 |
|
Titel:
Verfasst am: 02.10.2006, 23:29 Uhr
|
|

Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
Hm, there should be a directory "FLASHDISK".
Code:
einfach@D1607:~$ ls -l /media
total 48
drwxr-xr-x 2 root root 4096 2006-10-02 16:00 cdrom0
drwxr-xr-x 2 root root 4096 2006-10-02 16:00 cdrom1
drwx------ 11 einfach einfach 16384 1969-12-31 19:00 FLASHDISK
drwxr-xr-x 2 root root 4096 2006-10-02 16:00 floppy0
drwxrwxrwx 9 root root 8192 1969-12-31 19:00 hda1
drwxr-xr-x 2 root root 4096 2006-09-24 11:22 hda6
dr-xr-xr-x 1 root root 8192 2006-09-29 12:08 hda8
But why do I get 1969-12-31 for two drives? |
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
|
|
|
|
 |
|
Titel:
Verfasst am: 03.10.2006, 08:35 Uhr
|
|
Anmeldung: 13. Jun 2005
Beiträge: 44
|
|
Any suggestions why my system is not recognising the drive as flash disk? It is displayed as an icon on the desktop and is accessible but the problem I described earlier persists.
Andy |
|
|
|
|
 |
|
Titel:
Verfasst am: 03.10.2006, 08:47 Uhr
|
|

Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
Which version of Kanotix are you using?
Code:
infobash -v3
|
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
|
|
|
|
 |
|
Titel:
Verfasst am: 03.10.2006, 12:26 Uhr
|
|
Anmeldung: 13. Jun 2005
Beiträge: 44
|
|
I'm using 2006 RC1 as a iveCD at present but I also had the same problem with a HDD installed 2005 -4.
I shall install 2006 when the final is released but this audio problem is the last niggle to sort out........ other than scanning which will probably require a new scanner as my HP 4850 Scanjet is not recognised under SANE.
For info I'm running a P4 3.2GHZ on an Intel 915GAV Motherboard with 1Gb RAM.
I noticed last night that the LiveCD recognises the chip twice at position 0 and 1
Everything else works as expected.
Thanks
Andy |
|
|
|
|
 |
|
Titel:
Verfasst am: 03.10.2006, 13:32 Uhr
|
|

Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
Zitat:
I noticed last night that the LiveCD recognises the chip twice at position 0 and 1
Your P4 has either two cores or at least pretends to have two cores ("Hyperthreading" or "HT"). Open Konsole and enter the following command to get more information:
Code:
cat /proc/cpuinfo
|
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
|
|
|
|
 |
|
Titel:
Verfasst am: 03.10.2006, 13:53 Uhr
|
|
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
|
|
newuseruk hat folgendes geschrieben::
Any suggestions why my system is not recognising the drive as flash disk? It is displayed as an icon on the desktop and is accessible but the problem I described earlier persists.
Andy
If the drive gets mounted and is accessible you simply need to find out where it's mounted and that is very simple to do:
Code:
mount
|
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
 |
|
Titel:
Verfasst am: 03.10.2006, 21:38 Uhr
|
|
Anmeldung: 13. Jun 2005
Beiträge: 44
|
|
Hi,
This is the result of the mount command.
knoppix@1[knoppix]$ mount
/dev/root on / type ext2 (rw)
/proc on /proc type proc (rw)
/dev/pts on /dev/pts type devpts (rw)
/sys on /sys type sysfs (rw)
/dev/hdb on /cdrom type iso9660 (ro)
/dev/loop0 on /KNOPPIX type squashfs (ro)
/dev/hdb on /cdrom type iso9660 (ro)
/dev/loop0 on /KNOPPIX type squashfs (ro)
/ramdisk on /ramdisk type tmpfs (rw,size=803856k)
proc on /proc type proc (rw)
/dev/pts on /dev/pts type devpts (rw,mode=0622)
/proc/bus/usb on /proc/bus/usb type usbfs (rw,devmode=0666)
/dev/sda3 on /media/sda3 type ext2 (rw,nosuid,nodev)
/dev/sda1 on /media/sda1 type ntfs (ro,nosuid,nodev,umask=000,uid=1000,gid=1000)
/dev/sdb1 on /media/UDISKPRO type vfat (rw,noexec,nosuid,nodev,quiet,shortname=mixed,uid=1000,gid=1000,umask=077)
/dev/sdc on /media/usbdisk type vfat (rw,noexec,nosuid,nodev,quiet,shortname=mixed,uid=1000,gid=1000,umask=077)
knoppix@1[knoppix]$
Andy |
|
|
|
|
 |
|
Titel:
Verfasst am: 04.10.2006, 04:23 Uhr
|
|
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
|
|
There you go:
Code:
/dev/sdb1 on /media/UDISKPRO type vfat (rw,noexec,nosuid,nodev,quiet,shortname=mixed,uid=1000,gid=1000,umask=077)
So point your media player to /media/UDISKPRO
Zitat:
Doing the same routine in Amorak opens a similar interface but does give the option of looking in Storage media - usb drive recognised and available.
[rant]
This is one of my real pet peeves with KDE. For some reason KDE abstracts the filesystem away from the user and facilitates keeping users in the dark. You won't find "Storage" in the Linux filesystem unless it's a directory you create yourself. Konqueror does the same only with something yet different. media://
Why? It takes 2 more keystrokes to type media:// than it does /media and media:// means nothing to anyone outside of KDE while /media is going to be consistent across all window managers and shells becasue it is the REAL filesystem.
[/rant]
All of your drives will be mounted in /media unless:
A) they are part of the main filesystem hierarchy like:
/
/home
/usr
/var
/tmp
OR
B) You intentionally create a mount point of your own in /etc/fstab like so:
Code:
/dev/sda13 /home/mzilikazi/Music reiserfs auto,rw,users 0 0
|
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
 |
|
Titel:
Verfasst am: 04.10.2006, 20:57 Uhr
|
|
Anmeldung: 13. Jun 2005
Beiträge: 44
|
|
Sorry - when I used this script, got the following error message. Have I missed something?
knoppix@1[knoppix]$ /dev/sdb1 on /media/UDISKPRO type vfat (rw,noexec,nosuid,nodev,quiet,shortname=mixed,uid=1000,gid=1000,umask=077)
bash: syntax error near unexpected token `('
Also, will I have to run this script every time or is it a one time fix once on HD installation?
Thanks
Andy |
|
|
|
|
 |
|
Titel:
Verfasst am: 05.10.2006, 13:52 Uhr
|
|
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
|
|
newuseruk hat folgendes geschrieben::
Sorry - when I used this script, got the following error message. Have I missed something?
knoppix@1[knoppix]$ /dev/sdb1 on /media/UDISKPRO type vfat (rw,noexec,nosuid,nodev,quiet,shortname=mixed,uid=1000,gid=1000,umask=077)
bash: syntax error near unexpected token `('
Also, will I have to run this script every time or is it a one time fix once on HD installation?
Thanks
Andy
No my friend that is no script. Your USB drive is mounted at /media/UDISKPRO so browse to there with your media players file finder and you will see your files. |
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
 |
|
Titel:
Verfasst am: 05.10.2006, 20:25 Uhr
|
|
Anmeldung: 13. Jun 2005
Beiträge: 44
|
|
Thank you.
See how a little or early developing knowledge can get you into trouble. Aologies for not differentiating between a command and a location.
Thanks again.
Andy |
|
|
|
|
 |
|
Titel: Playing Audio Problem - Solved
Verfasst am: 05.10.2006, 21:14 Uhr
|
|
Anmeldung: 13. Jun 2005
Beiträge: 44
|
|
Thanks everybody - found the 'missing' link and everything works perfectly now.
It is like everything else in life..easy when you know how ...but bordering on impossible if you don't. In that context, it is great that you are all so patient and free with advice.
I guess I'm just about ready to try 2006 final when it comes as a operational alternative to XP rather than play on the fringe.
Andy |
|
|
|
|
 |
|