Lines 26-31
Link Here
|
26 |
pkg_setup() { |
26 |
pkg_setup() { |
27 |
linux-mod_pkg_setup |
27 |
linux-mod_pkg_setup |
28 |
BUILD_PARAMS="KERNELDIR=${KV_DIR}" |
28 |
BUILD_PARAMS="KERNELDIR=${KV_DIR}" |
|
|
29 |
|
30 |
if use usbfix; then |
31 |
einfo "You activated the \"usbfix\" use flag!" |
32 |
einfo |
33 |
einfo "Use this ONLY if you already activated CONFIG_USB_BANDWIDTH=y" |
34 |
einfo "in the kernel configuration and you get error messages like" |
35 |
einfo "\"can't open /dev/video0: No space left on device\" nontheless." |
36 |
einfo |
37 |
ewarn "This may reduce the stream quality of your webcam." |
38 |
fi |
29 |
} |
39 |
} |
30 |
|
40 |
|
31 |
src_unpack() { |
41 |
src_unpack() { |
Lines 47-71
Link Here
|
47 |
} |
57 |
} |
48 |
|
58 |
|
49 |
pkg_postinst() { |
59 |
pkg_postinst() { |
50 |
if use !usbfix; then |
60 |
if use !usbfix; then |
51 |
einfo "If you get messages like:" |
61 |
einfo "If you get messages like:" |
52 |
einfo "can't open /dev/video0: No space left on device" |
62 |
einfo "\"can't open /dev/video0: No space left on device\"" |
53 |
einfo "activate CONFIG_USB_BANDWIDTH=y in the kernel config." |
63 |
einfo "try to activate CONFIG_USB_BANDWIDTH=y in the kernel config." |
54 |
einfo "" |
64 |
einfo |
55 |
einfo "If this doesn't help, set the pentium use flag!" |
65 |
einfo "If this doesn't help, set the \"usbfix\" use flag!" |
56 |
ewarn "This may affect your quality of the webcam!" |
66 |
einfo |
57 |
einfo "" |
67 |
einfo "You should use general your webcam without any other devices on" |
58 |
einfo "You should use general your webcam without any other" |
68 |
einfo "the usb hub." |
59 |
einfo "devices on the usb hub" |
|
|
60 |
fi |
61 |
|
62 |
if use usbfix; then |
63 |
einfo "You activated the usbfix use flag!" |
64 |
einfo "Use this ONLY if you get error messages like:" |
65 |
einfo "can't open /dev/video0: No space left on device" |
66 |
einfo "and you already activated CONFIG_USB_BANDWIDTH=y" |
67 |
einfo "in the kernel config because is may reduce the" |
68 |
einfo "quality of your webcam." |
69 |
fi |
69 |
fi |
70 |
} |
70 |
} |
71 |
|
|
|