Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[DVD] Lecture saccadée
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
linor
n00b
n00b


Joined: 14 Sep 2003
Posts: 12

PostPosted: Mon Nov 03, 2003 7:30 pm    Post subject: [DVD] Lecture saccadée Reply with quote

Salut à tous.

Voilà. Je possède un lecteur DVD et un graveur CD, les deux IDE mais emulées SCSI. (dvd : /dev/sr0 - graveur : /dev/sr1)
Lors de la lecture d'un dvd, le film saccade... Beurk !!!
Alors g cherché et g pensé au DMA. Alors:

hdparm -d 1 -c 1 /dev/sr0

et là

/dev/sr0 not supported by hdparm

Je comprends plus rien moi ! HELP !
Back to top
View user's profile Send private message
linor
n00b
n00b


Joined: 14 Sep 2003
Posts: 12

PostPosted: Mon Nov 03, 2003 7:56 pm    Post subject: Reply with quote

Je viens de trouver quelque chose:

NOTE (devfs and ide-scsi): If you use devfs and ide-scsi you won't get any /dev/hdc device to run hdparm on (if /dev/hdc is the dvd drive using ide-scsi). Instead you need to use 'hdparm -d 1 /dev/ide/host0/bus1/target0/lun0/generic'.

Alors le pb c que dans /dev/ide/host0/bus1/target0/lun0/ g rien.
alors:
# ls -l /dev/ide/host0/bus0/target0/lun0/
total 0
brw------- 1 root root 3, 0 Jan 1 1970 disc
brw------- 1 root root 3, 1 Jan 1 1970 part1
brw------- 1 root root 3, 2 Jan 1 1970 part2
brw------- 1 root root 3, 3 Jan 1 1970 part3


bash-2.05b# hdparm -d 1 -c 1 /dev/ide/host0/bus0/target0/lun0/disc
/dev/ide/host0/bus0/target0/lun0/disc:
setting 32-bit IO_support flag to 1
setting using_dma to 1 (on)
IO_support = 1 (32-bit)
using_dma = 1 (on)

Et toujouyrs les saccades...
Back to top
View user's profile Send private message
DuF
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2687
Location: Paris

PostPosted: Mon Nov 03, 2003 11:16 pm    Post subject: Reply with quote

Je n'y connais trop rien pour la lecture de DVD, mais peut être est-ce un problème de client et non de ta configuration hardware.
Essayes avec un autre lecteur (compare entre mplayer, xine et vlc par exemple).
Back to top
View user's profile Send private message
yuk159
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1803
Location: noumea ,nouvelle-caledonie

PostPosted: Tue Nov 04, 2003 8:12 am    Post subject: Reply with quote

essaye ceci :
Code:
echo using_dma:1 >/proc/ide/hdc/settings

Si cela fonctionne, tu le rajoute dans /etc/conf.d/local.start, comme ca tu n'aura pas a le mettre a chaque demarrage
_________________
The box said: "Requires Windows 98/2000/XP/NT, or better."
So, I installed LINUX!
Instagram
Back to top
View user's profile Send private message
linor
n00b
n00b


Joined: 14 Sep 2003
Posts: 12

PostPosted: Tue Nov 04, 2003 1:20 pm    Post subject: Reply with quote

Yuk merci mille fois !

Ta solution marche à la perfection, donc plus de saccades
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum