Ubuntu-media-tree-kernel-builder icon indicating copy to clipboard operation
Ubuntu-media-tree-kernel-builder copied to clipboard

em28xx options em28xx_dvb adapter_nr

Open jksj461 opened this issue 4 years ago • 4 comments

I have never had a lot of success using udev rules to distinguish between adaptors and create reliable persistent names. The problem has just got a lot worse when I changed the cpu to quad core. The linked adaptor names are created but for the Dual HD card they do not work. Previously I have found setting the dvb adapter number in the driver to be very reliable. However I am trying to distinguish between a DualHD and a 461 E which to my level of understanding share the same driver. A statement like "options em28xx_dvb adapter_nr=4,5" would set the numbers for a DualHD on its own. Can this option be used when both cards are present to set unique, persistent numbers?

jksj461 avatar Aug 19 '20 12:08 jksj461

The parameter is a single integer, not an array. If you want to know what device is what look at my eeprom-tinker project in the file device-detection.c. It will identify individual devices using sysfs interface. You could then add some code around where it looks at ../idVendor and ../idProduct to as well get the devices at ./dvb/*

b-rad-NDi avatar Aug 19 '20 16:08 b-rad-NDi

I might add that into eeprom-tinker just because.

b-rad-NDi avatar Aug 19 '20 16:08 b-rad-NDi

Also, if there is an issue where the 461e identifies itself via some means, but the dualHD does not file a specific ticket with the information documented and i'll just fix that in the kernel.

b-rad-NDi avatar Aug 19 '20 16:08 b-rad-NDi

On 19/08/2020 17:50, Brad Love wrote:

Also, if there is an issue where the 461e identifies itself via some means, but the dualHD does not file a specific ticket with the information documented and i'll just fix that in the kernel.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/b-rad-NDi/Ubuntu-media-tree-kernel-builder/issues/109#issuecomment-676540652, or unsubscribe https://github.com/notifications/unsubscribe-auth/APSP2GDFH7ZIWVFCYMAEAA3SBP7EPANCNFSM4QE5E2SA.

Thanks will give eeprom tinker a go

jksj461 avatar Aug 20 '20 09:08 jksj461