[MPlayer-users] How to use 2 H+ board on a same PC ?
Yourself
sl4rtyb4rtf4st at yahoo.gr
Mon Feb 10 15:09:01 CET 2003
Quoting etienne gandhi (gandhi.etienne at siemens.com) as `eg'
Message date: 10 Feb 2003 at 14:34
eg> And I got:
eg> # ll /dev/em8300*
eg> lrwxrwxrwx 1 root root 13 Feb 9 12:26 /dev/em8300 ->/dev/em8300-1
eg> crw-rw-rw- 1 root root 121, 0 Dec 26 12:17 /dev/em8300-0
eg> crw-rw-rw- 1 root root 121, 0 Feb 9 12:26 /dev/em8300-1
eg> lrwxrwxrwx 1 root root 16 Feb 9 12:26 /dev/em8300_ma -> /dev/em8300_ma-1
eg> crw-rw-rw- 1 root root 121, 2 Dec 26 12:17 /dev/em8300_ma-0
eg> crw-rw-rw- 1 root root 121, 2 Feb 9 12:26 /dev/em8300_ma-1
eg> lrwxrwxrwx 1 root root 16 Feb 9 12:26 /dev/em8300_mv -> /dev/em8300_mv-1
eg> crw-rw-rw- 1 root root 121, 1 Dec 26 12:17 /dev/em8300_mv-0
eg> crw-rw-rw- 1 root root 121, 1 Feb 9 12:26 /dev/em8300_mv-1
eg> lrwxrwxrwx 1 root root 16 Feb 9 12:26 /dev/em8300_sp -> /dev/em8300_sp-1
eg> crw-rw-rw- 1 root root 121, 3 Dec 26 12:17 /dev/em8300_sp-0
eg> crw-rw-rw- 1 root root 121, 3 Feb 9 12:26 /dev/em8300_sp-1
As fas as I can see here, the /dev/em8300-0 and /dev/em8300-1 are
exactly the same! (See 121, 0)
Devices on linux are specified by numbers: major and minor. The H+ is
device major 121, minor 0. The audio is 121,2 etc...
By creating another device with the same major and minor numbers you do
absolutely nothing. (you could also name the card
/dev/That_greeny_thing_inside_my_computer -- it wouldn't do any
difference)
eg> 2 - Modules initialisation:
eg>
eg> # ./ldm
eg> and
eg> # ./em8300setup
eg> Microcode uploaded to /dev/em8300-0
eg> Current settings are:
eg> Video Aspect Audio Spu
eg> PAL 4:3 ANALOG ON
eg> Microcode uploaded to /dev/em8300-1
eg> Current settings are:
eg> Video Aspect Audio Spu
eg> PAL 4:3 ANALOG ON
Sure. You just upload the microcode to the same card twice.
eg> May be this is just a device setup problem, or inode creation
Exactly... Search what happens on the major/minor numbers with multiple
DXR3/H+ cards...
eg> Thank for your help.
have fun!
--
yourself
"Mind if I smoke?"
"Yes, I'd like to see that, does it come out of your ears or what?"
More information about the MPlayer-users
mailing list